Commit Graph
59973 Commits
Author SHA1 Message Date
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
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 7a6f773bc8 Do not run concurrently tests for Peppyrus 2025-12-09 00:50:08 +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
Cédric Krier 158e580be5 Fix help text for rental state to be about rental 2025-12-08 10:32:08 +01:00
Cédric Krier 478f092fc8 Improve help for gross price as it included many taxes 2025-12-08 10:31:43 +01:00
Cédric Krier 83be0303f3 Do not translate Peppol document type 2025-12-08 10:30:10 +01:00
Cédric Krier f8b3b9ce3a Replace starting/ending date by start/end date
These are the most frequent terms used.
2025-12-08 10:29:42 +01:00
Cédric Krier f18bb91e49 Use better labels for the Belgian VAT and business number 2025-12-06 09:08:20 +01:00
José Antonio Díaz Miralles 49132d132a Do not return early when validating the default values set
Since f1fa123ad508 the validate method does not return any promise.

Closes #14378
2025-12-01 16:14:29 +01:00
Cédric Krier bc8a84feaa Standardise the skipping of warnings in the test scenario 2025-11-27 16:59:05 +01:00
Cédric Krier edb3c2c2d4 Remove warning for inventory in the future
Since #10591 we can skip the warning of stock move in the future for newly
created moves.
2025-11-27 16:28:21 +01:00
Cédric Krier 476065cf11 Use creation position to format warning key for new records
The opposite position in the creation order is used instead of the id (which is
not stable over transaction retries) to format the warning key when the record
has been created during the transaction.
This ensures that the formatting of the warning key is stable over transaction
retries.

Closes #10591
2025-11-27 16:26:20 +01:00
Cédric Krier cd223660ff Make option --all appends the res module to the list of updates
Since d237ff78d187 the res module is not updated even if it depends on ir
module because it is an early module.

Closes #14401
2025-11-28 15:32:06 +01:00