14 Commits

Author SHA1 Message Date
Akim Juillerat
ad3902f1f1 [FIX] mrp_bom_attribute_match: Do not empty bom line uom when creating
When creating a new line, an onchange is played before the user selects
the product. With the previous code, since no product was selected,
this was emptying the default value. This was in turn breaking
any other function that relied on this value being set.
2024-11-11 16:59:31 +01:00
Alessio Renda
c61395f922 [FIX] mrp_bom_attribute_match: modify permission error 2024-03-18 16:32:49 +01:00
Alessio Renda
7f1a6b95b9 [FIX] mrp_bom_attribute_match: display proper BoM structure 2023-12-27 17:59:08 +01:00
Ilyas
2016a06198 [FIX] mrp_bom_attribute_match: avoid recursion in BOM. 2023-06-12 12:07:05 +02:00
Ivàn Todorovich
1022b14cea [IMP] mrp_bom_attribute_match: increase test strength: add another component to bom 2023-03-09 09:31:12 +01:00
Ivàn Todorovich
b1ab67ce5e [IMP] mrp_bom_attribute_match: Drop the web_field_domain dependency.
The same result can be achieved with a computed field.
Moreover, we have one already in odoo core. Originally it was a related
field, but we can change it to a computed and add our extra logic there.
2023-03-09 09:31:11 +01:00
Ivàn Todorovich
b28c5bd7e4 [IMP] mrp_bom_attribute_match: make private methods, private
These methods shouldn't be exposed to xmlrpc.
2023-03-09 09:31:11 +01:00
Ivàn Todorovich
c079ae6990 [FIX] mrp_bom_attribute_match: write products recordset
The check expects a single record, so it should be processed accordingly.
2023-03-09 09:31:11 +01:00
Ivàn Todorovich
640835cd21 [FIX] mrp_bom_attribute_match: properly translate strings 2023-03-07 15:00:05 +01:00
OCA-git-bot
d549766fe8 Merge PR #877 into 14.0
Signed-off-by pedrobaeza
2022-12-26 08:33:47 +00:00
Ioan
7ec5183725 [IMP] mrp_bom_attribute_match: Avoid write same product 2022-10-25 18:12:25 +02:00
ferran-73
1932c6976c [14.0][FIX] mrp_bom_attribute_match: writing on multiple products 2022-10-19 13:25:39 +02:00
Ilyas
cb1008255d [14.0][FIX] bom_attribute_match: BOM unit of measure should match uom of a component_template_id. 2022-09-06 12:42:58 +05:00
Ilyas
215cfe1519 [14.0][ADD] mrp_bom_attribute_match 2022-06-30 15:14:00 +07:00