Daily updates from Odoo
Friday, November 20, 2020
5 changes · master
Enhancements to existing features
Approval records now mark key identifier fields as required when they are created locally. This helps prevent incomplete approval data and reduces the risk of record creation issues for users working with approvals.
The Appraisal app now displays goal form field values more cleanly on mobile devices. This makes reviews easier to read and use on smaller screens and helps avoid a mobile status button display error.
Original PR description
PURPOSE
Improve Mobile UI of Appraisal
SPECIFICATIONS
Goals Form
Appraisal Form
If using the Status button => Error:
Uncaught Error: Please use show on visible elements
Traceback:
Error: Please use show on visible elements
at Tooltip.show
at Tooltip.$.fn.tooltip.Constructor.show
LINKS:
PR - #14869
TaskID - 2348528Belgian payroll users can now select the work entry type directly when running the time credit wizard, instead of relying on a fixed setting on the contract structure type. This makes time credit setup more flexible and removes an older configuration field that is no longer needed.
Original PR description
…izard
Before this commit:
* The work entry type used to fill the employee calendar for the time credit intervals
was the one specified in the structure_type_id.time_credit_type_id field of the contract.
After this commit:
* The work entry type used to fill the employee calendar for the time credit intervals
can be specified during the credit time wizard.
* The structure_type_id does not have the time_credit_type_id field any more.
Related PR: odoo/upgrade#1881
task-2367915This update improves how several Odoo apps validate records when multiple items are created or updated at once. It reduces the risk of validation errors, removes duplicate checks, and improves performance in affected workflows without changing day-to-day features.
Original PR description
PURPOSE
Perform a cleaning of constraints in various applications to improve
coding style and performances.
SPECIFICATIONS
Support multi recordsets. Otherwise constraints may crash or
be incorrectly applied when creating or updating recordsets
containing more than one item.
Improve performances
* early raise if a constraint is invalid; avoid looping on whole
recordset if not necessary;
* use ORM methods completely (notably _check_recursion
allowing batch directly);
* remove duplicates when having both python and SQL constraints;
* avoid unnecessary calls, notably ref in loops;
LINKS
Task Id: 2328664
COM PR: odoo/odoo#55525
ENT PR: odoo/enterprise#12250Belgian payroll can now calculate private car reimbursements and representation fees based on eligible attendance entries. This helps ensure these benefits are prorated more accurately when employees have absences, leave, or partial work schedules.
Original PR description
Before this commit:
Private car reimbursement and representation fees were not paid on
the base of attendance
After this commit:
It will be possible to set that a work entry give rights to reimbursement
for:
* private car reimbursement
* representation fees
The slip computation will be based on that and those amounts will
be prorated according to the work entries for which the setting has
been activated.
Related PR: odoo/odoo#60119, odoo/upgrade#1876
task-2346119