Daily updates from Odoo
Wednesday, June 5, 2019
3 changes
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
The General Ledger, Partner Ledger, and Chart of Accounts reports were reworked to make them easier to maintain and significantly faster on large accounting datasets. Users should see quicker report loading and expanding, especially in multi-company or high-volume environments, with no intended change to report content.
Original PR description
Main information is in the title. See commit messages for more details. --task: https://www.odoo.com/web?#id=1888408&action=333&active_id=967&model=project.task&view_type=form&menu_id=4720
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