diff --git a/app_base_chinese/__manifest__.py b/app_base_chinese/__manifest__.py index 2ea28c81..0bf22671 100644 --- a/app_base_chinese/__manifest__.py +++ b/app_base_chinese/__manifest__.py @@ -56,6 +56,7 @@ 'post_init_hook': 'post_init_hook', 'depends': [ 'app_base', + 'base_address_extended', 'account', 'sales_team', 'stock', diff --git a/app_base_chinese/data/res_country_data.xml b/app_base_chinese/data/res_country_data.xml index 69abe44f..6a046c5d 100644 --- a/app_base_chinese/data/res_country_data.xml +++ b/app_base_chinese/data/res_country_data.xml @@ -3,7 +3,9 @@ - + + + diff --git a/app_base_chinese/static/src/scss/app_style.scss b/app_base_chinese/static/src/scss/app_style.scss index 39bfb17d..aa406454 100644 --- a/app_base_chinese/static/src/scss/app_style.scss +++ b/app_base_chinese/static/src/scss/app_style.scss @@ -1,26 +1,27 @@ -.o_form_view .o_address_format { +.o_form_view .o_address_format.o_address_chinese { .o_address_country { display: -webkit-inline-flex; display: inline-flex; - width: 48%; + width: 38%; margin-right: 2%; } } -.o_form_view.o_form_editable .o_address_format { - div.o_address_state { - width: 50%; - margin-right: 0; + +.o_form_view .o_form_editable .o_address_format.o_address_chinese { + .o_address_zip{ + width: 38%; + margin-right: 2%; + } + .o_address_state { + width: 38%; + margin-right: 2%; } .o_address_city{ - width: 48%; + width: 38%; margin-right: 2%; } .o_address_city_id{ - width: 48%; + width: 38%; margin-right: 2%; } - input.o_address_zip{ - width: 50%; - margin-right: 0; - } } diff --git a/app_base_chinese/views/res_partner_views.xml b/app_base_chinese/views/res_partner_views.xml index d0aaa83f..f29ccbf2 100644 --- a/app_base_chinese/views/res_partner_views.xml +++ b/app_base_chinese/views/res_partner_views.xml @@ -9,128 +9,61 @@ - + - + - - - - - + - + - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - [] + [] + -
-
+
+ +
+
+ +
- - - - app.res.partner.form.address + + + app.res.partner.form.chinese res.partner - + - - - - - - - - - - - - - - - - - - - - app.res.partner.form - res.partner - - - - - - - - - - - - - - - - - - - app.res.partner.view.form.private - res.partner - - - - - - - - - - - - - - +
+ + + +
+ + +
+ + + + + +
@@ -156,7 +89,8 @@
  • - Credit: + Credit: +