Skip to content

Commit

Permalink
[MIG] website_sale_product_multi_website: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cem-adhoc committed Jan 22, 2025
1 parent 9104d71 commit 11d4d9e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion website_sale_product_multi_website/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Multi-website product",
"summary": "Show products in many web-sites",
"version": "17.0.1.0.0",
"version": "18.0.1.0.0",
"category": "Website",
"author": "Odoo Community Association (OCA), Adhoc S.A.",
"license": "AGPL-3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ odoo.define("website_sale_tour.tour", function (require) {
url: "/shop?search=Storage Box",
},
[
// Testing b2c with Tax-Excluded Prices
// Testing b2c with Tax-Excluded Prices.
{
content: "Open product page",
trigger: '.oe_product_cart a:contains("Storage Box")',
Expand All @@ -24,7 +24,7 @@ odoo.define("website_sale_tour.tour", function (require) {
content: "Check b2b Tax-Excluded Prices",
trigger:
".product_price .oe_price .oe_currency_value:containsExact(79.00)",
run: function () {}, // It's a check
isChecked: true,
},
{
content: "Click on add to cart",
Expand All @@ -40,17 +40,17 @@ odoo.define("website_sale_tour.tour", function (require) {
content: "Check Price b2b subtotal",
trigger:
"tr#order_total_untaxed .oe_currency_value:containsExact(158.00)",
run: function () {}, // It's a check
isChecked: true,
},
{
content: "Check Price b2b Sale Tax(15%)",
trigger: "tr#order_total_taxes .oe_currency_value:containsExact(23.70)",
run: function () {}, // It's a check
isChecked: true,
},
{
content: "Check Price b2b Total amount",
trigger: "tr#order_total .oe_currency_value:containsExact(181.70)",
run: function () {}, // It's a check
isChecked: true,
},
{
content: "Fulfill billing address form",
Expand Down Expand Up @@ -93,14 +93,14 @@ odoo.define("website_sale_tour.tour", function (require) {
"Check selected billing address is same as typed in previous step",
trigger:
"#shipping_and_billing:contains(SO1 Billing Street, 33):contains(SO1BillingCity):contains(Afghanistan)",
run: function () {}, // It's a check
isChecked: true,
},
{
content:
"Check selected shipping address is same as typed in previous step",
trigger:
"#shipping_and_billing:contains(17, SO1 Shipping Road):contains(SO1ShippingCity):contains(Afghanistan)",
run: function () {}, // It's a check
isChecked: true,
},
{
content: "Click for edit address",
Expand Down Expand Up @@ -134,7 +134,7 @@ odoo.define("website_sale_tour.tour", function (require) {
"Check selected billing address is same as typed in previous step",
trigger:
"#shipping_and_billing:contains(SO1 Billing Street Edited, 33):contains(SO1BillingCityEdited):contains(Afghanistan)",
run: function () {}, // It's a check
isChecked: true,
},
{
content: "Select `Wire Transfer` payment method",
Expand Down Expand Up @@ -232,7 +232,7 @@ odoo.define("website_sale_tour.tour", function (require) {
content: "Check b2c Tax-Included Prices",
trigger:
".product_price .oe_price .oe_currency_value:containsExact(90.85)",
run: function () {}, // It's a check
isChecked: true,
},
{
content: "Click on add to cart",
Expand All @@ -248,17 +248,17 @@ odoo.define("website_sale_tour.tour", function (require) {
content: "Check Price b2c total",
trigger:
"tr#order_total_untaxed .oe_currency_value:containsExact(158.00)",
run: function () {}, // It's a check
isChecked: true,
},
{
content: "Check Price b2c Sale Tax(15%)",
trigger: "tr#order_total_taxes .oe_currency_value:containsExact(23.70)",
run: function () {}, // It's a check
isChecked: true,
},
{
content: "Check Price b2c Total amount",
trigger: "tr#order_total .oe_currency_value:containsExact(181.70)",
run: function () {}, // It's a check
isChecked: true,
},
{
content: "Click on Login Button",
Expand Down Expand Up @@ -395,14 +395,14 @@ odoo.define("website_sale_tour.tour", function (require) {
"Check selected billing address is same as typed in previous step",
trigger:
"#shipping_and_billing:contains(SO1 Billing Street Edited, 33):contains(SO1BillingCityEdited):contains(Afghanistan)",
run: function () {}, // It's a check
isChecked: true,
},
{
content:
"Check selected shipping address is same as typed in previous step",
trigger:
"#shipping_and_billing:contains(SO2New Shipping Street, 5):contains(SO2NewShipping):contains(Afghanistan)",
run: function () {}, // It's a check
isChecked: true,
},
{
content: "Select `Wire Transfer` payment method",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</field>
</record>
<record model="ir.ui.view" id="product_product_website_tree_view">
<field name="name">product.product.website.inherit.view.tree</field>
<field name="name">product.product.website.inherit.view.list</field>
<field name="model">product.product</field>
<field name="inherit_id" ref="website_sale.product_product_website_tree_view" />
<field name="arch" type="xml">
Expand All @@ -36,7 +36,7 @@
</field>
</record>
<record model="ir.ui.view" id="product_template_view_tree">
<field name="name">product_template_view_tree.view.tree</field>
<field name="name">product_template_view_tree.view.list</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="website_sale.product_template_view_tree" />
<field name="arch" type="xml">
Expand Down

0 comments on commit 11d4d9e

Please sign in to comment.