From 71bfe2fca611004f28665e8a8e52c92e73632f07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Mon, 1 Jun 2009 12:27:32 +0000
Subject: [PATCH] use omit_optional_variation instead omit_option_base_category

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27308 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_invoicing/InvoiceLine_asCellRange.xml     | 2 +-
 bt5/erp5_invoicing/bt/revision                                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceLine_asCellRange.xml b/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceLine_asCellRange.xml
index 3723f1ce12..d1ca629555 100644
--- a/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceLine_asCellRange.xml
+++ b/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceLine_asCellRange.xml
@@ -58,7 +58,7 @@
 resource = context.getResourceValue()\n
 cell_range = []\n
 if resource is not None:\n
-  base_category_list = resource.getVariationBaseCategoryList(omit_option_base_category=1)\n
+  base_category_list = resource.getVariationBaseCategoryList(omit_optional_variation=1)\n
 \n
   for base_category in base_category_list:\n
     if matrixbox == 1:\n
diff --git a/bt5/erp5_invoicing/bt/revision b/bt5/erp5_invoicing/bt/revision
index 9ce0f492d8..104fcf5b4e 100644
--- a/bt5/erp5_invoicing/bt/revision
+++ b/bt5/erp5_invoicing/bt/revision
@@ -1 +1 @@
-241
\ No newline at end of file
+243
\ No newline at end of file
-- 
2.30.9