Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

how to remove a department

By
carlo
on 3/11/16, 6:25 PM 987 views

Hi, I am carlo and I have just joined this forum. Hello to everyone !

After the first trembling steps, I stumbled on the Employee module, trying to remove pre-defined Department.

How can I cancel them? I am working on Odoo 9.0, community edition. Thanks!

carlo

0

Baiju

--Baiju--
3154
| 5 4 8
Kochi, India
--Baiju--
ODOO technical and functional

        I like learning new thing, especially technical thing. I am a quick learner, I can learn technical things very fast. I have good logical skill,  I have immense interest in programming.

e-mail id : baijuks@hotmail.com

Baiju
On 3/12/16, 3:37 AM

Hi Carlo,

If you don't want get department data at time of installation you can remove that part form demo date file.

For removing Department data either you have to comment or delete following part ( from file:- hr->hr_demo.xml )

 

      <record id="dep_management" model="hr.department">
          <field name="name">Management</field>
      </record>
      <record id="dep_rd" model="hr.department">
          <field name="name">Research &amp; Development</field>
      </record>
      <record id="dep_ps" model="hr.department"
          <field name="name">Professional Services</field>
      </record>

Hope this helps.

0
carlo
On 3/12/16, 1:17 PM

SOLVED. Thank you, Baiju, for your kind reply. I worked on your suggestion but I tried to solve the problem without editing internal file, in order to keep the web interface for new settings. I finally found a trick: on the "Employee" menu, I select the "Department" sub-menu from the left bar. As I get the table with several deparments, I click on the "More" selection menu in the department I want to cancel. From "setting" we have a new page where editing on the deparment is possible. Just select "discard" and, magically, you have the "action" button, where "delete" is eligible to remove the object. It seems to work.

Thanks again, Carlo

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 3/11/16, 6:25 PM
Seen: 987 times
Last updated: 3/12/16, 1:17 PM