Files
odoo_source/addons
“moda” 88ae41db5c [IMP] sale: adapt override of ProductAttributeCustomValue in sale
The problem is that a mandatory field from the sale module has been
added to the ProductAttributeCustomValue template, but in point of sale
we also use this model without necessarily filling this field.

Previously, the sale module was the only module to use the
ProductAttributeCustomValue model (product.attribute.custom.value).
In the override, a field set to mandatory has been added
"sale_order_line_id", a relationship between the sale.order.line model
and product.attribute.custom.value.

We now remove the mandatory parameter from this field so that we can
create new data without getting an error indicating that a mandatory
field is missing. This has no impact on the operation of the Sale module
as this field will be populated anyway, since the only way to create a
record of this type is via a sale_order_line or a pos_order_line.

Part-of: odoo/odoo#138013
2023-10-16 09:21:16 +00:00
..
2023-09-27 11:33:01 +00:00
2023-09-11 19:13:59 +00:00
2023-10-10 17:26:34 +00:00
2023-10-12 16:12:06 +00:00
2023-09-27 11:33:01 +00:00
2023-10-06 14:33:43 +00:00
…
…
2023-09-27 11:33:01 +00:00
2023-09-27 11:33:01 +00:00
2023-09-27 11:33:01 +00:00
2023-09-27 11:33:01 +00:00