Commit Graph
245 Commits
Author SHA1 Message Date
Cédric Krier 0ae365085b Replace typing of stock move origin by sale and purchase Function field
The origin may not always be a sale or purchase line like with product kit.
So such test must be extendable by other modules implicitly. This can be
achieved by using the Function fields.

Closes #15084
(grafted from 84761faccad43bc56a11a2e8bb8cf2977ba8e8db)

--HG--
branch : 8.0
2026-09-10 14:22:34 +02:00
Cédric Krier 8d58264ba4 Increase version number
--HG--
branch : 8.0
2026-09-16 23:32:46 +02:00
Cédric Krier 2e9a37626b Prepare release purchase-8.0.2
--HG--
branch : 8.0
2026-09-16 23:32:33 +02:00
Cédric Krier 6ccad120d7 Use explicit order for shipments and invoices on sale and purchase
Closes #15090
(grafted from 05dbc76d7b374aebf7aaef7c03617cbec6c67393)

--HG--
branch : 8.0
2026-09-13 13:57:29 +02:00
Cédric Krier 55284034da Sort invoices and shipments on Function fields of sale and purchase
Closes #15083
(grafted from 9385c3660f174830a30529078f3e2899a7a8672c)

--HG--
branch : 8.0
2026-09-10 14:14:16 +02:00
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 3769a2295b Increase version number
--HG--
branch : 8.0
2026-07-15 19:17:01 +02:00
Cédric Krier d3f1c6218a Prepare release purchase-8.0.1
--HG--
branch : 8.0
2026-07-15 19:16:36 +02:00
Cédric Krier ebed93c61a Define index using COALESCE for nullable Char fields
Closes #14909
(grafted from 525198c97acdd19820d581411b3af0f5bb6e4237)

--HG--
branch : 8.0
2026-07-14 21:14:05 +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 418a7bd898 Update documentation about handling exception
Since 57b1872a62fb the wizards display a list to be ignored and another to be
recreated.
2026-01-20 12:38:02 +01:00
Cédric Krier 9b255e2f63 Use mixin to copy of One2Many from product linked by template and product 2026-04-02 17:26:12 +02:00
Cédric Krier a49aa67d73 Calculate the quantities to ship and to invoice for sale and purchase 2026-03-27 19:32:32 +01:00
Cédric Krier 905a2b20ba Rename invoice method on shipment into on fulfillment 2026-02-25 11:37:37 +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 ea7a2c3aa2 Do not reset to wait supplier return shipment in scenario
The purchase already creates return shipments in waiting state.
2026-02-09 18:15:37 +01:00
Cédric Krier ed924a6c25 Test empty sale and purchase with a comment line
The states of the button prevents to quote without any line.
2026-02-10 18:09:54 +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 7fb5a4a3de Do not use Literal to count in SQL
The * is not actually a parameter of the aggregate function so it is better to
let python-sql manage it with its default value.
2025-12-25 09:47:23 +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 4d2dd71764 Enforce invoice type for origin of invoice line
Closes #14611
2026-02-16 19:19:01 +01:00
Cédric Krier 70701c14e4 Add depends on methods of TaxableMixin 2026-01-17 12:54:09 +01:00
Cédric Krier 3cbfdfcf69 Add missing purchase reporting views from 49a612454113
Closes #14497
2026-01-14 19:04:50 +01:00
Cédric Krier 36ab6d1d17 Add supplier and customer code properties to invoice line 2026-01-06 17:41:05 +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 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 93a5e6ceb8 Round moved quantity before compare to 0
As moved quantity is the sum of float, it may carry rounding issue so it must
be rounded before comparison.

Closes #14386
2025-11-25 18:38:51 +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 6f26a9cc79 Add chat to operational documents 2025-12-02 16:01:39 +01:00
Cédric Krier e576fcacc9 Rename _get_invoice_purchase in _get_invoice on purchase 2024-02-21 15:07:52 +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 d4c6400c26 Include the line in the warehouse required error message for sale and purchase 2025-10-30 01:14:10 +01:00
Cédric Krier 6c7e903226 Test from location when checking warehouse for purchase line with negative quantity
Closes #14333
2025-10-30 01:11:22 +01:00
Cédric Krier 95456d6f92 Use tryton.cfg to register in the Pool 2025-09-18 16:42:29 +02:00
Nicolas Évrard 77984124dd Add a test to ensure that Model._order is predictable 2025-09-11 00:30:16 +02:00
Cédric Krier 29e6c6e0c9 Do not copy reference field by default
Closes #14140
2025-08-01 00:10:49 +02:00
Cédric Krier acc9c6972a Add test to enforce One2Many Function field to have a setter
The clients may always try to write on One2Many even if it is readonly so such
Function field must have a setter.

Closes #8739
2025-06-17 15:02:55 +02:00