server-tools/upgrade_analysis/odoo_patch/addons/mrp/__init__.py

11 lines
251 B
Python

from odoo.addons import mrp
from ...odoo_patch import OdooPatch
class PreInitHookPatch(OdooPatch):
target = mrp
method_names = ['_pre_init_mrp']
def _pre_init_mrp(cr):
""" Don't try to create an existing column on reinstall """