Cédric Krier
d0c5188641
Enforce empty price on stock move when not required
...
Closes #13382
2024-07-19 13:14:58 +02:00
Cédric Krier
3d9852c008
Set product range index last for stock move
...
As product clause are reduced ids, they have less chance to be usable than the
date which is often a single value.
2024-06-19 13:23:57 +02:00
Cédric Krier
3ca4615b32
Add location and use product range in stock period cache index
...
The cache is always filtered by location and the product is often filtered
with reduced ids.
2024-06-19 12:44:33 +02:00
Cédric Krier
9a4051ab8c
Add company to the stock move indexes
...
Almost all the queries on stock move filter by company.
2024-06-18 20:33:41 +02:00
Cédric Krier
6d219e96f3
Do not add period query to the union if there is no period
...
There is no cache record without period so there is no need to add the query
to the UNION.
2024-06-18 20:32:09 +02:00
Cédric Krier
e00fd063c5
Reuse simple COALESCE expression to filter moves after stock period
...
The expression must be the same as the one in the indexes such that the
indexes can be used to directly filter out all the moves before the period.
This restores the original expression that was changed by e4431b79e409 for the
generic move_date. But by design there can not be any assigned move planned
before the closed period.
2024-06-18 20:29:31 +02:00
Maxime Richez
b8d9b593a8
Remove default planned date on supplier shipment
...
Closes #12966
2024-07-13 19:31:46 +02:00
Cédric Krier
6e4f8a09c3
Set custom string on label of the form instead of field
2024-06-03 13:24:19 +02:00
Cédric Krier
0442c7475b
Update reports to display company logo
2024-04-19 23:30:05 +02:00
Cédric Krier
2eaf20a461
Add shipped state to customer shipment
...
Closes #13150
2024-05-06 00:34:03 +02:00
Cédric Krier
cd8777277a
Update translations [skip ci]
...
Closes #13225
2024-04-30 13:09:39 +02:00
Cédric Krier
38a3a8e68e
Increase version number
2024-04-29 18:03:56 +02:00
Cédric Krier
2fc668b9f7
Prepare release 7.2.0
2024-04-29 17:31:11 +02:00
Cédric Krier
b443997044
Update translations [skip ci]
2024-04-27 18:44:57 +02:00
Cédric Krier
490a5e2c6c
Do not display cancelled moves in shipment reports
...
Closes #13202
2024-04-18 14:49:49 +02:00
Cédric Krier
567719b1ab
Use shipment report mixin for delivery note
2024-04-18 14:49:14 +02:00
Cédric Krier
8666e82b80
Rename 'done' buttons to 'do' and label them as "Complete"
...
Closes #13039
2024-02-17 17:50:49 +01:00
Cédric Krier
80b61a9f63
Store model on ir.rule.group
2024-02-25 13:45:21 +01:00
Cédric Krier
5448a91bf7
Store model on ir.model.button
2024-04-06 10:48:45 +02:00
Cédric Krier
9193a425d1
Store model name on ir.model.access
2024-04-06 14:10:01 +02:00
Sergi Almacellas Abellana
c3117568ad
Round code price before storage when modifying from product wizard
...
Closes #13041
2024-03-15 19:18:30 +01:00
Cédric Krier
ed0b38db47
Add location name fields to move
2024-01-04 10:56:25 +01:00
Cédric Krier
a426898971
Try to assign automatically planned shipments in the past
...
Closes #13030
2024-02-09 16:44:46 +01:00
Cédric Krier
31e3eb142c
Unify shipment assignation scheduled jobs
...
The order shipments are assigned is important as it determines which order
will be done or not. So we must try to assign all the shipments and
productions following a defined order.
Closes #13027
2024-02-09 16:42:28 +01:00
Cédric Krier
88ac130d2f
Remove readthedocs
2024-02-18 18:35:54 +01:00
Cédric Krier
bb9a1fd2f5
Fix typo in cancel confirm message of customer shipment
2024-02-04 22:35:51 +01:00
Dimitrios Josef Moustos
6206ef7bb0
Fill shipment number only in waiting state
...
Closes #12905
2024-02-19 22:51:55 +01:00
Cédric Krier
ab83059056
Limit contextual ids in table query for product quantities by warehouse
...
Closes #12968
2024-02-05 23:35:24 +01:00
Cédric Krier
17ca6631e0
Reduce contextual ids in table query for product quantities by warehouse
...
Closes #12968
2024-02-01 23:17:48 +01:00
Cédric Krier
a961d7c205
Test if specific exception is raised in stock tests
2024-01-24 10:31:22 +01:00
Cédric Krier
86b9b16a95
Add product deactivable mixins
...
Those include the product and template active field in the expression when
converting domain on active field.
Closes #12955
2024-01-24 10:16:04 +01:00
Cédric Krier
ba1d556234
Keep copying readonly moves of shipments
...
Since cf8f1399bc1b readonly fields are not more copied but on shipment the
moves is readonly only to force the usage of Function fields.
So we could convert the readonly attribute by a static readonly states.
Closes #13004
2024-02-06 00:12:55 +01:00
Cédric Krier
a8ee857681
Compute name of the product for stock move
...
So we can customize the product name to use the customer or supplier name.
Closes #12893
2024-01-04 23:54:49 +01:00
Cédric Krier
bfbab59ebf
Use usage from context for default contact mechanism on party
2024-01-04 18:48:14 +01:00
Cédric Krier
5181591ed7
Use template substitution for company header/footer
...
Closes #12699
2024-01-04 18:55:06 +01:00
Cédric Krier
4a0a6faea6
Manage assignation for customer shipment with same picking and output location
...
Closes #12815
2023-12-21 15:01:14 +01:00
Cédric Krier
970f40f3be
Use internal shipment location to compute warehouse of transit stock move
...
When the location is the transit location, the warehouse to be used is the
warehouse of the corresponding location on the internal shipment.
Closes #12746
2024-01-11 17:09:50 +01:00
Cédric Krier
69bdce8b29
Use include directive for subdirectory documentation
...
Closes #12822
2023-12-24 10:48:07 +01:00
Cédric Krier
40b8cf0eca
Support linkcheck ignore per module documentation
...
If a linkcheck_ignore.json exists in the doc folder, it is loaded to extend
the linkcheck_ignore configuration of Sphinx.
2024-01-01 13:43:49 +01:00
Cédric Krier
f5fc52577f
Use today as planned date for assigned move
...
The inclusion of the assigned move in the computation must be coherent between
quantity and delta.
Closes #12914
2024-01-09 19:42:05 +01:00
Cédric Krier
d3e086aace
Order cancelled document without number last
...
Closes #12899
2024-01-05 15:33:57 +01:00
Cédric Krier
406092be4d
Check doctest files
...
They are converted to python files before running checks.
2024-01-14 19:21:56 +01:00
Cédric Krier
b913ad45d8
Add assert methods to test tools
...
Closes #12879
2023-12-29 19:02:08 +01:00
Cédric Krier
f15e7a901f
Strip trailing 0 when checking Decimal in doctest output of SQLite
...
Closes #12878
2023-12-30 19:45:32 +01:00
Cédric Krier
2fce630dd6
Test expected output instead of comparison in doctest
2023-12-29 19:03:10 +01:00
Cédric Krier
2743dc7a06
Set IGNORE_EXCEPTION_DETAIL option flag on doctest
...
Closes #12877
2023-12-28 14:39:39 +01:00
Cédric Krier
5cda753f9f
Allow assigned move of 0 quantity using view location and delete them
...
This is needed to be able to ignore assignation of move from a view location,
and to delete them before all moves are set to done.
Closes #12870
2023-12-26 16:00:06 +01:00
Cédric Krier
aa20b2de71
Update planned date of assigned move from shipment and production
...
Closes #12867
2023-12-23 02:32:43 +01:00
Cédric Krier
8c7e035976
Do not raise warning when shipment quantity difference is 0
...
Closes #12817
2023-12-11 16:35:18 +01:00
Cédric Krier
2cbc71847b
Factorize assign_supplied of Sale to reuse assign_try of Move
2023-12-08 14:00:08 +01:00