summaryrefslogtreecommitdiff
path: root/addons/account_check_printing/views
diff options
context:
space:
mode:
authorRavi Gohil <rgo@odoo.com>2020-03-24 06:23:07 +0000
committerRavi Gohil <rgo@odoo.com>2020-03-24 06:51:22 +0000
commitd2bd6d69d647777fffe51c22cbb324e6d27a950f (patch)
treeb93922ddda29752723c2f0c20cc3b43e0ebfafa2 /addons/account_check_printing/views
parentfd9b2590261e6caf4a8952d17db6e1ca06778140 (diff)
[IMP] account{_check_printing}: Added 'Country Code' field
Many localization modules adds field 'l10n_xx_country_code' on Company/Settings views with the purpose of using it to hide that particular localization's fields from other country's users. So, it is better to add a common field in account module so that other localization can use that field instead of adding a new one where ever it is required. Also, one such field was already added from account_check_printing module, so we removed it from there as it is not needed anymore. Task: 2049977 Closes: #35755 Related: odoo/enterprise#5158
Diffstat (limited to 'addons/account_check_printing/views')
-rw-r--r--addons/account_check_printing/views/res_config_settings_views.xml1
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/account_check_printing/views/res_config_settings_views.xml b/addons/account_check_printing/views/res_config_settings_views.xml
index e3325ae3c84..969787a7621 100644
--- a/addons/account_check_printing/views/res_config_settings_views.xml
+++ b/addons/account_check_printing/views/res_config_settings_views.xml
@@ -23,7 +23,6 @@
<label for="account_check_printing_margin_left" class="col-lg-4 o_light_label"/>
<field name="account_check_printing_margin_left"/>
</div>
- <field name="country_code" invisible="1" />
<div class="row" attrs="{'invisible': [('country_code', '!=', 'CA')]}">
<label for="account_check_printing_margin_right" class="col-lg-4 o_light_label"/>
<field name="account_check_printing_margin_right"/>