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

[17.0][FIX] product_brand: fix error on clicking brand in product kanban view #207

Open
wants to merge 1 commit into
base: 17.0
Choose a base branch
from

Conversation

astirpe
Copy link
Member

@astirpe astirpe commented Jul 29, 2024

This fixes the following error:

EvalError: Can not evaluate python expression: ([('product_ids', 'in', id)])
    Error: Name 'id' is not defined
    EvalError: Can not evaluate python expression: ([('product_ids', 'in', id)])
    Error: Name 'id' is not defined
        at evaluateExpr (http://oca-brand-17-0-1589852de24e.runboat.odoo-community.org/web/assets/83b0f05/web.assets_web.min.js:3043:54)
        at _preprocessAction (http://oca-brand-17-0-1589852de24e.runboat.odoo-community.org/web/assets/83b0f05/web.assets_web.min.js:10184:150)
        at doAction (http://oca-brand-17-0-1589852de24e.runboat.odoo-community.org/web/assets/83b0f05/web.assets_web.min.js:10266:170)
        at async Object.doActionButton (http://oca-brand-17-0-1589852de24e.runboat.odoo-community.org/web/assets/83b0f05/web.assets_web.min.js:10274:196)
        at async execute (http://oca-brand-17-0-1589852de24e.runboat.odoo-community.org/web/assets/83b0f05/web.assets_web.min.js:9898:293)
        at async executeButtonCallback (http://oca-brand-17-0-1589852de24e.runboat.odoo-community.org/web/assets/83b0f05/web.assets_web.min.js:9891:34)

Steps to reproduce in runbot:

  • go to Invoicing > Products, open one product form and add a brand to the product
  • open the kanban view of products, the brand is shown in the kanban tile of that product
  • click on the brand link: the error is displayed

Copy link

@espo-tony espo-tony left a comment

Choose a reason for hiding this comment

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

👍

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

Successfully merging this pull request may close these issues.

2 participants