249
249
_description = "Currency Rate"
252
'name': fields.date('Date', required=True, select=True),
253
'rate': fields.float('Rate', digits=(12,6), help='The rate of the currency to the currency of rate 1'),
252
'name': fields.datetime('Date', required=True, select=True),
253
'rate': fields.float('Rate', digits=(12, 6), help='The rate of the currency to the currency of rate 1'),
254
254
'currency_id': fields.many2one('res.currency', 'Currency', readonly=True),
255
255
'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"),