Cédric Krier
4d383d2a32
Returns unique and ordered shipments when extending sale and purchase for kit
...
Since 9385c3660f17 the super method returns instances so only instances must be
added to the set to ensure uniqueness.
Closes #15091
(grafted from 7b9bcbe10ded642353834ba189a888119d7073ae)
--HG--
branch : 7.0
2026-09-13 14:01:21 +02:00
Cédric Krier
c70f558427
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
(grafted from a5b9250ef647bb963b912709db2c87556d9ac101)
--HG--
branch : 7.0
2025-08-22 11:13:57 +02:00
Cédric Krier
87135f32d5
Always return float for invoice or moves progress
...
The fields are Float so they must return a float.
(grafted from 68824d0fd7e6b7568db499d0a6594476c7f9ab66)
--HG--
branch : 7.0
2024-04-04 15:12:21 +02:00
Cédric Krier
1bb10d3b97
Round moves progress to 4 digits as the field
...
Closes #12834
(grafted from d1d9dc69d7487375056d34e9b9e1b614abda39ee)
--HG--
branch : 7.0
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