Commit Graph
59990 Commits
Author SHA1 Message Date
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
Cédric Krier 704da3630b Compare element to replace new view tree from inherit application against None
lxml raises a warning about truth-testing on element.

Close #14429
2025-12-16 11:56:31 +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 34854e922f Add tag 7.8.0 2025-12-15 20:17:29 +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
Cédric Krier 433ef85ac8 Test action window using existing records from the keywords
Since 225529c5e779 the ids do not start at 1 so it must search for existing
records to test.
2025-12-14 13:57:42 +01:00
Nicolas Évrard 7bdb724da2 Search on the Target model in O2M when it has an active field
When comparing a one2many to None we should search on the Target model in order
to ensure the correct handling of the active field. Otherwise there might be
records that wouldn't be found by the search yet their one2many fields come up
empty.

Closes #14370
2025-11-14 18:11:20 +01:00
Nicolas Évrard 64424d1a90 Use the target id to compute the filter clause of a O2M field compared to None
Closes #14373
2025-12-13 14:57:52 +01:00
Nicolas Évrard a23df14c83 Use different starting point for IDs of table when testing
Closes #3799
2025-12-13 14:30:28 +01:00
Cédric Krier b5c13ef379 Use the right primary column name for PostgreSQL database method
On history table the primary column is `__id` instead of `id`.
2025-12-13 14:33:42 +01:00
Cédric Krier a9408ddd2f Implement setnextid for SQLite database 2025-12-13 14:31:19 +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 e189e555fe Fix domain parser for Reference field when there is no value but a target
Closes #14413
2025-12-11 18:27:45 +01:00
Cédric Krier 038e5d030b Add an empty line to the console migration script after multi-line statement
Such that it can be copy/pasted directly into the console.
2025-12-12 18:58:01 +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 626b8e768c Stream json and gzip response
Closes #14409
2025-12-05 20:59:59 +01:00
Nicolas Évrard c59b8b9b47 Force breaking error message when overflowing the error window
Closes #14414
2025-12-10 16:09:44 +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 815bd08c8e Auto reload the server when tryton.cfg files are modified
Since 6eb1a23b7457 the tryton.cfg files contains the model to register.
Therefore if they change, the server must be reloaded.
2025-12-03 12:10:53 +01:00