details:   https://code.openbravo.com/erp/devel/pi/rev/bd8ef9641e5d
changeset: 17802:bd8ef9641e5d
user:      Javier Etxarri <javier.echarri <at> openbravo.com>
date:      Wed Aug 29 14:13:14 2012 +0200
summary:   Fixes issue 21356: Mixing reconciliations
error obtained when changing defaulted cleared element

diffstat:

 
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/MatchTransaction.html
 |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 4ffce30f906f -r bd8ef9641e5d 
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/MatchTransaction.html
--- 
a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/MatchTransaction.html
       Wed Aug 29 13:32:34 2012 +0200
+++ 
b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/MatchTransaction.html
       Wed Aug 29 14:13:14 2012 +0200
@@ -163,6 +163,9 @@
 }
 function openAddTransaction(bankStatementLineId){
   document.frmMain.inpFinBankStatementLineId.value = bankStatementLineId;
+  if ( document.getElementById('inpCheckBox_' + bankStatementLineId) && 
document.getElementById('inpCheckBox_' + bankStatementLineId).checked){
+    unMatchLine(bankStatementLineId, true);
+  }
   openServletNewWindow('DEFAULT', false, 
'../org.openbravo.advpaymentmngt.ad_actionbutton/AddTransaction.html', 
'ADDTRANSACTION', '2EED9BC16DB34D2B80BA40A21564BECF', false,600, 900, null, 
null, false, true, true);
   return true;
 }

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to