[IMP] product, website_sale, *: reword some product names
* = website_sale_comparison Remove the "(Config)" from Customizable desk and conference chair. task-2009483 Part of #66736
This commit is contained in:
@@ -172,7 +172,7 @@
|
||||
</record>
|
||||
|
||||
<record id="product_product_4_product_template" model="product.template">
|
||||
<field name="name">Customizable Desk (CONFIG)</field>
|
||||
<field name="name">Customizable Desk</field>
|
||||
<field name="categ_id" ref="product_category_5"/>
|
||||
<field name="standard_price">500.0</field>
|
||||
<field name="list_price">750.0</field>
|
||||
@@ -347,7 +347,7 @@
|
||||
</record>
|
||||
|
||||
<record id="product_product_11_product_template" model="product.template">
|
||||
<field name="name">Conference Chair (CONFIG)</field>
|
||||
<field name="name">Conference Chair</field>
|
||||
<field name="categ_id" ref="product_category_5"/>
|
||||
<field name="standard_price">14</field>
|
||||
<field name="list_price">16.50</field>
|
||||
|
||||
@@ -35,7 +35,7 @@ class TestUi(HttpCaseWithUserDemo):
|
||||
'sequence': 2,
|
||||
})
|
||||
self.product_product_11_product_template = self.env['product.template'].create({
|
||||
'name': 'Conference Chair (CONFIG)',
|
||||
'name': 'Conference Chair',
|
||||
'list_price': 16.50,
|
||||
'accessory_product_ids': [(4, product_product_7.id)],
|
||||
})
|
||||
|
||||
@@ -63,7 +63,7 @@ odoo.define('website_sale_comparison.tour_comparison', function (require) {
|
||||
{
|
||||
content: "check the comparelist is now open and contains 3rd product with correct variant",
|
||||
extra_trigger: '.comparator-popover',
|
||||
trigger: '.o_product_row:contains("Customizable Desk (CONFIG) (Steel, White)")',
|
||||
trigger: '.o_product_row:contains("Customizable Desk (Steel, White)")',
|
||||
run: function () {},
|
||||
},
|
||||
{
|
||||
@@ -82,7 +82,7 @@ odoo.define('website_sale_comparison.tour_comparison', function (require) {
|
||||
{
|
||||
content: "comparelist contains 4th product with correct variant",
|
||||
extra_trigger: '.o_product_circle:contains(4)',
|
||||
trigger: '.o_product_row:contains("Customizable Desk (CONFIG) (Steel, Black)")',
|
||||
trigger: '.o_product_row:contains("Customizable Desk (Steel, Black)")',
|
||||
run: function () {},
|
||||
},
|
||||
{
|
||||
@@ -111,17 +111,17 @@ odoo.define('website_sale_comparison.tour_comparison', function (require) {
|
||||
// test on compare page
|
||||
{
|
||||
content: "check 1st product contains correct variant",
|
||||
trigger: '.o_product_comparison_table:contains("Conference Chair (CONFIG) (Steel)")',
|
||||
trigger: '.o_product_comparison_table:contains("Conference Chair (Steel)")',
|
||||
run: function () {},
|
||||
},
|
||||
{
|
||||
content: "check 2nd product contains correct variant",
|
||||
trigger: '.o_product_comparison_table:contains("Customizable Desk (CONFIG) (Steel, White)")',
|
||||
trigger: '.o_product_comparison_table:contains("Customizable Desk (Steel, White)")',
|
||||
run: function () {},
|
||||
},
|
||||
{
|
||||
content: "check 3rd product is correctly added",
|
||||
trigger: '.o_product_comparison_table:contains("Customizable Desk (CONFIG) (Steel, Black)")',
|
||||
trigger: '.o_product_comparison_table:contains("Customizable Desk (Steel, Black)")',
|
||||
run: function () {},
|
||||
},
|
||||
{
|
||||
@@ -130,12 +130,12 @@ odoo.define('website_sale_comparison.tour_comparison', function (require) {
|
||||
run: function () {},
|
||||
},
|
||||
{
|
||||
content: "remove Customizable Desk (CONFIG) (Steel, Black) from compare table",
|
||||
content: "remove Customizable Desk (Steel, Black) from compare table",
|
||||
trigger: '#o_comparelist_table .o_comparelist_remove:eq(2)',
|
||||
},
|
||||
{
|
||||
content: "check customizable table with black variant is removed",
|
||||
trigger: '#o_comparelist_table:not(:contains("Customizable Desk (CONFIG) (Steel, Black)"))',
|
||||
trigger: '#o_comparelist_table:not(:contains("Customizable Desk (Steel, Black)"))',
|
||||
run: function () {},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user