~taktik/openobject-addons/hui-extra-6.1

« back to all changes in this revision

Viewing changes to contract_base/wizard/contract_invoice_create.xml

  • Committer: openerp
  • Date: 2013-07-03 19:40:45 UTC
  • Revision ID: openerp@oerp61-20130703194045-ag6gx7w0zbphr9x5
update noviat 6.1 modules

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" ?>
 
2
<openerp>
 
3
  <data>
 
4
 
 
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."/>
 
13
          <newline/>
 
14
          <label nolabel="1" string="Only confirmed contracts will be taken into account."/>
 
15
          <newline/>
 
16
          <label nolabel="1" string=""/>
 
17
          <newline/>
 
18
          <group>
 
19
            <field name="contract_select"/>
 
20
            <newline/>
 
21
            <field name="date_invoice"/>
 
22
            <field name="period_id"/>
 
23
          </group>
 
24
          <newline/>
 
25
          <separator/>
 
26
          <newline/>
 
27
          <group>
 
28
            <button special="cancel" string="Cancel" icon="gtk-cancel"/>
 
29
            <button name="invoice_create" string="Create" type="object" icon="gtk-execute"/>
 
30
          </group>
 
31
        </form>
 
32
      </field>
 
33
    </record>
 
34
 
 
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"/>
 
44
    </record>
 
45
 
 
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"/>
 
51
    </record>
 
52
    
 
53
  </data>
 
54
</openerp>