5
<record id="contract_invoice_create_view" model="ir.ui.view">
6
<field name="name">Create Invoices</field>
7
<field name="model">contract.invoice.create</field>
8
<field name="type">form</field>
9
<field name="priority">1</field>
10
<field name="arch" type="xml">
11
<form string="Create Invoices">
12
<label nolabel="1" string="Create invoices for the selected contracts."/>
14
<label nolabel="1" string="Only confirmed contracts will be taken into account."/>
16
<label nolabel="1" string=""/>
19
<field name="contract_select"/>
21
<field name="date_invoice"/>
22
<field name="period_id"/>
28
<button special="cancel" string="Cancel" icon="gtk-cancel"/>
29
<button name="invoice_create" string="Create" type="object" icon="gtk-execute"/>
35
<record id="action_contract_invoice_create" model="ir.actions.act_window">
36
<field name="name">Create Invoices</field>
37
<field name="type">ir.actions.act_window</field>
38
<field name="res_model">contract.invoice.create</field>
39
<field name="view_type">form</field>
40
<field name="view_mode">form</field>
41
<field name="multi" eval="0"/>
42
<field name="target">new</field>
43
<field name="view_id" ref="contract_invoice_create_view"/>
46
<record id="contract_invoice_create_ir_value" model="ir.values">
47
<field name="key2">client_action_multi</field>
48
<field name="model">contract.document</field>
49
<field name="name">Create Invoices</field>
50
<field name="value" eval="'ir.actions.act_window,%d'%action_contract_invoice_create"/>