From 65137a573cd028d2011606c23c7bb4d73bef70b5 Mon Sep 17 00:00:00 2001 From: Tristan Cavelier <tristan.cavelier@tiolive.com> Date: Mon, 27 Jul 2015 12:27:41 +0000 Subject: [PATCH] XXX erp5_trade: update some portal types --- .../portal_types/Order.xml | 93 ++++++++++++++ .../portal_types/Sale%20Order%20Cell.xml | 101 ++++++++++++++++ .../portal_types/Sale%20Order%20Line.xml | 114 ++++++++++++++++++ .../portal_types/Sale%20Order.xml | 86 ++++++++++--- 4 files changed, 377 insertions(+), 17 deletions(-) diff --git a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Order.xml b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Order.xml index 40921dafc4..148fb70b60 100644 --- a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Order.xml +++ b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Order.xml @@ -6,6 +6,12 @@ </pickle> <pickle> <dictionary> + <item> + <key> <string>_property_domain_dict</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>content_icon</string> </key> <value> @@ -65,4 +71,91 @@ </dictionary> </pickle> </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>description</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </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> <string>content_translation</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>description</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <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="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> <string>content_translation</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>title</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Order%20Cell.xml b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Order%20Cell.xml index fb991b07ef..db1c322ae2 100644 --- a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Order%20Cell.xml +++ b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Order%20Cell.xml @@ -6,6 +6,12 @@ </pickle> <pickle> <dictionary> + <item> + <key> <string>_property_domain_dict</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>acquire_local_roles</string> </key> <value> <int>1</int> </value> @@ -59,6 +65,101 @@ <key> <string>title</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>type_class</string> </key> + <value> <string>OrderCell</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>description</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </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>description</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <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="5" aka="AAAAAAAAAAU="> + <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_trade/PortalTypeTemplateItem/portal_types/Sale%20Order%20Line.xml b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Order%20Line.xml index 714702bc40..0df6ebdc39 100644 --- a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Order%20Line.xml +++ b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Order%20Line.xml @@ -6,6 +6,12 @@ </pickle> <pickle> <dictionary> + <item> + <key> <string>_property_domain_dict</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>acquire_local_roles</string> </key> <value> <int>1</int> </value> @@ -90,4 +96,112 @@ </dictionary> </pickle> </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>description</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>outcome_description</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent> + </value> + </item> + </dictionary> + </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> <string>content_translation</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>description</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> <string>content_translation</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>outcome_description</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> <string>content_translation</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>short_title</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="6" aka="AAAAAAAAAAY="> + <pickle> + <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> <string>content_translation</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>title</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Order.xml b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Order.xml index 01ee3cec32..dba81e5159 100644 --- a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Order.xml +++ b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Order.xml @@ -11,17 +11,29 @@ <value> <dictionary> <item> - <key> <string>short_title</string> </key> + <key> <string>comment</string> </key> <value> <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> </value> </item> <item> - <key> <string>title</string> </key> + <key> <string>description</string> </key> <value> <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> + <item> + <key> <string>short_title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> </dictionary> </value> </item> @@ -80,45 +92,85 @@ <key> <string>title</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>type_class</string> </key> + <value> <string>Order</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> - <tuple> - <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> - <tuple/> - </tuple> + <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> </pickle> <pickle> <dictionary> <item> <key> <string>domain_name</string> </key> - <value> - <none/> - </value> + <value> <string>content_translation</string> </value> </item> <item> <key> <string>property_name</string> </key> - <value> <string>short_title</string> </value> + <value> <string>comment</string> </value> </item> </dictionary> </pickle> </record> <record id="3" aka="AAAAAAAAAAM="> <pickle> - <tuple> - <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> - <tuple/> - </tuple> + <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> </pickle> <pickle> <dictionary> <item> <key> <string>domain_name</string> </key> - <value> - <none/> - </value> + <value> <string>content_translation</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>description</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> <string>content_translation</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>short_title</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> <string>content_translation</string> </value> </item> <item> <key> <string>property_name</string> </key> -- 2.30.9