Commit Graph
60723 Commits
Author SHA1 Message Date
Cédric Krier 54183ea818 Make statement lines readonly when origins are filled
Closes #14965
2026-07-22 12:28:03 +02:00
Cédric Krier 55b26ce2bd Add scenario to test the modification of stock lot without moves 2026-07-21 19:14:58 +02:00
Cédric Krier a062121249 Remove unused class parameter in the function to find move for stock lot
The function is called only when the state as parameter.

Closes #14963
2026-07-21 19:14:20 +02:00
Cédric Krier 13bdfa8541 Use external parameter to activate the check for lot modification without move
#14963
2026-07-21 19:12:14 +02:00
Cédric Krier efa6379b92 Calculate the number of parameters in INSERT query using the columns list
The column names list does not contain the create_uid nor create_date columns
instead of columns list.

Closes #14800
2026-07-23 11:37:36 +02:00
Nicolas Évrard c559a119ac Add login_service value when the redirection URL misses it
Closes #14893
2026-06-11 21:30:46 +02:00
Cédric Krier e7954890d1 Use cell cursor on table row
This allows to distinct between clicking on the row and on the links.

Closes #14968
2026-07-23 18:39:42 +02:00
Cédric Krier 9a51438e80 Prevent switching row when double click on Many2One link
Closes #14967
2026-07-23 18:27:41 +02:00
Cédric Krier 3cddae8e8b Do not set company on set production cost cron in the test scenario
Since bea535142d87 the company can not be set on cron that does not need it.
2026-07-20 13:38:38 +02:00
Cédric Krier 36a3b84c54 Always use the shipment address of the sale as delivery address for the shipment
The warehouse on the sale is not always filled instead it is the the warehouse
of the shipment that must be used for the comparison. But this makes the test
useless as the shipment address is always used ad delivery address.

Closes #14954
2026-07-13 18:26:34 +02:00
Adrià Tarroja Caubet 92bd0d7467 Do not create a production request when quantities are the same
If the available quantity is exactly the same as the quantity sold, there is no
need to create a production request.

Closes #14585
2026-07-24 10:12:57 +02:00
Cédric Krier 4c4020bc1c Update zeep version for DPD
This allows to activate the in-memory cache.
2026-07-16 16:18:18 +02:00
Cédric Krier 0035590218 Set back XML record for English with other languages 2026-06-25 17:10:23 +02:00
Cédric Krier 6a790d3162 Add search attribute to XML record tag
Closes #13247
2026-06-25 16:50:42 +02:00
Cédric Krier f0878cb49b Do not copy vlist in ModelSQL.create
The vlist is already a copy from ModelStorage._before_create.

Closes #14953
2026-07-13 15:56:31 +02:00
Cédric Krier c3c44c4875 Remove unnecessary depends for on_change_product of purchase requisition line 2026-07-08 14:27:07 +02:00
Cédric Krier 45611ca1fd Compare tab against view index less or equals to 0
The view index may be -1 is the view is not yet displayed.

Closes #14961
2026-07-17 12:58:29 +02:00
Cédric Krier b10eee3181 Allow npm to run puppeteer scripts
Closes #14960
2026-07-17 11:40:28 +02:00
Cédric Krier 7f07f8afe4 Use ngettext for warning message about pending purchases of outsourced productions 2026-07-16 16:08:38 +02:00
Cédric Krier b38389bfe2 Warn when resetting to draft or cancelling production with pending purchase lines 2026-07-16 15:58:16 +02:00
Cédric Krier 81ef47735a Do not create a purchase line for outsourced production with already one
Closes #14759
2026-07-16 15:57:11 +02:00
Cédric Krier 1f28439b09 Raise the final exception when all retries of Shopify request has failed 2026-07-21 17:33:03 +02:00
Cédric Krier a089427b1d Use dict.get instead of getattr to retrieve user errors from Shopify request
The GraphQL library returns dict instead of object.

Closes #14964
2026-07-21 17:32:21 +02:00
Cédric Krier 1f5997247b Format numeric values in XML templates using fixed-point notation
Closes #14948
2026-07-15 18:07:22 +02:00
Cédric Krier 77966e69f8 Update Shopify product if any variant of the product has been removed
Closes #14955
2026-07-14 17:07:07 +02:00
Cédric Krier 4052e3bd7f Show warehouses field of cron only for methods that need them
Closes #14952
2026-07-13 15:34:03 +02:00
Cédric Krier 24405399a0 Show companies field of cron only for methods that need them
Closes #14952
2026-07-13 15:33:35 +02:00
Nicolas Évrard b167bd1e77 Do not fetch sub fields definition when prefetching views
Closes #14941
2026-07-08 14:59:40 +02:00
Cédric Krier 289b433b05 Remove direct URL to DPD documentation
The website requires login and Javascript to download the documentation.
2026-07-13 08:06:15 +02:00
Sergi Almacellas Abellana 1d6b88afaa Test column_ methods in tests_fields_methods 2026-07-06 20:05:23 +02:00
Cédric Krier 907c6a49fe Remove entry_points_selectable backport
Since c0f49db907fc the minimal Python version is 3.10 which supports selectable
entry-points.
2026-07-07 19:19:25 +02:00
Cédric Krier 059a304bc9 Set an UPS account number to the custom agent in test scenario
#14876
2026-07-13 17:25:29 +02:00
Cédric Krier e8d82af6f2 Bill duties and charges to the customs agent for UPS shipment charges
Closes #14876
2026-06-03 16:01:25 +02:00
Cédric Krier 7f84a95b00 Remove only lot expiring in the future
Closes #13901
2025-03-04 22:05:19 +01:00
Cédric Krier 6af819c289 Do not dumps/loads context domain in URL
The context domain must be evaluated only by the screen when doing a domain
search.

Closes #14921
2026-07-08 15:03:35 +02:00
Cédric Krier 278896eac3 Add documentation for DatabaseTimeoutError 2026-07-08 23:01:08 +02:00
Cédric Krier e317c87911 Return Gateway Timeout instead of Request Timeout for database timeout
Closes #14945
2026-07-08 22:12:42 +02:00
Cédric Krier 0c29a67c06 Add missing duration argument to database timeout warning
Closes #14944
2026-07-08 22:23:38 +02:00
Cédric Krier d4252d01f2 Remove unnecessary image definition for check-dist 2026-07-06 23:36:42 +02:00
Cédric Krier ef965ed384 Center checkbox in editable tree
For the auto margin to center the input, it must be displayed as block without
float.

Closes #14942
2026-07-08 14:59:54 +02:00
Cédric Krier ca659201cd Add a refund line for Shopify refund that are not linked to items
Closes #14875
2026-06-16 20:40:21 +02:00
Cédric Krier bc8151c822 Process Shopify sale only if the authorized payment amount is greater than the amount to pay
The correction of #14816 was wrong and the amount to pay should be modified if
there is a global refund.
2026-06-03 15:06:05 +02:00
Sergi Almacellas Abellana 99b6830032 Add cache on import_module tool
Closes #14936
2026-07-07 17:16:02 +02:00
Cédric Krier 0839c83a2f Add missing error message when no bank account is found when parsing UBL invoice
Closes #14938
2026-07-08 08:54:37 +02:00
Cédric Krier fca02700e9 Re-raise transaction error from sub-test of button
Since a05fa06b3a4c the test of button is executed under the subTest context
manager but if the method is raising a TransactionError, it is considered as a
failure for the test.
But we need this exception to be raised up to the with_transaction decorator in
order to fix the transaction and execute fully the method of the button.
2026-07-07 19:16:08 +02:00
Cédric Krier 47ce216f35 Select the first supplier when all suppliers have the same maximum supply date
Since all suppliers have the same supply delay, the order must be used for
selection.

Closes #14939
2026-07-08 09:19:35 +02:00
Cédric Krier fca6a120f0 Use NullConnectionPool for the default database
The default database is template1 which is usually used to create new database.
Keeping a pool of connection open on it prevents the creation of new database
because exclusive access is needed on the template.

Closes #14935
2026-07-06 19:34:24 +02:00
Cédric Krier 55b1cd06d3 Put agent field in sale form on a new line
This prevents to break the layout of other modules adding fields to the same
tab.

Closes #14934
2026-07-06 19:15:08 +02:00
Sergi Almacellas Abellana eee72298d0 Remove empty space in account consolidation scenario 2026-07-06 20:04:18 +02:00
Cédric Krier 899ecc39e9 Update DPD API to Shipment Service 4.5 2026-06-24 11:01:19 +02:00