Commit Graph
205 Commits
Author SHA1 Message Date
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
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 c02fbaad97 Fallback to 0 when summing stock values of products
Closes #13581
2024-10-09 20:15:47 +02:00
Maxime Richez dcef019d80 Allow cancellation of done shipments and productions
Closes #13489
2024-10-13 15:50:49 +02:00
Cédric Krier e16889a592 Use sparkline tools instead of pygal 2024-09-29 11:46:53 +02:00
Cédric Krier 0b5d5c2322 Manage to replace products 2024-09-03 12:39:57 +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
Maxime Richez 348ea5c5bb Extend domain to reschedule not yet done shipment
Closes #13536
2024-09-20 14:58:46 +02:00
Cédric Krier 18f0801e60 Use design to fill companies and employees first on user form
To make it obvious that companies and employees must be filled first, they are
displayed first and the company and employee fields are hidden if there is no
values to select.
2024-09-24 19:31:56 +02:00
Cédric Krier db99bb6801 Do not copy origin of stock moves in each shipment
The ShipmentMixin is also used by the production which does not have a moves
field.

Closes #13555
2024-10-01 18:32:18 +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 514495cf1e Rename "Product Quantities By Warehouse" into "Stock Quantities By Warehouse" 2024-09-14 13:07:43 +02:00
Cédric Krier ca6bb39948 Rename "Locations * Quantity" into "Stock Locations *" 2024-09-14 12:51:16 +02:00
Cédric Krier a65c9879dd Rename "Products by Locations" into "Products"
As the locations are added to the tab name, there is no need to specify that it
is "by Locations".
2024-09-14 12:38:24 +02:00
Cédric Krier e54322910c Filter shipment moves before sorting them in the getters of Function field
This way the filtering can benefit of the cache alignent before the order of
the list is modified.

Closes #13526
2024-09-18 13:51:16 +02:00
Sergi Almacellas Abellana da4f361d23 Show complete button on shipped shipments
Closes #13455
2024-08-21 10:32:12 +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 eeb9ba5650 Do not copy origin of stock moves when duplicate shipments
Closes #13496
2024-09-06 13:31:44 +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 4a14245e10 Ensure effective date is before or after origin or outcome stock moves
When the source of the move is the same as the destination of its origin or
outcomes, the stock move can not be done before those moves.
When the destination of the move is the same as the source of the its origin
or outcomes, the stock move can not be done after those moves.

Closes #12851
2024-08-26 22:53:34 +02:00