summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamin Shah <jas@openerp.com>2015-04-10 14:58:52 +0530
committerThibault Delavallée <tde@openerp.com>2015-06-09 16:10:59 +0200
commit1ca9cf9bea5fac348027afeafcbf9f7d8e56be3e (patch)
tree83513697d064b6a2aff337735bc58af2f5bd8dbb
parentfa74065a936dc86cb1454aa70c23d65474e69327 (diff)
[IMP] hr: move sales and administration departments
from demo to data. Indeed when installing the HR module people expects some basic data for their daily management: sales and administration are basic departments used in every company.
-rw-r--r--addons/hr/hr_data.xml7
-rw-r--r--addons/hr/hr_demo.xml8
2 files changed, 7 insertions, 8 deletions
diff --git a/addons/hr/hr_data.xml b/addons/hr/hr_data.xml
index 5d011cc7554..c27fb2f3390 100644
--- a/addons/hr/hr_data.xml
+++ b/addons/hr/hr_data.xml
@@ -21,5 +21,12 @@ Leave Management (keep track of employee leaves), Expense Management (manage emp
<field name="image" type="base64" file="hr/static/img/employee-image.png"/>
</record>
+ <record id="dep_administration" model="hr.department">
+ <field name="name">Administration</field>
+ </record>
+ <record id="dep_sales" model="hr.department">
+ <field name="name">Sales</field>
+ </record>
+
</data>
</openerp>
diff --git a/addons/hr/hr_demo.xml b/addons/hr/hr_demo.xml
index 52df7ad3bb1..1a371c0fcfc 100644
--- a/addons/hr/hr_demo.xml
+++ b/addons/hr/hr_demo.xml
@@ -18,14 +18,6 @@
<field name="name">Professional Services</field>
</record>
- <record id="dep_administration" model="hr.department">
- <field name="name">Administration</field>
- </record>
-
- <record id="dep_sales" model="hr.department">
- <field name="name">Sales</field>
- </record>
-
<!--Jobs-->
<record id="job_ceo" model="hr.job">