Cédric Krier
363e3cfd2e
Increase version number
...
--HG--
branch : 7.0
2024-06-15 11:11:25 +02:00
Cédric Krier
30fcf1f16f
Prepare release sale_supply-7.0.6
...
--HG--
branch : 7.0
2024-06-15 11:11:16 +02:00
Cédric Krier
9818cab01d
Do not rely on assigned quantity to supply on stock first
...
Closes #13279
(grafted from 9f8439bce62dff9e6f59b9cf1b0851c58171d9a4)
--HG--
branch : 7.0
2024-05-24 15:20:43 +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
629b08819a
Increase version number
...
--HG--
branch : 7.0
2024-03-03 13:16:04 +01:00
Cédric Krier
243c34ffdf
Prepare release sale_supply-7.0.5
...
--HG--
branch : 7.0
2024-03-03 13:15:55 +01:00
Cédric Krier
1eb61dcb1a
Do not copy sale lines when copying purchase requests
...
Closes #12918
(grafted from 3a4693cd3e305eb2b2ae8d34c92ecef275ee9adc)
--HG--
branch : 7.0
2024-02-12 23:54:07 +01:00
Cédric Krier
abed74a3f1
Increase version number
...
--HG--
branch : 7.0
2024-02-15 19:32:12 +01:00
Cédric Krier
ab207308b3
Prepare release sale_supply-7.0.4
...
--HG--
branch : 7.0
2024-02-15 19:32:02 +01:00
Cédric Krier
73fa64c17f
Store purchase requests and lines before creating move from supply
...
The supply state must be known to create moves.
Closes #12903
--HG--
branch : 7.0
2024-02-05 12:52:30 +01:00
Cédric Krier
fdef44c6f1
Increase version number
...
--HG--
branch : 7.0
2024-02-03 12:14:17 +01:00
Cédric Krier
cfdb69b7ae
Prepare release sale_supply-7.0.3
...
--HG--
branch : 7.0
2024-02-03 12:13:58 +01:00
Cédric Krier
f6adaaa16a
Update request stock move to draft when sale line has no purchase request
...
When the purchase request is deleted and the process does not require to
recreate a purchase request, the request stock moves must be updated to draft.
Closes #12903
(grafted from 4906a3e001d535280b142a360fe62e219cc66a50)
--HG--
branch : 7.0
2024-01-20 00:01:38 +01:00
Cédric Krier
6405a16182
Process for supply sales with the same company
...
Closes #12945
(grafted from af4b2d33f6d4e7116f43bef4124c362399bbc0f7)
--HG--
branch : 7.0
2024-01-18 10:02:22 +01:00
Cédric Krier
662fb79b79
Use only forecast quantity to process supply on sale
...
Closes #12901
(grafted from 2186d574c5cc98b4c4c0b985e95c4c8244ee30c7)
--HG--
branch : 7.0
2024-01-05 17:56:07 +01:00
Cédric Krier
62973a53f9
Process for supply sales with the same warehouse
...
The product quantities must be from the same warehouse.
Closes #12902
(grafted from e2e5b050bd95f092ee52c41ed871af541b5492ba)
--HG--
branch : 7.0
2024-01-05 17:55:17 +01:00
Cédric Krier
85813f1eea
Increase version number
...
--HG--
branch : 7.0
2024-01-16 00:16:15 +01:00
Cédric Krier
1320e9d15d
Prepare release sale_supply-7.0.2
...
--HG--
branch : 7.0
2024-01-16 00:16:06 +01:00
Cédric Krier
93bfed6553
Set supply state of sale line to cancelled only if the purchase request is also cancelled
...
Closes #12853
(grafted from 0cfd8517113dfd8d60ebc9fbd7c118ab59dee0ac)
--HG--
branch : 7.0
2023-12-21 12:01:31 +01:00
Cédric Krier
70da8058cb
Pick only from children location when assigned stock move from supplied sale line
...
Closes #12812
(grafted from dd0350421ca455db89819c786330738cfce2b602)
--HG--
branch : 7.0
2023-12-08 12:53:16 +01:00
Cédric Krier
a109bf9dd4
Reset and cancel shipment when purchase request is cancelled
...
The stock moves of the linked sale line is cancelled so the linked shipment
state must be updated to synchronize the inventory moves or to cancel it.
Closes #12825
(grafted from ced7b09694dd5f0eb513ad014ee4cff0c979073e)
--HG--
branch : 7.0
2023-12-13 23:27:42 +01:00
Cédric Krier
04253b8b67
Increase version number
...
--HG--
branch : 7.0
2024-01-01 13:08:26 +01:00
Cédric Krier
ce51450d10
Prepare release sale_supply-7.0.1
...
--HG--
branch : 7.0
2024-01-01 13:08:19 +01:00
Cédric Krier
194ef8fd72
Set to wait only once each shipment
...
When shipments are groupes they may appears multiple times in the list so we
must use a unique set.
Closes #12839
(grafted from 17ff2a3d61a68220855248215a6be5bcef0a3ae2)
--HG--
branch : 7.0
2023-12-18 19:13:28 +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
4e010a988f
Add support for Python 3.12
2023-10-22 19:40:55 +02:00
Cédric Krier
3a6e278b39
Rename UOM to Unit for purchase request
...
Closes #2221
2023-08-21 09:31:27 +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
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
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
09794bbccd
Use history table instance to migrate supply on sale column on history table
...
Closes #12379
2023-07-15 00:36:31 +02:00
Sergi Almacellas Abellana
a90ccb386a
Migrate supply_on_sale in history table if activated
...
Closes #12255
2023-06-02 18:59:32 +02:00
Cédric Krier
f55e837704
Do not migrate supply on sale column if it does not exist
2023-06-02 18:26:46 +02:00
Sergi Almacellas Abellana
f9b9a751d4
Fix typo in sale supply register method
...
Closes #12255
2023-05-05 09:58:39 +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
5cc5a8f672
Update tox.ini to set py311 and remove py37
2023-03-03 00:17:18 +01:00
Cédric Krier
eb4694b901
Add stock_first option to supply_on_sale
...
Closes #11955
2023-02-26 10:41:40 +01:00
Cédric Krier
d90aeed235
Change supply_on_sale into selection
2022-12-21 23:52:51 +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
b48e4966d5
Add functions and attribute to handle check access and active records
...
Closes #11863
2022-12-30 13:56:10 +01:00
Cédric Krier
68753ff402
Run action from button with proteus
2023-01-17 14:39:18 +01:00
Cédric Krier
b0b4ff7592
Notify when product is supplied on sale and has purchase order point
...
Closes #11969
2022-12-29 13:05:20 +01:00
Cédric Krier
69a1be6404
Assign all possible shipments and productions when trying
...
If assign_try fails to assign all the moves, we check if all the moves of each
shipment and production are assigned and then assign them.
Also we remove the boolean return which makes no more sense.
Closes #7006
2023-01-14 15:41:26 +01:00
Cédric Krier
db729e10c7
Assign supplied outgoing moves instead of inventory moves
...
If the output location is the same as the storage location, there is no
inventory moves on the outgoing shipment, so the outgoing moves must be
assigned.
If the input location is the same as the storage location, there is neither
inventory moves on the incoming shipment, so the quantity must be computed
based on the incoming moves.
Closes #11972
2022-12-29 18:19:37 +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