mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[FIX] mrp_exception: correct type of product to validate
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
<field name="description">Please, ensure thet the finished product is of Storable type.</field>
|
<field name="description">Please, ensure thet the finished product is of Storable type.</field>
|
||||||
<field name="sequence">50</field>
|
<field name="sequence">50</field>
|
||||||
<field name="model">mrp.production</field>
|
<field name="model">mrp.production</field>
|
||||||
<field name="code">failed = self.product_id.detailed_type != 'storable'</field>
|
<field name="code">failed = self.product_id.detailed_type != 'product'</field>
|
||||||
<field name="active" eval="True"/>
|
<field name="active" eval="True"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user