Commit Graph
219 Commits
Author SHA1 Message Date
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
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 0d361542fe Do not use state Function field of line to check against modification
The Function field is an helper to write PYSON statement so there is no need to
use it for checks.

Closes #14002
2025-05-08 18:36:13 +02:00
Maxime Richez 4cf2384552 Set empty currency and unit price on stock move when not required
Closes #14023
2025-05-16 13:20:28 +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
Cédric Krier 1b50ab9624 Make lines of sales, subscriptions and purchases read only without a company and currency
Closes #13948
2025-03-27 23:07:41 +01:00
Cédric Krier a56834c421 Document that Modify Header wizards are recalculating lines 2025-03-10 13:46:00 +01:00
Cédric Krier 716b0b2ed6 Remove access right tests in scenario
The access rights are now only a configuration matter.
2025-03-30 15:22:07 +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 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 bee0a048f9 Add partial index on sale and purchase line for relate from product
Closes #13887
2025-02-25 10:05:43 +01:00
Cédric Krier ae2609bec6 Manage expiration of sale quotation
Closes #11166
2025-02-07 16:24:12 +01:00
Cédric Krier ebd5a5f414 Set a positive number of col in sale amount group
With a negative number of col, tryton does not respect the new line and put all
the element on a single horizontal group.
2025-02-07 16:20:59 +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 0494e21706 Add relate to open products from sale
Closes #13773
2024-12-23 18:11:40 +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 743f622a31 Link invoice lines and stock moves for different quantity sign if invoice method is not shipment
Closes #13821
2025-01-16 17:38:14 +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