[FIX] core: fixup of convert cleanup
_tag_delete was not properly converted when the _tag_ calling
convention was modified in 4d581e26c2,
so <delete> tags would all blow up if encountered.
closes odoo/odoo#29149
This commit is contained in:
@@ -250,8 +250,8 @@ form: module.record_id""" % (xml_id,)
|
||||
modcnt = self.env['ir.module.module'].search_count([('name', '=', module), ('state', '=', 'installed')])
|
||||
assert modcnt == 1, """The ID "%s" refers to an uninstalled module""" % (xml_id,)
|
||||
|
||||
def _tag_delete(self, rec, _data_node):
|
||||
d_model = rec["model"]
|
||||
def _tag_delete(self, rec):
|
||||
d_model = rec.get("model")
|
||||
records = self.env[d_model]
|
||||
|
||||
d_search = rec.get("search")
|
||||
|
||||
Reference in New Issue
Block a user