From b1b273aed1b723e4482638d99441881a3665eb9a Mon Sep 17 00:00:00 2001 From: vpj-cd Date: Mon, 24 Aug 2009 16:14:54 +0000 Subject: [PATCH] Reversed invoice is create with invoice date. http://sourceforge.net/tracker/?func=detail&aid=2839194&group_id=176962&atid=879332 --- base/src/org/compiere/model/MInvoice.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/org/compiere/model/MInvoice.java b/base/src/org/compiere/model/MInvoice.java index 824089f6fd..9b55bf9f24 100644 --- a/base/src/org/compiere/model/MInvoice.java +++ b/base/src/org/compiere/model/MInvoice.java @@ -109,7 +109,7 @@ public class MInvoice extends X_C_Invoice implements DocAction to.setIsSOTrx(isSOTrx); // to.setDateInvoiced (dateDoc); - to.setDateAcct (dateDoc); + to.setDateAcct (from.getDateAcct()); to.setDatePrinted(null); to.setIsPrinted (false); //