From 9144f0852e6fc858b3271d4fd29870571c378553 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Wed, 13 Jun 2007 09:33:57 +0000
Subject: [PATCH] use a generic script to know who can see the inventory field
 on accounting tab

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14799 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 +-
 .../your_destination_payment_available_position.xml             | 2 +-
 .../your_destination_payment_position.xml                       | 2 +-
 bt5/erp5_banking_cash/bt/revision                               | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CurrencyPurchase_viewAccounting/your_destination_payment_available_position.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CurrencyPurchase_viewAccounting/your_destination_payment_available_position.xml
index c981fa14f7..a5629c787e 100644
--- a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CurrencyPurchase_viewAccounting/your_destination_payment_available_position.xml
+++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CurrencyPurchase_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_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CurrencyPurchase_viewAccounting/your_destination_payment_position.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CurrencyPurchase_viewAccounting/your_destination_payment_position.xml
index d26b44bb33..c1ade61b36 100644
--- a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CurrencyPurchase_viewAccounting/your_destination_payment_position.xml
+++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CurrencyPurchase_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_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CurrencySale_viewAccounting/your_destination_payment_available_position.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CurrencySale_viewAccounting/your_destination_payment_available_position.xml
index c981fa14f7..a5629c787e 100644
--- a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CurrencySale_viewAccounting/your_destination_payment_available_position.xml
+++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CurrencySale_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_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CurrencySale_viewAccounting/your_destination_payment_position.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CurrencySale_viewAccounting/your_destination_payment_position.xml
index d26b44bb33..c1ade61b36 100644
--- a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CurrencySale_viewAccounting/your_destination_payment_position.xml
+++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CurrencySale_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_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MoneyDeposit_viewAccounting/your_destination_payment_available_position.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MoneyDeposit_viewAccounting/your_destination_payment_available_position.xml
index c981fa14f7..a5629c787e 100644
--- a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MoneyDeposit_viewAccounting/your_destination_payment_available_position.xml
+++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MoneyDeposit_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_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MoneyDeposit_viewAccounting/your_destination_payment_position.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MoneyDeposit_viewAccounting/your_destination_payment_position.xml
index d26b44bb33..c1ade61b36 100644
--- a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MoneyDeposit_viewAccounting/your_destination_payment_position.xml
+++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MoneyDeposit_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_cash/bt/revision b/bt5/erp5_banking_cash/bt/revision
index 0a1b63de8b..ac471d3ba0 100644
--- a/bt5/erp5_banking_cash/bt/revision
+++ b/bt5/erp5_banking_cash/bt/revision
@@ -1 +1 @@
-353
\ No newline at end of file
+355
\ No newline at end of file
-- 
2.30.9