[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M719DBV5JB7TZSTCPR1TNE8D":3,"skill-same:01M719DBV5JB7TZSTCPR1TNE8D":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":14,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":43,"install":44,"resources":57},"01M719DBV5JB7TZSTCPR1TNE8D","odoo-hr-payroll-setup",null,"Expert guide for Odoo HR and Payroll: salary structures, payslip rules, leave policies, employee contracts, and payroll journal entries.","sapsapshen\u002Fai-memory-router","sapsapshen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20347959?v=4","01M6XDQEF1DP50DKF37H81J3J5","shenmian","01M6XDQEJPE41Y3DT2763X8ZJN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fodoo-hr-payroll-setup\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32],"payroll","hr","odoo","setup","odoo hr payroll setup","for","expert","entries","journal","Rules","self","safe","contracts","guide","2026-11-10 10:12:30",false,"---\nname: odoo-hr-payroll-setup\ndescription: \"Expert guide for Odoo HR and Payroll: salary structures, payslip rules, leave policies, employee contracts, and payroll journal entries.\"\nrisk: safe\nsource: \"self\"\n---\n\n# Odoo HR & Payroll Setup\n\n## Overview\n\nThis 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.\n\n## When to Use This Skill\n\n- Creating a salary structure with gross pay, deductions, and net pay.\n- Configuring annual leave, sick leave, and public holiday policies.\n- Troubleshooting incorrect payslip amounts or missing rule contributions.\n- Setting up the payroll journal to correctly post to accounting.\n\n## How It Works\n\n1. **Activate**: Mention `@odoo-hr-payroll-setup` and describe your payroll scenario.\n2. **Configure**: Receive step-by-step setup for salary rules and leave allocation.\n3. **Debug**: Paste a salary rule or payslip issue and receive a root cause analysis.\n\n## Examples\n\n### Example 1: Salary Structure with Deductions\n\n```text\nMenu: Payroll → Configuration → Salary Structures → New\n\nName: US Employee Monthly\nPayslip Code: MONTHLY\n\nRules (executed top-to-bottom — order matters):\n  Code  | Name                   | Formula                        | Category\n  ----- | ---------------------- | ------------------------------ | ---------\n  BASIC | Basic Wage             | contract.wage                  | Basic\n  GROSS | Gross                  | BASIC                          | Gross\n  SS    | Social Security (6.2%) | -GROSS * 0.062                 | Deduction\n  MED   | Medicare (1.45%)       | -GROSS * 0.0145                | Deduction\n  FIT   | Federal Income Tax     | -GROSS * inputs.FIT_RATE.amount| Deduction\n  NET   | Net Salary             | GROSS + SS + MED + FIT         | Net\n```\n\n> **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.\n\n### Example 2: Configure a Time Off Type\n\n```text\nMenu: Time Off → Configuration → Time Off Types → New\n\nName: Annual Leave \u002F PTO\nApproval: Time Off Officer\nLeave Validation: Time Off Officer  (single approver)\n  or: \"Both\" for HR + Manager double approval\n\nAllocation:\n  ☑ Employees can allocate time off themselves\n  Requires approval: No\n\nNegative Balance: Not allowed (employees cannot go negative)\n\nThen create initial allocations:\nMenu: Time Off → Managers → Allocations → New\n  Employee: [Each employee]\n  Time Off Type: Annual Leave \u002F PTO\n  Allocation: 15 days\n  Validity: Jan 1 – Dec 31 [current year]\n```\n\n### Example 3: Payroll Journal Entry Result\n\n```text\nAfter validating a payroll batch, Odoo generates:\n\nDebit   Salary Expense Account     $5,000.00\n  Credit  Social Security Payable     $310.00\n  Credit  Medicare Payable             $72.50\n  Credit  Federal Tax Payable         (varies)\n  Credit  Salary Payable           $4,617.50+\n\nWhen net salary is paid:\nDebit   Salary Payable            $4,617.50\n  Credit  Bank Account              $4,617.50\n\nEmployer taxes (e.g., FUTA, SUTA) post as separate journal entries.\n```\n\n## Best Practices\n\n- ✅ **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.\n- ✅ **Do:** Use **salary rule inputs** (`inputs.ALLOWANCE.amount`) to pass variable values (bonuses, allowances, withholding rates) rather than hardcoding them in the rule formula.\n- ✅ **Do:** Archive old salary structures rather than deleting them — active payslips reference their structure and will break if the structure is deleted.\n- ✅ **Do:** Always set an active **Employee Contract** with correct dates and salary before generating payslips.\n- ❌ **Don't:** Manually edit posted payslips — cancel and regenerate the payslip batch if corrections are needed.\n- ❌ **Don't:** Use `contract.wage` in deduction rules without verifying whether the structure is monthly or annual — always check the contract wage period.\n\n## Limitations\n\n- **Odoo Payroll is Enterprise-only** — the Community Edition does not include the Payroll module (`hr_payroll`).\n- US-specific compliance (W2, 941, state SUI\u002FSDI filing) requires additional modules beyond the base localization; Odoo does not generate tax filings directly.\n- Does not cover **multi-country payroll** (employees in different countries require separate structures and localizations).\n- **Expense reimbursements** via payslip (e.g., mileage, home office) require a custom salary rule input and are not covered in standard HR Payroll documentation.\n","# Odoo HR & Payroll Setup\n\n## Overview\n\nThis 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.\n\n## When to Use This Skill\n\n- Creating a salary structure with gross pay, deductions, and net pay.\n- Configuring annual leave, sick leave, and public holiday policies.\n- Troubleshooting incorrect payslip amounts or missing rule contributions.\n- Setting up the payroll journal to correctly post to accounting.\n\n## How It Works\n\n1. **Activate**: Mention `@odoo-hr-payroll-setup` and describe your payroll scenario.\n2. **Configure**: Receive step-by-step setup for salary rules and leave allocation.\n3. **Debug**: Paste a salary rule or payslip issue and receive a root cause analysis.\n\n## Examples\n\n### Example 1: Salary Structure with Deductions\n\n```text\nMenu: Payroll → Configuration → Salary Structures → New\n\nName: US Employee Monthly\nPayslip Code: MONTHLY\n\nRules (executed top-to-bottom — order matters):\n  Code  | Name                   | Formula                        | Category\n  ----- | ---------------------- | ------------------------------ | ---------\n  BASIC | Basic Wage             | contract.wage                  | Basic\n  GROSS | Gross                  | BASIC                          | Gross\n  SS    | Social Security (6.2%) | -GROSS * 0.062                 | Deduction\n  MED   | Medicare (1.45%)       | -GROSS * 0.0145                | Deduction\n  FIT   | Federal Income Tax     | -GROSS * inputs.FIT_RATE.amount| Deduction\n  NET   | Net Salary             | GROSS + SS + MED + FIT         | Net\n```\n\n> **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.\n\n### Example 2: Configure a Time Off Type\n\n```text\nMenu: Time Off → Configuration → Time Off Types → New\n\nName: Annual Leave \u002F PTO\nApproval: Time Off Officer\nLeave Validation: Time Off Officer  (single approver)\n  or: \"Both\" for HR + Manager double approval\n\nAllocation:\n  ☑ Employees can allocate time off themselves\n  Requires approval: No\n\nNegative Balance: Not allowed (employees cannot go negative)\n\nThen create initial allocations:\nMenu: Time Off → Managers → Allocations → New\n  Employee: [Each employee]\n  Time Off Type: Annual Leave \u002F PTO\n  Allocation: 15 days\n  Validity: Jan 1 – Dec 31 [current year]\n```\n\n### Example 3: Payroll Journal Entry Result\n\n```text\nAfter validating a payroll batch, Odoo generates:\n\nDebit   Salary Expense Account     $5,000.00\n  Credit  Social Security Payable     $310.00\n  Credit  Medicare Payable             $72.50\n  Credit  Federal Tax Payable         (varies)\n  Credit  Salary Payable           $4,617.50+\n\nWhen net salary is paid:\nDebit   Salary Payable            $4,617.50\n  Credit  Bank Account              $4,617.50\n\nEmployer taxes (e.g., FUTA, SUTA) post as separate journal entries.\n```\n\n## Best Practices\n\n- ✅ **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.\n- ✅ **Do:** Use **salary rule inputs** (`inputs.ALLOWANCE.amount`) to pass variable values (bonuses, allowances, withholding rates) rather than hardcoding them in the rule formula.\n- ✅ **Do:** Archive old salary structures rather than deleting them — active payslips reference their structure and will break if the structure is deleted.\n- ✅ **Do:** Always set an active **Employee Contract** with correct dates and salary before generating payslips.\n- ❌ **Don't:** Manually edit posted payslips — cancel and regenerate the payslip batch if corrections are needed.\n- ❌ **Don't:** Use `contract.wage` in deduction rules without verifying whether the structure is monthly or annual — always check the contract wage period.\n\n## Limitations\n\n- **Odoo Payroll is Enterprise-only** — the Community Edition does not include the Payroll module (`hr_payroll`).\n- US-specific compliance (W2, 941, state SUI\u002FSDI filing) requires additional modules beyond the base localization; Odoo does not generate tax filings directly.\n- Does not cover **multi-country payroll** (employees in different countries require separate structures and localizations).\n- **Expense reimbursements** via payslip (e.g., mileage, home office) require a custom salary rule input and are not covered in standard HR Payroll documentation.\n",{"name":5,"risk":30,"source":29,"description":7},"main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fglobal\u002Fodoo-hr-payroll-setup","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill odoo-hr-payroll-setup",{"tool":50,"command":51},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill odoo-hr-payroll-setup",{"tool":53,"command":54},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill odoo-hr-payroll-setup","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fodoo-hr-payroll-setup\u002FSKILL.md",true,[],[59,69,76,84,90,98],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":63,"licenseFileUrl":64,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":68},"01M72R8PZX1ABFHJGTYPA4CAF1","webapp-testing","To test local web applications, write native Python Playwright scripts.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FSKILL.md",[],[],"2026-11-10 22:39:42",{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":68},"01M72QG37MMZNDY7X7GXPAK5W6","python-packaging","Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fpython-packaging\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":63,"licenseFileUrl":80,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":68},"01M72NXR0QMP9G46TW6A2DH59C","canvas-design","These are instructions for creating design philosophies - aesthetic movements that are then EXPRESSED VISUALLY. Output only .md files, .pdf files, and .png files.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FSKILL.md",[],[],{"skillNo":85,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":63,"licenseFileUrl":86,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":68},"01M72N55TK3EEQ4QK4AWDC2KZS","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":63,"licenseFileUrl":94,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":68},"01M72MTWC150CFAP4Y5GSNKF80","slack-gif-creator","A toolkit providing utilities and knowledge for creating animated GIFs optimized for Slack.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":63,"licenseFileUrl":102,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":68},"01M72KPT3VVNSP88MNAY466TZT","frontend-design","You are a frontend designer-engineer, not a layout generator.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FSKILL.md",[],[]]