From e7e47f6a9d5449796ddd266a7c35c31943f72662 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Thu, 17 Mar 2011 14:00:00 +0000 Subject: [PATCH] bank account and credit cards are some nodes, and we don't want to translate their titles git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44387 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_types/Bank%20Account.xml | 84 ++++++++++++++++++- .../portal_types/Credit%20Card.xml | 84 ++++++++++++++++++- bt5/erp5_base/bt/revision | 2 +- 3 files changed, 163 insertions(+), 7 deletions(-) diff --git a/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Bank%20Account.xml b/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Bank%20Account.xml index d3f0da1b77..96d0a28923 100644 --- a/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Bank%20Account.xml +++ b/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Bank%20Account.xml @@ -2,10 +2,29 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> + <global name="Base Type" module="erp5.portal_type"/> </pickle> <pickle> <dictionary> + <item> + <key> <string>_property_domain_dict</string> </key> + <value> + <dictionary> + <item> + <key> <string>short_title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> <item> <key> <string>acquire_local_roles</string> </key> <value> <int>0</int> </value> @@ -36,6 +55,7 @@ BankAccount inherits from Base and from the mix-in Coordinate.</string> </value> <key> <string>group_list</string> </key> <value> <tuple> + <string>node</string> <string>payment_node</string> </tuple> </value> @@ -46,16 +66,74 @@ BankAccount inherits from Base and from the mix-in Coordinate.</string> </value> </item> <item> <key> <string>init_script</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>permission</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>title</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>type_class</string> </key> + <value> <string>BankAccount</string> </value> + </item> + <item> + <key> <string>type_interface</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>type_mixin</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>short_title</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>title</string> </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Credit%20Card.xml b/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Credit%20Card.xml index cec88bc4d7..9aa72ea581 100644 --- a/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Credit%20Card.xml +++ b/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Credit%20Card.xml @@ -2,10 +2,29 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> + <global name="Base Type" module="erp5.portal_type"/> </pickle> <pickle> <dictionary> + <item> + <key> <string>_property_domain_dict</string> </key> + <value> + <dictionary> + <item> + <key> <string>short_title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> <item> <key> <string>acquire_local_roles</string> </key> <value> <int>0</int> </value> @@ -34,6 +53,7 @@ <key> <string>group_list</string> </key> <value> <tuple> + <string>node</string> <string>payment_node</string> </tuple> </value> @@ -44,16 +64,74 @@ </item> <item> <key> <string>init_script</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>permission</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>title</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>type_class</string> </key> + <value> <string>BankAccount</string> </value> + </item> + <item> + <key> <string>type_interface</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>type_mixin</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>short_title</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>title</string> </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_base/bt/revision b/bt5/erp5_base/bt/revision index 81574ddd48..011b5d3457 100644 --- a/bt5/erp5_base/bt/revision +++ b/bt5/erp5_base/bt/revision @@ -1 +1 @@ -960 \ No newline at end of file +961 \ No newline at end of file -- 2.30.9