odoo-hr-payroll-setup – Other skill for AI agents
Expert guide for Odoo HR and Payroll: salary structures, payslip rules, leave policies, employee contracts, and payroll journal entries.
Install the odoo-hr-payroll-setup skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/odoo-hr-payroll-setup-4e5f3.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /odoo-hr-payroll-setup – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/odoo-hr-payroll-setup-4e5f3.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $odoo-hr-payroll-setup – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/odoo-hr-payroll-setup-4e5f3.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /odoo-hr-payroll-setup – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/odoo-hr-payroll-setup-4e5f3.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /odoo-hr-payroll-setup – then describe the task you want done.
SKILL.md content
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: Review a salary structure
Use the installed country localization and effective payroll year as the starting point. Record pay frequency, contract dates, taxable wage bases, approved earnings/deductions, statutory caps and employee withholding elections. Verify rule sequence and available variables against that Odoo version in a synthetic test payslip. Do not approximate US federal withholding as gross wages times a single employee rate: use the applicable [IRS Publication 15-T](https://www.irs.gov/publications/p15t) method and localization documentation, with payroll-professional review. A similarly named community module is not proof of W-4 compliance.
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
Illustrative accounting reconciliation, not a tax calculation:
Gross expense: $5,000.00
Approved deductions/withholding: $600.00
Net salary payable: $4,400.00
Debit expense $5,000 = credits deductions payable $600 + net payable $4,400.
Payment clears the same $4,400 payable against bank.
Reconcile actual localization, employer liabilities and posted entries separately.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: Rewrite posted payroll/accounting history. Follow the installed localization’s approved reversal/correction process and preserve the audit trail.
- ❌ Don't: Use
contract.wagein 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 filing capabilities vary by localization/version/provider; verify current supported forms and jurisdiction requirements rather than assuming this guide supplies legal compliance.
- Does not cover multi-country payroll (employees in different countries require separate structures and localizations).
- Expense reimbursements via payslip (e.g., mileage, home office) require a custom salary rule input and are not covered in standard HR Payroll documentation.
Related skills
- odoo-inventory-optimizer – Expert guide for Odoo Inventory: stock valuation (FIFO/AVCO), reordering rules, putaway…
- odoo-l10n-compliance – Country-specific Odoo localization: tax configuration, e-invoicing (CFDI, FatturaPA…
- odoo-manufacturing-advisor – Expert guide for Odoo Manufacturing: Bills of Materials (BoM), Work Centers, routings…
- odoo-project-timesheet – Expert guide for Odoo Project and Timesheets: task stages, billable time tracking…
- odoo-xml-views-builder – Expert at building Odoo XML views: Form, List, Kanban, Search, Calendar, and Graph…
- offboarding-exit – Offboarding register: exit type, employee and manager, notice and final day, reason…
- offer-appointment – Offer register: candidate, position, department, employment type, offered salary and…
- okr-system – OKR register: objective, owner and level, department, quarter and year, up to three key…