Commit Graph
57911 Commits
Author SHA1 Message Date
Cédric Krier 7dcfcfcb3a Replace jshint by eslint
Closes #13087
2024-03-11 23:33:12 +01:00
Cédric Krier 18d6933489 Use model attribute to compute model name of CharColumn
Closes #13093
2024-03-09 11:01:34 +01:00
Cédric Krier fca4a93d08 Compute index when selecting list-form row to select records
Closes #13092
2024-03-09 10:59:52 +01:00
Cédric Krier f1a526d2b7 Set graph color from yfield
Closes #13091
2024-03-09 10:56:54 +01:00
Cédric Krier 0e68b91488 Fix typo in defaults argument in new_ method of Many2Many widget
Closes #13090
2024-03-09 10:55:19 +01:00
Cédric Krier ceb0ff3700 Use size from attributes when setting url_size parameters for Image
Closes #13089
2024-03-09 10:52:41 +01:00
Cédric Krier 824e282b6f Do not fail on input completion when source is an Array
Closes #13088
2024-03-09 10:49:27 +01:00
Cédric Krier 2837108682 Use operators when converting PYSON to string
Closes #12986
2024-03-09 01:41:54 +01:00
Cédric Krier 4d084ec01b Remove icons in unique dialog
There is already an alert background set to distinct them.
2024-01-31 10:32:35 +01:00
Cédric Krier c4de553be3 Rationalize unique dialog size 2024-01-31 10:25:30 +01:00
Cédric Krier b36a38a14a Allow account users to delete moves
Closes #12976
2024-01-30 16:37:15 +01:00
Cédric Krier 29de76f324 Activate employee based on dates
Closes #12077
2024-01-30 10:34:34 +01:00
Cédric Krier 4e75c63e51 Include context information in access error
We include the date/time when the access error may be due to history and
user's groups when it depends on it.

Closes #12670
2024-01-29 13: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 da08123b44 Add stock_product_location_place module
Closes #12797
2024-03-07 13:44:35 +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 ec5a00c82e Make pool initialization atomic
An instance of pool is created per thread and it stores a reference to the
current pool values.
When the pool is initialized, a temporary reference is set on the instance so
only the values for this thread is modified. Once the initialization is
complete, the new pool value replace the global values.
Each instances is refreshed with the global values after the pool has been
stopped.

Closes #11401
2024-03-06 18:28:38 +01:00
Cédric Krier 88ac130d2f Remove readthedocs 2024-02-18 18:35:54 +01:00
Cédric Krier 4632152d2b Do not fail on leap day to create next fiscal year
Replace the year of a date is not safe, it is better to use relativedelta.

Closes #13064
2024-02-29 15:36:16 +01:00
Cédric Krier 555ae0f465 Do not copy sale lines when copying purchase requests
Closes #12918
2024-02-12 23:54:07 +01:00
Maxime Richez 751e549995 Do not enforce empty shipment cost method on cancelled state
Closes #13018
2024-02-22 00:06:28 +01:00
Cédric Krier 2e722731c7 Delay the selection of first visible sibling tab
When the current tab is hidden, the other tabs may not have their definitive
visibility so we must delay the selection.

Closes #13024
2024-02-12 13:32:12 +01:00
Cédric Krier 9795da5179 Check OAuth environment to run UPS scenario
6723c2dced5b changed the environment variables needed to run the scenario.
2024-02-06 16:11:50 +01:00
Cédric Krier fa7ec2eecd Increase transaction counter when erasing party
As the erase is done using direct SQL query, the counter is not increased so
there is no log event created because the wizard use the counter to determine
if there were some modification and thus create a log entry.

Closes #13002
2024-02-05 18:57:28 +01:00
Cédric Krier ea9740846e Clear stock moves in staging when validating amendment
Closes #12999
2024-02-05 11:51:00 +01:00
Cédric Krier bb9a1fd2f5 Fix typo in cancel confirm message of customer shipment 2024-02-04 22:35:51 +01:00
Cédric Krier f8c0b16f7e Increase maximal number of retries in test scenario
When many scenario are run with the same account in parallel, the processing
time of Stripe can increase a lot so we need to wait longer.
2024-02-20 11:28:45 +01:00
Cédric Krier 76da0b26a6 Format direct debit name of Stripe payment method
Closes #12990
2024-02-02 19:52:35 +01:00
Cédric Krier ca958a1296 Return all Stripe payment methods instead of only card
Closes #12990
2024-02-02 19:51:34 +01:00
Cédric Krier 2dde73b737 Unify help text of command line 2024-01-26 00:09:37 +01:00
Cédric Krier a29ef14d49 Remove unused get_mime on notification email attachment 2024-01-25 16:08:47 +01:00
Cédric Krier 25b8316733 Use EmailMessage to construct emails
Closes #12958
2024-01-25 16:04:05 +01:00
Cédric Krier ea53fb3ce8 Test number of dots in name before computing unique value from a domain
The type of value may not correspond with the single_value parameter if the
domain does not apply directly to the field but to a nested field.

Closes #12843
2024-02-12 11:59:13 +01:00
Dimitrios Josef Moustos 6206ef7bb0 Fill shipment number only in waiting state
Closes #12905
2024-02-19 22:51:55 +01:00
Dimitrios Josef Moustos a327edd0a5 Fill production number only in waiting state
Closes #12904
2024-02-19 22:21:38 +01:00
Cédric Krier 166b47f3b1 Set receivable payment menu on same level as payable menu 2024-01-13 18:59:37 +01:00
Cédric Krier f9993960b9 Reset table of BOM output with None
This allow to customize the name.
2023-12-26 12:21:20 +01:00
Cédric Krier a66c7c42b1 Update help of account taxes
Since d66471767177 the taxes are not used as default for manual encoding of
move lines.
2024-02-07 09:24:53 +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 cf554ff391 Install all documentation requirements at once 2024-02-03 23:56:52 +01:00
Cédric Krier f87c26f583 Use set to define sale grouping fields
This avoid to have duplicate domain clause on the same field.
2023-12-23 01:29:31 +01:00
Cédric Krier ce530c6c0b Remove custom table names 2023-12-26 12:18:00 +01:00
Cédric Krier 9223f374bf Use same sign when deducing ignored stock moves of remaining quantity to be paid
When the quantity of the line is negative, the quantity of the ignored stock
move must be added instead of subtracted.

Closes #12988
2024-02-02 13:48:12 +01:00
Cédric Krier 53460ad511 Add duration in logging message of with_pool decorator
This applies the same design as 180997544b2e did to the dispatcher.
2024-02-06 14:17:10 +01:00
Cédric Krier ffaa3f096c Clear transaction tasks on retry of with_transaction decorator
Closes #13008
2024-02-06 13:26:34 +01:00
Cédric Krier f02c9cf04c Lock table at transaction start for with_transaction decorator
Since c8771e45b861 TransactionError is raised if a table is not locked at the
transaction start. The decorator must manage such exception in case the
decorated route needs to lock a table.

Closes #12962
2024-02-06 12:59:00 +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 ad361cbdab Document Units of Measure conversion API 2024-01-23 23:31:48 +01:00