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">
10
<form position="attributes">
11
<attribute name="string">Activate the Payroll configuration</attribute>
13
<xpath expr="//label[@string='description']" position="attributes">
14
<attribute name="string">Determines if the system will manage payrolls.</attribute>
16
<xpath expr='//separator[@string="title"]' position='attributes'>
17
<attribute name='string'>Activate the Payroll feature</attribute>
19
<xpath expr='//separator[@string="vsep"]' position='attributes'>
20
<attribute name='rowspan'>25</attribute>
21
<attribute name='string'></attribute>
23
<group string="res_config_contents" position="replace">
25
<field name="payroll_ok" />
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>
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>