Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029618Openbravo ERP09. Financial managementpublic2015-04-16 19:292015-05-14 17:49
aferraz 
aferraz 
immediatemajoralways
closedfixed 
30Professional Appliance
 
 
vmromanos
Core
No
0029618: G/L Journal Accounting amounts are not setted correctly
G/L Journal Accounting amounts are not setted correctly if allow negative is not setted, g/l journal header rate is different than one and g/l journal line amounts are negative
As group admin role:
   Set Allow negative as false for F&B España, S.A. US/A/Euro in General Ledger Configuration window
   Create a G/L Journal batch
      Organization: F&B España - Región Norte
      Currency: EUR
   Create a header
      Organization: F&B España - Región Norte
      General Ledger: F&B España, S.A. US/A/Euro
      Currency: USD
   Add two lines to it with negative amounts
   Complete and post the document
   Check that the rate is not applied in accounting amounts when converting from USD to EUR (general ledger currency)
No tags attached.
related to defect 0029610 closed aferraz Error in GLJournalAccountingCheck validation 
related to defect 0029222 closed aferraz G/L Journal Accounting amounts are not setted correctly 
causes defect 0030820 closed AtulOpenbravo accounting process is not working with payment out and negative amount 
Issue History
2015-04-16 19:29aferrazNew Issue
2015-04-16 19:29aferrazAssigned To => Triage Finance
2015-04-16 19:29aferrazModules => Core
2015-04-16 19:29aferrazRegression level => Production - Confirmed Stable
2015-04-16 19:29aferrazRegression date => 2012-09-11
2015-04-16 19:29aferrazRegression introduced in release => 3.0MP16
2015-04-16 19:29aferrazRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/05beb7bb79c27623c216afd0cd63aa758cb3f690 [^]
2015-04-16 19:29aferrazTriggers an Emergency Pack => No
2015-04-16 19:30aferrazDescription Updatedbug_revision_view_page.php?rev_id=8285#r8285
2015-04-16 19:31aferrazDescription Updatedbug_revision_view_page.php?rev_id=8286#r8286
2015-04-17 08:28aferrazRelationship addedcaused by 0021579
2015-04-17 11:55aferrazRelationship addedrelated to 0029610
2015-04-17 11:55aferrazRelationship addedrelated to 0029222
2015-04-17 13:32aferrazSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8295#r8295
2015-04-17 15:28aferrazRegression levelProduction - Confirmed Stable =>
2015-04-17 15:28aferrazRegression date2012-09-11 =>
2015-04-17 15:28aferrazRegression introduced in release3.0MP16 =>
2015-04-17 15:28aferrazRegression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/05beb7bb79c27623c216afd0cd63aa758cb3f690 [^] =>
2015-04-20 10:34aferrazAssigned ToTriage Finance => aferraz
2015-04-20 10:36aferrazStatusnew => scheduled
2015-04-20 10:36aferrazRelationship deletedcaused by 0021579
2015-04-20 10:41aferrazNote Added: 0076623
2015-05-14 10:08hgbotCheckin
2015-05-14 10:08hgbotNote Added: 0077425
2015-05-14 10:08hgbotStatusscheduled => resolved
2015-05-14 10:08hgbotResolutionopen => fixed
2015-05-14 10:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a810d05065cfe7eb3199928ed9104c7b54989ecb [^]
2015-05-14 10:08vmromanosReview Assigned To => vmromanos
2015-05-14 10:08vmromanosNote Added: 0077426
2015-05-14 10:08vmromanosStatusresolved => closed
2015-05-14 17:49hudsonbotCheckin
2015-05-14 17:49hudsonbotNote Added: 0077466
2015-09-14 18:19vmromanosRelationship addedcauses 0030820

Notes
(0076623)
aferraz   
2015-04-20 10:41   
Test plan:

As group admin role:
   Set Allow negative as false for F&B España, S.A. US/A/Euro in General Ledger Configuration window
   Create a G/L Journal batch
      Organization: F&B España - Región Norte
      Currency: EUR
   Create a header
      Organization: F&B España - Región Norte
      General Ledger: F&B España, S.A. US/A/Euro
      Currency: USD
   Add two lines to it with negative amounts
   Complete and post the document
   Check that the rate is correctly applied in accounting amounts when converting from USD to EUR (general ledger currency)
(0077425)
hgbot   
2015-05-14 10:08   
Repository: erp/devel/pi
Changeset: a810d05065cfe7eb3199928ed9104c7b54989ecb
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Thu May 14 09:56:05 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a810d05065cfe7eb3199928ed9104c7b54989ecb [^]

Fixes issue 29618: G/L Journal Accounting amounts are setted correctly

Now, converted amounts are correctly setted when posting a G/L Journal although amounts are negative and rate is different than 1

---
M src/org/openbravo/erpCommon/ad_forms/Fact.java
---
(0077426)
vmromanos   
2015-05-14 10:08   
Code review + testing OK
(0077466)
hudsonbot   
2015-05-14 17:49   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/3375171dd310 [^]
Maturity status: Test