Commit Graph
13 Commits
Author SHA1 Message Date
Maxime Richez b6db068130 Prevent changing party, template and product on product supplier
Closes #12607
2023-10-26 22:53:18 +02:00
Cédric Krier 88edde8e69 Depend on product supplier unit to compute unit on price
The initial implementation 6a6b4ef53946 wrongly define the depends for the
function.

Closes #12653
2023-10-22 12:37:04 +02:00
Cédric Krier ec93032df8 Restore get purchase unit price
2f25450e11f6 removes it but it is needed for purchase_price_list module.
2023-09-24 16:49:52 +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 d44297eae6 Rename UOM to Unit for product supplier
Closes #2221
2023-08-21 09:30:21 +02:00
Cédric Krier 297a9f4f1d Use price from last purchase as product price
The cost price is not really relevant as purchase price because it may include
extra cost like landed cost.

Closes #12494
2023-08-17 16:26:09 +02:00
Cédric Krier 4430198462 Set only once date when computing purchase and sale prices 2023-08-17 16:13:40 +02:00
Cédric Krier 4deaaf59a2 Round price returned by get_purchase_price 2023-08-17 17:57:11 +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 ac4d4a7fbb Use multivalue API to access product multivalue fields
Closes #7474
2023-03-19 19:57:30 +01:00
Cédric Krier cab1cf2f87 Add help text about price selection of product
Closes #8950
2023-01-08 18:12:49 +01:00
Cédric Krier a3685dd320 Prepare migration to monorepo 2022-12-16 16:49:39 +01:00