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.
I have created one custom field (which is a foreign key from 'res.partner') in sales order window.
When i create a new sales order. After clicking on 'confirm sale' button , a delivery order is generated. But how to send that new custom field value as well to delivery order window?
You need to create a field in Develiry Order as well (which unfortunately for this specific model means you need to create it in stock.picking, stock.picking.out, and stock.picking.in models) and then during the Confirm Sale button, when it creates the DO (it is in _create_pickings_and_procurements method in sale_stock.py file in sale_stock module) you pass the value of the field to the one in DO.
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: 9/11/14, 4:14 AM|
|Seen: 949 times|
|Last updated: 3/16/15, 8:10 AM|