diff --git a/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/PricingPreference.xml b/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/PricingPreference.xml new file mode 100644 index 0000000000000000000000000000000000000000..5402b7b0313916fbb1359f3091ab4e6f35414f8e --- /dev/null +++ b/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/PricingPreference.xml @@ -0,0 +1,64 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Property Sheet" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_count</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_mt_index</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>_tree</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>Pricing Preference to optimise Pricing query with supply paths</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>PricingPreference</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Property Sheet</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="Length" module="BTrees.Length"/> + </pickle> + <pickle> <int>0</int> </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="OOBTree" module="BTrees.OOBTree"/> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="OOBTree" module="BTrees.OOBTree"/> + </pickle> + <pickle> + <none/> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/PricingPreference/preferred_internal_movement_supply_path_type_property.xml b/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/PricingPreference/preferred_internal_movement_supply_path_type_property.xml new file mode 100644 index 0000000000000000000000000000000000000000..a0cec20ac304504081632b731c14d7cda262d3cd --- /dev/null +++ b/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/PricingPreference/preferred_internal_movement_supply_path_type_property.xml @@ -0,0 +1,43 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Standard Property" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>elementary_type/lines</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>The Supply Path Portal types for Internal Portal Types.\n +\n +For example: You can configure Internal Line uses Internal Supply Cell and Internal Supply Line.\n +In contrast, the pricing method uses all supply paths by default.</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>preferred_internal_movement_supply_path_type_property</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Standard Property</string> </value> + </item> + <item> + <key> <string>preference</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>property_default</string> </key> + <value> <string>python: []</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/PricingPreference/preferred_pricing_optimise_property.xml b/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/PricingPreference/preferred_pricing_optimise_property.xml new file mode 100644 index 0000000000000000000000000000000000000000..e005766691b43c27277b8f0d08e7b660066a7696 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/PricingPreference/preferred_pricing_optimise_property.xml @@ -0,0 +1,65 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Standard Property" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>mode</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>elementary_type/boolean</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>A flag to enable/disable Pricing optimise configurations.</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>preferred_pricing_optimise_property</string> </value> + </item> + <item> + <key> <string>mode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Standard Property</string> </value> + </item> + <item> + <key> <string>preference</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>property_default</string> </key> + <value> <string>python: False</string> </value> + </item> + <item> + <key> <string>write_permission</string> </key> + <value> <string>Manage properties</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/PricingPreference/preferred_pricing_supply_path_key_category_property.xml b/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/PricingPreference/preferred_pricing_supply_path_key_category_property.xml new file mode 100644 index 0000000000000000000000000000000000000000..36965fde3115dde8162d7335f68ac47be47f6a94 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/PricingPreference/preferred_pricing_supply_path_key_category_property.xml @@ -0,0 +1,69 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Standard Property" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>mode</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>elementary_type/lines</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>Categories which is used to select/filter the supply path.\n +\n +For example:\n +when source_section, destination_section, resource\n +are select here, pricing method uses the three categories as the keys to select/filter the supply paths for a movement.</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>preferred_pricing_supply_path_key_category_property</string> </value> + </item> + <item> + <key> <string>mode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Standard Property</string> </value> + </item> + <item> + <key> <string>preference</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>property_default</string> </key> + <value> <string>python: []</string> </value> + </item> + <item> + <key> <string>write_permission</string> </key> + <value> <string>Manage properties</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/PricingPreference/preferred_purchase_movement_supply_path_type_property.xml b/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/PricingPreference/preferred_purchase_movement_supply_path_type_property.xml new file mode 100644 index 0000000000000000000000000000000000000000..adefd7439f7152e41738f1e09d5234268a3fd50e --- /dev/null +++ b/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/PricingPreference/preferred_purchase_movement_supply_path_type_property.xml @@ -0,0 +1,65 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Standard Property" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>mode</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>elementary_type/lines</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>The Supply Path Portal types for Purchase Portal Types.</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>preferred_purchase_movement_supply_path_type_property</string> </value> + </item> + <item> + <key> <string>mode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Standard Property</string> </value> + </item> + <item> + <key> <string>preference</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>property_default</string> </key> + <value> <string>python: []</string> </value> + </item> + <item> + <key> <string>write_permission</string> </key> + <value> <string>Manage properties</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/PricingPreference/preferred_sale_movement_supply_path_type_property.xml b/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/PricingPreference/preferred_sale_movement_supply_path_type_property.xml new file mode 100644 index 0000000000000000000000000000000000000000..a5150a4542cb002603ec03b8905ed530cff323d5 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/PricingPreference/preferred_sale_movement_supply_path_type_property.xml @@ -0,0 +1,65 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Standard Property" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>mode</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>elementary_type/lines</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>The Supply Path Portal types for Sale Portal Types.</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>preferred_sale_movement_supply_path_type_property</string> </value> + </item> + <item> + <key> <string>mode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Standard Property</string> </value> + </item> + <item> + <key> <string>preference</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>property_default</string> </key> + <value> <string>python: []</string> </value> + </item> + <item> + <key> <string>write_permission</string> </key> + <value> <string>Manage properties</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_property_sheets/bt/change_log b/product/ERP5/bootstrap/erp5_property_sheets/bt/change_log index b422bf7f4c1c950238223ff9ff720dc18dfaf770..d450d9b1adceebd992845e6e23934b2f231f4a1a 100644 --- a/product/ERP5/bootstrap/erp5_property_sheets/bt/change_log +++ b/product/ERP5/bootstrap/erp5_property_sheets/bt/change_log @@ -1,3 +1,6 @@ +2014-01-15 tatuya +* Add Pricing Preference so that we can optimise the Pricing query. + 2013-12-12 arnaud.fontaine * Get rid of Business Template format version 0 as it's been deprecated for a while. diff --git a/product/ERP5/bootstrap/erp5_property_sheets/bt/revision b/product/ERP5/bootstrap/erp5_property_sheets/bt/revision index d7765fe47e06ccb3e29a916d2f5ede6d3ac0c533..2fb681e3f93b6b7e6441bd64271813a1ec293b5b 100644 --- a/product/ERP5/bootstrap/erp5_property_sheets/bt/revision +++ b/product/ERP5/bootstrap/erp5_property_sheets/bt/revision @@ -1 +1 @@ -70 \ No newline at end of file +71 \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_property_sheets/bt/template_property_sheet_id_list b/product/ERP5/bootstrap/erp5_property_sheets/bt/template_property_sheet_id_list index 6c2feed1d982328363ceb742853337927ab6032e..e08e8955f2e3cbbf4f0885b2bda3e11f4e98b401 100644 --- a/product/ERP5/bootstrap/erp5_property_sheets/bt/template_property_sheet_id_list +++ b/product/ERP5/bootstrap/erp5_property_sheets/bt/template_property_sheet_id_list @@ -132,6 +132,7 @@ Predicate Preference Price Pricing +PricingPreference ProductDataPreference ProductionOrder ProductionOrderLine