Skip to content
Snippets Groups Projects
Commit b289170f authored by fja-odoo's avatar fja-odoo Committed by qsm-odoo
Browse files

[FIX] website_sale: prevent selecting itself as an alternative product

parent db5447f8
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@
<field name="website_url" invisible="1"/>
<field name="website_id" options="{'no_create': True}" groups="website.group_multi_website"/>
<field name="public_categ_ids" widget="many2many_tags" string="Categories"/>
<field name="alternative_product_ids" widget="many2many_tags"/>
<field name="alternative_product_ids" widget="many2many_tags" domain="[('id', '!=', active_id)]"/>
<field name="accessory_product_ids" widget="many2many_tags"/>
<field name="website_style_ids" widget="many2many_tags" groups="base.group_no_one"/>
</group>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment