Commit Graph
60014 Commits
Author SHA1 Message Date
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
Cédric Krier def12c8e99 Save the link to the created invoice when processing Peppol invoice
Closes #14444
2025-12-22 14:16:18 +01:00
Cédric Krier f8f0cf6010 Fix typo when calling succeed on processed Peppol invoice
Closes #14444
2025-12-22 14:15:39 +01:00
Cédric Krier 9f88144394 Remove required on before/after carrier column of incoterm
We must rely only on the selection validation to require a value to permit to
create new incoterm in incoterm module when carrier_carriage is already
activated.

Closes #14440
2025-12-20 10:23:56 +01:00
Cédric Krier ae06fe3f47 Fill before/after carrier for Incoterm 2000 2025-12-20 10:08:09 +01:00
Cédric Krier d293bbda92 Set a default direction when no language preferences are set
Closes #14419
2025-12-19 19:19:13 +01:00
Cédric Krier f074a94234 Hide chat when changing current record without chat 2025-12-18 00:45:20 +01:00
Cédric Krier 8e12aa010b Do not create chat if there is not current reference
Closes #14427
2025-12-18 00:44:36 +01:00
Cédric Krier 42ad8ae30b Set toolbar button sensitiveness based on record id instead of position 2025-12-18 00:39:38 +01:00
Cédric Krier 077a0825b3 Add title to notification label and description
This way user can get the full content if it overflows.

Closes #14430
2025-12-16 17:15:40 +01:00
Cédric Krier 78b475740b Replace notify method by binded version in constructor of chat and notification menu
We need to keep a reference to the binded method registered to be able to
unregister it.

Closes #14425
2025-12-16 01:10:47 +01:00
Cédric Krier f9a6bd7379 Ensure get_preferences_fields_view modifies mutable field definitions
Closes #14433
2025-12-18 21:24:26 +01:00
Cédric Krier a727c747ae Register a set and frozenset marshalling function for both JSON-RPC and XML-RPC
This completes 0a0f4db765fb for #14387
2025-12-18 19:18:12 +01:00
Cédric Krier aafeeefe01 Fix typo when passing attribute from list widget to populate contextual menu
The typo was introduced in 2931c0e0ae5c

Closes #14428
2025-12-18 23:36:13 +01:00
Cédric Krier 63268692fd Use upper case for VATIN 2025-12-18 13:31:22 +01:00
Cédric Krier 543adc9e3f Support European VAT number as EAS and VATIN
Closes #14435
2025-12-19 09:41:39 +01:00
Cédric Krier 249e93dc68 Test if Peppol types is not None before testing for billing
Closes #14436
2025-12-18 12:55:42 +01:00