Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
1
upgrade_analysis/odoo_patch/odoo/tools/__init__.py
Executable file
1
upgrade_analysis/odoo_patch/odoo/tools/__init__.py
Executable file
@@ -0,0 +1 @@
|
||||
from . import convert
|
||||
14
upgrade_analysis/odoo_patch/odoo/tools/convert.py
Executable file
14
upgrade_analysis/odoo_patch/odoo/tools/convert.py
Executable file
@@ -0,0 +1,14 @@
|
||||
from odoo.tools.convert import xml_import
|
||||
|
||||
from .... import upgrade_log
|
||||
from ...odoo_patch import OdooPatch
|
||||
|
||||
|
||||
class XMLImportPatch(OdooPatch):
|
||||
target = xml_import
|
||||
method_names = ["_test_xml_id"]
|
||||
|
||||
def _test_xml_id(self, xml_id):
|
||||
res = XMLImportPatch._test_xml_id._original_method(self, xml_id)
|
||||
upgrade_log.log_xml_id(self.env.cr, self.module, xml_id)
|
||||
return res
|
||||
Reference in New Issue
Block a user