Tuesday, November 13, 2018
4 changes · master
Resolved issues and error corrections
Closing a payroll batch now also calculates and closes every payslip in that batch, instead of only marking the batch itself as closed. This helps payroll teams complete month-end processing reliably, including related accounting, even for large employee groups.
Original PR description
#### Description of the issue/feature this PR addresses: Closing a Payslip Batch has to ensure that all payslips inside of it are well calculated and closed. Otherwise some helpers (as `sum`) won't work correctly because there are open payslips from the last month batch. #### Current behavior before PR: Closing a Batch just changes the batch state. #### Desired behavior after PR is merged: This action ensures that if there's a Payslip Batch with 200+ employees, closing the Batch will complete the whole process including the accounting. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Server-side forms now prepare nested one-to-many editing areas consistently, preventing errors when automated field updates involve records inside records. This improves reliability for complex business forms without changing normal user workflows.
Original PR description
Currently the SSF only sets up an edition view on top-level o2ms. This can apparently be an issue in some cases involving onchanges on o2ms which contain o2m, as _cleanup_onchange tries to get the sub-o2m's fields (`subfields`) before processing any command, and this blows up as there is no `"edition"` key in the views dict. Recursively set up edition views as part of the fvg preprocessing to fix the issue. Also avoid recursing into fields as processing a sub-field as a field seems problematic (incorrect views, …).
The Debian installation package now requires two small supporting libraries that were previously only suggested. This helps Odoo modules that depend on QR codes or vCard/contact data work out of the box in official Docker images, without extra container customization.
Original PR description
As stated in issue #27752, some Debian packages are only recommended. As a consequence, these packages are not installed on the Official Docker image. In that case, if the user wants to install an Odoo module that needs one of these package, the Docker container has to be modified. python3-qrcode and python3-vobject are now part of the latest Debian stable (stretch) and the latest Ubuntu LTS (Bionic Beaver). Also, they are pure python, and very small. Thus, the Debian package can depends on them.
Fixes a timing issue that could sometimes prevent signature fields from appearing on the signing page. This makes the salary package signing tour more reliable and avoids random interruptions during the process.