summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/approval_retur_picking.xml
blob: 5ce28e20be51bc579f10d149cc2eb9f6cc3a1db2 (plain)
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
<odoo>
    <!-- Form View for Stock Return Note Wizard -->
    <record id="view_stock_return_note_form" model="ir.ui.view">
        <field name="name">approval.retur.picking.form</field>
        <field name="model">approval.retur.picking</field>
        <field name="arch" type="xml">
            <form string="Add Return Note">
                <group>
                    <span>Ask Approval Retur?</span>
                </group>
                <footer>
                    <button name="action_confirm_note_return" string="Confirm" type="object" class="btn-primary"/>
                    <button string="Cancel" class="btn-secondary" special="cancel"/>
                </footer>
            </form>
        </field>
    </record>

    <!-- Action to Open the Wizard -->
    <record id="action_stock_return_note_wizard" model="ir.actions.act_window">
        <field name="name">Add Return Note</field>
        <field name="res_model">approval.retur.picking</field>
        <field name="view_mode">form</field>
        <field name="view_id" ref="view_stock_return_note_form"/>
        <field name="target">new</field>
    </record>
</odoo>