8 Commits

Author SHA1 Message Date
Dũng (Trần Đình)
f8839a559f [MIG] stock_orderpoint_route: Migration to 14.0 2021-09-20 21:42:16 +07:00
mreficent
4a6e0aafae [UPD] Eficent -> ForgeFlow 2021-09-16 14:57:40 +07:00
Guewen Baconnier
a53fd653c3 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)

[UPD] Update stock_orderpoint_route.pot
2021-09-16 14:57:38 +07:00
Guewen Baconnier
6b6cf92d46 [MIG] stock_orderpoint_route: Migration to 13.0 2021-09-16 11:56:54 +07:00
Guewen Baconnier
ba113edfc9 [IMP] stock_orderpoint_route: black, isort 2021-09-16 11:56:54 +07:00
Guewen Baconnier
68f5dd2b7c Use SavepointCase in tests
To avoid executing the setup for each test
2021-09-16 11:56:54 +07:00
Guewen Baconnier
b2756120ae Migrate stock_orderpoint_route to 12.0 2021-09-16 11:56:54 +07:00
Jordi Ballester Alomar
530f360c8c [11.][ADD] stock_orderpoint_route 2021-09-16 11:56:54 +07:00