Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Expert guide for Odoo HR and Payroll: salary structures, payslip rules, leave policies, employee contracts, and payroll journal entries.
.claude/skills/odoo-hr-payroll-setup/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | — | — |
| case-20 | ✗→✓ | ▲ Improved | — | — |
| case-18 | ✗→✓ | ▲ Improved | — | — |
| case-21 | ✗→✓ | ▲ Improved | — | — |
| case-05 | ✗→✓ | ▲ Improved | — | — |
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.
@odoo-hr-payroll-setup and describe your payroll scenario.textMenu: 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.
textMenu: 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]
textAfter 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.
l10n_us_hr_payroll, l10n_mx_hr_payroll, etc.) before building custom rules — it provides pre-configured tax structures.inputs.ALLOWANCE.amount) to pass variable values (bonuses, allowances, withholding rates) rather than hardcoding them in the rule formula.contract.wage in deduction rules without verifying whether the structure is monthly or annual — always check the contract wage period.hr_payroll).| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-08 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-01 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-06 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-20 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-14 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-18 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-17 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-21 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-22 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-05 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-12 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-02 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-07 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-16 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-03 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-19 | pass→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-13 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-10 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-04 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-09 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-11 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-15 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +23 percentage points is the difference between those two pass rates over the 22 comparable cases.
The per-case answers from this run were removed by the retention sweep, so the case table below shows the verdicts without the text either arm produced. The counts above were recorded at the time and are unaffected. Answers are now kept for 180 days.
Other measured skills in the registry, with their headline benchmark lift.