Merge branch '1.0-sheetal' into 'master'
[ADD]:Alpha3 iso country code field for res.country See merge request flectra-hq/flectra!21
This commit is contained in:
commit
75b675cb95
@ -37,6 +37,10 @@ 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.')
|
||||
iso_code3 = fields.Char(
|
||||
string='ISO Country Code', size=3,
|
||||
help='The ISO country code in three chars. \nYou can use this field '
|
||||
'for quick search.')
|
||||
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 "
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -11,6 +11,7 @@
|
||||
<tree string="Country">
|
||||
<field name="name"/>
|
||||
<field name="code"/>
|
||||
<field name="iso_code3"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
@ -28,6 +29,7 @@
|
||||
<field name="name"/>
|
||||
<field name="currency_id"/>
|
||||
<field name="code"/>
|
||||
<field name="iso_code3"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="phone_code"/>
|
||||
|
Loading…
Reference in New Issue
Block a user