Remove unique product constraint on BOM

The constraint is needed only for compute_factor which can be written to not
rely on it.

issue10363
review336091002
This commit is contained in:
Cédric Krier committed 2021-05-18 22:19:09 +02:00
1 parent 22556ef1b4
commit f3dbaf9a7c
3 files changed
+18 -14

No files matched your search

-3
View File
@@ -6,8 +6,5 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.message" id="msg_recursive_bom">
<field name="text">You cannot create a recursive BOM for product "%(product)s".</field>
</record>
<record model="ir.message" id="msg_product_bom_unique">
<field name="text">Products can only appear once on each BOM.</field>
</record>
</data>
</tryton>