[MERGE]: Merge with lp:~daniel-watkins-credativ/openobject-addons/crm_max_fix for fix of max communication history in action rule
bzr revid: rpa@tinyerp.com-20100906133058-urm8mu7p0eo8wyuc
This commit is contained in:
@@ -96,7 +96,7 @@ this if you want the rule to send an email to the partner."),
|
||||
res_count = True
|
||||
if action.trg_max_history:
|
||||
res_count = False
|
||||
if len(obj.message_ids) >= action.trg_max_history:
|
||||
if len(obj.message_ids) <= action.trg_max_history:
|
||||
res_count = True
|
||||
ok = ok and res_count
|
||||
return ok
|
||||
|
||||
Reference in New Issue
Block a user