Skip to content

Commit

Permalink
[FIX] product, website_sale: Go in GB (Go is fr)
Browse files Browse the repository at this point in the history
  • Loading branch information
beledouxdenis committed Jun 26, 2014
1 parent e399214 commit 368936d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions addons/product/product_demo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ HDD SH-1</field>
<field name="name">Memory</field>
</record>
<record id="product_attribute_value_1" model="product.attribute.value">
<field name="name">16 Go</field>
<field name="name">16 GB</field>
<field name="attribute_id" ref="product_attribute_1"/>
</record>
<record id="product_attribute_value_2" model="product.attribute.value">
<field name="name">32 Go</field>
<field name="name">32 GB</field>
<field name="attribute_id" ref="product_attribute_1"/>
</record>

Expand Down
18 changes: 9 additions & 9 deletions addons/website_sale/static/src/js/website.tour.sale.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
element: "#customize-menu a:contains(Product Attribute's Filters)",
},
{
title: "select product attribute memory 16 Go",
element: 'form.js_attributes label:contains(16 Go) input:not(:checked)',
title: "select product attribute memory 16 GB",
element: 'form.js_attributes label:contains(16 GB) input:not(:checked)',
},
{
title: "check the selection",
waitFor: 'form.js_attributes label:contains(16 Go) input:checked',
waitFor: 'form.js_attributes label:contains(16 GB) input:checked',
},
{
title: "select ipod",
Expand All @@ -32,7 +32,7 @@
},
{
title: "finish",
waitFor: 'label:contains(32 Go) input',
waitFor: 'label:contains(32 GB) input',
}
]
});
Expand All @@ -48,13 +48,13 @@
element: '.oe_product_cart a:contains("iPod")',
},
{
title: "select ipod 32Go",
title: "select ipod 32GB",
waitFor: '#product_detail',
element: 'label:contains(32 Go) input',
element: 'label:contains(32 GB) input',
},
{
title: "click on add to cart",
waitFor: 'label:contains(32 Go) input[checked]',
waitFor: 'label:contains(32 GB) input[checked]',
element: 'form[action="/shop/cart/update"] .btn',
},
{
Expand All @@ -65,11 +65,11 @@
{
title: "add one more iPod",
waitFor: '.my_cart_quantity:contains(2)',
element: '#cart_products tr:contains("32 Go") a.js_add_cart_json:eq(1)',
element: '#cart_products tr:contains("32 GB") a.js_add_cart_json:eq(1)',
},
{
title: "remove Headphones",
waitFor: '#cart_products tr:contains("32 Go") input.js_quantity[value=2]',
waitFor: '#cart_products tr:contains("32 GB") input.js_quantity[value=2]',
element: '#cart_products tr:contains("Apple In-Ear Headphones") a.js_add_cart_json:first',
},
{
Expand Down

0 comments on commit 368936d

Please sign in to comment.