[Erp5-report] r18042 - in /erp5/trunk/bt5/erp5_banking_core: ActionTemplateItem/portal_type...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Dec 6 09:14:07 CET 2007
Author: seb
Date: Thu Dec 6 09:14:07 2007
New Revision: 18042
URL: http://svn.erp5.org?rev=18042&view=rev
Log:
Bank Account must be part of erp5_banking due to security definition
Added:
erp5/trunk/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Bank%20Account/
erp5/trunk/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Bank%20Account/transactions.xml
erp5/trunk/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Bank%20Account/view.xml
erp5/trunk/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Bank%20Account.xml
Modified:
erp5/trunk/bt5/erp5_banking_core/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
erp5/trunk/bt5/erp5_banking_core/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
erp5/trunk/bt5/erp5_banking_core/bt/revision
erp5/trunk/bt5/erp5_banking_core/bt/template_action_path_list
erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_allowed_content_type_list
erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_base_category_list
erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_id_list
Added: erp5/trunk/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Bank%20Account/transactions.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Bank%2520Account/transactions.xml?rev=18042&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Bank%20Account/transactions.xml (added)
+++ erp5/trunk/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Bank%20Account/transactions.xml Thu Dec 6 09:14:07 2007
@@ -1,0 +1,105 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
+ <tuple/>
+ </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>transactions</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>Transactions</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>
+ <global name="Expression" module="Products.CMFCore.Expression"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>text</string> </key>
+ <value> <string>string:${object_url}/BankAccount_viewAccountingTransactionList</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+ <record id="3" aka="AAAAAAAAAAM=">
+ <pickle>
+ <tuple>
+ <global name="Expression" module="Products.CMFCore.Expression"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>text</string> </key>
+ <value> <string encoding="cdata"><![CDATA[
+
+python: len([x for x in ("banking/chef_comptable","banking/comptable", "banking/chef_section_comptable") if x in object.Baobab_getUserAssignedFunctionList()])>0 and object.getParentValue().getSite(base=1) in object.Baobab_getUserAssignedRootSiteList()
+
+]]></string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Bank%20Account/view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Bank%2520Account/view.xml?rev=18042&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Bank%20Account/view.xml (added)
+++ erp5/trunk/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Bank%20Account/view.xml Thu Dec 6 09:14:07 2007
@@ -1,0 +1,83 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
+ <tuple/>
+ </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> <string></string> </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</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>1.0</float> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string>View</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>
+ <global name="Expression" module="Products.CMFCore.Expression"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>text</string> </key>
+ <value> <string>string:${object_url}/BankAccount_view</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_banking_core/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml?rev=18042&r1=18041&r2=18042&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml (original)
+++ erp5/trunk/bt5/erp5_banking_core/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml Thu Dec 6 09:14:07 2007
@@ -7,6 +7,9 @@
</portal_type>
<portal_type id="Accounting Date Module">
<item>Accounting Date</item>
+ </portal_type>
+ <portal_type id="Bank Account">
+ <item>Agent</item>
</portal_type>
<portal_type id="Cash Delivery Line">
<item>Cash Delivery Cell</item>
Modified: erp5/trunk/bt5/erp5_banking_core/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/PortalTypeBaseCategoryTemplateItem/base_category_list.xml?rev=18042&r1=18041&r2=18042&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/PortalTypeBaseCategoryTemplateItem/base_category_list.xml (original)
+++ erp5/trunk/bt5/erp5_banking_core/PortalTypeBaseCategoryTemplateItem/base_category_list.xml Thu Dec 6 09:14:07 2007
@@ -3,6 +3,9 @@
<item>site</item>
</portal_type>
<portal_type id="Accounting Date">
+ <item>site</item>
+ </portal_type>
+ <portal_type id="Bank Account">
<item>site</item>
</portal_type>
<portal_type id="Cash Delivery Cell">
Added: erp5/trunk/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Bank%20Account.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Bank%2520Account.xml?rev=18042&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Bank%20Account.xml (added)
+++ erp5/trunk/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Bank%20Account.xml Thu Dec 6 09:14:07 2007
@@ -1,0 +1,121 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>__ac_local_roles__</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_actions</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_aliases</string> </key>
+ <value>
+ <dictionary/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_owner</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_roles</string> </key>
+ <value>
+ <list/>
+ </value>
+ </item>
+ <item>
+ <key> <string>acquire_local_roles</string> </key>
+ <value> <int>1</int> </value>
+ </item>
+ <item>
+ <key> <string>allowed_content_types</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>base_category_list</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>content_icon</string> </key>
+ <value> <string>document.gif</string> </value>
+ </item>
+ <item>
+ <key> <string>content_meta_type</string> </key>
+ <value> <string>ERP5 Bank Account</string> </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value> <string> A bank account number holds a collection of numbers and codes\n
+ (ex. SWIFT, RIB, etc.) which may be used to identify a bank account.\n
+\n
+ A Bank Account is owned by a Person or an Organisation. A Bank Account\n
+ contain Agents with Agent Privileges used by the owner to delegate the\n
+ management of the bank account to trusted third-party Persons.\n
+\n
+ BankAccount inherits from Base and from the mix-in Coordinate.\n
+</string> </value>
+ </item>
+ <item>
+ <key> <string>factory</string> </key>
+ <value> <string>addBankAccount</string> </value>
+ </item>
+ <item>
+ <key> <string>filter_content_types</string> </key>
+ <value> <int>1</int> </value>
+ </item>
+ <item>
+ <key> <string>group_list</string> </key>
+ <value>
+ <tuple>
+ <string>payment_node</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>hidden_content_type_list</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>Bank Account</string> </value>
+ </item>
+ <item>
+ <key> <string>init_script</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>property_sheet_list</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string></string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_banking_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/bt/revision?rev=18042&r1=18041&r2=18042&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/bt/revision (original)
+++ erp5/trunk/bt5/erp5_banking_core/bt/revision Thu Dec 6 09:14:07 2007
@@ -1,1 +1,1 @@
-385
+386
Modified: erp5/trunk/bt5/erp5_banking_core/bt/template_action_path_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/bt/template_action_path_list?rev=18042&r1=18041&r2=18042&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/bt/template_action_path_list (original)
+++ erp5/trunk/bt5/erp5_banking_core/bt/template_action_path_list Thu Dec 6 09:14:07 2007
@@ -8,6 +8,8 @@
Accounting Date Module | view
Accounting Date | remaining_operations
Accounting Date | view
+Bank Account | transactions
+Bank Account | view
Banking Operation Line | print
Banking Operation Line | view
Banknote | view
Modified: erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_allowed_content_type_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_allowed_content_type_list?rev=18042&r1=18041&r2=18042&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_allowed_content_type_list (original)
+++ erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_allowed_content_type_list Thu Dec 6 09:14:07 2007
@@ -1,6 +1,7 @@
Accounting Cancellation Module | Accounting Cancellation
Accounting Cancellation | Accounting Cancellation Line
Accounting Date Module | Accounting Date
+Bank Account | Agent
Cash Delivery Line | Cash Delivery Cell
Check Model | Check Model Type Variation
Check Module | Check
Modified: erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_base_category_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_base_category_list?rev=18042&r1=18041&r2=18042&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_base_category_list (original)
+++ erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_base_category_list Thu Dec 6 09:14:07 2007
@@ -1,5 +1,6 @@
Accounting Cancellation | site
Accounting Date | site
+Bank Account | site
Cash Delivery Cell | variation
Check Model Type Variation | check_type
Check Operation Line | aggregate_resource
Modified: erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_id_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_id_list?rev=18042&r1=18041&r2=18042&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_id_list (original)
+++ erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_id_list Thu Dec 6 09:14:07 2007
@@ -3,6 +3,7 @@
Accounting Cancellation Module
Accounting Date
Accounting Date Module
+Bank Account
Banking Operation Line
Banknote
Cash Delivery Cell
More information about the Erp5-report
mailing list