From 0090bbf8c517cce329d57201d5c1de77abcf7b72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Thu, 16 Jul 2009 08:07:24 +0000 Subject: [PATCH] update docstring to match this current implementation git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28086 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/Movement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/Document/Movement.py b/product/ERP5/Document/Movement.py index 4cbff44b35..a64f56bb07 100644 --- a/product/ERP5/Document/Movement.py +++ b/product/ERP5/Document/Movement.py @@ -498,7 +498,7 @@ class Movement(XMLObject, Amount): def isFrozen(self): """ Returns the frozen status of this movement. - a movement in started, stopped, delivered is automatically frozen. + a movement in stopped, delivered or cancelled states is automatically frozen. If frozen is locally set to '0', we must check for a parent set to '1', in which case, we want the children to be frozen as well. -- 2.30.9