[FIX] res_currency remove warning about float field

bzr revid: al@openerp.com-20120208224031-korqq1crt0u3wpuh
This commit is contained in:
Antony Lesuisse 2012-02-08 23:40:31 +01:00
parent 94145b2982
commit d8ed922e26
1 changed files with 1 additions and 2 deletions

View File

@ -233,8 +233,7 @@ class res_currency_rate(osv.osv):
_columns = {
'name': fields.date('Date', required=True, select=True),
'rate': fields.float('Rate', digits=(12,6), required=True,
help='The rate of the currency to the currency of rate 1'),
'rate': fields.float('Rate', digits=(12,6), help='The rate of the currency to the currency of rate 1'),
'currency_id': fields.many2one('res.currency', 'Currency', readonly=True),
'currency_rate_type_id': fields.many2one('res.currency.rate.type', 'Currency Rate Type', help="Allow you to define your own currency rate types, like 'Average' or 'Year to Date'. Leave empty if you simply want to use the normal 'spot' rate type"),
}