summaryrefslogtreecommitdiff
path: root/addons/hr_work_entry/data
diff options
context:
space:
mode:
authorlbs-odoo <lbs@odoo.com>2019-06-17 11:14:38 +0000
committerYannick Tivisse <yti@odoo.com>2019-07-05 07:40:06 +0000
commit981907fd43a0c589a0dcd9653b0eb06faa1f62c2 (patch)
treedab0839363ad8b275274264d41b38ab6df38df47 /addons/hr_work_entry/data
parent3fc2a27808ca4e4ce74884580543e70537d5ce3b (diff)
[ADD] hr_work_entry: Move work entries mechanism into its own module
Purpose ======= We would like to re-use the work entries in the attendance module. As hr_attendance is not dependant on hr_payroll, we move the whole mechanism into its own module. This could be reused too into others modules, like forecasting or whatever. TaskID: 1904850 closes odoo/odoo#34434 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/hr_work_entry/data')
-rw-r--r--addons/hr_work_entry/data/hr_work_entry_data.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/addons/hr_work_entry/data/hr_work_entry_data.xml b/addons/hr_work_entry/data/hr_work_entry_data.xml
new file mode 100644
index 00000000000..f4d2a6fb1fd
--- /dev/null
+++ b/addons/hr_work_entry/data/hr_work_entry_data.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+ <data noupdate="0">
+
+ <!-- Work Entry Type -->
+ <record id="work_entry_type_attendance" model="hr.work.entry.type">
+ <field name="name">Attendance</field>
+ <field name="color">0</field>
+ <field name="code">WORK100</field>
+ </record>
+
+ </data>
+</odoo>