[IMP]add field currency_id in res_country
bzr revid: hsa@tinyerp.com-20120720060656-wbdj7fx46oskxbe0
This commit is contained in:
@@ -55,7 +55,7 @@ addresses belonging to this country.\n\nYou can use the python-style string pate
|
||||
\n%(state_code)s: the code of the state
|
||||
\n%(country_name)s: the name of the country
|
||||
\n%(country_code)s: the code of the country"""),
|
||||
'currency':fields.many2one('res.currency','Currency Code'),
|
||||
'currency_id':fields.many2one('res.currency','Currency Code'),
|
||||
}
|
||||
_sql_constraints = [
|
||||
('name_uniq', 'unique (name)',
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<group>
|
||||
<group>
|
||||
<field name="name"/>
|
||||
<field name="currency"/>
|
||||
<field name="currency_id"/>
|
||||
<field name="address_format" groups="base.group_no_one"/>
|
||||
</group>
|
||||
<group>
|
||||
|
||||
Reference in New Issue
Block a user