Cédric Krier
57e8b983b7
Use binary version of psycopg for tests
...
(grafted from 7868852522d26ff069aebcc03ae73d98abe97879)
--HG--
branch : 8.0
2026-07-17 22:11:32 +02:00
Cédric Krier
f710769d2a
Increase version number
...
--HG--
branch : 8.0
2026-07-15 19:35:40 +02:00
Cédric Krier
b8e928e64f
Prepare release account_invoice-8.0.1
...
--HG--
branch : 8.0
2026-07-15 19:35:21 +02:00
Cédric Krier
945099dc67
Set danger visual on supplier invoice when amount to pay is greater than 0
...
The amount to pay is always positive so the test must be "greater than 0".
Closes #14925
(grafted from e4e920cb9e7d2a2f3bfa86fad4e8c3025cb78828)
--HG--
branch : 8.0
2026-07-02 16:38:57 +02:00
Cédric Krier
35e4dac5d6
Fix computation of documentation series for odd minor version
...
(grafted from f4d6cf9d57ce7c69bcde185f933f866c0dd40301)
--HG--
branch : 8.0
2026-04-20 21:23:36 +02:00
Cédric Krier
045421c749
Increase version number
...
--HG--
branch : 8.0
2026-04-20 21:01:58 +02:00
Cédric Krier
7f0d38f477
Prepare release 8.0.0
2026-04-20 20:10:13 +02:00
Cédric Krier
de1bb5d5d9
Update translations [skip ci]
2026-04-20 10:38:52 +02:00
Cédric Krier
24ab3419a3
Update invoice documentation to describe the revised report
2026-03-27 09:18:14 +01:00
Cédric Krier
acfece868a
Check the invoice amounts against the source amounts
2026-03-13 23:53:22 +01:00
Cédric Krier
55da16f6a7
Use party lang Function field to set language for taxes and chat
2026-03-06 10:50:48 +01:00
Cédric Krier
39a22ae74f
Use python3 to launch build
2026-03-26 00:32:49 +01:00
Cédric Krier
94c4f0a9e6
Rewrite coverage paths
...
Since tox is running tests on the installed package, the coverage paths are no
more relative to the repository root.
2026-03-25 19:39:52 +01:00
Cédric Krier
145ce8f2f8
Make retrieval of metadata via build really quiet
2026-03-22 09:07:23 +01:00
Cédric Krier
5310b00496
Remove grouped_slice per IN_MAX
...
The usage of ``grouped_slice`` without size is deprecated since `=
ANY(ARRAY[%s])` is used for PostgreSQL and SQLite is used only for tests.
The ``Database.IN_MAX`` is replaced by ``backend.MAX_QUERY_PARAMS`` which is a
more accurate limit of the backend.
The SQLite limits is indeed SQLITE_MAX_EXPR_DEPTH so we use a empirical value.
2026-03-22 21:05:26 +01:00
Cédric Krier
0da67bce21
Deprecate reduce_ids for SQL_OPERATORS['in']
...
Closes #12989 #13897
2025-12-26 10:57:44 +01:00
Nicolas Évrard
299dd6b1c9
Update to Psycopg 3
...
Closes #10901
2026-03-22 19:53:32 +01:00
Cédric Krier
d3c8a8e55d
Add support for Python 3.14
2026-03-21 09:02:25 +01:00
Cédric Krier
42b0fc7061
Remove support for Python 3.9
2026-03-21 08:48:06 +01:00
Cédric Krier
e15c0b7d7a
Upgrade to pyproject using hatchling as build-system
2026-03-21 18:46:34 +01:00
Cédric Krier
af2e06bb32
Set headers and restrict to 1 worker when checking documentation link
...
This follows the wikipedia robot policy:
https://wikitech.wikimedia.org/wiki/Robot_policy
Closes #14637
2026-03-02 10:58:19 +01:00
Cédric Krier
22df2b5490
Use integer to set invisible attribute on payment means of invoice
...
The attribute must be an integer according to the RNG schema and not a string.
2026-03-14 10:36:13 +01:00
Cédric Krier
6246ea244a
Add payment means to invoices
2026-02-16 12:32:35 +01:00
Cédric Krier
4e3f4055ce
Add an origin invoices field to the invoice
2026-01-19 12:15:30 +01:00
Cédric Krier
4808ff83ab
Improve layout of invoice credit form
2026-01-19 09:59:37 +01:00
Cédric Krier
a3af9cdb68
Remove default invoice type using the context
...
Since 6693e138391b the context keyword is no more used.
2026-01-17 18:12:55 +01:00
Cédric Krier
b0ff152120
Format the party's identifier codes
...
Closes #14485
2026-01-16 16:56:47 +01:00
Cédric Krier
12aebbcba0
Test if origin id is greater or equals to 0 before accessing the target record name
...
Closes #13498
2026-01-27 12:01:42 +01:00
Cédric Krier
b913230cac
Use BIGINT for invoice number digit and limit size to 18 digits
...
Closes #14534
2026-01-22 17:23:12 +01:00
Cédric Krier
70701c14e4
Add depends on methods of TaxableMixin
2026-01-17 12:54:09 +01:00
Cédric Krier
df02ade40e
Always return a date for tax date of TaxableMixin
...
Closes #14486
2026-01-17 12:53:33 +01:00
Cédric Krier
36ab6d1d17
Add supplier and customer code properties to invoice line
2026-01-06 17:41:05 +01:00
Sergi Almacellas Abellana
bd28b0a552
Set the invoice date to read-only once the invoice has been validated or posted
...
Closes #14480
2026-01-18 00:18:32 +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
bc8a84feaa
Standardise the skipping of warnings in the test scenario
2025-11-27 16:59:05 +01:00
Cédric Krier
01fc57e89e
Replace non-ascii "N°" by "No" in report templates
...
msgmerge complaints about non-ascii msgid
2025-12-03 09:18:28 +01:00
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