18 Commits
Author SHA1 Message Date
Cédric Krier bdeeb572ac Set shipment address only when empty when changing party of sale amendment
Closes #14796
(grafted from 1a003fa7e62b9f5c0cda4494197e6553a585f7b9)

--HG--
branch : 8.0
2026-06-12 23:42:19 +02:00
Adrià Tarroja Caubet fa6efc064a Add missing invoice address when changing party of amendment
Closes #14796
(grafted from e3a3660f987638f51e04c7023c753f2988d938fc)

--HG--
branch : 8.0
2026-06-12 23:44:04 +02:00
Cédric Krier 686bec27a3 Make the payment term fields readonly for non draft amendment lines
Closes #14746
2026-04-04 00:52:12 +02:00
Nicolas Évrard cbdad75620 Remove old-style of super() calls 2025-04-04 00:45:18 +02:00
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 1fdda8bdb2 Fix missing target field in operand of domain 2024-10-29 19:56:58 +01:00
Nicolas Évrard 6907ea5b7b Add warning when using implicit rec_name target for relational domain 2024-09-07 00:39:55 +02: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 bbd5e521f3 Add secondary unit to sale amendment
Closes #13256
2024-05-21 18:56:03 +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 e0a6aff42b Remove salable constraint on product when quantity is negative
Closes #9057
2023-03-23 17:37:17 +01:00
Cédric Krier 28bbd95485 Prevent filling amendent lines if sale has not been selected
The lines depend on the selected sale.
2023-02-28 11:17:47 +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 0c5182bb1e Prepare migration to monorepo 2022-12-16 16:30:29 +01:00