Commit Graph
60789 Commits
Author SHA1 Message Date
Cédric Krier bd350be3f8 Enforce shipment domain on stock moves
On shipment where moves are split into two fields, we must enforce at least one
of the domain of each field.
2026-07-16 11:03:16 +02:00
Cédric Krier cc08e82ecc Allow the creation of shipping label for packages when the shipment state is shipped
Closes #15027
2026-08-20 12:02:57 +02:00
Cédric Krier 550b638dc6 Remove prefix for statement and payment journals action 2026-07-15 18:16:16 +02:00
Cédric Krier 85beac3053 Protect writing configuration of tryton with a thread lock
Closes #6114
2026-07-27 12:10:00 +02:00
Cédric Krier 2298d04e2f Make social taxes, payroll and taxes payable
Closes #4109
2026-07-24 15:17:04 +02:00
Cédric Krier 54240e65fa Do not rely on invoices order from sale in sale supply test scenario
Closes #15034
2026-08-23 14:49:30 +02:00
Cédric Krier 813d38d63c Do not rely on invoices order from sale and purchase in test scenario
Closes #15033
2026-08-23 08:28:53 +02:00
Cédric Krier 51003a7071 Do not rely on shipments order from sale in product kit test scenario
Closes #15016
2026-08-16 23:51:22 +02:00
Cédric Krier 1e0b40696f Remove unreachable GATEWAY TIMEOUT in JSON-RPC retry
Only SERVICE UNAVAILABLE error code is retried.
2026-08-15 08:05:22 +02:00
Cédric Krier 39e9802c1b Raise last retry exception from JSON-RPC request
Closes #15008
2026-08-15 08:03:57 +02:00
Cédric Krier 8c22828855 Register cache instance after being fully initialized
Otherwise an instance can be accessed by another thread via the registry when
it is still being initialized. And it may crash on missing attribute.

Closes #15007
2026-08-12 17:57:01 +02:00
Cédric Krier c33f675b28 Add scheduled task to close stock period automatically 2026-08-19 00:14:52 +02:00
Cédric Krier 05474e621d Add scheduled task to create stock period automatically 2026-08-19 00:14:21 +02:00
Cédric Krier 3fa8e0464b Retry unfinished queued tasks
Closes #14949
2026-07-13 17:36:10 +02:00
Cédric Krier 25a22e3f9a Add a timer to prevent requests from lasting longer than their timeout
Closes #14946
2026-07-08 22:58:48 +02:00
Cédric Krier fd2c35cd77 Optimise stock quantity computations for warehouses only
When the 'location_ids' are only comprise warehouses, we know that the children
locations of each one cannot be shared.
Therefore, we can use the 72fff0ca9da7 optimisation by calculating the
quantities for each warehouse individually and then adding them together.

Closes #14956
2026-07-14 19:06:52 +02:00
Sergi Almacellas Abellana 90daf2e88b Restrict updating party required of account with moves
Closes #14710
2026-08-17 23:31:29 +02:00
Cédric Krier 69c8e681ba Add space between payees in UBL error message 2026-08-11 12:02:33 +02:00
Cédric Krier 9e7f1e0669 Test findtext result as boolean when parsing UBL invoice
Closes #15003
2026-08-11 12:02:09 +02:00
Cédric Krier 53fe643e61 Limit the start id of table to 500 for tests
By using the formula `(idx * prime) % range + 1`, tables created consecutively
have start id distant by `prime` and the maximum start id is `range`.
This avoid to overflow int4 when composing unique ID for table query.

Closes #15010
2026-08-17 15:06:09 +02:00
Cédric Krier ec55360d12 Check the validity of the European tax identifiers when posting invoice
Closes #14931
2026-07-04 11:41:01 +02:00
Cédric Krier eb90cbbd2a Replace the VIES wizard by an automatic background task
Closes #14930
2026-07-04 11:39:19 +02:00
Cédric Krier 3e3b554889 Add mixin to Database and TableHandler from configuration 2026-06-30 16:49:13 +02:00
Cédric Krier 73c805a054 Use instances when copying analytic account entries to new line
Closes #14988
2026-08-04 15:56:21 +02:00
Cédric Krier f61dc1afdf Do not rely on shipments order from sale in test scenario
Closes #15009
2026-08-13 23:44:29 +02:00
Cédric Krier 2bbf319507 Group records written with the same values when saved 2026-07-31 12:39:47 +02:00
Cédric Krier 7ef25665ff Set Shopify warehouse on sale line only if it has changed
Closes #14995
2026-08-06 10:52:54 +02:00
Nicolas Évrard 79d0493424 Reset TABLES_CREATED when dropping the database when testing
Closes #15002
2026-08-10 14:51:04 +02:00
Cédric Krier 55bc49950c Validate current record before switching to next/previous record in window form
Closes #14994
2026-08-05 17:39:38 +02:00
Cédric Krier a8c3bb8f25 Hide unstructured street of address when building name is filled
Closes #14993
2026-08-05 11:08:08 +02:00
Cédric Krier 06e917e5f4 Get Shopify order ID from the order_edit key for orders/edited topic
Closes #14992
2026-08-05 10:39:35 +02:00
Cédric Krier bc6f47d033 Convert request headers to dict and body as text to verify Shopify webhook
Closes #14991
2026-08-05 10:07:54 +02:00
Cédric Krier 15d32505dc Use webhook secret to verify Shopify webhook
Closes #14989
2026-08-04 17:32:47 +02:00
Cédric Krier abe043c62e Fill code compact in party identifier history table
Closes #14983
2026-08-03 12:26:11 +02:00
Cédric Krier df5beb3c8f Disable buttons to upgrade/update modules if there is no action to perform
Closes #4960
2026-07-24 14:39:41 +02:00
Cédric Krier 46f522ea68 Raise PeppolServiceError when missing sender or recipient for Peppyrus submission
Closes #14999
2026-08-06 15:59:39 +02:00
Cédric Krier e83a9b8435 Do not try to update status of Peppyrus document without transmission ID
Closes #14998
2026-08-06 15:55:46 +02:00
Cédric Krier 6ad436d3d3 Use boolean operator to test remaining quantity of blanket agreement when closing
The remaining quantity may be None if the line has no quantity set.
But the getter ensure that the remaining quantity is always greater or equal to 0.

Closes #14987
2026-08-04 14:43:53 +02:00
Cédric Krier 329b7ac356 Store Peppyrus message using service instance instead of class
Closes #14990
2026-08-05 07:08:27 +02:00
Cédric Krier a037458a5a Use request data property to parse form data as json
Closes #14984
2026-08-04 07:49:57 +02:00
Cédric Krier 0c67648147 Update hostname of Romanian National Bank URL
Closes #15001
2026-08-10 09:21:25 +02:00
Cédric Krier 08616cfc63 Use https for namespaces for currency rate from Romanian National Bank
Closes #14986
2026-08-04 14:34:23 +02:00
Cédric Krier 628cf27546 Remove unused company from depends for on_change_with of sale point's total 2026-07-31 15:57:15 +02:00
Cédric Krier 1ebe99e62d Do not create indexes if they already exist
The `IF NOT EXISTS` clause does not prevent PostgreSQL from taking a ShareLock
on the table if the index exists.

Closes #14966
2026-07-22 14:36:17 +02:00
Nicolas Évrard 1aef4dbdae Remove required on resource ID of ir.translation 2026-07-27 11:55:35 +02:00
Nicolas Évrard ecaf40a8ee Skip translation refering to unknown XML ID or unactivated source
Closes #12969
2024-01-29 18:47:56 +01:00
Cédric Krier 4ec0e5c1c1 Do not set width and height to 100% for <img/> of document
Closes #14979
2026-07-30 16:20:47 +02:00
Adrià Tarroja Caubet 3a21bb8a65 Add rpc suffix when retrying JSONRPC request
Closes #14985
2026-08-06 14:55:18 +02:00
Cédric Krier 4d9a0e47d8 Do not set twice the extension in the attachment name for the UBL documents
Closes #14982
2026-08-01 10:49:03 +02:00
Cédric Krier 153dda4191 Do not compare to None PaymentDueDate value from findtext
It is not necessary because findtext returns a string.
2026-08-01 00:57:28 +02:00