~camptocamp/c2c-rd-addons/7.0

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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
  <data>
    <!-- fiscal year -->
    <record model="ir.ui.view" id="account_fiscalyear_seq_view_tree">
      <field name="name">account.fiscalyear.sequ_code.view.tree</field>
      <field name="model">account.fiscalyear</field>
      <field name="inherit_id" ref="account.view_account_fiscalyear_tree"/>
      <field name="type">form</field>
      <field name="arch" type="xml">
        <field name="code" position="after">
          <field name="sequence_code"/>
        </field>
      </field>
    </record>
    <record model="ir.ui.view" id="account_fiscalyear_seq_view_form">
      <field name="name">account.fiscalyear.sequ_code.view.form</field>
      <field name="model">account.fiscalyear</field>
      <field name="inherit_id" ref="account.view_account_fiscalyear_form"/>
      <field name="type">form</field>
      <field name="arch" type="xml">
        <field name="code" position="after">
          <field name="sequence_code"/>
        </field>
      </field>
    </record>
    <!-- sequence type -->
    <record model="ir.ui.view" id="c2c_sequence_type_form_view">
      <field name="name">sequence.type.view.form</field>
      <field name="model">ir.sequence.type</field>
      <field name="inherit_id" ref="base.sequence_type_form_view"/>
      <field name="type">form</field>
      <field name="arch" type="xml">
        <field name="code" position="after">
          <field name="prefix"/>
          <field name="suffix"/>
          <field name="name_template"/>
          <field name="create_sequence"/>
        </field>
      </field>
    </record>
    <record model="ir.ui.view" id="c2c_sequence_type_tree_view">
      <field name="name">sequence.type.view.tree</field>
      <field name="model">ir.sequence.type</field>
      <field name="inherit_id" ref="base.sequence_type_tree_view"/>
      <field name="type">form</field>
      <field name="arch" type="xml">
        <field name="code" position="after">
          <field name="prefix"/>
          <field name="suffix"/>
          <field name="name_template"/>
          <field name="create_sequence"/>
        </field>
      </field>
    </record>
    <!-- sequence -->
    <record model="ir.ui.view" id="sequence_view_fy_form">
      <field name="name">sequence.view.fy.form</field>
      <field name="model">ir.sequence</field>
      <field name="inherit_id" ref="base.sequence_view"/>
      <field name="type">form</field>
      <field name="arch" type="xml">
        <label colspan="4" string="Current Year with Century: %%(year)s" position="before">
          <label colspan="4" string="Current Fiscal Year: %%(fy)s (see sequence code in fiscalyear)"/>
        </label>
      </field>
    </record>
    <!-- journal -->
    <record model="ir.ui.view" id="account_journal_tree_c2c">
      <field name="name">account.journal.tree.c2c</field>
      <field name="model">account.journal</field>
      <field name="inherit_id" ref="account.view_account_journal_tree"/>
      <field name="type">form</field>
      <field name="arch" type="xml">
        <field colspan="4" name="type" position="after">
          <field name="create_sequence"/>
        </field>
      </field>
    </record>
    <record model="ir.ui.view" id="account_journal_form_c2c">
      <field name="name">account.journal.form.c2c</field>
      <field name="model">account.journal</field>
      <field name="inherit_id" ref="account.view_account_journal_form"/>
      <field name="type">form</field>
      <field name="arch" type="xml">
        <field colspan="4" name="sequence_id" position="after">
          <field name="create_sequence"/>
        </field>
      </field>
    </record>
  </data>
</openerp>