Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0002725Openbravo ERPF. Localizationpublic2008-03-17 16:572008-12-14 22:48
dalsasua 
eduardo_Argal 
normalminoralways
closedfixed 
5
 
pi 
No
Core
No
0002725: AP Credit Memo. Inconsistent data for the accounting
The Journal entries generated in a "AP Credit Memo" type purchase invoice are not correct. It was fixed for the sales invoices in this bug http://sourceforge.net/tracker/index.php?func=detail&aid=1814398&group_id=162271&atid=823129 [^] but it happens the same in the purchase invoices.

The problem is that in a purchase invoice, the journal entry that should be generated must be like this:

/----------------------\
|.Expenses.|.100.|.....|
|.Taxes....|..16.|.....|
|.Provider.|.....|.116.|
\----------------------/

In a "credit memo" purchase invoice:

/----------------------\
|.Expenses.|.....|.100.|
|.Taxes....|.....|..16.|
|.Provider.|.....|-116.|
\----------------------/

But it really does like a non "AP Invoice" type invoice:

/----------------------\
|.Expenses.|.100.|.....|
|.Taxes....|..16.|.....|
|.Provider.|.....|.116.|
\----------------------/
No tags attached.
Issue History
2008-07-10 10:26plujanAssigned Touser71 => cromero
2008-07-10 10:26plujanStatusresolved => new
2008-07-10 10:26plujanResolutionfixed => open
2008-07-10 10:26plujanNote Added: 0008258
2008-07-10 10:26plujanFixed in Version2.40alpha-r2 =>
2008-07-10 11:09cromeroStatusnew => scheduled
2008-07-10 11:09cromeroAssigned Tocromero => eduardo_Argal
2008-07-10 11:09cromerofix_in_branch => trunk
2008-07-15 18:24svnbotCheckin
2008-07-15 18:24svnbotNote Added: 0008302
2008-07-15 18:24svnbotStatusscheduled => resolved
2008-07-15 18:24svnbotResolutionopen => fixed
2008-07-15 18:24svnbotsvn_revision => 5863
2008-12-14 22:48psarobeRegression testing => No
2008-12-14 22:48psarobeStatusresolved => closed
2008-12-14 22:48psarobeNote Added: 0011330
2008-12-14 22:48psarobeFixed in Version2.35MP7 => trunk

Notes
(0006314)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1916887 [^]
(0003339)
user71   
2008-04-17 02:34   
(edited on: 2008-06-12 09:25)
Logged In: YES
user_id=1737231
Originator: NO

Fixed in trunk r3525
(0008258)
plujan   
2008-07-10 10:26   
On r2.40beta I still have
/----------------------\
|.Expenses.|.100.|.....|
|.Taxes....|..16.|.....|
|.Provider.|.....|.116.|
\----------------------/

as journal entry for AP Credit Memo
(0008302)
svnbot   
2008-07-15 18:24   
Repository: openbravo
Revision: 5863
Author: eduardoargal
Date: 2008-07-15 18:24:53 +0200 (Tue, 15 Jul 2008)

Fixes bug 0002725: AP Credit Memo. Inconsistent data for the accounting

---
U branches/r2.3x/src/org/openbravo/erpCommon/ad_forms/DocInvoice.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=5863&sc=1 [^]
(0011330)
psarobe   
2008-12-14 22:48   
Tested in trunk