From 65eeb178e5a4a5d237b021e282dac31863df736e Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Mon, 21 May 2007 16:12:02 +0000 Subject: [PATCH] Force total price to be calculed from the lines instead of using the catalog. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14534 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../CheckDeposit_view/my_total_price.xml | 23 ++++++------------- bt5/erp5_banking_check/bt/revision | 2 +- 2 files changed, 8 insertions(+), 17 deletions(-) diff --git a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDeposit_view/my_total_price.xml b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDeposit_view/my_total_price.xml index 033cd21827..c87e50ba3d 100644 --- a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDeposit_view/my_total_price.xml +++ b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDeposit_view/my_total_price.xml @@ -263,18 +263,15 @@ <record id="2" aka="AAAAAAAAAAI="> <pickle> <tuple> - <tuple> - <string>Products.Formulator.TALESField</string> - <string>TALESMethod</string> - </tuple> - <none/> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> </tuple> </pickle> <pickle> <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python: here.getTotalPrice(deliveryLineType=\'Check Operation Line\')</string> </value> + <value> <string>python: here.getTotalPrice(deliveryLineType=\'Check Operation Line\', fast=0)</string> </value> </item> </dictionary> </pickle> @@ -282,11 +279,8 @@ <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> - <tuple> - <string>Products.Formulator.TALESField</string> - <string>TALESMethod</string> - </tuple> - <none/> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> </tuple> </pickle> <pickle> @@ -301,11 +295,8 @@ <record id="4" aka="AAAAAAAAAAQ="> <pickle> <tuple> - <tuple> - <string>Products.Formulator.TALESField</string> - <string>TALESMethod</string> - </tuple> - <none/> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> </tuple> </pickle> <pickle> diff --git a/bt5/erp5_banking_check/bt/revision b/bt5/erp5_banking_check/bt/revision index 252b382b33..5e78f1eb7e 100644 --- a/bt5/erp5_banking_check/bt/revision +++ b/bt5/erp5_banking_check/bt/revision @@ -1 +1 @@ -202 \ No newline at end of file +203 \ No newline at end of file -- 2.30.9