mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] formatting, rml fixes
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
|
||||
import time
|
||||
from openerp.report import report_sxw
|
||||
from openerp.tools import DEFAULT_SERVER_DATE_FORMAT
|
||||
|
||||
|
||||
class account_hours_block(report_sxw.rml_parse):
|
||||
@@ -28,6 +29,7 @@ class account_hours_block(report_sxw.rml_parse):
|
||||
super(account_hours_block, self).__init__(cr, uid, name, context=context)
|
||||
self.localcontext.update({
|
||||
'time': time,
|
||||
'date_format': DEFAULT_SERVER_DATE_FORMAT,
|
||||
'analytic_lines': self._get_analytic_lines,
|
||||
})
|
||||
self.context = context
|
||||
|
||||
Reference in New Issue
Block a user