[ADD]:Flectra alpha3 iso country code field added
This commit is contained in:
parent
5dc9d9a6d6
commit
5ad248a3e7
@ -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