[Erp5-report] r19555 - in /erp5/trunk/bt5/erp5_commerce: CategoryTemplateItem/portal_catego...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Feb 28 14:55:34 CET 2008
Author: ivan
Date: Thu Feb 28 14:55:34 2008
New Revision: 19555
URL: http://svn.erp5.org?rev=19555&view=rev
Log:
Clean up duplication with erp5_web form_view page templates.
Change API for Resource_addToShoppingCart.
Added:
erp5/trunk/bt5/erp5_commerce/bt/template_catalog_datetime_key_list
erp5/trunk/bt5/erp5_commerce/bt/template_catalog_local_role_key_list
erp5/trunk/bt5/erp5_commerce/bt/template_catalog_role_key_list
erp5/trunk/bt5/erp5_commerce/bt/template_catalog_scriptable_key_list
erp5/trunk/bt5/erp5_commerce/bt/template_tool_id_list
Modified:
erp5/trunk/bt5/erp5_commerce/CategoryTemplateItem/portal_categories/function/customer.xml
erp5/trunk/bt5/erp5_commerce/CategoryTemplateItem/portal_categories/product_line/shipping.xml
erp5/trunk/bt5/erp5_commerce/PortalTypeRolesTemplateItem/Person%20Module.xml
erp5/trunk/bt5/erp5_commerce/PortalTypeRolesTemplateItem/Sale%20Order%20Module.xml
erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/Resource_addToShoppingCart.xml
erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/Resource_viewAsShop.xml
erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/Resource_viewAsShop/submit.xml
erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/SaleOrder_viewAsWeb.xml
erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/SaleOrder_viewAsWebConfirm.xml
erp5/trunk/bt5/erp5_commerce/bt/revision
Modified: erp5/trunk/bt5/erp5_commerce/CategoryTemplateItem/portal_categories/function/customer.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_commerce/CategoryTemplateItem/portal_categories/function/customer.xml?rev=19555&r1=19554&r2=19555&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_commerce/CategoryTemplateItem/portal_categories/function/customer.xml (original)
+++ erp5/trunk/bt5/erp5_commerce/CategoryTemplateItem/portal_categories/function/customer.xml Thu Feb 28 14:55:34 2008
@@ -19,27 +19,61 @@
</value>
</item>
<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>_owner</string> </key>
- <value>
- <none/>
- </value>
- </item>
- <item>
- <key> <string>_tree</string> </key>
- <value>
- <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
+ <key> <string>activity_code</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>aggregated_portal_type</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>base_height</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>base_length</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>base_price</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>base_surface</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>base_unit_quantity</string> </key>
+ <value> <float>1.0</float> </value>
+ </item>
+ <item>
+ <key> <string>base_volume</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>base_weight</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>base_width</string> </key>
+ <value>
+ <none/>
</value>
</item>
<item>
@@ -51,7 +85,151 @@
</value>
</item>
<item>
+ <key> <string>codification</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>consumer_unit_quantity</string> </key>
+ <value> <float>1.0</float> </value>
+ </item>
+ <item>
+ <key> <string>contributors</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>corporate_name</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>corporate_registration_code</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>criterion_property</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>default_destination_reference</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>default_destination_title</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>default_reference</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>default_source_reference</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>default_source_title</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
<key> <string>description</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>destination_base_price</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>destination_base_price_validity</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>destination_total_asset_price</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>document_reference</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>ean13_code</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>effective_date</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>efficiency</string> </key>
+ <value> <float>1.0</float> </value>
+ </item>
+ <item>
+ <key> <string>expiration_date</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>financial_year_stop_date</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>float_index</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>format</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>geographic_incorporate_code</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>grouping_reference</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>height_quantity</string> </key>
<value>
<none/>
</value>
@@ -61,15 +239,285 @@
<value> <string>customer</string> </value>
</item>
<item>
+ <key> <string>id_generator</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id_group</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>instructions</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>int_index</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>language</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>last_id</string> </key>
+ <value> <string>0</string> </value>
+ </item>
+ <item>
+ <key> <string>length_quantity</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>max_delay</string> </key>
+ <value> <float>0.0</float> </value>
+ </item>
+ <item>
+ <key> <string>max_flow</string> </key>
+ <value> <float>0.0</float> </value>
+ </item>
+ <item>
+ <key> <string>membership_criterion_base_category</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>membership_criterion_category</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>min_delay</string> </key>
+ <value> <float>0.0</float> </value>
+ </item>
+ <item>
+ <key> <string>min_flow</string> </key>
+ <value> <float>0.0</float> </value>
+ </item>
+ <item>
+ <key> <string>multimembership_criterion_base_category</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>p_variation_base_category</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
<key> <string>portal_type</string> </key>
<value> <string>Category</string> </value>
</item>
<item>
+ <key> <string>price</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>priced_quantity</string> </key>
+ <value> <float>1.0</float> </value>
+ </item>
+ <item>
+ <key> <string>required_aggregated_portal_type</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>rid</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>rights</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>short_title</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>sid</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>social_capital</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>social_capital_currency_id</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>social_capital_currency_title</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>social_code</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>source_base_price</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>source_base_price_validity</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>source_total_asset_price</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>start_date</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>stop_date</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>string_index</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>subject</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>surface_quantity</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>test_method_id</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>time_quantity</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
<key> <string>title</string> </key>
<value> <string>Customer</string> </value>
</item>
<item>
+ <key> <string>trade_description</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
<key> <string>uid</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>unit_quantity</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>variation_base_category_column</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>variation_base_category_line</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>variation_base_category_list</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>variation_base_category_tab</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>variation_property_list</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>vat_code</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>volume_quantity</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>weight_quantity</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>width_quantity</string> </key>
<value>
<none/>
</value>
@@ -77,44 +525,4 @@
</dictionary>
</pickle>
</record>
- <record id="2" aka="AAAAAAAAAAI=">
- <pickle>
- <tuple>
- <tuple>
- <string>BTrees.Length</string>
- <string>Length</string>
- </tuple>
- <none/>
- </tuple>
- </pickle>
- <pickle> <int>0</int> </pickle>
- </record>
- <record id="3" aka="AAAAAAAAAAM=">
- <pickle>
- <tuple>
- <tuple>
- <string>BTrees.OOBTree</string>
- <string>OOBTree</string>
- </tuple>
- <none/>
- </tuple>
- </pickle>
- <pickle>
- <none/>
- </pickle>
- </record>
- <record id="4" aka="AAAAAAAAAAQ=">
- <pickle>
- <tuple>
- <tuple>
- <string>BTrees.OOBTree</string>
- <string>OOBTree</string>
- </tuple>
- <none/>
- </tuple>
- </pickle>
- <pickle>
- <none/>
- </pickle>
- </record>
</ZopeData>
Modified: erp5/trunk/bt5/erp5_commerce/CategoryTemplateItem/portal_categories/product_line/shipping.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_commerce/CategoryTemplateItem/portal_categories/product_line/shipping.xml?rev=19555&r1=19554&r2=19555&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_commerce/CategoryTemplateItem/portal_categories/product_line/shipping.xml (original)
+++ erp5/trunk/bt5/erp5_commerce/CategoryTemplateItem/portal_categories/product_line/shipping.xml Thu Feb 28 14:55:34 2008
@@ -19,21 +19,61 @@
</value>
</item>
<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>
+ <key> <string>activity_code</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>aggregated_portal_type</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>base_height</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>base_length</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>base_price</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>base_surface</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>base_unit_quantity</string> </key>
+ <value> <float>1.0</float> </value>
+ </item>
+ <item>
+ <key> <string>base_volume</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>base_weight</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>base_width</string> </key>
+ <value>
+ <none/>
</value>
</item>
<item>
@@ -45,7 +85,151 @@
</value>
</item>
<item>
+ <key> <string>codification</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>consumer_unit_quantity</string> </key>
+ <value> <float>1.0</float> </value>
+ </item>
+ <item>
+ <key> <string>contributors</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>corporate_name</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>corporate_registration_code</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>criterion_property</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>default_destination_reference</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>default_destination_title</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>default_reference</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>default_source_reference</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>default_source_title</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
<key> <string>description</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>destination_base_price</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>destination_base_price_validity</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>destination_total_asset_price</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>document_reference</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>ean13_code</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>effective_date</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>efficiency</string> </key>
+ <value> <float>1.0</float> </value>
+ </item>
+ <item>
+ <key> <string>expiration_date</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>financial_year_stop_date</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>float_index</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>format</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>geographic_incorporate_code</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>grouping_reference</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>height_quantity</string> </key>
<value>
<none/>
</value>
@@ -55,15 +239,285 @@
<value> <string>shipping</string> </value>
</item>
<item>
+ <key> <string>id_generator</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id_group</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>instructions</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>int_index</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>language</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>last_id</string> </key>
+ <value> <string>0</string> </value>
+ </item>
+ <item>
+ <key> <string>length_quantity</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>max_delay</string> </key>
+ <value> <float>0.0</float> </value>
+ </item>
+ <item>
+ <key> <string>max_flow</string> </key>
+ <value> <float>0.0</float> </value>
+ </item>
+ <item>
+ <key> <string>membership_criterion_base_category</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>membership_criterion_category</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>min_delay</string> </key>
+ <value> <float>0.0</float> </value>
+ </item>
+ <item>
+ <key> <string>min_flow</string> </key>
+ <value> <float>0.0</float> </value>
+ </item>
+ <item>
+ <key> <string>multimembership_criterion_base_category</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>p_variation_base_category</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
<key> <string>portal_type</string> </key>
<value> <string>Category</string> </value>
</item>
<item>
+ <key> <string>price</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>priced_quantity</string> </key>
+ <value> <float>1.0</float> </value>
+ </item>
+ <item>
+ <key> <string>required_aggregated_portal_type</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>rid</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>rights</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>short_title</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>sid</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>social_capital</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>social_capital_currency_id</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>social_capital_currency_title</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>social_code</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>source_base_price</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>source_base_price_validity</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>source_total_asset_price</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>start_date</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>stop_date</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>string_index</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>subject</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>surface_quantity</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>test_method_id</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>time_quantity</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
<key> <string>title</string> </key>
<value> <string>Shipping</string> </value>
</item>
<item>
+ <key> <string>trade_description</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
<key> <string>uid</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>unit_quantity</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>variation_base_category_column</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>variation_base_category_line</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>variation_base_category_list</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>variation_base_category_tab</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>variation_property_list</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>vat_code</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>volume_quantity</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>weight_quantity</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>width_quantity</string> </key>
<value>
<none/>
</value>
@@ -71,44 +525,4 @@
</dictionary>
</pickle>
</record>
- <record id="2" aka="AAAAAAAAAAI=">
- <pickle>
- <tuple>
- <tuple>
- <string>BTrees.Length</string>
- <string>Length</string>
- </tuple>
- <none/>
- </tuple>
- </pickle>
- <pickle> <int>0</int> </pickle>
- </record>
- <record id="3" aka="AAAAAAAAAAM=">
- <pickle>
- <tuple>
- <tuple>
- <string>BTrees.OOBTree</string>
- <string>OOBTree</string>
- </tuple>
- <none/>
- </tuple>
- </pickle>
- <pickle>
- <none/>
- </pickle>
- </record>
- <record id="4" aka="AAAAAAAAAAQ=">
- <pickle>
- <tuple>
- <tuple>
- <string>BTrees.OOBTree</string>
- <string>OOBTree</string>
- </tuple>
- <none/>
- </tuple>
- </pickle>
- <pickle>
- <none/>
- </pickle>
- </record>
</ZopeData>
Modified: erp5/trunk/bt5/erp5_commerce/PortalTypeRolesTemplateItem/Person%20Module.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_commerce/PortalTypeRolesTemplateItem/Person%2520Module.xml?rev=19555&r1=19554&r2=19555&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_commerce/PortalTypeRolesTemplateItem/Person%20Module.xml (original)
+++ erp5/trunk/bt5/erp5_commerce/PortalTypeRolesTemplateItem/Person%20Module.xml Thu Feb 28 14:55:34 2008
@@ -1,7 +1,7 @@
<type_roles>
<role id='Author'>
<property id='title'>Customer</property>
- <property id='priority'>10</property>
+ <property id='priority'>10.0</property>
<property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property>
<multi_property id='category'>function/customer</multi_property>
</role>
Modified: erp5/trunk/bt5/erp5_commerce/PortalTypeRolesTemplateItem/Sale%20Order%20Module.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_commerce/PortalTypeRolesTemplateItem/Sale%2520Order%2520Module.xml?rev=19555&r1=19554&r2=19555&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_commerce/PortalTypeRolesTemplateItem/Sale%20Order%20Module.xml (original)
+++ erp5/trunk/bt5/erp5_commerce/PortalTypeRolesTemplateItem/Sale%20Order%20Module.xml Thu Feb 28 14:55:34 2008
@@ -1,7 +1,7 @@
<type_roles>
<role id='Author'>
<property id='title'>Customer</property>
- <property id='priority'>10</property>
+ <property id='priority'>10.0</property>
<property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property>
<multi_property id='category'>function/customer</multi_property>
</role>
Modified: erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/Resource_addToShoppingCart.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/Resource_addToShoppingCart.xml?rev=19555&r1=19554&r2=19555&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/Resource_addToShoppingCart.xml (original)
+++ erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/Resource_addToShoppingCart.xml Thu Feb 28 14:55:34 2008
@@ -73,34 +73,34 @@
"""\n
Add resource to shopping cart.\n
"""\n
-from Products.Formulator.Errors import FormValidationError\n
request = container.REQUEST\n
-form = getattr(context, form_id)\n
-\n
-# FIXME:\n
-# this handling of validation errors should be automatically handled by the \n
-# button itself\n
-try:\n
- params = form.validate_all_to_request(request)\n
-except FormValidationError, validation_errors:\n
- # Pack errors into the request\n
- field_errors = form.ErrorFields(validation_errors)\n
- request.set(\'field_errors\', field_errors)\n
- # Make sure editors are pushed back as values into the REQUEST object\n
- for f in form.get_fields():\n
- field_id = f.id\n
- if request.has_key(field_id):\n
- value = request.get(field_id)\n
- if callable(value):\n
- value(request)\n
- return form(request)\n
-\n
-quantity = int(request.get(\'your_buy_quantity\'))\n
+if resource is None:\n
+ resource = context\n
+\n
+if form_id is not None:\n
+ from Products.Formulator.Errors import FormValidationError\n
+ form = getattr(context, form_id, None)\n
+ quantity = int(request.get(\'field_your_buy_quantity\'))\n
+ # FIXME:\n
+ # this handling of validation errors should be automatically handled by the \n
+ # button itself\n
+ try:\n
+ params = form.validate_all_to_request(request)\n
+ except FormValidationError, validation_errors:\n
+ # Pack errors into the request\n
+ field_errors = form.ErrorFields(validation_errors)\n
+ request.set(\'field_errors\', field_errors)\n
+ # Make sure editors are pushed back as values into the REQUEST object\n
+ for f in form.get_fields():\n
+ field_id = f.id\n
+ if request.has_key(field_id):\n
+ value = request.get(field_id)\n
+ if callable(value):\n
+ value(request)\n
+ return form(request)\n
+\n
shopping_cart = context.SaleOrder_getShoppingCart()\n
shopping_cart_items = context.SaleOrder_getShoppingCartItemList()\n
-\n
-if resource is None:\n
- resource = context\n
\n
## check if we don\'t have already such a resource in cart\n
line_found=False\n
@@ -142,7 +142,7 @@
</item>
<item>
<key> <string>_params</string> </key>
- <value> <string>form_id, resource=None</string> </value>
+ <value> <string>resource=None, quantity=1, form_id=None</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
@@ -162,22 +162,25 @@
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
- <value> <int>2</int> </value>
+ <value> <int>3</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
+ <string>resource</string>
+ <string>quantity</string>
<string>form_id</string>
- <string>resource</string>
- <string>Products.Formulator.Errors</string>
- <string>FormValidationError</string>
<string>_getattr_</string>
<string>container</string>
<string>request</string>
+ <string>None</string>
+ <string>context</string>
+ <string>Products.Formulator.Errors</string>
+ <string>FormValidationError</string>
<string>getattr</string>
- <string>context</string>
<string>form</string>
+ <string>int</string>
<string>params</string>
<string>validation_errors</string>
<string>field_errors</string>
@@ -186,11 +189,8 @@
<string>field_id</string>
<string>value</string>
<string>callable</string>
- <string>int</string>
- <string>quantity</string>
<string>shopping_cart</string>
<string>shopping_cart_items</string>
- <string>None</string>
<string>False</string>
<string>line_found</string>
<string>order_line</string>
@@ -210,6 +210,8 @@
<value>
<tuple>
<none/>
+ <int>1</int>
+ <none/>
</tuple>
</value>
</item>
Modified: erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/Resource_viewAsShop.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/Resource_viewAsShop.xml?rev=19555&r1=19554&r2=19555&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/Resource_viewAsShop.xml (original)
+++ erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/Resource_viewAsShop.xml Thu Feb 28 14:55:34 2008
@@ -47,6 +47,10 @@
</item>
<item>
<key> <string>action</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
@@ -119,7 +123,7 @@
</item>
<item>
<key> <string>pt</string> </key>
- <value> <string>web_form_view</string> </value>
+ <value> <string>form_view_editable</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
Modified: erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/Resource_viewAsShop/submit.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/Resource_viewAsShop/submit.xml?rev=19555&r1=19554&r2=19555&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/Resource_viewAsShop/submit.xml (original)
+++ erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/Resource_viewAsShop/submit.xml Thu Feb 28 14:55:34 2008
@@ -126,7 +126,7 @@
</item>
<item>
<key> <string>css_class</string> </key>
- <value> <string>hiddenLabel</string> </value>
+ <value> <string>hidden</string> </value>
</item>
<item>
<key> <string>default</string> </key>
@@ -153,6 +153,10 @@
<value> <int>0</int> </value>
</item>
<item>
+ <key> <string>image</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
<key> <string>name</string> </key>
<value> <string>Resource_addToShoppingCart:method</string> </value>
</item>
Modified: erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/SaleOrder_viewAsWeb.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/SaleOrder_viewAsWeb.xml?rev=19555&r1=19554&r2=19555&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/SaleOrder_viewAsWeb.xml (original)
+++ erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/SaleOrder_viewAsWeb.xml Thu Feb 28 14:55:34 2008
@@ -47,6 +47,10 @@
</item>
<item>
<key> <string>action</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
@@ -117,7 +121,7 @@
</item>
<item>
<key> <string>pt</string> </key>
- <value> <string>web_form_view</string> </value>
+ <value> <string>form_view_editable</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
Modified: erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/SaleOrder_viewAsWebConfirm.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/SaleOrder_viewAsWebConfirm.xml?rev=19555&r1=19554&r2=19555&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/SaleOrder_viewAsWebConfirm.xml (original)
+++ erp5/trunk/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/SaleOrder_viewAsWebConfirm.xml Thu Feb 28 14:55:34 2008
@@ -47,6 +47,10 @@
</item>
<item>
<key> <string>action</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
@@ -122,7 +126,7 @@
</item>
<item>
<key> <string>pt</string> </key>
- <value> <string>web_form_view</string> </value>
+ <value> <string>form_view_editable</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
Modified: erp5/trunk/bt5/erp5_commerce/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_commerce/bt/revision?rev=19555&r1=19554&r2=19555&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_commerce/bt/revision (original)
+++ erp5/trunk/bt5/erp5_commerce/bt/revision Thu Feb 28 14:55:34 2008
@@ -1,1 +1,1 @@
-92
+103
Added: erp5/trunk/bt5/erp5_commerce/bt/template_catalog_datetime_key_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_commerce/bt/template_catalog_datetime_key_list?rev=19555&view=auto
==============================================================================
(empty)
Added: erp5/trunk/bt5/erp5_commerce/bt/template_catalog_local_role_key_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_commerce/bt/template_catalog_local_role_key_list?rev=19555&view=auto
==============================================================================
(empty)
Added: erp5/trunk/bt5/erp5_commerce/bt/template_catalog_role_key_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_commerce/bt/template_catalog_role_key_list?rev=19555&view=auto
==============================================================================
(empty)
Added: erp5/trunk/bt5/erp5_commerce/bt/template_catalog_scriptable_key_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_commerce/bt/template_catalog_scriptable_key_list?rev=19555&view=auto
==============================================================================
(empty)
Added: erp5/trunk/bt5/erp5_commerce/bt/template_tool_id_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_commerce/bt/template_tool_id_list?rev=19555&view=auto
==============================================================================
(empty)
More information about the Erp5-report
mailing list