Cédric Krier
9473804208
Fallback to location key from context to compute product quantity
...
The location key is used for stock reporting so when browsing from such report,
it is good that the selected location is still used for stock calculation.
2025-12-30 17:41:36 +01:00
Cédric Krier
06c2a56e69
Use Many2One field for product and variant on stock reporting
...
Closes #14456
2025-12-30 17:42:00 +01:00
Cédric Krier
7b4eb14968
Use defaultdict with float as default value when calculating product quantities
2026-01-02 12:32:43 +01:00
Cédric Krier
aefd12642a
Use always the immutable value from the cache
...
This prevents issues like #14433 from being missed.
2025-12-19 09:39: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
edb3c2c2d4
Remove warning for inventory in the future
...
Since #10591 we can skip the warning of stock move in the future for newly
created moves.
2025-11-27 16:28:21 +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
a7908ffdec
Add sale_rental module
...
Closes #13015
2025-11-23 19:20:17 +01:00
Cédric Krier
dbb0abe49a
Include origin name in stock move record name
...
Closes #14359
2025-11-14 09:05:02 +01:00
Cédric Krier
fe44ee1a60
Remove outdated comment about lock when closing stock period
...
Since c8771e45b861 the lock is taken at the transaction start so the calculated
stock quantities are always correct.
2025-11-29 14:59:43 +01:00
Cédric Krier
b0fe13a8e6
Add test scenario for stock period
2025-11-29 14:57:15 +01:00
Sergi Almacellas Abellana
d5482c3947
Include assigned move in close period error message
2025-11-29 14:56:44 +01:00
Sergi Almacellas Abellana
31a8acf935
Limit closed period assigned moves search
2025-09-04 09:08:41 +02: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
1824d5600c
Format date with contextual language when used as record name
2025-10-21 11:00:36 +02:00
Cédric Krier
133deb56b7
Add warehouse to the list view of supplier return shipment
2025-10-16 01:14:15 +02:00
Cédric Krier
7a82d82ba9
Add domain to warehouse of internal shipment
...
This ensures that the computed value is correct.
2025-10-16 01:13:50 +02:00
Cédric Krier
3ade628745
Add destination warehouse to internal shipment
2025-10-16 01:12:51 +02:00
Cédric Krier
dd5baea23a
Document the scheduled task to assign shipments and productions
2025-10-21 13:35:04 +02:00
Cédric Krier
1c71eaba67
Construct move key for assignation by converting list to tuple
...
Instead of creating a new tuple on each field, it is faster to fill a list and
convert it to a tuple at the end.
2025-10-03 16:41:12 +02:00
Cédric Krier
ecc9ffc7de
Add stock inventory and turnover reports
2025-10-11 10:46:03 +02:00
Cédric Krier
965aa923c7
Include reference in shipment record name and fallback to id when empty
...
Closes #14147
2025-08-06 10:10:23 +02:00
Nicolas Évrard
818f26253a
Remove has_window_functions on Database
2025-10-04 22:45:53 +02:00
Cédric Krier
95456d6f92
Use tryton.cfg to register in the Pool
2025-09-18 16:42:29 +02:00
Cédric Krier
3c82eeca33
Order locations by the MPTT left field when searching on quantities
...
This improves the likelihood that a full branch of locations will be calculated
in the same batch.
Closes #14182
2025-08-22 10:11:57 +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
7f0cb85631
Check for assigned move per company and recent date
...
d84b63604b10 calculates the recent date per company so we must search for moves
using this date for the same company.
2025-08-23 21:18:43 +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
9c1824a913
Initialize recent date when closing periods with empty period list
2025-07-15 17:45:18 +02:00
Cédric Krier
d1b33c2dc0
Define product variable to raise error when cost price expression is not a Decimal
...
The product variable is used to format the error message but also as for
50bf49b7b031 it may be empty.
Closes #14062
2025-06-10 18:12:43 +02:00
Cédric Krier
ae71913833
Add transition from packed to cancelled for internal shipment
...
Since fee9e4e8c864 the internal shipment has a new packed state that can be
cancelled.
Closes #14053
2025-06-05 16:43:10 +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
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
6d8d307670
Use compute fields for internal quantities on stock move
...
Closes #13739
2025-01-15 22:10:07 +01: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