mirror of
https://github.com/bringout/oca-ocb-hr.git
synced 2026-04-25 00:32:01 +02:00
19.0 vanilla
This commit is contained in:
parent
a1137a1456
commit
e1d89e11e3
2789 changed files with 1093187 additions and 605897 deletions
|
|
@ -2,46 +2,45 @@
|
|||
<odoo>
|
||||
<data>
|
||||
<record id="hr_work_location_tree_view" model="ir.ui.view">
|
||||
<field name="name">hr.work.location.view.tree</field>
|
||||
<field name="name">hr.work.location.view.list</field>
|
||||
<field name="model">hr.work.location</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Work Location">
|
||||
<field name="active" invisible="1" />
|
||||
<list string="Work Location">
|
||||
<field name="active" column_invisible="True" />
|
||||
<field name="name" />
|
||||
<field name="address_id" />
|
||||
<field class="o_homework_icon_types d-flex flex-wrap" name="location_type"
|
||||
widget="hr_homeworking_radio_image" options="{'horizontal': true}"/>
|
||||
<field name="company_id" groups="base.group_multi_company" />
|
||||
<field name="company_id" invisible="1"/>
|
||||
</tree>
|
||||
</list>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="hr_work_location_form_view" model="ir.ui.view">
|
||||
<field name="name">hr.work.location.view.form</field>
|
||||
<field name="model">hr.work.location</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Work Location">
|
||||
<field name="company_id" invisible="1"/>
|
||||
<sheet>
|
||||
<group>
|
||||
<group>
|
||||
<field name="active" invisible="1" />
|
||||
<field name="name" />
|
||||
<field name="address_id" />
|
||||
<field name="location_number"/>
|
||||
<field class="o_homework_icon_types d-flex flex-wrap" name="location_type"
|
||||
widget="hr_homeworking_radio_image" options="{'horizontal': true}"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="company_id" groups="base.group_multi_company" />
|
||||
<field name="company_id" groups="!base.group_multi_company" invisible="1" />
|
||||
</group>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="hr_work_location_action" model="ir.actions.act_window">
|
||||
<field name="name">Work Locations</field>
|
||||
<field name="res_model">hr.work.location</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_mode">list,form</field>
|
||||
<field name="help" type="html">
|
||||
<p class="o_view_nocontent_smiling_face">
|
||||
Create a new work location
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue