Cédric Krier
40ce993a5b
Defer patching requests default agent when it is imported
...
Importing requests module in `trytond/__init__.py` prevents the gevent monkey
patch to be applied to the requests module as it is imported before.
Closes #14461
2026-01-03 13:45:10 +01:00
Cédric Krier
6ef9085289
Add missing parameter to get_shopify of customer shipment with package shipping
...
fulfillment_order_fields is a parameter of the extended method.
Closes #14478
2026-01-09 11:29:24 +01:00
Cédric Krier
7f92861a80
Use current date as fallback for empty maturity date when creating direct debit payment
...
Closes #14473
2026-01-07 11:19:07 +01:00
Cédric Krier
c6c8425f43
Add missing warning key for PEPPOL required warning
...
Closes #14471
2026-01-07 09:16:02 +01:00
Cédric Krier
9fdb983f99
Do not always consider account with party required when reconcile
...
fe8ae43ad9e7 left a debug clause that skips the test.
2026-01-05 00:41:31 +01:00
Cédric Krier
ab1b43f676
Do not return None as party to reconcile
...
Closes #14438
2026-01-05 00:38:37 +01:00
Cédric Krier
856c50f7d2
Test if identifier is not empty before testing if it is Belgian VAT for PEPPOL
...
Closes #14464
2026-01-05 11:52:11 +01:00
Cédric Krier
23618c210f
Add support for Peppyrus webhooks
2025-12-23 12:07:17 +01:00
Cédric Krier
aecb2942fe
Compare HTTP status code to HTTPStatus enum
2025-12-18 15:18:53 +01:00
Cédric Krier
f1fbd7abb3
Allow filtering users to be notified by cron tasks
...
Closes #14432
2025-12-16 17:28:32 +01:00
Cédric Krier
7be632030d
Dumps action value of cron notify if it is not yet a string
...
Closes #14431
2025-12-16 17:21:41 +01:00
Cédric Krier
f41a2bdef5
Log exception when opening view arch
2025-12-15 17:12:22 +01:00
Cédric Krier
01bfa635fa
Defer importing saml2 module only when routes are called
2026-01-03 14:06:42 +01:00
Cédric Krier
278c09ca39
Defer importing the stripe module only if the webhook is called
2026-01-03 14:05:34 +01:00
Cédric Krier
809e805bc1
Defer importing the braintree module only if the webhook is called
2026-01-03 14:05:07 +01:00
Cédric Krier
7b4eb14968
Use defaultdict with float as default value when calculating product quantities
2026-01-02 12:32:43 +01:00
Cédric Krier
7a66740050
Test products_by_location using the proper grouping IDs
...
When grouping by template, it is the template id that appears in the result
instead of the product id.
Closes #14459
2026-01-02 13:11:49 +01:00
Cédric Krier
2c8dc24f38
Do not set SellersItemIdentification UBL tag if product has no code
...
PEPPOL-EN16931-R008: Document MUST not contain empty elements.
Closes #14458
2026-01-01 15:50:55 +01:00
Cédric Krier
b75a14ea86
Maintain the original reference when splitting shipments and productions
...
Closes #14190
2025-12-29 15:58:40 +01:00
Cédric Krier
aa4d7d2c12
Use the normalized format for the warning key regarding overpayment
2025-12-31 16:07:02 +01:00
Adrià Tarroja Caubet
54b3c3dacc
Allow the sale point group to view the main sales menu
...
Closes #14448
2026-01-06 22:30:59 +01:00
Cédric Krier
f612e2f872
Set only one payment term for Peppol UBL and only if the description is not empty
...
Closes #14454
2025-12-29 17:28:36 +01:00
Cédric Krier
1ed92b8b83
Prevent default event when clicking on Many2One link from a tree view
...
If the event is not prevented, the URL is cleared if there is already a tab for
the resource because the tab show event update the URL before the execution of
the default event.
Closes #14453
2025-12-29 15:50:58 +01:00
Cédric Krier
ce26ef12dc
Do not use cached report instance
...
We must always use a copy of the cached report instance to allow to add
directives to the template before being prepared.
Closes #14460
2026-01-03 12:53:56 +01:00
Cédric Krier
b0763c081e
Retries when testing fetching message from Peppyrus
...
The process of the message may be delayed by Peppyrus so we must retry until
the message is fetched.
2025-12-31 11:32:52 +01:00
Cédric Krier
ce7e973e85
Log exception when retrieve file ID from the filestore for Binary field
2025-12-15 17:11:51 +01:00
Cédric Krier
aefd12642a
Use always the immutable value from the cache
...
This prevents issues like #14433 from being missed.
2025-12-19 09:39:32 +01:00
Cédric Krier
d9b73072df
Exclude sale lines of gift cards from sale reporting
...
Closes #14418
2025-12-12 15:31:45 +01:00
Cédric Krier
d3eb2c9e87
Enforce gift card to be False when the type of product can not be one
2025-12-12 15:31:11 +01:00
Cédric Krier
0dc04c10a2
Use default month value for the period of sale and purchase reporting
2025-12-12 15:30:28 +01:00
Cédric Krier
c60436c82a
Split the UBL OrderReference field into sale reference and sale number
...
Closes #14452
2025-12-29 12:36:26 +01:00
Cédric Krier
402913d4cd
Log event using the transaction of the records
...
Closes #14446
2025-12-23 09:55:34 +01:00
Cédric Krier
f8f337bba5
Do not render details button on error message without details
...
Closes #14426
2025-12-17 23:35:27 +01:00
Cédric Krier
8ef2cc9b70
Do not notify for duplicate identifier from the same party
...
Closes #14434
2025-12-17 16:13:44 +01:00
Cédric Krier
d8981ef84d
Remove duplicate tests depend for web_shop_shopify
2025-12-17 16:10:04 +01:00
Cédric Krier
3b6b39de82
Use ID read of note in tests
...
Closes #14450
2025-12-25 09:54:24 +01:00
Cédric Krier
d45e29e6ad
Always surround WHERE clause with parentheses in EXCLUDE constraint
...
Closes #14449
2025-12-24 11:38:45 +01:00
Cédric Krier
5b4efd9fd6
Order product by position instead of sequence for Shopify
...
0b69c726fc26 order by the non-existing sequence field instead of position.
2025-12-29 20:47:40 +01:00
Cédric Krier
34cb1a4b35
Define request body when there is no signing secret defined
...
Closes #14447
2025-12-23 12:09:31 +01:00
Cédric Krier
6b9135321c
Pass XML-RPC string to GzipStream instead of bytes
...
Since 0a04dc8fa935 the GzipStream class expect a string or a generator of
strings but not bytes.
Closes #14445
2025-12-22 20:11:10 +01:00
Cédric Krier
2ab19cf6eb
Save wizard session states in new transaction for readonly wizard
...
The transaction is readonly which prevents to save in the database the session
with states.
Closes #14442
2025-12-23 09:52:40 +01:00
Cédric Krier
66dceea550
Use product sequence to sort for Shopify
...
An inactive product is not in the products list of the template.
Closes #14439
2025-12-19 19:44:31 +01:00
Cédric Krier
15ad8d3e4d
Set an order reference to UBL invoice to test Peppyrus
...
Closes #14455
2025-12-29 17:43:15 +01:00
Maxime Richez
5e71dcc564
Set only one customer identification in UBL Invoice and CreditNote
...
UBL-SR-16: Buyer identifier shall occur maximum once
Closes #14443
2025-12-22 18:34:35 +01:00
Cédric Krier
7c9a14dc34
Do not set percentage in tax subtotal in Peppol UBL
...
UBL-CR-499: A UBL invoice should not include the TaxTotal TaxSubtotal Percent
2025-12-22 12:37:22 +01:00
Cédric Krier
e3f4ec32d1
Do not set payment terms due date in Peppol UBL
...
UBL-CR-463: A UBL invoice should not include the PaymentTerms PaymentDueDate
2025-12-22 12:36:04 +01:00
Cédric Krier
9302fe27d7
Do not set payment terms amount in Peppol UBL
...
UBL-CR-459: A UBL invoice should not include the PaymentTerms Amount
2025-12-22 12:38:51 +01:00
Cédric Krier
4df308a430
Do not set country subentity code in Peppol UBL
...
UBL-CR-225: A UBL invoice should not include the AccountingCustomerParty Party
PostalAddress CountrySubentityCode
2025-12-22 12:33:05 +01:00
Cédric Krier
259b19006e
Do not set country name in Peppol UBL
...
UBL-CR-166: A UBL invoice should not include the AccountingSupplierParty Party
PostalAddress Country Name
UBL-CR-229: A UBL invoice should not include the AccountingCustomerParty Party
PostalAddress Country Name
2025-12-22 12:37:52 +01:00
Cédric Krier
f7d90215f0
Fill DueDate in UBL Invoice and CreditNote
...
The BR-CO-25 Peppol rule requires to have a DueDate if there is no payment term
description. So the simplest solution is to always fill DueDate.
Closes #14441
2025-12-22 11:17:26 +01:00