You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce:
Create multiple companies and go to the Discounts & Loyalty view.
When choosing program type Buy X Get Y, the default chose product is filled in below.
Current behavior:
The product if not filtered by company_id, resulting in products which are not editable because the user has no rights to edit or remove the company-specific product.
Expected behavior:
The product should be filtered by company_id, suggested change: first_sale_product = self.env['product.product'].search([('sale_ok', '=', True), ("company_id", "in", [False] + self.env.company.ids)], limit=1)
in the file loyalty_program.py in the addon loyalty.
Video/Screenshot link (optional):
Support ticket number submitted via odoo.com/help (optional):
The text was updated successfully, but these errors were encountered:
Impacted versions: v16
Steps to reproduce:
Create multiple companies and go to the Discounts & Loyalty view.
When choosing program type Buy X Get Y, the default chose product is filled in below.
Current behavior:
The product if not filtered by company_id, resulting in products which are not editable because the user has no rights to edit or remove the company-specific product.
Expected behavior:
The product should be filtered by company_id, suggested change:
first_sale_product = self.env['product.product'].search([('sale_ok', '=', True), ("company_id", "in", [False] + self.env.company.ids)], limit=1)
in the file loyalty_program.py in the addon loyalty.
Video/Screenshot link (optional):
Support ticket number submitted via odoo.com/help (optional):
The text was updated successfully, but these errors were encountered: