From e13fa9c06b75836838779d5507082fcde728f32d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Wed, 13 Jun 2007 09:39:48 +0000
Subject: [PATCH] use a generic script to know if inventory field are viewable
 on accounting tab

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14801 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../your_destination_payment_available_position.xml             | 2 +-
 .../your_destination_payment_position.xml                       | 2 +-
 .../your_destination_payment_available_position.xml             | 2 +-
 .../your_destination_payment_position.xml                       | 2 +-
 bt5/erp5_banking_check/bt/revision                              | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDeposit_viewAccounting/your_destination_payment_available_position.xml b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDeposit_viewAccounting/your_destination_payment_available_position.xml
index c981fa14f7..a5629c787e 100644
--- a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDeposit_viewAccounting/your_destination_payment_available_position.xml
+++ b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDeposit_viewAccounting/your_destination_payment_available_position.xml
@@ -287,7 +287,7 @@
       <dictionary>
         <item>
             <key> <string>_text</string> </key>
-            <value> <string>python: \'banking/comptable\' in here.Baobab_getUserAssignedFunctionList()</string> </value>
+            <value> <string>python: here.Baobab_isInventoryFieldViewable()</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDeposit_viewAccounting/your_destination_payment_position.xml b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDeposit_viewAccounting/your_destination_payment_position.xml
index d26b44bb33..c1ade61b36 100644
--- a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDeposit_viewAccounting/your_destination_payment_position.xml
+++ b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDeposit_viewAccounting/your_destination_payment_position.xml
@@ -287,7 +287,7 @@
       <dictionary>
         <item>
             <key> <string>_text</string> </key>
-            <value> <string>python: \'banking/comptable\' in here.Baobab_getUserAssignedFunctionList()</string> </value>
+            <value> <string>python: here.Baobab_isInventoryFieldViewable()</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckPayment_viewAccounting/your_destination_payment_available_position.xml b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckPayment_viewAccounting/your_destination_payment_available_position.xml
index c981fa14f7..a5629c787e 100644
--- a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckPayment_viewAccounting/your_destination_payment_available_position.xml
+++ b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckPayment_viewAccounting/your_destination_payment_available_position.xml
@@ -287,7 +287,7 @@
       <dictionary>
         <item>
             <key> <string>_text</string> </key>
-            <value> <string>python: \'banking/comptable\' in here.Baobab_getUserAssignedFunctionList()</string> </value>
+            <value> <string>python: here.Baobab_isInventoryFieldViewable()</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckPayment_viewAccounting/your_destination_payment_position.xml b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckPayment_viewAccounting/your_destination_payment_position.xml
index d26b44bb33..c1ade61b36 100644
--- a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckPayment_viewAccounting/your_destination_payment_position.xml
+++ b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckPayment_viewAccounting/your_destination_payment_position.xml
@@ -287,7 +287,7 @@
       <dictionary>
         <item>
             <key> <string>_text</string> </key>
-            <value> <string>python: \'banking/comptable\' in here.Baobab_getUserAssignedFunctionList()</string> </value>
+            <value> <string>python: here.Baobab_isInventoryFieldViewable()</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_banking_check/bt/revision b/bt5/erp5_banking_check/bt/revision
index 8bc94cb760..c6876402f5 100644
--- a/bt5/erp5_banking_check/bt/revision
+++ b/bt5/erp5_banking_check/bt/revision
@@ -1 +1 @@
-276
\ No newline at end of file
+278
\ No newline at end of file
-- 
2.30.9