[FIX] test_website_slides_full: activate variants to avoid deinstallation

We want to activate product variant by default for testing product configurator.
Otherwise Odoo want to de-install the whole module due to dependency chain.

Task-2677144

closes odoo/odoo#79466

X-original-commit: 63211eb48d3ac54e22dbee48f3131bd46aea5599
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
Thibault Delavallée
2021-11-08 10:16:04 +00:00
parent d5a031a9a3
commit b109d12671
2 changed files with 14 additions and 0 deletions
@@ -16,6 +16,9 @@ certification flow including purchase, certification, failure and success.
'website_slides_survey',
'payment_test'
],
'data': [
'data/res_groups_data.xml',
],
'demo': [
'data/product_demo.xml',
],
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<!-- We want to activate product variant by default for testing product
configurator. Otherwise Odoo want to de-install the whole module due
to dependency chain. -->
<record id="base.group_user" model="res.groups">
<field name="implied_ids" eval="[(4, ref('product.group_product_variant'))]"/>
</record>
</data>
</odoo>