Friday, November 17, 2023
3 changes · 17.0
Enhancements to existing features
The Expense app now makes common actions clearer and safer by positioning key buttons more conveniently, saving reports automatically when created from an expense, and making receipt attachments easier to preview. Expense report lines are no longer directly editable, reducing accidental changes while still letting users view the related receipt quickly.
Original PR description
This commit contains a few small improvements to Expense app. - Primary button moved to the left. - Reports are auto saved when created from an expense. - "Attach Receipt" button now sets the uploaded attachment as the main attachment. - Expense lines in a report are no longer editable. When a line is clicked, the main attachment for that expense (if any) is shown in the attachment previewer. task-3539382 Enterprise PR: odoo/enterprise/pull/50136
Expense receipt attachments now avoid triggering duplicate digitization requests. This makes attaching receipts smoother and helps prevent unnecessary processing when employees submit expenses.
Original PR description
The method _autosend_for_digitization was called twice when attaching a receipt in an expense. Once due to the widget `attach_document` and another due to an action with the same name. This commit moves the action to the community repo and changes it so it sets the main attachment for the expense instead. task-3539382 Community PR: odoo/odoo/pull/138387
Account reports exported to Excel now display account codes and names in separate columns instead of combined in one column. This makes the exported files easier to work with and organize in spreadsheet applications.
Original PR description
There are a few reports/options that have the account as line name. When it happens, the account display name is shown, which contains both the code and the name. In this change, we aim to improve the xlsx print by dynamically splitting the name in such a case in two columns, easing manipulation of the file after export. Task id # 3525247