Commit Graph
2473 Commits
Author SHA1 Message Date
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 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 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 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 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 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 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
Cédric Krier 891a1fba98 Clarify the "no statement journal" error message about uniqueness 2025-12-15 11:45:17 +01:00
Cédric Krier 348b00cd15 Return the journal for a bank account if only one journal matches
Closes #14422
2025-12-15 11:44:21 +01:00
Cédric Krier 122ade0b30 Increase version number 2025-12-15 21:34:54 +01:00
Cédric Krier 692810e7b8 Prepare release 7.8.0 2025-12-15 20:17:16 +01:00
Cédric Krier 954f137e65 Update translations [skip ci] 2025-12-15 18:00:12 +01:00
Cédric Krier 0e95196f74 Fix format of the account_statement_rule CHANGELOG 2025-12-14 15:26:22 +01:00
José Antonio Díaz Miralles a95da3e7f2 Use shipment select of stock move as selection for lot trace document
The document is filled with the inventory or shipment of the stock move.

Closes #14411
2025-12-13 22:50:10 +01:00
Cédric Krier fd565b8ce6 Test check_credit_limit using a record as origin
Since 9bbe5251be9e the format method of warning enforces the usage of record.
2025-12-14 14:11:30 +01:00
José Antonio Díaz Miralles 86f3804d63 Ensure that the computed traces of a stock move have a lot
For example the production module may include input or output moves without
lot.

Closes #14396
2025-12-13 12:56:46 +01:00
Cédric Krier 3cbc0652ec Remove extras require of bcrypt and html2text for web user module 2025-12-11 15:00:23 +01:00
Cédric Krier 500860c21d Use unit from similar line if not set yet by the UBL definition
Closes #14408
2025-12-05 10:18:23 +01:00
Cédric Krier 2c0d096001 Recreate the invoice line for the cost based on shipment when handling the exception
The invoice line for cost based on shipment is managed by the shipment using
the "Cost Sale Invoice Line" field. Therefore when the cancelled invoice for
this line is recreated, the link must be cleared.

Closes #14227
2025-12-03 12:08:12 +01:00
Sergi Almacellas Abellana 00e24f2c04 Fix max_volume and max_weight field strings 2025-12-09 13:33:34 +01:00
Cédric Krier f7254c41c2 Do not apply inactive test when searching product through replacing products
The replacing products are most of the time inactive but the replacing link
should include them.

Closes #14403
2025-12-01 09:59:15 +01:00
Cédric Krier 8f824d3d2a Fix typo in super call of _parse_2_line_reference
Closes #14407
2025-12-05 10:03:01 +01:00
Cédric Krier 9df1b3ed84 Improve help for gross price of template as it included many taxes 2025-12-09 00:56:54 +01:00
Cédric Krier 7111131981 Support a distinct VAT from the participant ID in the test scenario 2025-12-08 22:59:18 +01:00