-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
[MIG] stock_available_unreserved: Migration to 17.0 #23
base: 17.0
Are you sure you want to change the base?
[MIG] stock_available_unreserved: Migration to 17.0 #23
Conversation
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: stock-logistics-availability-16.0/stock-logistics-availability-16.0-stock_available_unreserved Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-availability-16-0/stock-logistics-availability-16-0-stock_available_unreserved/
Currently translated at 100.0% (13 of 13 strings) Translation: stock-logistics-availability-16.0/stock-logistics-availability-16.0-stock_available_unreserved Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-availability-16-0/stock-logistics-availability-16-0-stock_available_unreserved/hr/
Currently translated at 100.0% (14 of 14 strings) Translation: stock-logistics-availability-16.0/stock-logistics-availability-16.0-stock_available_unreserved Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-availability-16-0/stock-logistics-availability-16-0-stock_available_unreserved/es/
Currently translated at 100.0% (14 of 14 strings) Translation: stock-logistics-availability-16.0/stock-logistics-availability-16.0-stock_available_unreserved Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-availability-16-0/stock-logistics-availability-16-0-stock_available_unreserved/it/
Currently translated at 100.0% (14 of 14 strings) Translation: stock-logistics-availability-16.0/stock-logistics-availability-16.0-stock_available_unreserved Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-availability-16-0/stock-logistics-availability-16-0-stock_available_unreserved/it/
Currently translated at 100.0% (14 of 14 strings) Translation: stock-logistics-availability-16.0/stock-logistics-availability-16.0-stock_available_unreserved Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-availability-16-0/stock-logistics-availability-16-0-stock_available_unreserved/it/
18aaf12
to
673a6ec
Compare
/ocabot migration stock_available_unreserved |
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.
Code review
@@ -32,7 +32,8 @@ def action_open_quants_unreserved(self): | |||
quant_ids = quants.filtered( | |||
lambda x: x.product_id.qty_available_not_res > 0 | |||
).ids | |||
result = self.env.ref("stock.group_stock_multi_locations").read()[0] | |||
result = self.env.ref("stock.dashboard_open_quants").read()[0] |
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.
You should use _for_xml_id() instead.
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.
@rousseldenis Good catch! I changed it.
673a6ec
to
cecf777
Compare
cecf777
to
951b394
Compare
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. |
No description provided.