Commit Graph

22 Commits

Author SHA1 Message Date
Jesús Alan Ramos Rodríguez
9877f24e23 [FIX] stock_request: use sudo to run procurements to prevent permission issues
This fixes the following issue:
If a user make a request of a product that you need to manufacture, but the user don't have permissions to
mrp module and you don't want to give them access, it will raises an error thad you don't have permissions to
see the mrp.bom.
2022-01-07 08:30:00 -06:00
Florent Xicluna
1a446ffbcf [FIX] adapt syntax for act_window lookup 2021-12-09 13:41:34 +01:00
Nils Hamerlinck
7ba8cd1898 [FIX] stock_request: default value should not depend on another field 2021-09-24 21:11:48 +07:00
Kitti U
493757825e [14.0][MIG] stock_request 2021-04-19 22:23:57 +07:00
Kitti U
9350f93e62 [IMP] : black, isort, prettier 2021-04-19 15:52:18 +07:00
Kitti U
055bbd24e5 Ensure to set done, when qty_cancelled > 0 2021-04-19 15:50:03 +07:00
Murtuza Saleh
73c67aa3a3 [12.0][IMP] Improved _compute_qty code 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
Maxime Chambreuil
ab05bd3db2 [FIX] stock_request 2021-04-19 15:50:03 +07:00
mreficent
66f7049e40 [IMP] Simplify inheritance of states 2021-04-19 15:50:02 +07:00
hveficent
957559d0f2 [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
2021-04-19 15:50:02 +07:00
hveficent
2ebcb1fe39 stock_request: Add order desc for SR and SRO 2021-04-19 15:50:02 +07:00
Enric Tobella
49d7cb6309 [IMP] stock_request: Allow to set to draft multiple records 2021-04-19 15:50:02 +07:00
Murtuza Saleh
b10fab7f30 [MIG] stock_request v12 2021-04-19 15:50:02 +07:00
Enric Tobella
4c4ee9f1d1 [ADD] stock_request_kanban 2021-04-19 15:50:02 +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
Enric Tobella
0e8b47cf51 [IMP] stock_request: Add stock request order 2021-04-19 15:50:02 +07:00
Enric Tobella
9e5710db1d [FIX] stock_request: Add the option to select all the possible rules of a location, the rules of the parents are also allowed 2021-04-19 15:50:02 +07:00
Jordi Ballester
eacf602f2a Limit the routes available for selection. 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