Skip to content

Commit

Permalink
[MIG] website_snippet_country_dropdown: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kaynnan committed Feb 1, 2024
1 parent 6c9e70d commit cf3cac4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion website_snippet_country_dropdown/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"name": "Website Snippet Country Code Dropdown",
"summary": "Allow to select country in a dropdown",
"version": "15.0.1.0.0",
"version": "16.0.1.0.0",
"category": "Website",
"website": "https://github.com/OCA/website",
"author": "Tecnativa, " "Odoo Community Association (OCA)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ odoo.define("website_snippet_country_dropdown.tour_demo_page", function (require
"use strict";

const tour = require("web_tour.tour");
const base = require("web_editor.base");

const country_code_test = "ES";
const vat_number_test = "B01010101";
Expand All @@ -11,7 +10,6 @@ odoo.define("website_snippet_country_dropdown.tour_demo_page", function (require
"website_snippet_country_dropdown_tour_demo_page",
{
url: "/website_snippet_country_dropdown.demo_page",
wait_for: base.ready(),
},
[
{
Expand Down
22 changes: 11 additions & 11 deletions website_snippet_country_dropdown/views/snippets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
id="btn_vat_code"
t-att-disabled="readonly"
class="btn btn-outline-secondary dropdown-toggle js_btn_country_code form-control"
data-toggle="dropdown"
data-bs-toggle="dropdown"
t-att-data-country_code="default_country.code"
>
<img
Expand Down Expand Up @@ -82,17 +82,17 @@
</a>
</t>
</div>
<input
id="country_code_field"
type="text"
size="2"
tabindex="-1"
class="input-group-text js_country_code_field"
t-att-name="country_code_field"
t-att-value="default_country.code"
readonly="1"
/>
</div>
<input
id="country_code_field"
type="text"
size="2"
tabindex="-1"
class="input-group-text js_country_code_field"
t-att-name="country_code_field"
t-att-value="default_country.code"
readonly="1"
/>
<input
id="complete_field"
type="hidden"
Expand Down

0 comments on commit cf3cac4

Please sign in to comment.