How do I call an osv_memory wizard from a view button? Following the docs and an example from account_payment there is a button
<button colspan="2" name="%(wizard_populate_payment)d" string="Select Invoices to Pay" type="action" attrs="{'invisible':[('state','=','done')]}"/> the wizard id "wizard_populate_payment" is set in the file wizard.xml <openerp> <data> <wizard id="wizard_populate_payment" menu="False" model="payment.order" name="populate_payment" string="Populate payment"/> ... </data> </openerp> But in an osv_memory wizard I don't need to set such a file. So what is the id that I should use in button definition? And about the type atribute is it "action" or "object" once osv_memory wizards are objects present in ir_model, like regular tables. Paulino -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=35137#35137 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
