Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Localization
  3. China Holidays v 18.0
  4. Sales Conditions FAQ

China Holidays

by Baris Genc https://gencbaris.com/odoo_plugins/
Odoo
v 18.0 Third Party
Download for v 18.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Time Off (hr_holidays)
• Calendar (calendar)
• Employees (hr)
• Discuss (mail)
Lines of code 343
Technical Name cn_public_holidays
LicenseOPL-1
Websitehttps://gencbaris.com/odoo_plugins/
Versions 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Time Off (hr_holidays)
• Calendar (calendar)
• Employees (hr)
• Discuss (mail)
Lines of code 343
Technical Name cn_public_holidays
LicenseOPL-1
Websitehttps://gencbaris.com/odoo_plugins/
Versions 18.0 19.0
  • Description
  • License
Apps › Human Resources › China Holidays

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日期节假日
20262026-01-01元旦
20262026-01-02休息日(由 2026-01-04 调休)
20262026-02-16农历除夕
20262026-02-17春节
20262026-02-18春节
20262026-02-19春节
20262026-02-20休息日(由 2026-02-14 调休)
20262026-02-23休息日(由 2026-02-28 调休)
20262026-04-05清明节
20262026-04-06清明节(补假)
20262026-05-01劳动节
20262026-05-02劳动节
20262026-05-04劳动节(补假)
20262026-05-05休息日(由 2026-05-09 调休)
20262026-06-19端午节
20262026-09-25中秋节
20262026-10-01国庆节
20262026-10-02国庆节
20262026-10-03国庆节
20262026-10-05国庆节(补假)
20262026-10-06休息日(由 2026-09-20 调休)
20262026-10-07休息日(由 2026-10-10 调休)
20272027-01-01元旦
20272027-02-05农历除夕
20272027-02-06春节
20272027-02-07春节
20272027-02-08春节
20272027-02-09春节(补假)
20272027-02-10春节(补假)
20272027-04-05清明节
20272027-05-01劳动节
20272027-05-02劳动节
20272027-05-03劳动节(补假)
20272027-05-04劳动节(补假)
20272027-06-09端午节
20272027-09-15中秋节
20272027-10-01国庆节
20272027-10-02国庆节
20272027-10-03国庆节
20272027-10-04国庆节(补假)
20272027-10-05国庆节(补假)
20282028-01-01元旦
20282028-01-03元旦(补假)
20282028-01-25农历除夕
20282028-01-26春节
20282028-01-27春节
20282028-01-28春节
20282028-04-04清明节
20282028-05-01劳动节
20282028-05-02劳动节
20282028-05-28端午节
20282028-05-29端午节(补假)
20282028-10-01国庆节
20282028-10-02国庆节
20282028-10-03中秋节; 国庆节
20282028-10-04国庆节(补假)
20292029-01-01元旦
20292029-02-12农历除夕
20292029-02-13春节
20292029-02-14春节
20292029-02-15春节
20292029-04-04清明节
20292029-05-01劳动节
20292029-05-02劳动节
20292029-06-16端午节
20292029-06-18端午节(补假)
20292029-09-22中秋节
20292029-09-24中秋节(补假)
20292029-10-01国庆节
20292029-10-02国庆节
20292029-10-03国庆节
20302030-01-01元旦
20302030-02-02农历除夕
20302030-02-03春节
20302030-02-04春节
20302030-02-05春节
20302030-02-06农历除夕(补假)
20302030-02-07春节(补假)
20302030-04-05清明节
20302030-05-01劳动节
20302030-05-02劳动节
20302030-06-05端午节
20302030-09-12中秋节
20302030-10-01国庆节
20302030-10-02国庆节
20302030-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.

许可证: OPL-1

Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with