|
@ -2,6 +2,13 @@ |
|
|
<openerp> |
|
|
<openerp> |
|
|
<data> |
|
|
<data> |
|
|
|
|
|
|
|
|
|
|
|
<template id="assets_backend" name="mis_builder" inherit_id="web.assets_backend"> |
|
|
|
|
|
<xpath expr="." position="inside"> |
|
|
|
|
|
<link rel="stylesheet" href="/mis_builder/static/src/css/custom.css"/> |
|
|
|
|
|
<script type="text/javascript" src="/mis_builder/static/src/js/mis_builder.js"></script> |
|
|
|
|
|
</xpath> |
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="mis_report_view_tree"> |
|
|
<record model="ir.ui.view" id="mis_report_view_tree"> |
|
|
<field name="name">mis.report.view.tree</field> |
|
|
<field name="name">mis.report.view.tree</field> |
|
|
<field name="model">mis.report</field> |
|
|
<field name="model">mis.report</field> |
|
@ -69,7 +76,7 @@ |
|
|
<field name="model">mis.report.instance</field> |
|
|
<field name="model">mis.report.instance</field> |
|
|
<field name="type">ir.actions.report.xml</field> |
|
|
<field name="type">ir.actions.report.xml</field> |
|
|
<field name="report_name">mis.report.instance.xls</field> |
|
|
<field name="report_name">mis.report.instance.xls</field> |
|
|
<field name="report_type">xls</field> |
|
|
|
|
|
|
|
|
<!--field name="report_type">xls</field--> |
|
|
<field name="auto" eval="False"/> |
|
|
<field name="auto" eval="False"/> |
|
|
</record> |
|
|
</record> |
|
|
|
|
|
|
|
@ -80,7 +87,7 @@ |
|
|
<field name="arch" type="xml"> |
|
|
<field name="arch" type="xml"> |
|
|
<form string="MIS Report Result" version="7.0"> |
|
|
<form string="MIS Report Result" version="7.0"> |
|
|
<widget type="mis_report"></widget> |
|
|
<widget type="mis_report"></widget> |
|
|
<button icon="gtk-execute" name="%(xls_export)d" string="Export" type="action" colspan="2"/> |
|
|
|
|
|
|
|
|
<!--button icon="gtk-execute" name="%(xls_export)d" string="Export" type="action" colspan="2"/--> |
|
|
</form> |
|
|
</form> |
|
|
</field> |
|
|
</field> |
|
|
</record> |
|
|
</record> |
|
|