Skip to content

Commit 465f0cb

Browse files
committed
[MIG] security_rule_not_editable: Migration to 16.0
1 parent eafb6a0 commit 465f0cb

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

security_rule_not_editable/tools/convert.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
ori_tag_record = xml_import._tag_record
99

1010

11-
def _tag_record(self, rec):
11+
def _tag_record(self, rec, extra_vals=None):
1212
noupdate = self._noupdate
1313
if rec.get("model") == "ir.rule":
1414
self._noupdate = [False]
15-
ori_tag_record(self, rec)
15+
ori_tag_record(self, rec, extra_vals)
1616
if rec.get("model") == "ir.rule":
1717
self._noupdate = noupdate
1818

Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../security_rule_not_editable
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import setuptools
2+
3+
setuptools.setup(
4+
setup_requires=['setuptools-odoo'],
5+
odoo_addon=True,
6+
)

0 commit comments

Comments
 (0)