Daily updates from Odoo
Wednesday, June 5, 2019
7 changes · master
Enhancements to existing features
This update reorganizes automated test and guided tour files into a clearer structure and connects them to a dedicated test asset bundle. It also makes debug settings persist through the user session, reducing repeated setup and improving reliability for development and testing workflows.
Original PR description
Counterpart of https://github.com/odoo/odoo/pull/33213
Document thumbnails are now generated using a more reliable image processing flow that better handles different image types. If thumbnail creation fails, the system now safely records that no thumbnail is available instead of risking incorrect results.
Original PR description
rebase-ff
Resolved issues and error corrections
This fix prevents resource attendance values from being set when they were not requested. It reduces unnecessary processing and helps avoid duplicate or unintended attendance data during resource setup.
Original PR description
Don't set attendance_ids default value if the field is not in the field list parameter. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix ensures the Belgian payroll module correctly fills in required values when creating a standard 38-hour work schedule. It prevents missing working-time information that could affect payroll setup or calculations.
Original PR description
fields `hours_per_day` is set by an onchange, therefore the value was not set when calling create. + add missing `full_time_required_hours`
Creating a task from Documents no longer triggers an error when the Field Service Report module is installed. This helps users continue their workflow smoothly without being blocked by a system traceback.
Original PR description
**Description of the issue/feature this PR addresses**: - Task: https://www.odoo.com/web#id=2002519&action=333&active_id=1278&model=project.task&view_type=form&menu_id=4720 - Pad: https://pad.odoo.com/p/r.8cf7a783c72cc22071fd37f064a10262 **Description:** Previously when user tried to create a task from documents with the module industry_fsm_report installed, it was giving an error. Corrected that. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Code cleanup and technical improvements
This update removes a redundant attachment file-name field that usually duplicated existing attachment information. It simplifies how attachments are stored and handled across many Odoo apps, reducing maintenance overhead without changing the core user experience.
Original PR description
*base, account_facturx, attachment_indexation, base_import_module, calendar, crm, hr_recruitment, l10n_be_edi, l10n_generic_coa, l10n_it_edi, mail, mass_mailing, mrp, snailmail, test_mail, web, web_editor, web_unsplash, website, website_blog, website_form, website_sale_digital, website_theme_install. This commit removes the field `datas_fname` from `ir.attachment` as it was unnecessary and most of the time the duplicate of `name` or `url`. task: #1909865
This update aligns several document-related apps with a core platform change by using the standard attachment name instead of an older filename field. It reduces duplicated data handling and helps keep document, invoice, signing, and localization workflows compatible with the updated platform.
Original PR description
*account_invoice_extract, account_reports, documents, documents_account, documents_product, documents_projet, documents_sign, hr_contract_salary, l10n_mx_edi, sign. Following the removal of the field from `base/ir.attachement` This commit replaces all relevant usage of `datas_fname` by `name` and removes redundant usages of `datas_fname`. related to: odoo/odoo#32976 task: #1909865