CybroOdoo / CybroAddons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[11.0-16.0][customer_product_qrcode] Missing parent function call leads to inability to save config settings

MartinHeisig opened this issue · comments

After days of troubleshooting I found the cause of a problem our server had, which was inable to save changes made in the settings (res.config.settings).
The cause is located in your module "customer_product_qrcode":
https://github.com/CybroOdoo/CybroAddons/blob/12.0/customer_product_qrcode/models/models.py#:~:text=def%20set_values(self)%3A

File: customer_product_qrcode/models/models.py
Class: ResConfigSettings
Function: set_values(self)

Error: this function misses an parent function call like

super(ResConfigSettings, self).set_values()

This error regards to all branches beginning from 11.0 up to 16.0