odoo-hr-payroll-setup – skill Khác cho agent AI
Hướng dẫn chuyên sâu Odoo HR và Payroll: cấu trúc lương, quy tắc phiếu lương, chính sách nghỉ phép, hợp đồng nhân viên và bút toán sổ lương.
Cài skill odoo-hr-payroll-setup bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/odoo-hr-payroll-setup-4e5f3.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /odoo-hr-payroll-setup – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/odoo-hr-payroll-setup-4e5f3.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $odoo-hr-payroll-setup – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/odoo-hr-payroll-setup-4e5f3.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /odoo-hr-payroll-setup – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/odoo-hr-payroll-setup-4e5f3.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /odoo-hr-payroll-setup – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
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.
Skill liên quan
- odoo-inventory-optimizer – Hướng dẫn chuyên sâu Odoo Inventory: định giá tồn kho (FIFO/AVCO), quy tắc đặt hàng lại…
- odoo-l10n-compliance – Bản địa hóa Odoo theo quốc gia: cấu hình thuế, hóa đơn điện tử (CFDI, FatturaPA, SAF-T)…
- odoo-manufacturing-advisor – Hướng dẫn chuyên sâu Odoo Manufacturing: Bills of Materials (BoM), Work Centers…
- odoo-project-timesheet – Hướng dẫn chuyên sâu Odoo Project và Timesheets: giai đoạn công việc, theo dõi thời gian…
- odoo-xml-views-builder – Chuyên gia xây dựng XML view cho Odoo: Form, List, Kanban, Search, Calendar và Graph…
- offboarding-exit – Sổ theo dõi nghỉ việc: loại nghỉ, nhân viên và quản lý, thông báo và ngày cuối, lý do…
- offer-appointment – Sổ theo dõi thư mời làm việc: ứng viên, vị trí, phòng ban, loại hình làm việc, mức lương…
- okr-system – Sổ đăng ký OKR: mục tiêu, người phụ trách và cấp độ, phòng ban, quý và năm, tối đa ba…