Daily updates from Odoo
Navigate
Branch
Wednesday, January 24, 2018
3 changes
New functionality added to Odoo
Adds a new Hong Kong localization module so businesses can set up accounting with a Hong Kong chart of accounts and related configuration. This helps Hong Kong companies start using Odoo accounting with local defaults more quickly and consistently.
Original PR description
Task: https://www.odoo.com/web?debug=#id=34302&view_type=form&model=project.task&action=327&menu_id=4720 Pad: https://pad.odoo.com/p/r.e5d23efdc350cff669813f43215803c6 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Enhancements to existing features
This update improves Odoo’s China accounting localization so companies can start with ready-to-use tax groups, tax templates, account names, and translations for both small business and standard accounting setups. It also fixes a setup issue that could block chart of accounts changes from the accounting settings.
Original PR description
Task: https://www.odoo.com/web?#id=34299&view_type=form&model=project.task&action=327&menu_id=4720 Pad: https://pad.odoo.com/p/r.cbb16eec8e23668032afd6f0e7fe2ba5 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Resolved issues and error corrections
This fix prevents scheduling errors when global leave records do not have a timezone set. The system now safely uses UTC as a fallback, helping calendars and resource planning continue to work instead of failing with an exception.
Original PR description
When encoding global leaves, we put the timezone of this particular leave to False, which raises an exception when given directly to pytz. Simple solution is to pass 'UTC' in case we receive False. Next step is to really support timezones on global leaves. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr