Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

Leave approval workflow OpenERPv7

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
managementleaveaccessrightsapproval
1 Răspunde
11836 Vizualizări
Imagine profil
Noel Nuguid

Hi I'm having a hard time trying to work out the permissions for the Human Resources module of OpenERPv7 when it comes to the Leave Management Workflow.

Let say I have a Department with the following employees:

Manager01 - Manager of the Department Employee01 - First Employee on the same department

I've initially set both Manager01 and Employee01 as Employee in the access rights for Human Resources. I also set Manager01 as Employee01's manager in the employee directory and set both persons in the same department. So the problem here is that if Employee01 submits a leave request, Manager01 wont be able to the request because the "Leave Requets to Approve" is not visible at the Employee access level.

Now, I tried upgrading the access right of Manager01 to HR Officer and Lo and Behold! He now have access to Employee01's leave request to approve or refuse as he deems fit.

But with Manager01 having HR office access rights, he can now do a lot more than approve leaves such as:

Create Applications (using the recruitment module) and ACTUALLY Hire the applicatant. Create payslips for the Employees Edit his own attendance entries.

I was underthe impression that the above privileges should not be given to department Manager.

Am missing a setting that I should be configuring?

1
Imagine profil
Abandonează
Imagine profil
Mike Telahun
Cel mai bun răspuns

The leave approval process in the hr_holidays module is a pretty basic one. An employee's leave can only be approved by a user in the HR Officer group (or higher). So, if you want to involve the employee's manager in the process you can either: 1) Give the manager HR Officer access or 2) Create your own (fairly sophisticated) module to override the default workflow

My "very rough" outline for how #2 would work:

1. Create a separate group called group_department_manager
2. Attach this group to the appropriate workflow transition
3. Add all department managers to this group
4. Modify 'ir.model.access' rules restricting access to 'hr.holidays'
4. Create 'ir.rule' object for 'hr.holidays' that would allow a user to only read/write records for users that are under him in the employee hierarchy
0
Imagine profil
Abandonează
Hussain Behestee

Can you please give the code here for domain? It will be a great help for me

Paul Strinati

Hi - I tried duplicating the HR/Office role (HR/Leave Approver), with the idea of removing Access Rights & Menu items from this new group until I have what I need to allow department managers to approve leave. However, before I even start removing Access Rights or Menus, my newly created HR/Leave Approver group is unable to approve leave requests (even though it is a duplicate of the HR/Officer group). Any idea what I have missed? How do you 'attach a group to a workflow transition', and which transition is the appropriate one? Sorry - am new to this...!

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Automatic leave approval (depending on type of employee)
management automatic leaves leave approval
Imagine profil
Imagine profil
1
nov. 19
4360
Leave aproval by Manager not by HR
management leaves leave approval refuse
Imagine profil
Imagine profil
3
iun. 18
10843
Custom Access Rights are not visible in normal mode, Only visible under Developer mode (v16)
access rights
Imagine profil
0
aug. 23
8
How to learn Access Rights
access rights
Imagine profil
Imagine profil
Imagine profil
2
nov. 22
4406
In a project only the admin can see the team members but the user can't
access rights
Imagine profil
Imagine profil
2
mar. 15
5380
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now