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.
Odoo 9: how can i set specific value of a custom many2one filed base on the value of other filed on other module?
Hello everyone, could you guy please help me to answer: Is is possible to use the value of bom_id(bill of masterial) to automatically set the value of a custom many2one filed in 'sale.order.line'? and how to get the purpose?
_inherit = "sale.order.line"
width_id = fields.Many2one('sale.order.line.width')
lng = fields.Float(default=1)
formula = fields.Char(compute='_get_formula', )
unit_id = fields.Many2one('product.uom')
quantity_extra = fields.Float(default=1)
quantity_sum = fields.Float(compute='_compute_quantity', store=True)
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: 11/22/16, 8:34 AM|
|Seen: 509 times|
|Last updated: 11/25/16, 10:15 PM|