[IMP]add field currency_id in res_country

bzr revid: hsa@tinyerp.com-20120720060656-wbdj7fx46oskxbe0
This commit is contained in:
Hardik
2012-07-20 11:36:56 +05:30
parent 38d732573f
commit 6f87b8efcd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)',
+1 -1
View File
@@ -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>