Commit Graph

8 Commits

Author SHA1 Message Date
João Marques
53c5e5329e [FIX] stock_request_purchase: Fix user permissions in tests
Some other modules might add more constraints and ACLs to the models needed to manage stock requests. We can make it more resilient by using a more general group in the tests
As the general "Inventory / User" group inherits the "Stock Request User" group, we can use that instead (see stock_request module)
We don't need that in the manager as it inherits the "Inventory / User" group, thus ensuring the correct user permissions.

TT28895
2021-03-24 08:09:41 +00:00
Joan Sisquella
a8738fb918 [MIG] stock_request_purchase: Migration to 13.0 2020-03-20 14:42:56 +01:00
Joan Sisquella
2c24aacc29 [IMP] stock_request_purchase: black, isort 2020-03-20 14:39:52 +01:00
hveficent
5e92f09d73 [FIX] stock_request_*: add expected_date implicit on tests to avoid errors 2020-03-20 14:39:52 +01:00
Kitti U
c257e6111f [12.0][MIG] stock_request_purchase 2020-03-20 14:39:52 +01:00
mreficent
59c85080ad [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
2020-03-20 14:39:52 +01:00
Enric Tobella
d569a3bbac [IMP] stock_request_purchase: Add Stock request orders. Change logo 2020-03-20 14:39:52 +01:00
Jordi Ballester
16a7f3e689 add stock_request in 11.0 2020-03-20 14:39:52 +01:00