Commit Graph

29 Commits

Author SHA1 Message Date
Joan Sisquella
ebf004406a [IMP] stock_request: add route_id to stock.request.order 2024-05-21 12:00:10 +02:00
Joan Sisquella
de2a85eb55 [IMP] stock_request: Change rounding method to HALF-UP in qty_in_progress computation 2024-05-21 11:08:03 +02:00
Víctor Martínez
3d39f0c821 [IMP] stock_request: Add option to use stock available
TT43413

[FIX] stock_request: Change to free_qty field to use stock

We need to use the free_qty field because it is the one that has the
correct value if for example we have stock reservations.

TT43413
2023-11-10 10:59:37 +01:00
Víctor Martínez
0d8babd95b [IMP] stock_request: Convert the state field of stock.request.order as compute store to complete all use cases.
This change prevents stock.request.order from remaining in the open state when they have already finished.

TT44811
2023-09-11 16:27:54 +02:00
OriolMForgeFlow
191dc75510 [FIX] stock_request: set stock request order state to done when partially delivered 2023-06-15 09:56:40 +02:00
Víctor Martínez
94ef38a26d [IMP] stock_request: Set with cancelled state the stock moves that are cancelled.
Example use case:

- Create a stock.request (or stock.request.order)
- Confirm.
- Cancel the stock move.
- stock.request and stock.request.order must be set with status cancelled.

TT41827

[IMP] stock_request_mrp: Add tests to check cancel stock request order if production is cancelled.

TT41827
2023-03-08 08:27:10 +01:00
Víctor Martínez
ab04927d49 [IMP] stock_request_mrp: Refactor tests 2023-03-08 08:17:37 +01:00
Víctor Martínez
fcb215c685 [IMP] stock_request: Add domain to some fields to prevent deprecate methods with domain return
TT41080
2023-01-13 10:32:29 +01:00
Bernat Puig Font
dfdc50d469 [MIG] stock_request: Migration to 15.0 2022-02-16 09:17:17 +01:00
Kitti U
4bb9b34ccb [14.0][MIG] stock_request 2022-02-07 12:01:05 +01:00
Kitti U
35b29875eb [IMP] : black, isort, prettier 2022-02-07 12:01:05 +01:00
Kitti U
ea10471851 Fix test to work with mrp installed in this repo 2022-02-07 12:01:05 +01:00
Enric Tobella
dad95ec13d [IMP] stock_request:
- fixes the computation of the allocated product quantity when a stock move has multiple requests.
2022-02-07 12:01:05 +01:00
Enric Tobella
ceadaf00ac [IMP] stock_request: Improve cancellation detection 2022-02-07 12:01:05 +01:00
mreficent
13b4bdf19a [UPD] Eficent -> ForgeFlow 2022-02-07 12:01:05 +01:00
hveficent
1e91a13718 [IMP] stock_request:
* Add search filters to Stock Request
* Use SR Manager on action_confirm from testing for better extensibility
2022-02-07 12:01:04 +01:00
hveficent
8a6718a024 [MIG] stock_request: Migration to 13.0 2022-02-07 12:01:04 +01:00
hveficent
31d0b4ca9a [IMP] stock_request: black, isort 2022-02-07 12:01:04 +01:00
hveficent
2e03c73fa5 [FIX] stock_request: add expected_date implicit on tests to avoid errors 2022-02-07 12:01:04 +01:00
hveficent
516ff569b8 [12.0][IMP] stock_request:
* Add readme autogenerated
* Add some hooks
* Improve test inheritance (reduce testing time)
* Don't allow qty <= 0
* SR expected_date = order expected_date if SRO
2022-02-07 12:01:04 +01:00
Maxime Chambreuil
85076a8d75 [FIX] stock_request: Losing partner_id and origin (#664) 2022-02-07 12:01:04 +01:00
Murtuza Saleh
590a156b9c [MIG] stock_request v12 2022-02-07 12:01:04 +01:00
hveficent
7887848086 [11.0][FIX] solve unique constraint problems with product-attribute/product_sequence 2022-02-07 11:55:55 +01:00
Lois Rilo
1dd6bca510 [11.0][IMP] stock_request: allow to request from all locations types. (#523) 2022-02-07 11:55:55 +01:00
Atte Isopuro
f0e6257078 [11.0][IMP] stock_request: create request order from products
This commit allows the user to select multiple products from
a product list view and to create a Stock Request Order with
an action. If the user selects templates, all of those templates'
variants will be added to the order.

This is useful as it allows the user to filter products beforehand
based on their stocks, and to create a request order for all
those products whose stock is too low.
2022-02-07 11:55:55 +01:00
mreficent
484d7e799a [FIX] Various fixes:
- Error with the sequence number.
- Visible texts that should be in uppercases.
- order_id should only be visible if group_stock_request_order
  option is enabled.
- adds more tests
- adds consistency between models company-wise
2022-02-07 11:55:55 +01:00
Enric Tobella
f1015b744b [IMP] stock_request: Add stock request order 2022-02-07 11:55:55 +01:00
Jordi Ballester
533f009bdf Limit the routes available for selection. 2022-02-07 11:55:55 +01:00
Jordi Ballester
7f6523bc3d add stock_request in 11.0 2022-02-07 11:55:55 +01:00