Merge PR #2825 into 16.0

Signed-off-by legalsylvain
pull/2703/head
OCA-git-bot 2024-02-02 21:04:29 +00:00
commit 7a621965e6
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,4 @@
from . import mrp from . import mrp
from . import point_of_sale from . import point_of_sale
from . import sale_quotation_builder
from . import stock from . import stock

View File

@ -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"""