diff --git a/bt5/erp5_crm/PortalTypeBaseCategoryTemplateItem/base_category_list.xml b/bt5/erp5_crm/PortalTypeBaseCategoryTemplateItem/base_category_list.xml index 925d3edd15af9d6183eb8d5643d1b9b13c063e53..e39103b8ca6a5082d5205f06e17e51e6a2edee5f 100644 --- a/bt5/erp5_crm/PortalTypeBaseCategoryTemplateItem/base_category_list.xml +++ b/bt5/erp5_crm/PortalTypeBaseCategoryTemplateItem/base_category_list.xml @@ -1,16 +1,28 @@ <base_category_list> + <portal_type id="Campaign"> + <item>specialise</item> + </portal_type> <portal_type id="Campaign Module"> <item>business_application</item> </portal_type> <portal_type id="Event Module"> <item>business_application</item> </portal_type> + <portal_type id="Meeting"> + <item>specialise</item> + </portal_type> <portal_type id="Meeting Module"> <item>business_application</item> </portal_type> + <portal_type id="Sale Opportunity"> + <item>specialise</item> + </portal_type> <portal_type id="Sale Opportunity Module"> <item>business_application</item> </portal_type> + <portal_type id="Support Request"> + <item>specialise</item> + </portal_type> <portal_type id="Support Request Module"> <item>business_application</item> </portal_type> diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_view.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_view.xml index 4da124a11332587ce7edcc30f56cef842a8b2324..5a98eccba2d7cb4e8b7d3673cb7b97067c1e5bb8 100644 --- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_view.xml +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_view.xml @@ -126,6 +126,7 @@ <string>my_price_currency</string> <string>my_total_price</string> <string>my_translated_simulation_state_title</string> + <string>my_specialise_title</string> </list> </value> </item> diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_view/my_specialise_title.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_view/my_specialise_title.xml new file mode 100644 index 0000000000000000000000000000000000000000..84008e1e9fbd308b454b290949df7f0ba2d75c18 --- /dev/null +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_view/my_specialise_title.xml @@ -0,0 +1,93 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_specialise_title</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_specialise_title</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Ticket_viewFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_viewFieldLibrary.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_viewFieldLibrary.xml index 5d726e5c63f47dfc9badc256f7d4c1af16887666..af6413d450e05b0cbff00557cd39ea4dc19640a2 100644 --- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_viewFieldLibrary.xml +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_viewFieldLibrary.xml @@ -100,6 +100,7 @@ <string>my_stop_date</string> <string>my_price</string> <string>my_reference</string> + <string>my_specialise_title</string> </list> </value> </item> diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_viewFieldLibrary/my_specialise_title.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_viewFieldLibrary/my_specialise_title.xml new file mode 100644 index 0000000000000000000000000000000000000000..85ab2d575a9a5af49812de12b699cea1b910da8a --- /dev/null +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_viewFieldLibrary/my_specialise_title.xml @@ -0,0 +1,129 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list> + <string>base_category</string> + <string>catalog_index</string> + <string>portal_type</string> + <string>title</string> + </list> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_specialise_title</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>base_category</string> </key> + <value> <string>specialise</string> </value> + </item> + <item> + <key> <string>catalog_index</string> </key> + <value> <string>title</string> </value> + </item> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_relation_field</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewFieldLibrary</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> + <list> + <tuple> + <string>Sale Trade Condition</string> + <string>Sale Trade Condition</string> + </tuple> + <tuple> + <string>Purchase Trade Condition</string> + <string>Purchase Trade Condition</string> + </tuple> + <tuple> + <string>Internal Trade Condition</string> + <string>Internal Trade Condition</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Trade Condition</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_crm/bt/change_log b/bt5/erp5_crm/bt/change_log index c6f3ac83b575ff792fd704e9058ef85be7cae155..35ab7a9bce7ccd237bb8d5e68c1cea9712242d9c 100644 --- a/bt5/erp5_crm/bt/change_log +++ b/bt5/erp5_crm/bt/change_log @@ -1,3 +1,6 @@ +2009-05-23 JPS +* Tickets can specialise a Trade Condition + 2009-05-18 yusei * Fix some proxy fields. count_method should not be inherited from template field and proxy_listbox_ids had to be copied to new proxified fields but it was not copied. diff --git a/bt5/erp5_crm/bt/revision b/bt5/erp5_crm/bt/revision index fd098d297eb9bbdfce1aa740556cbaa888bc90d5..9361cf716528de196d23c64289cdea29161aad99 100644 --- a/bt5/erp5_crm/bt/revision +++ b/bt5/erp5_crm/bt/revision @@ -1 +1 @@ -374 \ No newline at end of file +376 \ No newline at end of file diff --git a/bt5/erp5_crm/bt/template_local_role_list b/bt5/erp5_crm/bt/template_local_role_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_crm/bt/template_portal_type_base_category_list b/bt5/erp5_crm/bt/template_portal_type_base_category_list index 19c3c07bc2f7746c0f05216a5612f566c3a661ad..ec890b434ac20c91499764032019cf56bec16fad 100644 --- a/bt5/erp5_crm/bt/template_portal_type_base_category_list +++ b/bt5/erp5_crm/bt/template_portal_type_base_category_list @@ -1,5 +1,9 @@ Campaign Module | business_application +Campaign | specialise Event Module | business_application Meeting Module | business_application +Meeting | specialise Sale Opportunity Module | business_application -Support Request Module | business_application \ No newline at end of file +Sale Opportunity | specialise +Support Request Module | business_application +Support Request | specialise \ No newline at end of file diff --git a/bt5/erp5_crm/bt/template_portal_type_role_list b/bt5/erp5_crm/bt/template_portal_type_role_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391