action.xml 1.8 KB
Newer Older
François C. committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
<?xml version="1.0"?>
<!--
    Copyright (C) 2016-Today: La Louve (<http://www.lalouve.net/>)
    @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
    License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->

<odoo>

    <record model="ir.actions.act_window" id="action_capital_fundraising">
        <field name="name">Fundraisings</field>
        <field name="type">ir.actions.act_window</field>
        <field name="res_model">capital.fundraising</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,form</field>
    </record>

    <record model="ir.actions.act_window" id="action_capital_fundraising_category">
        <field name="name">Fundraising Categories</field>
        <field name="type">ir.actions.act_window</field>
        <field name="res_model">capital.fundraising.category</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,form</field>
    </record>

    <record model="ir.actions.act_window" id="action_capital_fundraising_partner_type">
        <field name="name">Fundraising Partner Types</field>
        <field name="type">ir.actions.act_window</field>
        <field name="res_model">capital.fundraising.partner.type</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,form</field>
        <field name="groups_id" eval="[(4, ref('manage_fundraising_partner_type'))]" />
    </record>

    <record model="ir.actions.act_window" id="action_capital_fundraising_wizard">
        <field name="name">Wizard</field>
        <field name="type">ir.actions.act_window</field>
        <field name="res_model">capital.fundraising.wizard</field>
        <field name="view_type">form</field>
        <field name="view_mode">form</field>
        <field name="target">new</field>
    </record>

</odoo>