Commit Graph
243 Commits
Author SHA1 Message Date
Cédric Krier c037590252 Increase version number
--HG--
branch : 8.0
2026-07-15 19:02:26 +02:00
Cédric Krier 25852c3842 Prepare release sale-8.0.2
--HG--
branch : 8.0
2026-07-15 19:02:08 +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 5c77d55e88 Increase version number
--HG--
branch : 8.0
2026-05-02 14:11:57 +02:00
Cédric Krier 5e183d7991 Prepare release sale-8.0.1
--HG--
branch : 8.0
2026-05-02 14:11:47 +02:00
Sergi Almacellas Abellana e1db6067eb Always use out/return as sale move types
Closes #14807
(grafted from 772c331a3570f8ecfc43965cc133b5d25fe11084)

--HG--
branch : 8.0
2026-04-23 16:51:09 +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 53bf0cefcd Cast to integer reporting ID calculated using SQL Power
Closes #14732
2026-04-09 18:24:39 +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 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 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 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 8607d60cf8 Always allow manual method on sale
Since 77cbf0a1abbe the manual methods can be triggered with a button so it does
not prevent to trigger other methods.

Closes #14622
2026-02-23 18:24:15 +01:00
Cédric Krier 4d2dd71764 Enforce invoice type for origin of invoice line
Closes #14611
2026-02-16 19:19:01 +01:00
Maxime Richez 93d0ea51f5 Do not coalesce quotation validity to generate domain for expired quotations
Closes #14558
2026-01-26 13:37:04 +01:00
Cédric Krier 70701c14e4 Add depends on methods of TaxableMixin 2026-01-17 12:54:09 +01:00
Adrià Tarroja Caubet e63358d39c Leave the quotation date field empty when copying sales
Closes #14358
2026-01-18 16:51:32 +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 2bcb418688 Rename _get_invoice_sale in _get_invoice on sale 2024-02-21 15:07:05 +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 95456d6f92 Use tryton.cfg to register in the Pool 2025-09-18 16:42:29 +02:00
Cédric Krier 13bb47b868 Remove default lead time for product sold
By default it is better to assume that we do not know the default lead time of
the company which allows to select the first supplier no matter its lead time.
The sale already plans the stock move to today when the planned shipping date
is empty since a748de86c8d6.

Closes #14224
2025-09-10 09:47:03 +02:00
Nicolas Évrard 77984124dd Add a test to ensure that Model._order is predictable 2025-09-11 00:30:16 +02:00
Sergi Almacellas Abellana 876e972fb6 Add default lead time on product configuration
Changeset 0a0b8be85ef5 added a default value for the multivalue model, but
not for the product configuration, so it is always ignored.

Closes #14188
2025-08-25 10:58:08 +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
Cédric Krier c5600c0f9b Set multiple to some buttons on list view 2025-06-16 12:24:16 +02:00
Cédric Krier b0f7d45254 Manage readonly wizard
readonly wizards do not check for write access on the active model.

Closes #13989
2025-04-29 09:31:05 +02:00
Cédric Krier ea26652f45 Simplify tests by using movable property of line instead of product type 2025-07-10 17:52:16 +02:00