← Back to team overview

openerp-expert-framework team mailing list archive

Re: Wizards

 

Hello,

Can Tiny and the expert look at the whiteboard of that blueprint:
https://blueprints.launchpad.net/openobject-addons/+spec/refactor-old-wizards-on-osv-memory
?
We need framework fixes to osv_memory to be able to use them as a
replacement to the non OOP old wizard.

As you can see with the attached branch, we are all open to contribute the
refactoring, but we need OpenObject fixes to be able to cover the last
miles, please Tiny consider this is very important. osv_memory are smart,
it's too bad we can often not use them yet instead of the old wizards, not
fixing this would lead to a lot of non OOP/non compatible modules to be made
until mid 2011 and 6.0, I hope this will not happen.

Thank you for your attention. If other want to contribute osv_memory
refactoring please think about using our branch, but that can only be
effective if Tiny fixes OpenObject first here.

Raphaël Valyi
http://www.akretion.com



On Mon, Feb 1, 2010 at 7:47 AM, Albert Cervera i Areny
<albert@xxxxxxxxxxx>wrote:

> A Dilluns, 1 de febrer de 2010, Albert Cervera i Areny va escriure:
> > A Divendres, 8 de gener de 2010, Albert Cervera i Areny va escriure:
> > > Does anybody know if wizards ala 'osv_memory' style are going to be
> fixed
> > >  for 5.2 so they're usable in views' toolbars? It is quite depressing
> to
> > >  keep doing uninheritable wizards...
> >
> > Today I wanted to create a dynamic view. That is something like wizard
> > "stock.partial_picking", which creates a float input field for each each
> >  line in the picking. As I couldn't come up with a decent idea in how to
> >  implement that I decided to take a look at how that wizard is
> implemented,
> >  only to realize the solution is not ideal either because it's subject to
> a
> >  race condition if two users call the wizard at the same time. That means
> >  one of the users may get the wizard that got the other one, for example.
> >
> > As Raphaël said in another thread Tiny are willing to fix wizards, it'd
> be
> > nice if dynamic views were considered too...
> >
>
> I just realized that "ir.model.grid" uses a good trick to create dynamic
> views
> in "normal" models. So what I need seems to be already possible for
> osv_memory!
>
> --
> Albert Cervera i Areny
> http://www.NaN-tic.com
> Mòbil: +34 669 40 40 18
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-expert-framework
> Post to     : openerp-expert-framework@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-expert-framework
> More help   : https://help.launchpad.net/ListHelp
>

References