From 93ae504af979e584c617538ed152acebd515a2d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Wed, 15 Jan 2014 11:25:35 +0100
Subject: [PATCH] Revert "Modify actions ' paths as we should not be able to go
 to accounting module from Person"

This reverts commit 5ec2f8862f18359e371fc3c050166cdcddcab37c.
---
 .../portal_types/Person/account_statement_export.xml            | 2 +-
 .../portal_types/Person/account_statement_report.xml            | 2 +-
 .../portal_types/Person/general_ledger_export.xml               | 2 +-
 .../portal_types/Person/general_ledger_report.xml               | 2 +-
 bt5/erp5_accounting/bt/revision                                 | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/account_statement_export.xml b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/account_statement_export.xml
index 18e32f1f18..d175c1f3aa 100644
--- a/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/account_statement_export.xml
+++ b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/account_statement_export.xml
@@ -77,7 +77,7 @@
             <key> <string>text</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
-string:${object_url}/AccountModule_viewAccountStatementReportDialog?mirror_section=${object/getRelativeUrl}&your_portal_skin=ODS&your_format=
+string:${object_url}/accounting_module/AccountModule_viewAccountStatementReportDialog?mirror_section=${object/getRelativeUrl}&your_portal_skin=ODS&your_format=
 
 ]]></string> </value>
         </item>
diff --git a/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/account_statement_report.xml b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/account_statement_report.xml
index 72516632c9..25a59c5d24 100644
--- a/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/account_statement_report.xml
+++ b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/account_statement_report.xml
@@ -75,7 +75,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/AccountModule_viewAccountStatementReportDialog?mirror_section=${object/getRelativeUrl}</string> </value>
+            <value> <string>string:${object_url}/accounting_module/AccountModule_viewAccountStatementReportDialog?mirror_section=${object/getRelativeUrl}</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/general_ledger_export.xml b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/general_ledger_export.xml
index 1bfbb55fbc..62bd721355 100644
--- a/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/general_ledger_export.xml
+++ b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/general_ledger_export.xml
@@ -77,7 +77,7 @@
             <key> <string>text</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
-string:${object_url}/AccountModule_viewGeneralLedgerReportDialog?mirror_section=${object/getRelativeUrl}&your_portal_skin=ODS&your_format=
+string:${object_url}/accounting_module/AccountModule_viewGeneralLedgerReportDialog?mirror_section=${object/getRelativeUrl}&your_portal_skin=ODS&your_format=
 
 ]]></string> </value>
         </item>
diff --git a/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/general_ledger_report.xml b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/general_ledger_report.xml
index 6f038a9533..4b732faabf 100644
--- a/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/general_ledger_report.xml
+++ b/bt5/erp5_accounting/ActionTemplateItem/portal_types/Person/general_ledger_report.xml
@@ -75,7 +75,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/AccountModule_viewGeneralLedgerReportDialog?mirror_section=${object/getRelativeUrl}</string> </value>
+            <value> <string>string:${object_url}/accounting_module/AccountModule_viewGeneralLedgerReportDialog?mirror_section=${object/getRelativeUrl}</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision
index 585db5499e..b461520942 100644
--- a/bt5/erp5_accounting/bt/revision
+++ b/bt5/erp5_accounting/bt/revision
@@ -1 +1 @@
-1558
\ No newline at end of file
+1557
\ No newline at end of file
-- 
2.30.9