Daily updates from Odoo
Wednesday, October 11, 2023
4 changes · master
Enhancements to existing features
Profit and loss reports across many country localizations now show comparison colors more consistently. Expense and depreciation increases are marked as negative where appropriate, making period-over-period performance easier to interpret.
Original PR description
Improves the profit and loss reports of most of the localizations by properly displaying the color of comparison between periods. This enables a better understanding of comparison. The modified behavior aligns the generic P&L where expenses and depreciation consider a growth as negative. More precisely, we set the attribute green_on_positive to 'account report expressions' which displayed an expense or depreciation with a positive sign. Indeed, some P&L display these lines with a negative, and these did not require modification as the color was already the expected one. task: 3271475
Spreadsheet dashboards and new spreadsheets created from templates now show numbers according to the user’s language and regional settings instead of always using US formatting. This makes dashboards and templates easier to read for international users, while also tightening internal spreadsheet revision consistency.
This change aligns how users add custom properties with the newer standard interface, reducing duplicate controls and keeping the experience consistent. It also enables properties for appraisals and planning, giving teams more flexibility to capture business-specific information.
Original PR description
### 1. Adapt to "Add Properties" button changes In the related community PR, hiding the "Add a property" button from the properties field and using the cog menu to add properties becomes the normal behavior, so there is no need to create an action to add the button in the cogmenu of the helpdesk ticket's form view. For the same reason, the "hideAddButton" option has been replaced in favor of a "showAddButton" option. The usage of the old option in knowledge has been replaced by the new one in (there is no cog menu in knowledge). ### 2. Add properties in hr_appraisal and in planning This PR adds properties (and related properties definitions) to the following models: - hr_appraisal.hr_appraisal (hr_appraisal.hr_department) - planning.planning (planning.planning_views) Task-3458627
India payroll now uses one regular pay structure instead of separate versions for employees with and without provident fund. This simplifies payroll setup and maintenance, while also capturing additional child hostel-related employee details needed for payroll calculations.
Original PR description
In this commit we have merged `Structure with PF`and `Structure without PF` structure into `India: Regular Pay`. task-3475977