Commit Graph
53 Commits
Author SHA1 Message Date
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
Cédric Krier 1a11e103bf Increase version number 2023-05-01 14:11:22 +02:00
Cédric Krier 1901135502 Prepare release 6.8.0 2023-05-01 13:19:11 +02:00
Cédric Krier 84a2b5e271 Update translations 2023-04-29 10:07:40 +02:00
Cédric Krier b9c4b8230d Return instance in on_change_with methods 2023-03-26 09:49:00 +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 5cc5a8f672 Update tox.ini to set py311 and remove py37 2023-03-03 00:17:18 +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
Nicolas Évrard 039761e061 Remove support for Python 3.7 2023-01-29 20:36:51 +01:00
Nicolas Évrard 777ee10f27 Add support for Python 3.11 2023-01-27 11:02:47 +01:00
Cédric Krier 61324ec547 Replace lstrip usage to remove field name from clause operand
Closes #12041
2023-01-29 00:46:36 +01:00
Cédric Krier 68753ff402 Run action from button with proteus 2023-01-17 14:39:18 +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 4683fde7ac Make scenario independent of the current day
The fiscal years are created centered on the passed date such that if the
current day change during the execution, the fiscal year is still usable.
Also fiscal year can be created for a range of dates such that it is guarantee
that the dates are in the fiscal year.
And finally remove datetime and dateutil import when they are not used.

Closes #9977
2023-01-01 10:36:03 +01:00
Cédric Krier 2b786d8c44 Add coverage reports 2023-01-08 11:18:56 +01:00
Cédric Krier 62e8201d5a Add unit test reports 2023-01-08 01:55:20 +01:00
Cédric Krier 5f8b891f62 Increase verbosity of tox 2022-12-28 00:26:31 +01:00
Cédric Krier 98cbb23f58 Improve setup.py
get_required_version does not need to use .dev0 suffix anymore.
The download URL must be empty for development version.
Source Code must point to Heptapod repository.
Foundation email is used as author email.
2022-12-24 13:45:10 +01:00