Commit Graph
4 Commits
Author SHA1 Message Date
Cédric Krier a66fd61c21 Do not convert input when converting between the same unit
Applying the factor/rate twice may loose precision if one of the number is a
rational with recurring decimal.

Closes #14501
(grafted from 09e3674f3ffe90f74cf2bc8a9884e885b28c93b8)

--HG--
branch : 7.0
2026-01-15 17:20:32 +01: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 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