summaryrefslogtreecommitdiff
path: root/addons/website/models/ir_model_fields.py
AgeCommit message (Collapse)Author
2018-06-11[FIX] *: cleanup (un|re)installation hacksAdrian Torres
Replace hacks introduced in V11 by the proper solution.
2018-02-23[FIX] website,sale,auth_signup: prevent shared field deletionAdrian Torres
The field `auth_signup_uninvited` is defined in the 3 aforementioned modules, yet they are independant modules in respects to one another. This means that whichever module is installed first will create an XMLID for the field, if this module is uninstalled before the other two: boom! crash when changing general settings because the res.config.settings field set by the other two modules no longer exists. To solve this, we simply ignore the field during ir_model_field.unlink() Fixes #23171
2017-12-11[FIX] website, mass_mailing: same field defined twice (#21503)Adrian Torres
The ORM does not currently, an probably won't support two fields with the same name in different modules that do not depend on each other. This is obviously a nasty hack, but it's the best one can do for a stable branch. THIS IS WHY WE HAVE DEPENDENCY MODULES, PEOPLE.