Commit Graph
2901 Commits
Author SHA1 Message Date
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 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
Cédric Krier 7c6c676f97 Use DueDate as fallback for payment term date for UBL without payment terms
Closes #14981
2026-08-01 00:56:10 +02:00
Cédric Krier 7e462ffe52 Normalize the quantity before calculating the number of digits when parsing UBL
Trailing zero in the quantity should not require a bigger precision for the
unit.

Closes #14973
2026-07-28 19:27:57 +02:00
Cédric Krier 750a937024 Update the Stripe API version 2026-08-04 14:15:47 +02:00
Cédric Krier 4bd7cfa657 Clear Shopify ID for product template no more found on Shopify
If the Shopify ID of a template can not be found on Shopify, there is no need
to keep it as we could not reactivate the Shopify product it is added back.

Closes #14980
2026-07-30 16:37:30 +02:00
Cédric Krier 1e2c1ab795 Do not set a shipment cost method for Shopify order without shipping line
Without a shipping line, there is no carrier selected and thus no shipment cost
method to set.

Closes #14976
2026-07-29 19:30:48 +02:00
Cédric Krier 605bb21a07 Set button decorator of update Peppol status to a different method than the cron
The `ModelView.button` decorator requires to be called with a list of records
which the cron does not do.

Closes #14972
2026-07-28 19:23:07 +02:00
Cédric Krier 6b99dc69cc Use binary version of psycopg for tests 2026-07-17 22:11:32 +02:00
Cédric Krier 5f53ac1629 Add menuitem to the documentation of the creation of account move from template 2026-07-07 19:11:07 +02:00
Cédric Krier 4572c4e3e5 Remove "close" prefix to processing menu entries of accounting 2026-07-07 19:10:08 +02:00
Cédric Krier 087db7dfcb Set reconcile wizard as first menu entry for account processing 2026-07-07 19:08:34 +02:00
Cédric Krier ff0cc1a6b9 Remove account prefix to account moves menu entry 2026-07-07 19:11:56 +02:00
Cédric Krier a96cb0a84f Replace open journal wizard by a context model
Closes #14937
2026-07-07 19:06:14 +02:00
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
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 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 c3c44c4875 Remove unnecessary depends for on_change_product of purchase requisition line 2026-07-08 14:27:07 +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
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
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 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
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 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 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
Cédric Krier 16f19e9d0b Add warning when deleting account reconciliation linked to receivable rule
Closes #14891
2026-07-07 00:04:54 +02:00
Cédric Krier 07408dea49 Ensure "amount to pay today" of invoice is always positive
When a payment for the invoice is booked before the maturity date, the "amount
to pay today" must not become negative.

Closes #14924
2026-07-02 16:40:30 +02:00
Cédric Krier 4bada51330 Set danger visual on supplier invoice when amount to pay is greater than 0
The amount to pay is always positive so the test must be "greater than 0".

Closes #14925
2026-07-02 16:38:57 +02:00
Cédric Krier 91434daade Define index using COALESCE for nullable Char fields
Closes #14909
2026-06-24 22:07:52 +02:00
Cédric Krier 60f9a5c993 Optimize search on account's code
Closes #14910
2026-06-24 22:00:10 +02:00