From e970d2cfa4a1899d0c183da4a8a8ba710a5a7cdf Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Thu, 6 Mar 2014 12:07:12 +0100 Subject: [PATCH] simulation: fixed missing self in a method on rule --- product/ERP5/mixin/rule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/mixin/rule.py b/product/ERP5/mixin/rule.py index fc58412dc8..fd7f0c36ae 100644 --- a/product/ERP5/mixin/rule.py +++ b/product/ERP5/mixin/rule.py @@ -325,7 +325,7 @@ class RuleMixin(Predicate): """ raise NotImplementedError - def _isProfitAndLossMovement(movement): # applied_rule XXX-JPS add this ? + def _isProfitAndLossMovement(self, movement): # applied_rule XXX-JPS add this ? """ Returns True if movement is a profit and loss movement. """ -- 2.30.9