Files
odoo_source/addons/sale/models/__init__.py
T
Adrian Torres ff7efbb1e8 [FIX] website,sale,auth_signup: prevent shared field deletion
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
2018-02-23 10:28:10 +01:00

16 lines
432 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import analytic
from . import account_invoice
from . import product_pricelist
from . import product_product
from . import product_template
from . import res_company
from . import res_partner
from . import sale
from . import res_config_settings
from . import sale_layout
from . import sales_team
from . import ir_model_fields