Tuesday, November 13, 2018
2 changes · master
Resolved issues and error corrections
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.