[IMP] upgrade_analysis: fix reinstall of sale_quotation_builder
parent
02a1964ff0
commit
3a39c2a3dd
|
@ -1,3 +1,4 @@
|
|||
from . import mrp
|
||||
from . import point_of_sale
|
||||
from . import sale_quotation_builder
|
||||
from . import stock
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
# flake8: noqa: B902
|
||||
from odoo.addons import sale_quotation_builder
|
||||
from ...odoo_patch import OdooPatch
|
||||
|
||||
|
||||
class PreInitHookPatch(OdooPatch):
|
||||
target = sale_quotation_builder
|
||||
method_names = ["_pre_init_sale_quotation_builder"]
|
||||
|
||||
def _pre_init_sale_quotation_builder(cr):
|
||||
"""Don't pre-create existing columns on reinstall"""
|
Loading…
Reference in New Issue