Commit Graph

16 Commits

Author SHA1 Message Date
OCA-git-bot
5f9f13780c stock_orderpoint_route 14.0.1.1.0 2021-10-01 11:43:20 +00:00
Hai Lang
06dfeedc66 [FIX] stock_orderpoint_route: avoid missing route_ids field issue
This is to avoid issue below for any module that inherits tree view of
the model `stock.warehouse.orderpoint`. Example: `stock_orderpoint_manual_procurement`

Field route_ids used in field route_id default domain
([('id', 'in', route_ids)]) must be present in view but is missing.
2021-10-01 15:09:07 +07:00
OCA-git-bot
eeaf01e3f5 [UPD] README.rst 2021-09-28 09:29:48 +00:00
oca-travis
cab3858efe [UPD] Update stock_orderpoint_route.pot 2021-09-28 09:08:44 +00:00
Dũng (Trần Đình)
f8839a559f [MIG] stock_orderpoint_route: Migration to 14.0 2021-09-20 21:42:16 +07:00
Dũng (Trần Đình)
4920bf655c [IMP] stock_orderpoint_route: black, isort, prettier 2021-09-16 14:58:30 +07:00
OCA-git-bot
f0b3736c43 [UPD] README.rst
[UPD] Update stock_orderpoint_route.pot
2021-09-16 14:58:30 +07:00
mreficent
4a6e0aafae [UPD] Eficent -> ForgeFlow 2021-09-16 14:57:40 +07:00
OCA-git-bot
514a866d10 [UPD] README.rst 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
2d09392b16 run pre-commit with new prettiers 2021-09-16 11:56:54 +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