~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to unifield_setup/installer/payroll_view.xml

  • Committer: Olivier DOSSMANN
  • Date: 2013-05-31 14:22:09 UTC
  • mto: This revision was merged to the branch mainline in revision 1687.
  • Revision ID: od@tempo-consulting.fr-20130531142209-sbcwvzuema11guzz
UF-1991 [FIX] Problem with wizard on "msg" field. Change it to "name".

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<openerp>
 
2
  <data>
 
3
    <record id="view_payroll_setup" model="ir.ui.view">
 
4
      <field name="name">Payroll Configuration</field>
 
5
      <field name="model">payroll.setup</field>
 
6
      <field name="type">form</field>
 
7
      <field name="inherit_id" ref="base.res_config_view_base"/>
 
8
      <field name="arch" type="xml">
 
9
        <data>
 
10
          <form position="attributes">
 
11
            <attribute name="string">Activate the Payroll configuration</attribute>
 
12
          </form>
 
13
          <xpath expr="//label[@string='description']" position="attributes">
 
14
                <attribute name="string">Determines if the system will manage payrolls.</attribute>
 
15
          </xpath>
 
16
          <xpath expr='//separator[@string="title"]' position='attributes'>
 
17
                    <attribute name='string'>Activate the Payroll feature</attribute>
 
18
          </xpath>
 
19
          <xpath expr='//separator[@string="vsep"]' position='attributes'>
 
20
                    <attribute name='rowspan'>25</attribute>
 
21
                    <attribute name='string'></attribute>
 
22
          </xpath>
 
23
          <group string="res_config_contents" position="replace">
 
24
              <group colspan="5">
 
25
                <field name="payroll_ok" />
 
26
              </group>
 
27
           </group>
 
28
        </data>
 
29
      </field>
 
30
    </record>
 
31
 
 
32
    <record id="action_payroll_setup" model="ir.actions.act_window">
 
33
      <field name="name">Activate the payroll feature</field>
 
34
      <field name="type">ir.actions.act_window</field>
 
35
      <field name="res_model">payroll.setup</field>
 
36
      <field name="view_id" ref="view_payroll_setup"/>
 
37
      <field name="view_type">form</field>
 
38
      <field name="view_mode">form</field>
 
39
      <field name="target">new</field>
 
40
    </record>
 
41
 
 
42
    <record id="payroll_setup_todo" model="ir.actions.todo">
 
43
        <field name="action_id" ref="action_payroll_setup"/>
 
44
        <field name="sequence">15</field>
 
45
        <field name="restart">always</field>
 
46
    </record>
 
47
  </data>
 
48
</openerp>