[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7145SBT2FX1CMFST40XMBJH":3,"skill-same:01M7145SBT2FX1CMFST40XMBJH":63},{"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":23,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":14,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":48,"install":49,"resources":62},"01M7145SBT2FX1CMFST40XMBJH","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\u002Fcopilot\u002Fodoo-hr-payroll-setup\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000038","人力资源","PROFESSION","适用职业",[24,25,26,27,28,29,30,31,32,33,34,35,36,37],"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":35,"source":34,"description":7},"main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fcopilot\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":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill odoo-hr-payroll-setup",{"tool":55,"command":56},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill odoo-hr-payroll-setup",{"tool":58,"command":59},"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\u002Fcopilot\u002Fodoo-hr-payroll-setup\u002FSKILL.md",true,[],[64,74,81,89,95,103],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":69,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":73},"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":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":73},"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":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":73},"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":90,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":91,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":73},"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":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":99,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":73},"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":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":107,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":73},"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",[],[]]