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

[18.0][MIG] stock_picking_product_availability_inline: Migration to 18.0 #1847

Conversation

CarlosRoca13
Copy link
Contributor

cc @Tecnativa TT54341

ping @sergio-teruel @carlosdauden

The name_get method no longer exists, so the changes would need to be applied to compute_display_name. However, if we did this, the value would also be computed when it's not related to the dropdown for selecting a product. To solve this issue, the name_search method has been adapted, as it is the one that returns the name to be used in the dropdown, as shown in this JavaScript code: https://github.com/odoo/odoo/blob/26a992ea187c09ac2b39a14d0c64ed5dd658cfaf/addons/web/static/src/views/fields/relational_utils.js#L306-L337

@pedrobaeza
Copy link
Member

/ocabot migration stock_picking_product_availability_inline

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Jan 24, 2025
@OCA-git-bot OCA-git-bot mentioned this pull request Jan 24, 2025
41 tasks
Copy link
Contributor

@jbaudoux jbaudoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@sergio-teruel sergio-teruel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment.
About change module to other repositore...
@pedrobaeza What do you think?? To me is OK

"development_status": "Beta",
"summary": "Show product availability in product drop-down of picking form view.",
"version": "18.0.1.0.0",
"development_status": "Production/Stable",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plase add maintainer key

@CarlosRoca13
Copy link
Contributor Author

Closing this PR because this new one is opened: OCA/stock-logistics-availability#44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants