Commit Graph
72 Commits
Author SHA1 Message Date
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 bafd7d0bb5 Do not rely on shipments order from sale in product kit test scenario
Closes #15016
(grafted from 58d67088854ac415c961f6c265da3b6e28ce1c37)

--HG--
branch : 7.0
2026-08-16 23:51:22 +02:00
Cédric Krier 31c76b94eb Do not rely on invoices order from sale and purchase in test scenario
Closes #15033
(grafted from d1364323d4ac8c2f3d823cbee89e5217a53e98da)

--HG--
branch : 7.0
2026-08-23 08:28:53 +02:00
Cédric Krier 1050494552 Use binary version of psycopg for tests
(grafted from 844c3d391796ffe89afce54d12f6bf5f4aa8ef4e)

--HG--
branch : 7.0
2026-07-17 22:16:19 +02:00
Cédric Krier 7e4485670d Increase version number
--HG--
branch : 7.0
2026-07-01 22:55:58 +02:00
Cédric Krier 67e54419ed Prepare release product_kit-7.0.9
--HG--
branch : 7.0
2026-07-01 22:55:50 +02:00
Udo Spallek 96b8e505aa Return the quantity of sale line component for manual shipment method
Closes #14888
(grafted from 4d12bf8e46669dbb33a21dbeb13694986e603a1d)

--HG--
branch : 7.0
2026-06-17 22:50:11 +02:00
Cédric Krier 85ee29492f Increase version number
--HG--
branch : 7.0
2026-06-02 19:07:05 +02:00
Cédric Krier 1d1957e0eb Prepare release product_kit-7.0.8
--HG--
branch : 7.0
2026-06-02 19:06:56 +02:00
Cédric Krier e9155c2cb0 Test origin from sale instead of line to calculate cost for return sale of product kit
Closes #14854
(grafted from 7e5197d5a61cb5090d8a2c00ae4a12a25924aeda)

--HG--
branch : 7.0
2026-05-21 10:26:44 +02:00
Cédric Krier 1638f6d953 Increase version number
--HG--
branch : 7.0
2025-10-03 00:02:56 +02:00
Cédric Krier a1fbf0e359 Prepare release product_kit-7.0.7
--HG--
branch : 7.0
2025-10-03 00:02:47 +02:00
Cédric Krier a5b1c1e980 Use only components without product from the template as the default components for the product
Closes #14246
(grafted from a18da648907c39895f364502b1e361a51439f462)

--HG--
branch : 7.0
2025-09-19 14:04:29 +02:00
Cédric Krier f6e88ca3b1 Increase version number
--HG--
branch : 7.0
2025-09-15 18:16:49 +02:00
Cédric Krier 6977610f9a Prepare release product_kit-7.0.6
--HG--
branch : 7.0
2025-09-15 18:16:41 +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 cfd2bf060c Increase version number
--HG--
branch : 7.0
2025-06-04 23:47:08 +02:00
Cédric Krier 32813f9f60 Prepare release product_kit-7.0.5
--HG--
branch : 7.0
2025-06-04 23:46:57 +02:00
Maxime Richez d5b2919200 Set empty currency and unit price on stock move when not required
Closes #14023
(grafted from 6090f9c621e782cd47eb0537dee972c2f1fa8fe6)

--HG--
branch : 7.0
2025-05-16 13:20:28 +02:00
Cédric Krier 3badb75628 Increase version number
--HG--
branch : 7.0
2024-10-05 18:05:50 +02:00
Cédric Krier d92d1e410d Prepare release product_kit-7.0.4
--HG--
branch : 7.0
2024-10-05 18:05:42 +02:00
Cédric Krier e18d53e99c Test if origin id is greater or equals to 0 before accessing the target record
Closes #13498
(grafted from 497490225779fc8dc210c9cee997cd5ce4b4381e)

--HG--
branch : 7.0
2024-09-09 12:46:16 +02:00
Cédric Krier ce9ab62562 Increase version number
--HG--
branch : 7.0
2024-05-01 13:50:55 +02:00
Cédric Krier c47d55dedd Prepare release product_kit-7.0.3
--HG--
branch : 7.0
2024-05-01 13:50:46 +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 c4d4951525 Remove readthedocs
(grafted from 2f67994e59b0bca29d7b0632a51540774b109140)

--HG--
branch : 7.0
2024-02-18 18:35:54 +01:00
Cédric Krier 247bf9ba6e Increase version number
--HG--
branch : 7.0
2024-01-16 00:19:16 +01:00
Cédric Krier 63561fcf2c Prepare release product_kit-7.0.2
--HG--
branch : 7.0
2024-01-16 00:19:07 +01: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 a10b51f8e9 Increase version number
--HG--
branch : 7.0
2023-12-16 11:03:44 +01:00
Cédric Krier 836bdaeea8 Prepare release product_kit-7.0.1
--HG--
branch : 7.0
2023-12-16 11:03:36 +01:00
Cédric Krier 427c51902f Always round unit price when recomputing it for stock move
Closes #12787
(grafted from 9130db2731ef76ada9b4877650a4b56ffe997318)

--HG--
branch : 7.0
2023-11-30 15:59:31 +01:00
Cédric Krier 6c91d493b6 Increase version number
--HG--
branch : 7.0
2023-10-30 18:49:03 +01:00
Cédric Krier 65f477f731 Prepare release 7.0.0 2023-10-30 18:17:32 +01:00
Cédric Krier c577fad900 Update translations [skip ci] 2023-10-28 14:15:23 +02:00
Cédric Krier 4e010a988f Add support for Python 3.12 2023-10-22 19:40:55 +02:00
Cédric Krier fb6b49156a Add warning when receiving too much component goods from sale return
Closes #12521
2023-08-24 18:25:55 +02:00
Cédric Krier ba2772f504 Add warning when receiving too much component goods from purchase
Closes #12521
2023-08-24 18:26:05 +02:00
Cédric Krier a20b805f16 Store original planned date of stock move and compute delay 2023-09-10 21:28:51 +02:00
Cédric Krier cb08557fad Rename Uom to Unit for move and inventory
Closes #2221
2023-08-22 13:18:33 +02:00
Cédric Krier a44c520de8 Fill unit price of purchase line in test scenario
Since 2f25450e11f6 the unit price is no more filled if there is no supplier
price or previous purchase.
2023-09-11 22:07:13 +02:00
Cédric Krier 919e6b13fa Fill unit price of purchase line created automatically
Since 2f25450e11f6 the on_change_product does not always set a unit price for
purchase line. But as the field is required, it must be filled for line
created.
2023-09-11 22:06:11 +02:00
Cédric Krier 523bcd4011 Use module name to build path for readthedocs requirements 2023-09-03 12:03:49 +02:00
Cédric Krier 6a06579e13 Use Sphinx book theme for documentation 2023-09-01 09:44:09 +02:00
Sergi Almacellas Abellana 9bd694e6bc Add __slots__ to product kit AmendmentLineMixin
Closes #12533
2023-08-29 10:14:53 +02:00
Sergi Almacellas Abellana 9692e052ed Add sale_amendment and purchase_amendment as tests extras 2023-08-29 10:14:04 +02:00
Sergi Almacellas Abellana c5bafdb2ed Test searching on move's purchase and sale from kit 2023-08-02 20:37:15 +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 d41cb4d14a Call the same search method in super call when extending for components
Closes #12434
2023-07-25 11:02:09 +02:00
Cédric Krier adc26533da Add .readthedocs.yaml configuration [skip ci]
This is required by Read the Docs service:
https://blog.readthedocs.com/migrate-configuration-v2/

Closes #12344
2023-08-06 11:06:08 +02:00