Commit Graph

9 Commits

Author SHA1 Message Date
Víctor Martínez
20fd01b114 [IMP] stock_request: Apply sudo to prevent requests ACL errors if the user does not have permissions (example: productions).
TT43655
2023-05-30 13:41:07 +02:00
Víctor Martínez
ceac314f7b [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
2023-02-28 09:29:38 +01:00
Kitti U
493757825e [14.0][MIG] stock_request 2021-04-19 22:23:57 +07:00
Kitti U
055bbd24e5 Ensure to set done, when qty_cancelled > 0 2021-04-19 15:50:03 +07:00
Enric Tobella
7c57244e3f [IMP] stock_request: Improve cancellation detection 2021-04-19 15:50:03 +07:00
hveficent
6b07937599 [MIG] stock_request: Migration to 13.0 2021-04-19 15:50:03 +07:00
hveficent
854bbe132d [IMP] stock_request: black, isort 2021-04-19 15:50:03 +07:00
mreficent
d9150b8335 [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
2021-04-19 15:50:02 +07:00
Jordi Ballester
09dfc7050b add stock_request in 11.0 2021-04-19 15:50:02 +07:00