File: invoice.xml

package info (click to toggle)
tryton-modules-account-deposit 5.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 392 kB
  • sloc: python: 434; xml: 308; makefile: 6; sh: 3
file content (34 lines) | stat: -rw-r--r-- 1,567 bytes parent folder | download | duplicates (2)
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
<?xml version="1.0"?>
<!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
    <data>
        <record model="ir.action.wizard" id="wizard_recall_deposit">
            <field name="name">Recall Deposit</field>
            <field name="wiz_name">account.invoice.recall_deposit</field>
            <field name="model">account.invoice</field>
        </record>

        <record model="ir.ui.view" id="recall_deposit_start_view_form">
            <field name="model">account.invoice.recall_deposit.start</field>
            <field name="type">form</field>
            <field name="name">recall_deposit_form</field>
        </record>

        <record model="ir.ui.view" id="invoice_view_form">
            <field name="model">account.invoice</field>
            <field name="inherit" ref="account_invoice.invoice_view_form"/>
            <field name="name">invoice_form</field>
        </record>
        <record model="ir.model.button" id="invoice_recall_deposit_button">
            <field name="name">recall_deposit</field>
            <field name="string">Recall Deposit</field>
            <field name="model" search="[('model', '=', 'account.invoice')]"/>
        </record>
        <record model="ir.model.button-res.group"
                id="invoice_recall_deposit_button_group_account">
            <field name="button" ref="invoice_recall_deposit_button"/>
            <field name="group" ref="account.group_account"/>
        </record>
    </data>
</tryton>