From 75be20c55fdd8b85218c8a004015d778cc33a47c Mon Sep 17 00:00:00 2001
From: Yoshinori Okuji <yo@nexedi.com>
Date: Wed, 8 Sep 2004 13:11:39 +0000
Subject: [PATCH] Renamed from getInvoiceTransactionLineSourceItemList.py to
 InvoiceTransactionLine_getSourceItemList.py.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1597 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 ...nvoiceTransactionLine_getSourceItemList.py} | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
 rename product/ERP5/skins/erp5_accounting/{getInvoiceTransactionLineSourceItemList.py => InvoiceTransactionLine_getSourceItemList.py} (58%)

diff --git a/product/ERP5/skins/erp5_accounting/getInvoiceTransactionLineSourceItemList.py b/product/ERP5/skins/erp5_accounting/InvoiceTransactionLine_getSourceItemList.py
similarity index 58%
rename from product/ERP5/skins/erp5_accounting/getInvoiceTransactionLineSourceItemList.py
rename to product/ERP5/skins/erp5_accounting/InvoiceTransactionLine_getSourceItemList.py
index de9a3b8c81..eb69c1d126 100755
--- a/product/ERP5/skins/erp5_accounting/getInvoiceTransactionLineSourceItemList.py
+++ b/product/ERP5/skins/erp5_accounting/InvoiceTransactionLine_getSourceItemList.py
@@ -1,4 +1,4 @@
-## Script (Python) "getInvoiceTransactionLineSourceItemList"
+## Script (Python) "InvoiceTransactionLine_getSourceItemList"
 ##bind container=container
 ##bind context=context
 ##bind namespace=
@@ -9,19 +9,19 @@
 ##
 from Products.ERP5Type.Cache import CachingMethod
 
-category_dict = {'income': 'portal_categories/pcg/7',
-                 'expense': 'portal_categories/pcg/6',
-                 'payable': 'portal_categories/pcg/4/40/409',
-                 'receivable': 'portal_categories/pcg/4/41/410',
-                 'collected_vat': 'portal_categories/pcg/4/44',
-                 'refundable_vat': 'portal_categories/pcg/4/44',
-                 'bank': 'portal_categories/pcg/5',
+category_dict = {'income': 'portal_categories/account_type/income',
+                 'expense': 'portal_categories/account_type/expense',
+                 'payable': 'portal_categories/account_type/liability/payable',
+                 'receivable': 'portal_categories/account_type/asset/receivable',
+                 'collected_vat': 'portal_categories/account_type/liability/payable/collected_vat',
+                 'refundable_vat': 'portal_categories/account_type/asset/receivable/refundable_vat',
+                 'bank': 'portal_categories/account_type/asset/cash',
                  }
 
 if context.id in category_dict:
   category = category_dict[context.id]
 else:
-  category = 'portal_categories/pcg'
+  category = 'portal_categories/account_type'
 
 display_dict = {}
 def display(x):
-- 
2.30.9