From 27cac51763b4075485bf6fe4a845c52531b59532 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Fri, 16 May 2014 10:44:01 +0200 Subject: [PATCH] add missing "self" in method signature --- 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