Commit Graph
186 Commits
Author SHA1 Message Date
Cédric Krier 72d637cec9 Test if field_names is None instead of empty in ModelStorage hooks
Closes #14382
2025-11-21 11:50:54 +01:00
Cédric Krier 6f26a9cc79 Add chat to operational documents 2025-12-02 16:01:39 +01:00
Cédric Krier 595c553a56 Add e-documents as reports on invoices 2025-10-29 15:55:04 +01:00
Cédric Krier 19667f95fc Add test to check replaced field of replace party wizard 2025-10-31 12:03:02 +01:00
Cédric Krier e967e80974 Add payment reference to statement rule 2025-09-30 00:11:08 +02:00
Cédric Krier 7c90b22b75 Add payment references to invoices 2025-09-30 00:11:31 +02:00
Cédric Krier 2e03f6cf94 Set currency field when creating invoice tax via on_change
This is needed to get the client format correctly the field using the currency
as digits.

Closes #14346
2025-11-04 10:25:02 +01:00
Cédric Krier 47b79131dc Fallback to effective date to filter line for party payable/receivable today
This implements the same behavior as the payable/receivable date in
7caa97a96b95 ensuring that the cumulate balance is the same as the today field.

Also it allows to customize the date considered as today from the context date
key or _datetime (when browsing history).

Closes #14228
2025-09-13 11:22:40 +02:00
Cédric Krier 74ee169c54 Refactor of trytond.config to add cache
This removes the need to store configuration in global variable and so make it
easier to update for example for testing.

Closes #14249
2025-10-07 08:19:57 +02:00
Cédric Krier 95456d6f92 Use tryton.cfg to register in the Pool 2025-09-18 16:42:29 +02:00
José Antonio Díaz Miralles 8d4b38b339 Include the period in the nested part when searching the invoice party of lines
Closes #14125
2025-08-12 00:15:43 +02:00
Cédric Krier 29e6c6e0c9 Do not copy reference field by default
Closes #14140
2025-08-01 00:10:49 +02:00
Sergi Almacellas Abellana e61ed092f6 Remove debug exception introduced by 2fbe3b55927a 2025-06-12 10:54:46 +02:00
Cédric Krier a4a655b05e Use explicit key when computing taxes and object instead of dict
This defines explicitly the available attribute and unify the use the values as
tax line instead of the keys.
2025-05-30 21:35:55 +02:00
Cédric Krier ae5b18eba0 Increase version number 2025-04-28 16:40:56 +02:00
Cédric Krier 04487b81d4 Prepare release 7.6.0 2025-04-28 16:12:25 +02:00
Cédric Krier b85d6e9efa Update translations [skip ci] 2025-04-27 11:36:15 +02:00
Sergi Almacellas Abellana 637c4112dc Do not skip other invoices when printing an invoice that has a cache
Closes #13968
2025-04-17 00:04:15 +02:00
Cédric Krier 275248478a Ensure the contextual company is not None and positive before using it
Closes #13868
2025-03-10 23:43:49 +01:00
Cédric Krier 1e151a15a2 Remove support for Python 3.8 2025-04-06 12:11:03 +02:00
Cédric Krier 6d8b42c687 Add support for Python 3.13 2025-04-06 12:10:20 +02:00
Cédric Krier 9ba7970f41 Check invoice state only for modified lines with an invoice
Since 6c72b78d92d8 the rewrite of the check did not skip invoice line without
invoice.
2025-04-07 00:23:44 +02:00
Cédric Krier 5aeff66acd Use ModelStorage hooks instead of extending create/write/delete 2025-04-06 00:14:17 +02:00
Cédric Krier 1772caec90 Clean migrations for series before 6.0 2025-01-04 00:19:42 +01:00
Nicolas Évrard cbdad75620 Remove old-style of super() calls 2025-04-04 00:45:18 +02:00
Cédric Krier 0fd308172e Use strict sequence to number account moves
Closes #12603
2025-02-11 12:04:55 +01:00
Cédric Krier 93b3d27117 Replace account move number by post number
Closes #13864
2025-02-11 12:50:48 +01:00
Cédric Krier 9bd8739978 Remove no more needed context on invoice actions
Since the domain inversion and 74cad8cf1dbe, it is no more needed to use the
context to set invoice type.
2025-02-11 15:27:00 +01:00
Cédric Krier 1bd33cd0d1 Add common payment terms
Closes #13863
2025-02-10 01:33:51 +01:00
Cédric Krier 0770f3cf88 Do not fill right aligned label 2025-02-07 16:19:13 +01:00
Cédric Krier 424328610a Add tax identifiers to company 2025-01-30 19:10:23 +01:00
Cédric Krier 0ec6e5b7cf Add example of payment term with multiple delta in documentation 2025-02-10 01:40:37 +01:00
Udo Spallek b245323c30 Fix typo in alt text of documentation logo
Closes #13895
2025-02-28 00:49:48 +01:00
Cédric Krier 709bebe701 Use base URL as logo link and include homepage in TOC
This way the navigation in the documentation is unified.
2025-02-09 15:19:19 +01:00
Cédric Krier c833195650 Set default integer digits to None 2024-11-25 23:47:12 +01:00
Pedro Nuñez 7b67ad7891 Exclude report revisions from invoice copy
Closes #13698
2024-12-08 00:10:32 +01:00
Udo Spallek 8b252472c4 Replace usage of docstring of Model by __string__ attribute
Closes #8402
2024-11-19 10:09:52 +01:00
Cédric Krier b58bb45544 Remove unnecessary invoice transition from cancelled to posted
cbb381841768 added it but it is not necessary because process use _post method
to set back the invoice to posted.

Closes #13619
2024-10-29 17:09:59 +01:00
Cédric Krier e54257bf7c Set payment term ratio and divisor to None when type is not percentage 2024-10-27 20:04:09 +01:00
Cédric Krier bdabde97c6 Forbid to set ratio and divisor to zero for percentage payment term
Closes #13615
2024-10-27 20:03:24 +01:00
Cédric Krier ab3fecb282 Increase version number 2024-11-04 18:51:20 +01:00
Cédric Krier dc470fe1f4 Prepare release 7.4.0 2024-11-04 18:23:40 +01:00
Cédric Krier 015c68f2c6 Update translations 2024-11-02 16:10:36 +01:00
Cédric Krier 9b0db800cf Use existing write-off journal in invoice test scenario 2024-10-26 21:32:53 +02:00
Sergi Almacellas Abellana 9a14948fb4 Use Function field to test if invoice has an account move
This prevents to hide the post button if the user has no read access to the
account moves.

Closes #13493
2024-10-11 15:33:51 +02:00
Cédric Krier d3cca51abc Create company and chart of account when activate modules in test scenario 2024-09-11 19:05:12 +02:00
Cédric Krier aab7a7de97 Allow admin users to update invoice tax description and legal notice
Closes #13554
2024-10-01 15:31:05 +02:00
Cédric Krier 3fc39d0433 Reset cancelled invoice to posted when unpaid
Closes #13509
2024-09-13 15:30:26 +02:00
Nicolas Évrard 6907ea5b7b Add warning when using implicit rec_name target for relational domain 2024-09-07 00:39:55 +02:00
Sergi Almacellas Abellana a87099396c Clear employee fields when duplicating invoices
Closes #13471
2024-09-28 15:19:35 +02:00