42 lines
1.5 KiB
XML
42 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<flectra>
|
|
|
|
<record id="account_common_report_view" model="ir.ui.view">
|
|
<field name="name">Common Report</field>
|
|
<field name="model">account.common.report</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Report Options">
|
|
<field name="company_id" invisible="1"/>
|
|
<group col="4">
|
|
<field name="target_move" widget="radio"/>
|
|
<field name="date_from"/>
|
|
<field name="date_to"/>
|
|
</group>
|
|
<group col="2">
|
|
<group>
|
|
<field name="branch_id" groups="base_branch_company.group_multi_branch"/>
|
|
</group>
|
|
|
|
</group>
|
|
<group>
|
|
<field name="journal_ids" widget="many2many_tags" options="{'no_create': True}"/>
|
|
</group>
|
|
<footer>
|
|
<button name="check_report" string="Print" type="object" default_focus="1" class="oe_highlight"/>
|
|
<button string="Cancel" class="btn btn-default" special="cancel" />
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_account_common_menu" model="ir.actions.act_window">
|
|
<field name="name">Common Report</field>
|
|
<field name="res_model">account.common.report</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="view_id" ref="account_common_report_view"/>
|
|
<field name="target">new</field>
|
|
</record>
|
|
|
|
</flectra>
|