Langsung ke konten
Skillpedia
Menulis48k Β· #5339

odoo-hr-payroll-setup

Fungsinya

Panduan ini membantu Anda menyiapkan sistem HR dan penggajian (payroll) di Odoo. Panduan ini menjelaskan cara membuat struktur gaji, mendefinisikan aturan cuti, dan mengonfigurasi kontrak karyawan.

Kapan dipakai

  • βœ“Saat membuat rencana gaji baru dengan berbagai jenis pembayaran dan potongan.
  • βœ“Saat menentukan aturan untuk cuti tahunan, cuti sakit, dan libur.
  • βœ“Saat nilai di slip gaji salah atau informasinya belum lengkap.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/odoo-hr-payroll-setup/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBagaimana cara menyiapkan struktur gaji yang mencakup gaji kotor, potongan pajak, dan gaji bersih akhir?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

AI akan memandu Anda langkah demi langkah dalam mengonfigurasi aturan gaji dan mengalokasikan cuti. Jika ada masalah pada aturan gaji atau slip gaji, Anda bisa menempelkan pesan error agar AI membantu mencari penyebabnya.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.

…

Pertanyaan umum

Apa itu 'struktur gaji'?

Itu adalah templat yang menentukan cara gaji karyawan dihitung, termasuk gaji kotor, potongan (seperti pajak), dan gaji bersih yang akan dibayarkan.

Bagaimana aturan cuti (cuti tahunan, cuti sakit) bekerja?

Anda menentukan jenis ketidakhadiran (cuti tahunan, sakit), siapa yang menyetujuinya, apakah karyawan boleh mengajukannya, dan apakah saldo boleh minus. Setelah itu, Anda mengalokasikan jumlah hari untuk setiap karyawan.

Apa itu 'payroll journal entry'?

Itu adalah catatan akuntansi yang menunjukkan bagaimana biaya gaji dibagi ke berbagai akun perusahaan, seperti beban gaji dan utang pajak.

Detail

Deskripsi asli dari pembuat

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

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#5339
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa