Commit Graph
201 Commits
Author SHA1 Message Date
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
Cédric Krier c5600c0f9b Set multiple to some buttons on list view 2025-06-16 12:24:16 +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 41993306bf Use pairing to generate unique ID for purchase reporting
Purchase reporting are also grouped by currency so they should be part of the
ID.

Closes #13743
2025-05-05 15:07:27 +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 8fc5d631b9 Add quotation expiration date to purchase 2025-02-07 16:25:03 +01:00
Cédric Krier 0770f3cf88 Do not fill right aligned label 2025-02-07 16:19:13 +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
Cédric Krier eb6c40f135 Do not sum purchase line without amount to calculate purchase amounts
04e9bc5b56f3 removed the test against empty amount with the line test.

Closes #13784
2025-01-03 11:02:29 +01:00
Cédric Krier c03dff9352 Support instances as default value
Closes #13694
2024-11-20 12:08:20 +01:00
Cédric Krier b26ff9757e Add metadata columns to ModelSQL with table query
Closes #9414
2024-10-25 00:24:39 +02: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 0e0f5f0ec6 Do not convert invoiced quantity if sale or purchase has not unit
Closes #13593
2024-10-27 19:41:19 +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 afb909aa41 Fix missing target field in operand of domain 2024-10-28 21:23:57 +01:00
Cédric Krier 7f9d1ff68e Fix typo in the handle exception wizards of sale and purchase 2024-10-23 09:38:35 +02:00
Cédric Krier d967356c7e Return location instance in getter of sale and purchase
If the location field is empty, it prevents to raise an attribute error when
accessing the id.

Closes #13544
2024-10-11 15:59:18 +02:00
Cédric Krier a3ada4ef98 Replace minimal by universal chart of account
Closes #9642
2024-10-13 23:55:37 +02:00
Cédric Krier e16889a592 Use sparkline tools instead of pygal 2024-09-29 11:46:53 +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 a87be1db6a Do not return empty for planned deliver date of purchase line when it is in the past
Closes #13298
2024-09-07 14:00:50 +02:00
Nicolas Évrard 6907ea5b7b Add warning when using implicit rec_name target for relational domain 2024-09-07 00:39:55 +02:00
Cédric Krier 8523552c12 Test invoice of invoice line before using it to compute remaining quantity
Closes #13534
2024-09-19 19:14:31 +02:00
Cédric Krier 6e798f98fc Test if origin id is greater or equals to 0 before accessing the target record
Closes #13498
2024-09-09 12:46:16 +02:00
Cédric Krier 62b079225f Remove $ before series in formatted document URL without base URL 2024-09-03 17:55:42 +02:00
Cédric Krier c47fc79f06 Link stock moves with invoice lines only for the same quantity sign as the order line
When invoice lines are created to correct invoices quantity, it should not be
linked to stock moves because it comes from a stock move being cancelled.

Closes #12972
2024-08-27 13:24:29 +02:00