[MIG] hr_usability: migrate to 18.0
This commit is contained in:
0
hr_usability/__init__.py
Normal file
0
hr_usability/__init__.py
Normal file
30
hr_usability/__manifest__.py
Normal file
30
hr_usability/__manifest__.py
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||||
|
|
||||||
|
{
|
||||||
|
"name": "hr_usability Elabore",
|
||||||
|
"version": "18.0.1.0.0",
|
||||||
|
"depends": [
|
||||||
|
"base",
|
||||||
|
"hr",
|
||||||
|
"hr_holidays",
|
||||||
|
],
|
||||||
|
"author": "Élabore",
|
||||||
|
"category": "Human Resources/Employees",
|
||||||
|
"summary": "In times off type form view, add 'create_calendar_meeting' field",
|
||||||
|
"description": """
|
||||||
|
|
||||||
|
Go to Times off app > "Setings" > "Type time off"
|
||||||
|
Select a type
|
||||||
|
The 'create_calendar_meeting' is check by default
|
||||||
|
Uncheck it if do not want to display times off in the calendar
|
||||||
|
|
||||||
|
One the checkbox is unchecked for a time off type, the next approuved times off (of that type) won't be created as a meeting and won't appear in the calendar
|
||||||
|
|
||||||
|
""",
|
||||||
|
"data": [
|
||||||
|
"views/hr_leave_type_views.xml",
|
||||||
|
],
|
||||||
|
"demo": [],
|
||||||
|
"application": False,
|
||||||
|
"license": "LGPL-3",
|
||||||
|
}
|
||||||
13
hr_usability/views/hr_leave_type_views.xml
Normal file
13
hr_usability/views/hr_leave_type_views.xml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo>
|
||||||
|
<record id="hr_leave_type_form_inherit" model="ir.ui.view">
|
||||||
|
<field name="name">hr.leave.type.form.inherit</field>
|
||||||
|
<field name="model">hr.leave.type</field>
|
||||||
|
<field name="inherit_id" ref="hr_holidays.edit_holiday_status_form"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<xpath expr="//field[@name='color']" position="before">
|
||||||
|
<field name="create_calendar_meeting"/>
|
||||||
|
</xpath>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
</odoo>
|
||||||
Reference in New Issue
Block a user