Commit 7c6384a9 authored by Rafael Monnerat's avatar Rafael Monnerat Committed by Xiaowu Zhang

Replaced ZPT by a FormBox

parent fa07e4d4
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<global name="ERP5Form" module="Products.ERP5Form.Form"/>
</pickle>
<pickle>
<dictionary>
......@@ -19,12 +19,7 @@
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
<dictionary/>
</value>
</item>
</dictionary>
......@@ -33,67 +28,129 @@
</value>
</item>
<item>
<key> <string>_text</string> </key>
<value> <unicode encoding="cdata"><![CDATA[
<tal:block tal:condition="python: not here.getPortalObject().portal_membership.isAnonymousUser()">\n
<tal:block tal:define="customer here/SaleOrder_getShoppingCartCustomer">\n
<br />\n
<h2>Customer Information</h2>\n
<table>\n
<tr>\n
<td>Name:</td>\n
<td><span tal:content="customer/getTitle"/></td>\n
</tr>\n
<tr>\n
<td>Email:</td>\n
<td> <span tal:content="customer/getDefaultEmailText"/></td>\n
</tr>\n
<tr>\n
<td>Telephone:</td>\n
<td> <span tal:content="customer/getDefaultTelephoneText"/></td>\n
</tr>\n
<tr>\n
<td>Address:</td>\n
<td><span tal:content="customer/getDefaultAddressStreetAddress"/></td>\n
</tr>\n
<tr>\n
<td>City:</td>\n
<td><span tal:content="customer/getDefaultAddressCity"/></td>\n
</tr>\n
<tr>\n
<td>ZIP:</td>\n
<td><span tal:content="customer/getDefaultAddressZipCode"/></td>\n
</tr>\n
<tr>\n
<td>Country:</td>\n
<td><span tal:content="customer/getDefaultAddressRegionTitle"/></td>\n
</tr>\n
</table>\n
</tal:block>\n
</tal:block>
]]></unicode> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>expand</string> </key>
<value> <int>0</int> </value>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>edit_order</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>enctype</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<list>
<string>left</string>
<string>right</string>
<string>center</string>
<string>bottom</string>
<string>hidden</string>
</list>
</value>
</item>
<item>
<key> <string>groups</string> </key>
<value>
<dictionary>
<item>
<key> <string>bottom</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>center</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>left</string> </key>
<value>
<list>
<string>your_title</string>
<string>your_default_email_text</string>
<string>your_default_telephone_text</string>
<string>your_default_address_street_address</string>
<string>your_default_address_city</string>
<string>your_default_address_zip_code</string>
<string>your_default_address_region_title</string>
</list>
</value>
</item>
<item>
<key> <string>right</string> </key>
<value>
<list/>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>SaleOrder_viewCustomerRenderer</string> </value>
</item>
<item>
<key> <string>output_encoding</string> </key>
<value> <string>utf-8</string> </value>
<key> <string>method</string> </key>
<value> <string>POST</string> </value>
</item>
<item>
<key> <string>name</string> </key>
<value> <string>SaleOrder_viewCustomerRenderer</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>embedded_form_render</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
<value> <int>4</int> </value>
</item>
<item>
<key> <string>stored_encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <unicode>Customer information custom renderer</unicode> </value>
<value> <string>Customer Information</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>update_action</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>update_action_title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
......
To get the Anonymous navigation working, it is necessary to set some security:
To get the Anonymous navigation working is required to set some security:
currency_module - Access contents information
product_module - Access contents information
sale_order_module - Access contents information
sale_trade_condition_module - Access contents information
TODO:
- merge account registration / creation into generic ERP5
sale_trade_condition_module - Access contents information
TODO:
- merge account registration / creation into generic ERP5
\ No newline at end of file
304
\ No newline at end of file
305
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment