add production phantom support
This commit is contained in:
parent
90a9de04db
commit
4fa1c8346c
|
@ -864,6 +864,8 @@ class Property(tree(separator=' / '), sequence_ordered(), ModelSQL, ModelView):
|
|||
product_bom = ProductBom()
|
||||
product_bom.product = product
|
||||
product_bom.bom = bom
|
||||
if 'phantom' in Product._fields:
|
||||
product.phantom = True
|
||||
if route:
|
||||
product_bom.route = route
|
||||
res_obj.append(product_bom)
|
||||
|
|
|
@ -10,6 +10,8 @@ depends:
|
|||
purchase
|
||||
sale_product_customer
|
||||
sale_customer_product_restrict
|
||||
extras_depend:
|
||||
production_phantom
|
||||
xml:
|
||||
configurator.xml
|
||||
product.xml
|
||||
|
|
Loading…
Reference in New Issue