[IMP] hr_timesheet_sheet: timesheet report now uses decimal.precision
bzr revid: olt@tinyerp.com-20101005114409-kc22r86oduvc2qs6
This commit is contained in:
parent
ae5b993dce
commit
73b83e84c5
|
@ -21,6 +21,8 @@
|
|||
|
||||
import tools
|
||||
from osv import fields,osv
|
||||
from decimal_precision import decimal_precision as dp
|
||||
|
||||
|
||||
class timesheet_report(osv.osv):
|
||||
_name = "timesheet.report"
|
||||
|
@ -53,7 +55,7 @@ class timesheet_report(osv.osv):
|
|||
('confirm','Confirmed'),
|
||||
('done','Done')], 'State', readonly=True),
|
||||
'quantity': fields.float('#Quantity',readonly=True),
|
||||
'cost': fields.float('#Cost',readonly=True),
|
||||
'cost': fields.float('#Cost',readonly=True, digits_compute=dp.get_precision('Account')),
|
||||
}
|
||||
|
||||
def init(self, cr):
|
||||
|
|
Loading…
Reference in New Issue