Commit Graph
12 Commits
Author SHA1 Message Date
Cédric Krier 566ad5de79 Do not add searcher to the template function fields if the template field is not searchable
Closes #15063
(grafted from c7ff87de982a3f9d0e46a62bfebe76751bcbf4e2)

--HG--
branch : 7.0
2026-09-04 08:30:25 +02:00
Cédric Krier 53dc0afa85 Do not simply copy One2Many from product linked by template and product
Closes #14739
(grafted from a15addd781e0cac818b6a7d2a969ee30d68932ba)

--HG--
branch : 7.0
2026-04-02 17:25:24 +02:00
Cédric Krier f10fd8ee6a Extend searchable of Template Function field instead of definition
Since 4689fc76ddb7 the definition is based on the searchable result.
(grafted from 4712f4eebd77aa4cc1a2f21c204f68fd33d8c000)

--HG--
branch : 7.0
2024-10-08 14:38:40 +02:00
Cédric Krier fb11301663 Strip generated code of product
The template code or product suffix code allow to have trailing and leading
spaces but not the code of the product. So we must compare the code with a
stripped version of the generated code to avoid infinite loop.

Closes #12801
(grafted from 79e4677f878eaedbaa882af75f450cfc9958624b)

--HG--
branch : 7.0
2023-12-05 10:28:35 +01:00
Cédric Krier a4cb3f9f61 Normalize Unit of Measure labels
For short label, we only use UoM with an help text showing with capital letter
the meaning of UoM.
2023-08-20 12:17:27 +02:00
Cédric Krier 74fb2982d6 Remove computed unit digits fields for stock quantity
The unit field can be used directly as digits.
2023-06-12 16:23:25 +02:00
Adrià Tarroja Caubet 960c220329 Remove migrations previous to 5.0
Closes #11324
2023-01-19 11:25:25 +01:00
Cédric Krier b9c4b8230d Return instance in on_change_with methods 2023-03-26 09:49:00 +02:00
Cédric Krier 5c7648a6e1 Return multivalue from template when field is not defined on product
Closes #7474
2023-03-19 19:56:33 +01:00
Cédric Krier 61324ec547 Replace lstrip usage to remove field name from clause operand
Closes #12041
2023-01-29 00:46:36 +01:00
Cédric Krier 349dd77ae5 Add barcode function on product identifier 2022-12-26 22:32:23 +01:00
Cédric Krier 5a6e84c54c Prepare migration to monorepo 2022-12-16 17:34:13 +01:00