Commit Graph

9 Commits

Author SHA1 Message Date
OCA-git-bot
80630111ce [UPD] README.rst 2020-03-23 10:46:34 +00:00
oca-travis
99fbce270b [UPD] Update stock_orderpoint_route.pot 2020-03-23 10:03:18 +00:00
Guewen Baconnier
639b4c7849 Improve code after reviews
* performance (less queries executed)
* disable tracking in tests (faster)
* use with_user instead of sudo
* the double for loop in _compute_route_ids actually generates one more
  query as the simple one in this commit (thanks to the cache)
* extract a method
* the parent locations can be found using 'parent_of' which will use the
  parent_path under the hood (example: 1/7/8 will return locations 1, 7,
  8)
2020-03-17 11:44:58 +01:00
Guewen Baconnier
56fb322205 run pre-commit with new prettiers 2020-03-17 11:14:02 +01:00
Guewen Baconnier
97ec9ea286 [MIG] stock_orderpoint_route: Migration to 13.0 2020-03-17 11:10:39 +01:00
Guewen Baconnier
981180aebb [IMP] stock_orderpoint_route: black, isort 2020-03-17 11:10:39 +01:00
Guewen Baconnier
899a88968f Use SavepointCase in tests
To avoid executing the setup for each test
2020-03-17 11:10:39 +01:00
Guewen Baconnier
859c97ee35 Migrate stock_orderpoint_route to 12.0 2020-03-17 11:10:39 +01:00
Jordi Ballester Alomar
b4fd809cb8 [11.][ADD] stock_orderpoint_route 2020-03-17 11:10:39 +01:00