Fix [ 1970150 ] Incorrect combination used in posting of Cash
Thanks to Georgi Angelov - gangelov
This commit is contained in:
parent
5e3e989248
commit
796857544a
|
@ -192,7 +192,7 @@ public class Doc_Cash extends Doc
|
|||
{ // amount is negative
|
||||
// Charge DR
|
||||
// CashAsset CR
|
||||
fact.createLine(line, line.getChargeAccount(as, getAmount()),
|
||||
fact.createLine(line, line.getChargeAccount(as, line.getAmount()),
|
||||
getC_Currency_ID(), line.getAmount().negate(), null);
|
||||
// fact.createLine(line, getAccount(Doc.ACCTTYPE_CashAsset, as),
|
||||
// p_vo.C_Currency_ID, null, line.getAmount().negate());
|
||||
|
|
Loading…
Reference in New Issue