Commit Graph
13 Commits
Author SHA1 Message Date
Udo Spallek 8b252472c4 Replace usage of docstring of Model by __string__ attribute
Closes #8402
2024-11-19 10:09:52 +01:00
Cédric Krier d7c8fae637 Do not allow to add product or unit with amendment if there was no unit
Invoice lines may already exist with incompatible unit which will fail to
compute invoiced quantity.
2024-10-27 19:43:15 +01:00
Cédric Krier e5658ccf92 Fix missing target field in operand of domain 2024-10-30 11:24:15 +01:00
Cédric Krier a2dfc4455b Refine index definition
- Set low and high cardinality to index usage
- Use Range usage for numerical expression instead of Equality
2024-07-27 18:36:14 +02:00
Cédric Krier 09985de225 Always clear cached amount before storing it
This is safer as if for some reason the cache is filled with wrong data, the
values will be fixed instead of keep propagating it.
2024-06-13 12:32:08 +02:00
Cédric Krier 57e59ac67d Add secondary unit to purchase amendment
Closes #13256
2024-05-21 18:56:20 +02:00
Cédric Krier ea9740846e Clear stock moves in staging when validating amendment
Closes #12999
2024-02-05 11:51:00 +01:00
Cédric Krier b2f90a89e0 Display amendments field when order is in processing state
This allows creating amendment from the order form directly.
2023-06-14 16:26:21 +02: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 b49901043d Prevent filling amendent lines if purchase has not been selected
The lines depend on the selected purchase.
2023-02-27 18:04:38 +01:00
Maxime Richez 10466a9936 Prevent deletion of payment terms in use
Closes #12085
2023-02-21 12:55:12 +01:00
Cédric Krier 7b1955d743 Prepare migration to monorepo 2022-12-16 16:53:35 +01:00