[13.0][MIG] report_batch
parent
45d3686a7b
commit
57a1916a20
|
@ -5,13 +5,13 @@
|
||||||
{
|
{
|
||||||
"name": "Batch Report Printing",
|
"name": "Batch Report Printing",
|
||||||
"summary": "Ability to print multiple QWeb reports in a single batch.",
|
"summary": "Ability to print multiple QWeb reports in a single batch.",
|
||||||
"version": "11.0.1.0.0",
|
"version": "13.0.1.0.0",
|
||||||
"license": "AGPL-3",
|
"license": "AGPL-3",
|
||||||
"author": "Open Source Integrators, Odoo Community Association (OCA)",
|
"author": "Open Source Integrators, Odoo Community Association (OCA)",
|
||||||
"category": "Reporting",
|
"category": "Reporting",
|
||||||
"website": "http://www.opensourceintegrators.com",
|
"website": "http://www.opensourceintegrators.com",
|
||||||
"depends": ["stock",],
|
"depends": ["stock"],
|
||||||
"data": ["security/ir.model.access.csv", "views/ir_action_report_view.xml",],
|
"data": ["security/ir.model.access.csv", "views/ir_action_report_view.xml"],
|
||||||
"installable": True,
|
"installable": True,
|
||||||
"maintainers": ["bodedra"],
|
"maintainers": ["bodedra"],
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,7 +106,6 @@ class IrActionsReport(models.Model):
|
||||||
report._generate_batch_qweb_report()
|
report._generate_batch_qweb_report()
|
||||||
return res
|
return res
|
||||||
|
|
||||||
@api.multi
|
|
||||||
def write(self, vals):
|
def write(self, vals):
|
||||||
res = super(IrActionsReport, self).write(vals)
|
res = super(IrActionsReport, self).write(vals)
|
||||||
if "subreport_ids" in vals or "model" in vals:
|
if "subreport_ids" in vals or "model" in vals:
|
||||||
|
|
|
@ -39,7 +39,6 @@
|
||||||
<field name="name">Batch Reports</field>
|
<field name="name">Batch Reports</field>
|
||||||
<field name="type">ir.actions.act_window</field>
|
<field name="type">ir.actions.act_window</field>
|
||||||
<field name="res_model">ir.actions.report.subreport</field>
|
<field name="res_model">ir.actions.report.subreport</field>
|
||||||
<field name="view_type">form</field>
|
|
||||||
<field name="help">Allows to add multi QWeb reports in a single batch</field>
|
<field name="help">Allows to add multi QWeb reports in a single batch</field>
|
||||||
</record>
|
</record>
|
||||||
<menuitem
|
<menuitem
|
||||||
|
|
Loading…
Reference in New Issue