Commit 96918409 authored by Vincent Pelletier's avatar Vincent Pelletier

ERP5Type.Base: Do not inherit placeless activity parameters in _getReindexAndActivateParameterDict

These will be added by activity spawning mechanism: either "activate" or
"recurseCallMethod".
parent c6890d43
......@@ -2847,7 +2847,11 @@ class Base( CopyContainer,
def _getReindexAndActivateParameterDict(self, kw, activate_kw):
# Lowest activate_kw priority: default activate parameter dict
full_activate_kw = self.getDefaultActivateParameterDict()
full_activate_kw = self.getDefaultActivateParameterDict(
# It is the responsibility of activity spawning to pull placeless
# activate parameters. Skip them here.
inherit_placeless=False,
)
reindex_kw = self.getDefaultReindexParameterDict()
if reindex_kw is not None:
reindex_kw = reindex_kw.copy()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment