From 278bebf33cdb291cc374c7552345ae4361c6a322 Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Wed, 18 Aug 2004 08:11:07 +0000 Subject: [PATCH] check if variation_base_category_list is None git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1383 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/Coramy/Document/OrderLine.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/product/Coramy/Document/OrderLine.py b/product/Coramy/Document/OrderLine.py index 88a950a8fa..ffc1ebadfd 100755 --- a/product/Coramy/Document/OrderLine.py +++ b/product/Coramy/Document/OrderLine.py @@ -133,4 +133,6 @@ Une ligne tarifaire.""" """ # Temp fix until upgrade of Variated XXX # XXX - may be incompatible with future versions of ERP5 + if self.variation_base_category_list is None: + return [] return list(self.variation_base_category_list) -- 2.30.9