From fcb06bb4910da0e81b7cdf8490cccdac6f17d88b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Fri, 27 Jul 2007 10:06:26 +0000
Subject: [PATCH] - readded profit_and_loss action, it was removed by mistake

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15349 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../{view.xml => profit_and_loss.xml}                  | 10 +++++-----
 bt5/erp5_accounting_l10n_pl/bt/revision                |  2 +-
 .../bt/template_action_path_list                       |  2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)
 rename bt5/erp5_accounting_l10n_pl/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/{view.xml => profit_and_loss.xml} (88%)

diff --git a/bt5/erp5_accounting_l10n_pl/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/view.xml b/bt5/erp5_accounting_l10n_pl/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/profit_and_loss.xml
similarity index 88%
rename from bt5/erp5_accounting_l10n_pl/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/view.xml
rename to bt5/erp5_accounting_l10n_pl/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/profit_and_loss.xml
index f3027f7212..da0070da2c 100644
--- a/bt5/erp5_accounting_l10n_pl/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/view.xml
+++ b/bt5/erp5_accounting_l10n_pl/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/profit_and_loss.xml
@@ -26,7 +26,7 @@
         </item>
         <item>
             <key> <string>category</string> </key>
-            <value> <string>object_view</string> </value>
+            <value> <string>object_report</string> </value>
         </item>
         <item>
             <key> <string>condition</string> </key>
@@ -42,7 +42,7 @@
         </item>
         <item>
             <key> <string>id</string> </key>
-            <value> <string>view</string> </value>
+            <value> <string>profit_and_loss</string> </value>
         </item>
         <item>
             <key> <string>permissions</string> </key>
@@ -54,11 +54,11 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>1.0</float> </value>
+            <value> <float>5.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string>View</string> </value>
+            <value> <string>Profit and Loss</string> </value>
         </item>
         <item>
             <key> <string>visible</string> </key>
@@ -81,7 +81,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/AccountingTransactionModule_viewAccountingTransactionList</string> </value>
+            <value> <string>string:${object_url}/AccountingTransactionModule_viewProfitAndLossReportDialog</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_accounting_l10n_pl/bt/revision b/bt5/erp5_accounting_l10n_pl/bt/revision
index 25bf17fc5a..2edeafb09d 100644
--- a/bt5/erp5_accounting_l10n_pl/bt/revision
+++ b/bt5/erp5_accounting_l10n_pl/bt/revision
@@ -1 +1 @@
-18
\ No newline at end of file
+20
\ No newline at end of file
diff --git a/bt5/erp5_accounting_l10n_pl/bt/template_action_path_list b/bt5/erp5_accounting_l10n_pl/bt/template_action_path_list
index 5000a4d6a6..f3433694b0 100644
--- a/bt5/erp5_accounting_l10n_pl/bt/template_action_path_list
+++ b/bt5/erp5_accounting_l10n_pl/bt/template_action_path_list
@@ -1,5 +1,5 @@
 Accounting Transaction Module | fiscal_report
 Accounting Transaction Module | journal_report
-Accounting Transaction Module | view
+Accounting Transaction Module | profit_and_loss
 Address | polish_tax_details
 Organisation | polish_tax_details
\ No newline at end of file
-- 
2.30.9