[FIX] sale: remove link between optional products and variants

The "optional products" feature is only accessible when the "variants"
settings is activated although there is no functional reason for
linking these two features.

Optional products are now available as soon as the product configurator
 is installed.

task-2987894

closes odoo/odoo#101572

X-original-commit: 869d73547730c93e264afc284e7e9d1efc033d99
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Vallaeys Valentin (vava) <vava@odoo.com>
This commit is contained in:
Valentin Vallaeys (vava)
2022-09-29 13:23:07 +02:00
parent 39a348c110
commit a8b46857ea
@@ -14,8 +14,7 @@
widget="many2many_tags"
options="{'color_field': 'color'}"
domain="[('id', '!=', active_id), '|', ('company_id', '=', company_id), ('company_id', '=', False)]"
placeholder="Recommend when 'Adding to Cart' or quotation"
groups="product.group_product_variant" />
placeholder="Recommend when 'Adding to Cart' or quotation"/>
</group>
</field>
</record>