Commit 595284c5 authored by Vincent Pelletier's avatar Vincent Pelletier

Add overrides on the target total price of fast input calls where...

Add overrides on the target total price of fast input calls where getSourceTotalAssetPrice (ie, the default value) is wrong.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16150 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8a7a6fa6
...@@ -77,7 +77,8 @@ ...@@ -77,7 +77,8 @@
\n \n
return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n
, cash_detail_dict = cash_detail_dict\n , cash_detail_dict = cash_detail_dict\n
, destination = context.getObject().absolute_url())\n , destination = context.getObject().absolute_url()\n
, target_total_price = None)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -90,6 +90,7 @@ cash_detail_dict = {\'line_portal_type\' : \'Outgoing Cash To Currency ...@@ -90,6 +90,7 @@ cash_detail_dict = {\'line_portal_type\' : \'Outgoing Cash To Currency
return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n
, cash_detail_dict = cash_detail_dict\n , cash_detail_dict = cash_detail_dict\n
, destination = context.getObject().absolute_url()\n , destination = context.getObject().absolute_url()\n
, target_total_price = context.getQuantity()\n
)\n )\n
</string> </value> </string> </value>
</item> </item>
......
...@@ -86,6 +86,7 @@ cash_detail_dict = {\'line_portal_type\' : \'Incoming Cash To Currency ...@@ -86,6 +86,7 @@ cash_detail_dict = {\'line_portal_type\' : \'Incoming Cash To Currency
return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n
, cash_detail_dict = cash_detail_dict\n , cash_detail_dict = cash_detail_dict\n
, destination = context.getObject().absolute_url()\n , destination = context.getObject().absolute_url()\n
, target_total_price = context.getQuantity()\n
)\n )\n
</string> </value> </string> </value>
</item> </item>
......
...@@ -78,6 +78,7 @@ ...@@ -78,6 +78,7 @@
return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n
, cash_detail_dict = cash_detail_dict\n , cash_detail_dict = cash_detail_dict\n
, destination = context.getObject().absolute_url()\n , destination = context.getObject().absolute_url()\n
, target_total_price = None\n
)\n )\n
</string> </value> </string> </value>
</item> </item>
......
...@@ -77,7 +77,8 @@ ...@@ -77,7 +77,8 @@
\n \n
return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n
, cash_detail_dict = cash_detail_dict\n , cash_detail_dict = cash_detail_dict\n
, destination = context.getObject().absolute_url())\n , destination = context.getObject().absolute_url()\n
, target_total_price = context.getDestinationTotalAssetPrice())\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -77,7 +77,8 @@ ...@@ -77,7 +77,8 @@
\n \n
return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n
, cash_detail_dict = cash_detail_dict\n , cash_detail_dict = cash_detail_dict\n
, destination = context.getObject().absolute_url())\n , destination = context.getObject().absolute_url()\n
)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -80,7 +80,8 @@ cash_detail_dict = {\'line_portal_type\' : \'Outgoing Mutilated Bankno ...@@ -80,7 +80,8 @@ cash_detail_dict = {\'line_portal_type\' : \'Outgoing Mutilated Bankno
\n \n
return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n
, cash_detail_dict = cash_detail_dict\n , cash_detail_dict = cash_detail_dict\n
, destination = context.getObject().absolute_url())\n , destination = context.getObject().absolute_url()\n
, target_total_price = context.getDestinationTotalAssetPrice())\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
496 497
\ No newline at end of file \ 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