Change how the system computes the full street field based on the different street subfields
diff --git a/odoo/addons/base/res/res_country.py b/odoo/addons/base/res/res_country.py
index ed56ae0adc7..781a4927b40 100644
--- a/odoo/addons/base/res/res_country.py
+++ b/odoo/addons/base/res/res_country.py
@@ -37,7 +37,7 @@ class Country(models.Model):
code = fields.Char(
string='Country Code', size=2,
help='The ISO country code in two chars. \nYou can use this field for quick search.')
- address_format = fields.Text(
+ address_format = fields.Text(string="Layout in Reports",
help="Display format to use for addresses belonging to this country.\n\n"
"You can use python-style string pattern with all the fields of the address "
"(for example, use '%(street)s' to display the field 'street') plus"
@@ -47,7 +47,7 @@ class Country(models.Model):
"\n%(country_code)s: the code of the country",
default='%(street)s\n%(street2)s\n%(city)s %(state_code)s %(zip)s\n%(country_name)s')
address_view_id = fields.Many2one(
- comodel_name='ir.ui.view', string="Address View",
+ comodel_name='ir.ui.view', string="Input View",
domain=[('model', '=', 'res.partner'), ('type', '=', 'form')],
help="Use this field if you want to replace the usual way to encode a complete address. "
"Note that the address_format field is used to modify the way to display addresses "
diff --git a/odoo/addons/base/res/res_country_view.xml b/odoo/addons/base/res/res_country_view.xml
index 4b7c2f5055f..170bc629631 100644
--- a/odoo/addons/base/res/res_country_view.xml
+++ b/odoo/addons/base/res/res_country_view.xml
@@ -32,9 +32,11 @@
-
-
+
+
Choose a subview of partners that includes only address fields, to change the way users can input addresses.