China Public Holidays 2026-2035
China十年法定节假日完整日历,适用于Odoo HR。国家节日和宗教节日—自动应用到resource.calendar作为假期。
该模块的功能
该模块自动将China 2026年至2035年的所有法定节假日加载到您的Odoo系统中。根据该国官方来源,包括国家节日(固定日期)和宗教节日(可变日期)。每个节假日只需一次点击即可作为假期条目添加到所有活动的resource.calendar记录中,确保员工假期分配从一开始就被正确计算。内置的ir.cron任务每年1月2日自动重新应用新年节假日。
主要功能
10年数据
联邦/国家级别的所有2026-2035官方节假日。
Resource Calendar集成
一键应用—所有活动工作日历都会获得节假日作为假期条目。
年度自动定时任务
内置ir.cron每年1月2日自动应用新一年。
半天/全天
每个节假日可配置,时间戳具有时区感知。
时区感知
假期以UTC存储,但尊重每个日历的时区。
多语言界面
China官方语言的用户界面翻译。
2026节假日日历 (2026-2030)
| Year | 日期 | 节假日 |
|---|---|---|
| 2026 | 2026-01-01 | 元旦 |
| 2026 | 2026-01-02 | 休息日(由 2026-01-04 调休) |
| 2026 | 2026-02-16 | 农历除夕 |
| 2026 | 2026-02-17 | 春节 |
| 2026 | 2026-02-18 | 春节 |
| 2026 | 2026-02-19 | 春节 |
| 2026 | 2026-02-20 | 休息日(由 2026-02-14 调休) |
| 2026 | 2026-02-23 | 休息日(由 2026-02-28 调休) |
| 2026 | 2026-04-05 | 清明节 |
| 2026 | 2026-04-06 | 清明节(补假) |
| 2026 | 2026-05-01 | 劳动节 |
| 2026 | 2026-05-02 | 劳动节 |
| 2026 | 2026-05-04 | 劳动节(补假) |
| 2026 | 2026-05-05 | 休息日(由 2026-05-09 调休) |
| 2026 | 2026-06-19 | 端午节 |
| 2026 | 2026-09-25 | 中秋节 |
| 2026 | 2026-10-01 | 国庆节 |
| 2026 | 2026-10-02 | 国庆节 |
| 2026 | 2026-10-03 | 国庆节 |
| 2026 | 2026-10-05 | 国庆节(补假) |
| 2026 | 2026-10-06 | 休息日(由 2026-09-20 调休) |
| 2026 | 2026-10-07 | 休息日(由 2026-10-10 调休) |
| 2027 | 2027-01-01 | 元旦 |
| 2027 | 2027-02-05 | 农历除夕 |
| 2027 | 2027-02-06 | 春节 |
| 2027 | 2027-02-07 | 春节 |
| 2027 | 2027-02-08 | 春节 |
| 2027 | 2027-02-09 | 春节(补假) |
| 2027 | 2027-02-10 | 春节(补假) |
| 2027 | 2027-04-05 | 清明节 |
| 2027 | 2027-05-01 | 劳动节 |
| 2027 | 2027-05-02 | 劳动节 |
| 2027 | 2027-05-03 | 劳动节(补假) |
| 2027 | 2027-05-04 | 劳动节(补假) |
| 2027 | 2027-06-09 | 端午节 |
| 2027 | 2027-09-15 | 中秋节 |
| 2027 | 2027-10-01 | 国庆节 |
| 2027 | 2027-10-02 | 国庆节 |
| 2027 | 2027-10-03 | 国庆节 |
| 2027 | 2027-10-04 | 国庆节(补假) |
| 2027 | 2027-10-05 | 国庆节(补假) |
| 2028 | 2028-01-01 | 元旦 |
| 2028 | 2028-01-03 | 元旦(补假) |
| 2028 | 2028-01-25 | 农历除夕 |
| 2028 | 2028-01-26 | 春节 |
| 2028 | 2028-01-27 | 春节 |
| 2028 | 2028-01-28 | 春节 |
| 2028 | 2028-04-04 | 清明节 |
| 2028 | 2028-05-01 | 劳动节 |
| 2028 | 2028-05-02 | 劳动节 |
| 2028 | 2028-05-28 | 端午节 |
| 2028 | 2028-05-29 | 端午节(补假) |
| 2028 | 2028-10-01 | 国庆节 |
| 2028 | 2028-10-02 | 国庆节 |
| 2028 | 2028-10-03 | 中秋节; 国庆节 |
| 2028 | 2028-10-04 | 国庆节(补假) |
| 2029 | 2029-01-01 | 元旦 |
| 2029 | 2029-02-12 | 农历除夕 |
| 2029 | 2029-02-13 | 春节 |
| 2029 | 2029-02-14 | 春节 |
| 2029 | 2029-02-15 | 春节 |
| 2029 | 2029-04-04 | 清明节 |
| 2029 | 2029-05-01 | 劳动节 |
| 2029 | 2029-05-02 | 劳动节 |
| 2029 | 2029-06-16 | 端午节 |
| 2029 | 2029-06-18 | 端午节(补假) |
| 2029 | 2029-09-22 | 中秋节 |
| 2029 | 2029-09-24 | 中秋节(补假) |
| 2029 | 2029-10-01 | 国庆节 |
| 2029 | 2029-10-02 | 国庆节 |
| 2029 | 2029-10-03 | 国庆节 |
| 2030 | 2030-01-01 | 元旦 |
| 2030 | 2030-02-02 | 农历除夕 |
| 2030 | 2030-02-03 | 春节 |
| 2030 | 2030-02-04 | 春节 |
| 2030 | 2030-02-05 | 春节 |
| 2030 | 2030-02-06 | 农历除夕(补假) |
| 2030 | 2030-02-07 | 春节(补假) |
| 2030 | 2030-04-05 | 清明节 |
| 2030 | 2030-05-01 | 劳动节 |
| 2030 | 2030-05-02 | 劳动节 |
| 2030 | 2030-06-05 | 端午节 |
| 2030 | 2030-09-12 | 中秋节 |
| 2030 | 2030-10-01 | 国庆节 |
| 2030 | 2030-10-02 | 国庆节 |
| 2030 | 2030-10-03 | 国庆节 |
要求
- Odoo 18.0或19.0
- 已安装标准hr_holidays模块
安装
将模块文件夹复制到Odoo的addons路径,重启Odoo,然后通过Apps菜单安装。安装后,转到HR→休假→China节假日,点击"应用到日历"按钮。
Frequently Asked Questions
Which Odoo versions does this module support?
This module supports both Odoo 18.0 and Odoo 19.0. Each Odoo series is on its own Git branch (18.0 and 19.0) and registered separately on the Apps Store.
Does this module cover all years from 2026 to 2035?
Yes — a full 10-year public holiday calendar is included for China, with national / federal-level holidays plus religious / movable holidays derived from official sources.
How are holidays applied to employee calendars?
Open HR → Time Off → China Holidays and click the "Apply to Calendars" button. All active resource.calendar records receive the holidays as resource.calendar.leaves entries, which are then honored by hr.leave.allocation calculations.
Are religious / movable holidays included?
Yes. Religious holidays (Easter-based, Eid al-Fitr / Eid al-Adha lunar dates, Diwali, Buddha Purnima, etc. depending on China) are included alongside national holidays. Lunar holidays carry standard-source estimates with ±1 day precision.
Is the holiday calendar timezone-aware?
Yes. Each leave entry is stored in UTC but generated relative to the resource.calendar's own timezone, so multi-tenant deployments and employees in different time zones see correct boundaries.
Does the module auto-renew for new years?
Yes — a built-in ir.cron job runs every January 2nd and re-applies all holidays for the current year to all active calendars. No manual upkeep needed once installed.
Please log in to comment on this module