[MERGE] forward port branch 10.0 up to 50ee813153
This commit is contained in:
@@ -81,6 +81,8 @@ class MrpBom(models.Model):
|
||||
def onchange_product_tmpl_id(self):
|
||||
if self.product_tmpl_id:
|
||||
self.product_uom_id = self.product_tmpl_id.uom_id.id
|
||||
if self.product_id.product_tmpl_id != self.product_tmpl_id:
|
||||
self.product_id = False
|
||||
|
||||
@api.onchange('routing_id')
|
||||
def onchange_routing_id(self):
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
China, 2018-04-28
|
||||
|
||||
Shine IT agrees to the terms of the Odoo Corporate Contributor License
|
||||
Agreement v1.0.
|
||||
|
||||
I declare that I am authorized and able to make this agreement and sign this
|
||||
declaration.
|
||||
|
||||
Signed,
|
||||
|
||||
Tony Gu tony@openerp.cn https://github.com/digitalsatori
|
||||
|
||||
List of contributors:
|
||||
Tony Gu tony@openerp.cn https://github.com/digitalsatori
|
||||
Joshua Jan joshua@openerp.cn https://github.com/joshuajan
|
||||
Xiao Guo xerxes@openerp.cn https://github.com/xerxesnoPT
|
||||
|
||||
Reference in New Issue
Block a user