Add header grouping on report
issue6760 review351221002
This commit is contained in:
1 parent
7f25126322
commit
65f4f8b59c
1 file changed
+2
-3
+2
-3
@@ -411,11 +411,10 @@ class PurchaseRequestQuotationReport(CompanyReport):
|
||||
PurchaseRequestQuotationReport, cls).execute(ids, data)
|
||||
|
||||
@classmethod
|
||||
def get_context(cls, records, data):
|
||||
def get_context(cls, records, header, data):
|
||||
pool = Pool()
|
||||
Date = pool.get('ir.date')
|
||||
context = super(PurchaseRequestQuotationReport, cls).get_context(
|
||||
records, data)
|
||||
context = super().get_context(records, header, data)
|
||||
context['today'] = Date.today()
|
||||
return context
|
||||
|
||||
|
||||
Reference in new issue
Block a user