Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 12/15/14, 11:58 AM|
|Seen: 1410 times|
|Last updated: 3/16/15, 8:10 AM|