How can I save the fields values filled by the user on a wizard into the database?
I want to do a sale order--> confirm sale-->view delivery order-->force availability-->transfer and this wizard appears and I want to save that info
How can I do that?
Another problem is that I cant print any of the field values.....
P.S.(the apply button class the openerp funtion-->do_detailed_transfe( ) )
In your apply1(self, cr, uid, ids, context=None) function you can browse wizard information through ids parameter. You will get active_id and active_model from context parameter. In your case active_id will be sale order id and active model will be sale.order.
Using active_id you can confirm sale order and proceed ahead with flow.
And about saving wizard information atchuthan has given the link.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 12/15/14, 11:58 AM|
|Seen: 1193 times|
|Last updated: 3/16/15, 8:10 AM|