Commit Graph
226 Commits
Author SHA1 Message Date
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
Nicolas Évrard 5781a49606 Call the actual super method of InteralShipmentReport
Closes #13892
2025-02-26 11:38:41 +01:00
Cédric Krier 64788a2e0c Merge list views of inventory line
Since 0b7f2304e207 there is no point to have two list views as the location and
date are in the record name of inventory.
2025-02-17 16:30:58 +01:00
Cédric Krier 29d5fe7316 Simplify the updating of inventory lines for complete
Line instances make it easier and simpler to extend.
2025-02-17 16:11:20 +01:00
Cédric Krier efba57bf65 Display quantity when searching location for stock move
Closes #13781
2024-12-26 17:33:51 +01:00
Cédric Krier 530471d9a8 Display quantity when searching product for stock move
Closes #13780
2024-12-26 17:29:21 +01:00
Cédric Krier 3283851774 Add packed state to internal shipment
Closes #9750
2024-12-22 18:23:21 +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 a3e5faac0c Add company and warehouse to supplier return form
Closes #13857
2025-02-03 01:05:24 +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 54c124cec8 Store internal transit location when internal shipment is set to wait
This supports changing the configuration of the transit location over time
without breaking existing shipments.
2025-02-08 12:45:40 +01:00
David Harper 913c59e58d Add help to selections of location type 2025-01-31 00:42:55 +01:00
Cédric Krier 81f674082b Remove check_xml_record from ModelStorage 2024-11-11 15:19:51 +01:00
Cédric Krier efab50227a Read only cost price from the history product when computing cost value
Closes #13767
2024-12-20 11:48:10 +01:00
Cédric Krier b26ff9757e Add metadata columns to ModelSQL with table query
Closes #9414
2024-10-25 00:24:39 +02:00
Cédric Krier c833195650 Set default integer digits to None 2024-11-25 23:47:12 +01:00
Cédric Krier 3e45df410f Show only storage, view and warehouse locations by default
Closes #13711
2024-11-28 22:14:05 +01:00
Cédric Krier 6e3817ba05 Add equivalent domain of SQL constraints
When possible we should also add a domain so the client can provide better
feedback to the user.

Closes #9432
2024-10-27 16:20:45 +01: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 53c042971b Group locations under the first requested location when computing stock quantities
This reduces the number of unnecessary intermediary results.

Closes #8594
2024-10-22 15:04:52 +02:00
Cédric Krier 31d53ba7a5 Reduce access to dictionary keys when computing stock quantities
#8594
2024-10-22 14:59:18 +02:00
Cédric Krier 462853ef3d Do not store period cache for empty quantity
This prevents to create a record for product that are no longer in the stock.

Closes #8151
2024-10-22 13:44:41 +02:00
Cédric Krier ab3fecb282 Increase version number 2024-11-04 18:51:20 +01:00