openerp-expert-framework team mailing list archive
-
openerp-expert-framework team
-
Mailing list archive
-
Message #00132
Re: Wizards
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
Follow ups
References
-
Wizards
From: Albert Cervera i Areny, 2010-01-08
-
Re: Wizards
From: Albert Cervera i Areny, 2010-02-01