Commit Graph
14 Commits
Author SHA1 Message Date
Cédric Krier 905a2b20ba Rename invoice method on shipment into on fulfillment 2026-02-25 11:37:37 +01:00
Cédric Krier d1f6163dc8 Do not sum moves progress of component if it is None
When the component has no move, its moves progress is None so it can not be
added to the general progress.

Closes #14183
2025-08-22 11:13:57 +02:00
Cédric Krier b05dd58da8 Make component fields readonly on non draft sale and purchase
Closes #14130
2025-07-23 18:03:49 +02:00
Cédric Krier 3a25fc0df9 Always return float for invoice or moves progress
The fields are Float so they must return a float.
2024-04-04 15:12:21 +02:00
Cédric Krier 96c8feaaba Round moves progress to 4 digits as the field
Closes #12834
2023-12-14 19:13:23 +01:00
Cédric Krier cb08557fad Rename Uom to Unit for move and inventory
Closes #2221
2023-08-22 13:18:33 +02:00
Sergi Almacellas Abellana 9bd694e6bc Add __slots__ to product kit AmendmentLineMixin
Closes #12533
2023-08-29 10:14:53 +02:00
Cédric Krier 91fb1e7c24 Use OR-ed domain when composing clauses from exclusive join
When a searcher of a Function field compose a domain using mutually exclusive
joins, the boolean operator must always be OR because only one clause is not
NULL.

Closes #12291
2023-08-02 20:35:13 +02:00
Cédric Krier 881cbcfb2c Rename moves exception and simplify computation 2023-03-12 22:11:34 +01:00
Cédric Krier a8bb1b9b9b Ensure price ratio is Decimal for product kit
When the ratio is computed based on number of components instead of price
list.

Closes #12135
2023-03-13 22:44:43 +01:00
Maxime Richez f1a2f77405 Add partial shipment state
Closes #12004
2023-03-13 11:30:22 +01:00
Cédric Krier f429332d97 Use right boolean operator in composite domain of searcher
When the clause is negative, it must return an AND-ed domain instead of OR-ed.
2023-02-16 10:39:30 +01:00
Cédric Krier 83d8ff7547 Fallback to 0 when price list is not setting price ratio of components
Closes #11947
2023-01-08 17:51:20 +01:00
Cédric Krier c411259d6d Prepare migration to monorepo 2022-12-16 17:18:21 +01:00