[IMP] base, res_currency: changed the type of name of res_currency_rate from date to datetime for those who need to update the rate of a currency several times per day

bzr revid: qdp-launchpad@openerp.com-20131028140333-nmvm07ay5xllo2zi
This commit is contained in:
Quentin (OpenERP) 2013-10-28 15:03:33 +01:00
parent f312303734
commit d6e3f655b5
1 changed files with 2 additions and 2 deletions

View File

@ -249,8 +249,8 @@ class res_currency_rate(osv.osv):
_description = "Currency Rate"
_columns = {
'name': fields.date('Date', required=True, select=True),
'rate': fields.float('Rate', digits=(12,6), help='The rate of the currency to the currency of rate 1'),
'name': fields.datetime('Date', required=True, select=True),
'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"),
}