-
-
Notifications
You must be signed in to change notification settings - Fork 33
[MIG] stock_orderpoint_route: Migration to 18.0 #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 18.0
Are you sure you want to change the base?
[MIG] stock_orderpoint_route: Migration to 18.0 #33
Conversation
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)
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.
Complete the fix done in 06dfeedc66
88b35ce to
ddd4c89
Compare
|
This one will need fixing because IMO the condition to filter routes in
|
|
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
Check this out: |
marcelsavegnago
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
|
@grindtildeath can you rebase? |
No description provided.