Commit Graph
10 Commits
Author SHA1 Message Date
Maxime Richez 2a1bc4a4f1 Do not reset non-existent fields on requisition in draft state
Closes #13532
(grafted from 35037337ef21b2510ce561803b07b7413bb72e95)

--HG--
branch : 7.0
2024-09-19 13:55:32 +02:00
Cédric Krier 6377c401db Clear cached amount when resetting to draft sale, purchase and purchase requisition
Closes #13296
(grafted from 8e441329d11b93ceafa47d553cb23883e5b4ec2f)

--HG--
branch : 7.0
2024-06-13 12:34:50 +02:00
Cédric Krier 23f4232157 Do not copy cached amounts of sale, purchase and purchase requisition
Closes #13336
(grafted from f8ddc8aae5c43b08f62cc3009172a3463f2e4363)

--HG--
branch : 7.0
2024-06-13 12:11:51 +02:00
Cédric Krier c2091befaa Use decimal 0 without digits as default value
If the digits of the field is 0, than using '0.0' trigger the validation error
introduced by 2be02f249a1d.

Closes #13197
(grafted from 979cd092ea24f04328af5f4ff315c418e1c5b3e6)

--HG--
branch : 7.0
2024-04-30 19:15:44 +02: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 3a6e278b39 Rename UOM to Unit for purchase request
Closes #2221
2023-08-21 09:31:27 +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 810780a789 Remove purchasable constraint on product when quantity is negative
Closes #9057
2023-03-23 17:37:34 +01:00
Cédric Krier 761e2df963 Prepare migration to monorepo 2022-12-16 16:38:20 +01:00