Skip to content
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

Open
wants to merge 12 commits into
base: 17.0
Choose a base branch
from

Conversation

nedaszilinskas
Copy link

No description provided.

nicomacr and others added 11 commits May 7, 2024 09:10
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/
@nedaszilinskas nedaszilinskas force-pushed the 17.0-mig-stock_available_unreserved branch 2 times, most recently from 18aaf12 to 673a6ec Compare May 7, 2024 09:13
@pedrobaeza
Copy link
Member

/ocabot migration stock_available_unreserved

Copy link
Sponsor Contributor

@rousseldenis rousseldenis left a 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]
Copy link
Sponsor Contributor

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.

Copy link
Author

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.

@nedaszilinskas nedaszilinskas force-pushed the 17.0-mig-stock_available_unreserved branch from 673a6ec to cecf777 Compare May 8, 2024 07:16
@nedaszilinskas nedaszilinskas force-pushed the 17.0-mig-stock_available_unreserved branch from cecf777 to 951b394 Compare May 8, 2024 07:18
Copy link

github-actions bot commented Sep 8, 2024

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.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
migration needs review stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants