[FIX] models: process recomputation triggers as superuser

This commit is contained in:
Raphael Collet
2019-08-23 09:06:15 +00:00
parent 2e640a37d4
commit ec3c76dc77
+1 -1
View File
@@ -5418,7 +5418,7 @@ Fields:
if node:
trigger_tree_merge(tree, node)
if tree:
self._modified_triggers(tree, modified=modified)
self.sudo()._modified_triggers(tree, modified=modified)
def _modified_triggers(self, tree, modified=None):
""" Process a tree of field triggers on ``self``. """