Saltar al contenido
Skillpedia
Escritura48 mil · #5339

odoo-hr-payroll-setup

Qué hace

Esta guía te ayuda a configurar el sistema de recursos humanos y nóminas de Odoo. Explica cómo crear estructuras salariales, definir reglas para las ausencias y configurar los contratos de los empleados.

Cuándo usarla

  • ✓Cuando crees un nuevo plan salarial con distintos tipos de pagos y deducciones.
  • ✓Cuando definas reglas para vacaciones, bajas por enfermedad y festivos.
  • ✓Cuando los valores de la nómina sean incorrectos o falte información.

Link de la skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/odoo-hr-payroll-setup/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/odoo-hr-payroll-setup/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“¿Cómo configuro una estructura salarial que incluya salario bruto, retenciones de impuestos y el salario neto final?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La IA te guía paso a paso para configurar las reglas salariales y asignar los días de ausencia. Si hay un problema con una regla salarial o con una nómina, puedes pegar el error para que la IA te ayude a encontrar la causa.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Odoo HR & Payroll Setup

Overview

This skill guides HR managers and payroll accountants through setting up Odoo HR and Payroll correctly. It covers salary structure creation with Python-computed rules, time-off policies, employee contract types, and the payroll → accounting journal posting flow.

When to Use This Skill

  • Creating a salary structure with gross pay, deductions, and net pay.
  • Configuring annual leave, sick leave, and public holiday policies.
  • Troubleshooting incorrect payslip amounts or missing rule contributions.
  • Setting up the payroll journal to correctly post to accounting.

How It Works

  1. Activate: Mention @odoo-hr-payroll-setup and describe your payroll scenario.
  2. Configure: Receive step-by-step setup for salary rules and leave allocation.
  3. Debug: Paste a salary rule or payslip issue and receive a root cause analysis.

Examples

Example 1: Salary Structure with Deductions

Menu: Payroll → Configuration → Salary Structures → New

Name: US Employee Monthly
Payslip Code: MONTHLY

Rules (executed top-to-bottom — order matters):
  Code  | Name                   | Formula                        | Category
  ----- | ---------------------- | ------------------------------ | ---------
  BASIC | Basic Wage             | contract.wage                  | Basic
  GROSS | Gross                  | BASIC                          | Gross
  SS    | Social Security (6.2%) | -GROSS * 0.062                 | Deduction
  MED   | Medicare (1.45%)       | -GROSS * 0.0145                | Deduction
  FIT   | Federal Income Tax     | -GROSS * inputs.FIT_RATE.amount| Deduction
  NET   | Net Salary             | GROSS + SS + MED + FIT         | Net

Federal Income Tax: The standard Odoo US localization does not expose a single l10n_us_w4_rate field. Use an input (salary input type) to pass the withholding rate per employee, or install a community US payroll module (OCA l10n_us_hr_payroll) which handles W4 filing status properly.

Example 2: Configure a Time Off Type

Menu: Time Off → Configuration → Time Off Types → New

Name: Annual Leave / PTO
Approval: Time Off Officer
Leave Validation: Time Off Officer  (single approver)
  or: "Both" for HR + Manager double approval

Allocation:
  ☑ Employees can allocate time off themselves
  Requires approval: No

Negative Balance: Not allowed (employees cannot go negative)

Then create initial allocations:
Menu: Time Off → Managers → Allocations → New
  Employee: [Each employee]
  Time Off Type: Annual Leave / PTO
  Allocation: 15 days
  Validity: Jan 1 – Dec 31 [current year]

Example 3: Payroll Journal Entry Result

After validating a payroll batch, Odoo generates:

Debit   Salary Expense Account     $5,000.00
  Credit  Social Security Payable     $310.00
  Credit  Medicare Payable             $72.50
  Credit  Federal Tax Payable         (varies)
  Credit  Salary Payable           $4,617.50+

When net salary is paid:
Debit   Salary Payable            $4,617.50
  Credit  Bank Account              $4,617.50

Employer taxes (e.g., FUTA, SUTA) post as separate journal entries.

Best Practices

  • ✅ Do: Install your country's payroll localization (l10n_us_hr_payroll, l10n_mx_hr_payroll, etc.) before building custom rules — it provides pre-configured tax structures.
  • ✅ Do: Use salary rule inputs (inputs.ALLOWANCE.amount) to pass variable values (bonuses, allowances, withholding rates) rather than hardcoding them in the rule formula.
  • ✅ Do: Archive old salary structures rather than deleting them — active payslips reference their structure and will break if the structure is deleted.
  • ✅ Do: Always set an active Employee Contract with correct dates and salary before generating payslips.
  • ❌ Don't: Manually edit posted payslips — cancel and regenerate the payslip batch if corrections are needed.
  • ❌ Don't: Use contract.wage in deduction rules without verifying whether the structure is monthly or annual — always check the contract wage period.

Limitations

  • Odoo Payroll is Enterprise-only — the Community Edition does not include the Payroll module (hr_payroll).
  • US-specific compliance (W2, 941, state SUI/SDI filing) requires additional modules beyond the base localization; Odoo does not generate tax filings directly.

…

Preguntas frecuentes

¿Qué son las 'estructuras salariales'?

Son plantillas que definen cómo se calcula el salario de un empleado, incluyendo el salario bruto, las deducciones (como los impuestos) y el salario neto que se paga.

¿Cómo funcionan las reglas de ausencias (vacaciones, bajas por enfermedad)?

Defines los tipos de ausencia (vacaciones, enfermedad), quién las aprueba, si los empleados pueden solicitarlas y si el saldo puede quedar en negativo. Después asignas los días a cada empleado.

¿Qué es un 'asiento contable de nómina'?

Es el registro contable que muestra cómo se reparten los costes de nómina entre las cuentas de la empresa, como los gastos de salarios y los impuestos por pagar.

Detalles

Descripción original del autor

Expert guide for Odoo HR and Payroll: salary structures, payslip rules, leave policies, employee contracts, and payroll journal entries.

repo: sickn33/agentic-awesome-skills

Popularidad

Estrellas en GitHub
48 mil
Posición en el ranking
#5339
Licencia
MIT
Actualizada
15/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas