From b063a6e9df8031b304b8e24ba23d54328ba16d68 Mon Sep 17 00:00:00 2001 From: Lucas Carvalho <lucas@nexedi.com> Date: Fri, 13 Nov 2009 13:30:35 +0000 Subject: [PATCH] - fixed field CSS class git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30555 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../SaleOrder_viewAsWeb.xml | 4 +-- .../SaleOrder_viewAsWeb/my_payment_mode.xml | 30 +++++++++++++++---- bt5/erp5_commerce/bt/revision | 2 +- 3 files changed, 27 insertions(+), 9 deletions(-) diff --git a/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/SaleOrder_viewAsWeb.xml b/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/SaleOrder_viewAsWeb.xml index 0004aede0d..0b5af8cde8 100644 --- a/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/SaleOrder_viewAsWeb.xml +++ b/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/SaleOrder_viewAsWeb.xml @@ -86,12 +86,12 @@ <string>shopping_cart</string> <string>my_shipping_method</string> <string>my_payment_mode</string> - <string>submit2</string> + <string>submit_update</string> <string>customer</string> <string>discounts</string> <string>comment</string> <string>my_comment</string> - <string>submit</string> + <string>submit_payment</string> </list> </value> </item> diff --git a/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/SaleOrder_viewAsWeb/my_payment_mode.xml b/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/SaleOrder_viewAsWeb/my_payment_mode.xml index 1c3c86e58b..4791bd47ad 100644 --- a/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/SaleOrder_viewAsWeb/my_payment_mode.xml +++ b/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/SaleOrder_viewAsWeb/my_payment_mode.xml @@ -60,12 +60,14 @@ <dictionary> <item> <key> <string>css_class</string> </key> - <value> <string></string> </value> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> </item> <item> <key> <string>default</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> <item> @@ -79,13 +81,13 @@ <item> <key> <string>hidden</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> </value> </item> <item> <key> <string>items</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> </value> </item> <item> @@ -146,7 +148,7 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python: here.getWebSiteValue().SaleOrder_getShoppingCart().getPaymentConditionPaymentMode()</string> </value> + <value> <string>python: not here.SaleOrder_isConsistent() and \'hiddenLabel\' or \'shopping_cart_renderer_shipping\'</string> </value> </item> </dictionary> </pickle> @@ -162,12 +164,28 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>not: here/SaleOrder_isConsistent</string> </value> + <value> <string>python: here.getWebSiteValue().SaleOrder_getShoppingCart().getPaymentConditionPaymentMode()</string> </value> </item> </dictionary> </pickle> </record> <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>not: here/SaleOrder_isConsistent</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> <pickle> <tuple> <global name="TALESMethod" module="Products.Formulator.TALESField"/> diff --git a/bt5/erp5_commerce/bt/revision b/bt5/erp5_commerce/bt/revision index 104fcf5b4e..e0c1820214 100644 --- a/bt5/erp5_commerce/bt/revision +++ b/bt5/erp5_commerce/bt/revision @@ -1 +1 @@ -243 \ No newline at end of file +244 \ No newline at end of file -- 2.30.9