From 61caece987ce366f14a9c3d10428cf165c87b068 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Wed, 24 Oct 2012 14:36:51 +0200 Subject: [PATCH] Fix total price not being displayed on cash exchange outgoing line list. --- .../listbox.xml | 11 ++++++- .../listbox_total_price.xml | 29 +++---------------- 2 files changed, 14 insertions(+), 26 deletions(-) diff --git a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashExchange_viewOutgoingLineList/listbox.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashExchange_viewOutgoingLineList/listbox.xml index 858db6b05f..50f1bbad0e 100644 --- a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashExchange_viewOutgoingLineList/listbox.xml +++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashExchange_viewOutgoingLineList/listbox.xml @@ -389,7 +389,16 @@ <item> <key> <string>editable_columns</string> </key> <value> - <list/> + <list> + <tuple> + <string>quantity</string> + <string>Number</string> + </tuple> + <tuple> + <string>total_price</string> + <string>Amount</string> + </tuple> + </list> </value> </item> <item> diff --git a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashExchange_viewOutgoingLineList/listbox_total_price.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashExchange_viewOutgoingLineList/listbox_total_price.xml index 771a1be827..616481bf44 100644 --- a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashExchange_viewOutgoingLineList/listbox_total_price.xml +++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashExchange_viewOutgoingLineList/listbox_total_price.xml @@ -114,9 +114,7 @@ </item> <item> <key> <string>default</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> + <value> <string></string> </value> </item> <item> <key> <string>description</string> </key> @@ -203,7 +201,7 @@ </item> <item> <key> <string>editable</string> </key> - <value> <int>1</int> </value> + <value> <int>0</int> </value> </item> <item> <key> <string>enabled</string> </key> @@ -231,11 +229,11 @@ </item> <item> <key> <string>required</string> </key> - <value> <int>1</int> </value> + <value> <int>0</int> </value> </item> <item> <key> <string>title</string> </key> - <value> <string>Montant</string> </value> + <value> <string>Amount</string> </value> </item> <item> <key> <string>whitespace_preserve</string> </key> @@ -247,23 +245,4 @@ </dictionary> </pickle> </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <tuple> - <string>Products.Formulator.TALESField</string> - <string>TALESMethod</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_text</string> </key> - <value> <string>python: here.Integer_toString(int(here.getTotalPrice(fast=0)))</string> </value> - </item> - </dictionary> - </pickle> - </record> </ZopeData> -- 2.30.9