Daily updates from Odoo
Thursday, May 23, 2019
4 changes · master
Resolved issues and error corrections
This update corrects the Lithuanian locale date format to use hyphens instead of dots, aligning it with the ISO-style format used in Lithuania. Business users working in Lithuanian will see dates displayed in the expected local format, reducing confusion in records and documents.
Original PR description
Lithuania uses date format `yyyy-mm-dd`, not `yyyy.mm.dd`. LST ISO 8601:1997 (obsolete) LST ISO 8601:2006 (current) Description of the issue/feature this PR addresses: changing LT date format Current behavior before PR: Incorrect date format for LT localization. Desired behavior after PR is merged: Correct date format for LT localization. https://en.wikipedia.org/wiki/Date_format_by_country https://en.wikipedia.org/wiki/ISO_8601 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The leave statistics widget was adjusted to avoid newer JavaScript syntax that some supported older browsers cannot run. This helps keep the time off feature working consistently for users on legacy browsers and devices.
Original PR description
This commit fix non-compliant JS code syntax. Currently Odoo JavaScript code base supports ECMAScript <= 5 only Using ECMAScript 6 (2015) feature break compatibility with Internet Explorer and Android KitKat (4.4) Ref: https://eslint.org/docs/rules/object-shorthand
PDF work instructions in Manufacturing now open in the previewer instead of showing an error. The fix corrects how PDF files are retrieved, helping users access instructions without interruption.
Original PR description
**Error in the preview of a PDF** Steps to Reproduce: - Go to Manufacturing - Go to Work Order of a record - Check the 'Work Instruction' This happens due to a minor problem with the rendering of PDF. Wrong URI for pdf file is set. This PR will fix that problem. Task Link: https://www.odoo.com/web?#id=1986709&action=327&model=project.task&view_type=form&menu_id=4720 Pad Link: https://pad.odoo.com/p/r.1333c7b822f687554b0c740e08402357 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The “Track this page” option now fills in the actual landing page URL instead of leaving the default placeholder text. This makes link tracking easier and helps website users create accurate tracked links without manually correcting the URL.
Original PR description
Description of the issue/feature this PR addresses: - Related task: https://www.odoo.com/web?#id=1998160&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 - Pad: https://pad.odoo.com/p/r.9ef1cdcfe02be267c910b86580ef47ee 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