Commit Graph
124 Commits
Author SHA1 Message Date
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
Maxime Richez ea052f9930 Set inventory moves readonly for picked customer shipment
Closes #12613
2023-10-05 13:33:29 +02:00
Maxime Richez 76921bfccc Add menu entry to list warehouses
Closes #12608
2023-10-09 12:43:39 +02:00
Cédric Krier a30ff416a2 Remove group access on action window
Since d41d48d68cdf the read access to the target model of action window is
checked.
2023-09-20 09:48:14 +02:00
Cédric Krier 96a24bcaf6 Remove extra button group access
Since ab05d05bb811 there is no need to have access defined on button if they
are the same as the write access on the model.

Closes #12578
2023-09-20 09:45:20 +02:00
Cédric Krier 555102f942 Display shipment state on internal shipment report
Closes #12501
2023-08-26 12:54:44 +02:00
Cédric Krier 8eb0fb4ecf Display shipment state on supplier restocking list
Closes #12501
2023-10-03 13:01:59 +02:00
Cédric Krier bf84ee262b Display shipment state on customer return restocking list
Closes #12501
2023-08-26 12:53:42 +02:00
Cédric Krier 65e1180d34 Display shipment state on picking list
Closes #12501
2023-08-26 12:52:53 +02:00
Cédric Krier 7cc2b40942 Display shipment state and warehouse country on delivery note
Closes #12501
Closes #5224
2023-08-26 12:51:51 +02:00
Cédric Krier f4f4a9cec1 Check outgoing product quantities for internal shipment 2023-08-23 19:45:33 +02:00