osbzr/gooderp_addons

View on GitHub
money/wizard/other_money_statements_wizard_view.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0"?>
<openerp>
    <data>
        <!--其他收支明细表向导 form-->
        <record id="other_money_statements_report_wizard_form" model="ir.ui.view">
            <field name="name">other.money.statements.report.wizard.form</field>
            <field name="model">other.money.statements.report.wizard</field>
            <field name="arch" type="xml">
                <form string="Bank Statements Report Wizard">
                    <group>
                        <group>
                            <field name="from_date"/>
                        </group>
                        <group>
                            <field name="to_date"/>
                        </group>
                    </group>
                    <footer>
                        <button name='confirm_other_money_statements' string='确定' type='object' class='oe_highlight'/>
                        或者
                        <button string='取消' class='oe_link' special='cancel'/>
                    </footer>
                </form>
            </field>
        </record>

        <!-- 其他收支明细表向导 action -->
        <record id='other_money_statements_report_wizard_action' model='ir.actions.act_window'>
            <field name='name'>其他收支明细表</field>
            <field name='res_model'>other.money.statements.report.wizard</field>
            <field name='view_type'>form</field>
            <field name='view_mode'>form</field>
            <field name='view_id' ref='other_money_statements_report_wizard_form' />
            <field name='target'>new</field>
        </record>

        <!-- 其他收支明细表向导 menu-->
        <menuitem id="report_other_money_statements_action" name="其他收支明细表"
            action="other_money_statements_report_wizard_action" parent="menu_money_report"
            groups='money.other_get_pay_groups' sequence="4"/>
    </data>
</openerp>