Wednesday, January 27, 2021
4 changes · master
Resolved issues and error corrections
Creating an expense report from selected expenses now opens a draft form instead of immediately saving a report. This makes the Discard button behave as expected and lets users review or change the report summary before saving.
Original PR description
In hr_expense module in after selecting expenses when user click on create report button that time create report function save data and after show data in view form, but there is one field which is…
In hr_expense module in after selecting expenses when user click on create report button that time create report function save data and
after show data in view form, but there is one field which is expense report summary which is not show in vieww form because of
field is empty. So , after solving that issue create report button open shell in edit mode.
Whwn user in list of expense page to create report , select number of expenses which are required for perfect expenses report and
then click on create report.
Discard button is not working as remove data from current expenses list and discard create report for particular report. Because of
create report button first save the data and after pass data in create report shell so when user click on discard then data are not
remove because of discard button remove only that data which are temporary. So , using context pass the data to create report shell
and in the field of create report summary set minimum and maximum expanse date if minimum and maximum expense date are same then only
minimum expense date by default set.
**TaskId - 2359834**
PR : https://github.com/odoo/odoo/pull/60621
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThe employee vacation plane icon now appears based on the user's actual status, helping colleagues quickly see when someone is away. This fixes inconsistent display of leave status in messaging and user presence areas.
Original PR description
task-2377882
This fix prevents a mail conversation from appearing to load endlessly when fetching messages fails. Users get a clearer, more stable experience instead of being blocked by a failed message refresh.
Original PR description
task-2377440
This fix prevents an error from appearing when users save or discard changes in the Point of Sale settings form. It adds a safer check for unexpected data so the configuration screen behaves reliably.
Original PR description
Adjustment of a previous commit b1dff85a85dc1819c029b564dbb87871c2f5e7ea It is possible for the argument to be something else than `undefined` or an array. We're adding a check to prevent an error to occur in that case.