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 @@
<item>
<key> <string>_body</string> </key>
<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
\n
# vim: syntax=python\n
......
......@@ -45,6 +45,12 @@
<tuple/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value> <string>Base_edit</string> </value>
......@@ -62,7 +68,7 @@
<value>
<list>
<string>Default</string>
<string>left</string>
<string>right</string>
<string>bottom</string>
<string>listbox</string>
<string>hidden</string>
......@@ -95,24 +101,21 @@
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_template_title</string>
<string>listbox_template_portal_type</string>
</list>
<list/>
</value>
</item>
<item>
<key> <string>left</string> </key>
<key> <string>listbox</string> </key>
<value>
<list>
<string>my_preferred_accounting_transaction_simulation_state_list</string>
</list>
<list/>
</value>
</item>
<item>
<key> <string>listbox</string> </key>
<key> <string>right</string> </key>
<value>
<list/>
<list>
<string>my_preferred_accounting_transaction_simulation_state_list</string>
</list>
</value>
</item>
</dictionary>
......@@ -120,7 +123,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>AccountingPreferences_view</string> </value>
<value> <string>Preference_viewAccounting</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......
......@@ -281,7 +281,7 @@
<dictionary>
<item>
<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>
</dictionary>
</pickle>
......
......@@ -122,6 +122,7 @@ Payment Transaction | source_asset
Payment Transaction | view
Person | jump_to_accounting
Person | transactions
Preference | view_accounting
Purchase Invoice Transaction Line | history
Purchase Invoice Transaction Line | metadata
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