284 Commits
Author SHA1 Message Date
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
Cédric Krier 3f11b8f6b5 Delete inventory moves when shipment is reset to draft
Closes #12826
2023-12-14 10:28:12 +01:00
Cédric Krier 8d9156df84 Add ondelete RESTRICT on Many2One of party ValueMixin
Closes #12809
2023-12-07 23:24:37 +01:00
Cédric Krier fb1f515011 Add location code to record name of location
Closes #12804
2023-12-06 16:42:24 +01:00
Cédric Krier 80fac3b031 Add confirmation when cancelling shipments
Closes #9667
2023-12-02 18:45:20 +01:00
Cédric Krier 86c2350271 Add default location property to pick product as fallback 2023-11-21 10:57:38 +01:00
Cédric Krier 0d625d4010 Remove usage of set_user to skip check access
Since ce8d7a19766a the access rule are enforced only if check access is set.
2023-12-01 21:14:37 +01:00
Cédric Krier 7fb5a0c6b8 Do not compute internal quantity for stock move created without product nor unit
Closes #12716
2023-11-06 18:02:23 +01:00
Cédric Krier 38da6a0451 Increase version number 2023-10-30 18:51:13 +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 420e0a48d6 Add pairwise_longest tools 2023-10-18 23:11:07 +02:00
Cédric Krier 7e2c1f8cbd Do not raise StopIteration when calling pairwise with empty iterable
Closes #12652
2023-10-18 18:28:04 +02:00
Cédric Krier 4e010a988f Add support for Python 3.12 2023-10-22 19:40:55 +02:00
Cédric Krier 2d6c34db34 Always fill product and template of cost price revision
If an error is raised when computing the new cost price, the management tries
to display the product name. So the product and the template must be set
explicitly because the revision is not yet saved in the database.

Closes #12616
2023-10-05 13:06:22 +02:00
Cédric Krier 639ead79a6 Add number and reference fields to ShipmentMixin 2023-10-07 17:17:32 +02:00
Sergi Almacellas Abellana a22de3c794 Make shipment reference not readonly
Closes #11879
2023-05-17 09:04:54 +02:00