Daily updates from Odoo
Friday, July 8, 2022
3 changes · master
Enhancements to existing features
Attachment preview handling has been updated so it can be reused more easily in newer form screens. This supports a smoother, more consistent experience when users view documents such as invoices and accounting attachments.
Original PR description
\* = account_accountant, account_invoice_extract This will allow using the component directly into the new Owl form. task-2886642 https://github.com/odoo/odoo/pull/95436
The payroll contract workflow now supports part-time working schedule changes for companies outside Belgium. Belgian companies keep their existing read-only behavior, while non-Belgian companies can manage working schedules directly on the contract, making the feature usable across more countries.
Original PR description
The current working schedule change wizard has specific belgian rules attached to it. This prevents using the change workin schedule feature in other countries. Specification: - For companies not in Belgium, show a part time tab on the contract - If the company is Belgian, the tab is read only - If the company is not Belgian, the tab allows to change the working schedule on the contract task-2768558
Code cleanup and technical improvements
Accounting account categories were simplified by replacing a separate account type model with a direct account type field. This reduces configuration complexity and updates related accounting workflows such as reconciliation, assets, transfers, and consolidation to use the new structure.
Original PR description
Task: 2856281 - Remove user_type_id, account.account.type model, internal_type - Add account_type that is a simple selection field - Move internal_group and include_initial_balance to account.account - Because of these changes, type_control_ids on account.journal is also removed