Commit 2b9dc6fb authored by Aurel's avatar Aurel

remove use of Integer_toString script

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7111 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a729e999
...@@ -375,7 +375,7 @@ else :\n ...@@ -375,7 +375,7 @@ else :\n
cell_quantity = int(listbox_line[\'column\'+str(counter)] or 0)\n cell_quantity = int(listbox_line[\'column\'+str(counter)] or 0)\n
quantity = quantity + cell_quantity\n quantity = quantity + cell_quantity\n
counter += 1\n counter += 1\n
listbox_line[\'price\'] = context.Integer_toString(int(quantity * resource_price))\n listbox_line[\'price\'] = int(quantity * resource_price)\n
# raise \'KHA\',repr(( x ))\n # raise \'KHA\',repr(( x ))\n
\n \n
total_price += int(quantity * resource_price)\n total_price += int(quantity * resource_price)\n
...@@ -384,7 +384,6 @@ else :\n ...@@ -384,7 +384,6 @@ else :\n
listbox = new_line_list\n listbox = new_line_list\n
\n \n
# raise \'KHA\',repr(( listbox ))\n # raise \'KHA\',repr(( listbox ))\n
total_price = context.Integer_toString(total_price)\n
\n \n
context.Base_updateDialogForm( listbox=listbox\n context.Base_updateDialogForm( listbox=listbox\n
, calculated_price=total_price\n , calculated_price=total_price\n
......
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