Daily updates from Odoo
Tuesday, September 7, 2021
2 changes · master
Enhancements to existing features
Payroll users can now edit selected payslip line details directly from a new action while the payslip is in the computed review stage. The change helps payroll teams make corrections without fully recalculating the payslip, reducing the risk of overwriting manual adjustments.
Original PR description
This PR allows the user to apply modification to the payslip lines of a payslip. **To do this** : A wizard named "Edit Payslip Lines Wizard" is created. This wizard is called with the "Edit Payslip Lines" button available in the action buttons when the user is in the form view of a payslip. However, the payslip lines of a payslip which is waiting can only be edited, if the user tries to edit a payslip with another state then an UserError exception is raised. In the new wizard, the user can edit the name, the amount and the quantity fields of each payslip line. When the quantity or the amount of a payslip line is edited, we open a dialog to ask if the next payslip lines should be adapted or not. If yes, then we recompute only the following lines of the one has been edited.
Odoo’s dashboard and cohort reporting views have been rebuilt on the newer OWL interface framework. This improves consistency across reporting screens, mobile behavior, search panels, and related spreadsheet/reporting integrations, making reporting views easier to maintain and more reliable for users.
Original PR description
In this PR, we convert the dashboard and cohort views to OWL. More details are given in each commit. Co-authored-by: Aaron Bohy <aab@odoo.com> Co-authored-by: Bruno Boi <boi@odoo.com> Co-authored-by: Géry Debongnie <ged@odoo.com> Co-authored-by: Samuel Degueldre <sad@odoo.com> Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com> Co-authored-by: Simon Genin (ges) <ges@odoo.com> Co-authored-by: Francois (fge) <fge@odoo.com> Co-authored-by: Michael Mattiello (mcm) <mcm@odoo.com> Co-authored-by: Julien Mougenot <jum@odoo.com> Co-authored-by: Lucas Perais (lpe) <lpe@odoo.com> Co-authored-by: Jorge Pinna Puissant <jpp@odoo.com> Co-authored-by: stefanorigano (SRI) <sri@odoo.com>