Commit 36ae0598 authored by Jérome Perrin's avatar Jérome Perrin

Rename Preference_viewAccounting in AccountingPreference_view, and move

it in erp5_accounting.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7671 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f08acfb1
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.ActionInformation</string>
<string>ActionInformation</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_view</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>view_accounting</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>View</string>
</tuple>
</value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>2.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Accounting Preferences</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Preference_viewAccounting</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python:portal.restrictedTraverse(\'accounting_module\', None) is not None</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>request = context.REQUEST\n <value> <string>request = context.REQUEST\n
return request.RESPONSE.redirect( "%s/AccountingPreferences_view" %\n return request.RESPONSE.redirect( "%s/Preference_viewAccounting" %\n
context.portal_preferences.getActivePreference().getPath())\n context.portal_preferences.getActivePreference().getPath())\n
\n \n
# vim: syntax=python\n # vim: syntax=python\n
......
...@@ -45,6 +45,12 @@ ...@@ -45,6 +45,12 @@
<tuple/> <tuple/>
</value> </value>
</item> </item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <string>Base_edit</string> </value> <value> <string>Base_edit</string> </value>
...@@ -62,7 +68,7 @@ ...@@ -62,7 +68,7 @@
<value> <value>
<list> <list>
<string>Default</string> <string>Default</string>
<string>left</string> <string>right</string>
<string>bottom</string> <string>bottom</string>
<string>listbox</string> <string>listbox</string>
<string>hidden</string> <string>hidden</string>
...@@ -95,24 +101,21 @@ ...@@ -95,24 +101,21 @@
<item> <item>
<key> <string>hidden</string> </key> <key> <string>hidden</string> </key>
<value> <value>
<list> <list/>
<string>listbox_template_title</string>
<string>listbox_template_portal_type</string>
</list>
</value> </value>
</item> </item>
<item> <item>
<key> <string>left</string> </key> <key> <string>listbox</string> </key>
<value> <value>
<list> <list/>
<string>my_preferred_accounting_transaction_simulation_state_list</string>
</list>
</value> </value>
</item> </item>
<item> <item>
<key> <string>listbox</string> </key> <key> <string>right</string> </key>
<value> <value>
<list/> <list>
<string>my_preferred_accounting_transaction_simulation_state_list</string>
</list>
</value> </value>
</item> </item>
</dictionary> </dictionary>
...@@ -120,7 +123,7 @@ ...@@ -120,7 +123,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>AccountingPreferences_view</string> </value> <value> <string>Preference_viewAccounting</string> </value>
</item> </item>
<item> <item>
<key> <string>method</string> </key> <key> <string>method</string> </key>
......
...@@ -281,7 +281,7 @@ ...@@ -281,7 +281,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python:[(x.getTitle(), x.getRelativeUrl()) for x in here.portal_categories.resolveCategory(here.getPreferredAccountingTransactionSectionCategory()).getGroupRelatedValueList(portal_type=\'Organisation\')]</string> </value> <value> <string>python: [(\'\', \'\')] + [(x.getTitle(), x.getRelativeUrl()) for x in here.portal_categories.resolveCategory(here.getPreferredAccountingTransactionSectionCategory()).getGroupRelatedValueList(portal_type=\'Organisation\')]</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -122,6 +122,7 @@ Payment Transaction | source_asset ...@@ -122,6 +122,7 @@ Payment Transaction | source_asset
Payment Transaction | view Payment Transaction | view
Person | jump_to_accounting Person | jump_to_accounting
Person | transactions Person | transactions
Preference | view_accounting
Purchase Invoice Transaction Line | history Purchase Invoice Transaction Line | history
Purchase Invoice Transaction Line | metadata Purchase Invoice Transaction Line | metadata
Purchase Invoice Transaction Line | print Purchase Invoice Transaction Line | print
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment