Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0041861Openbravo ERP09. Financial managementpublic2019-09-20 13:282019-09-25 18:22
ngarcia 
markmm82 
urgentmajoralways
closedfixed 
5
 
3.0PR19Q4 
Sandrahuguet
Core
No
0041861: When posting Simple G/L Journal, document's organization is not used for currency balancing entry, account's org used instead
When posting Simple G/L Journal, document's organization is not used for currency balancing entry, account's org used instead
As group admin role:
   Create a new Simple G/L Journal:
      Organization: F&B España - Región Norte
      General Ledger: F&B International Group US/A/US Dollar
      Currency: EUR
      Rate: 1.176541
   Add 4 lines:
      1) Debit: 100.25
      2) Credit: 25.12
      3) Credit: 25.11
      4) Credit: 50.02

   Complete it and post it

   Check in Accounting tab that all the lines are created for F&B España - Región Norte organization but the line for currency balancing is created for F&B International Group US/A/US Dollar
Check if the attached diff does not break any other flow
No tags attached.
diff currencyBalancingOrg.diff (515) 2019-09-20 13:28
https://issues.openbravo.com/file_download.php?file_id=13313&type=bug
Issue History
2019-09-20 13:28ngarciaNew Issue
2019-09-20 13:28ngarciaAssigned To => Triage Finance
2019-09-20 13:28ngarciaFile Added: currencyBalancingOrg.diff
2019-09-20 13:28ngarciaModules => Core
2019-09-20 13:28ngarciaResolution time => 1570744800
2019-09-20 13:28ngarciaTriggers an Emergency Pack => No
2019-09-20 13:29ngarciaIssue Monitored: networkb
2019-09-20 13:33LeyreIssue Monitored: Leyre
2019-09-20 14:37SandrahuguetAssigned ToTriage Finance => markmm82
2019-09-23 00:20markmm82Statusnew => scheduled
2019-09-24 14:16markmm82Note Added: 0114756
2019-09-24 14:17markmm82Note Added: 0114757
2019-09-25 13:03hgbotCheckin
2019-09-25 13:03hgbotNote Added: 0114780
2019-09-25 13:03hgbotStatusscheduled => resolved
2019-09-25 13:03hgbotResolutionopen => fixed
2019-09-25 13:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f5f95f32cd1859316aef1de1219caa3e2fb4786a [^]
2019-09-25 13:04SandrahuguetReview Assigned To => Sandrahuguet
2019-09-25 13:04SandrahuguetNote Added: 0114781
2019-09-25 13:04SandrahuguetStatusresolved => closed
2019-09-25 13:04SandrahuguetFixed in Version => 3.0PR19Q4
2019-09-25 18:22hudsonbotCheckin
2019-09-25 18:22hudsonbotNote Added: 0114788

Notes
(0114756)
markmm82   
2019-09-24 14:16   
Test Plan:
    As group admin role:
   Create a new Simple G/L Journal:
      Organization: F&B España - Región Norte
      General Ledger: F&B International Group US/A/US Dollar
      Currency: EUR
      Rate: 1.176541
   Add 4 lines (be sure it is balanced):
      1) Debit: 100.25
      2) Credit: 25.12
      3) Credit:125.15
      4) Credit: 50.02

   Complete it and post it

   Check in Accounting tab that all the lines are created for F&B España - Región Norte organization including the line for currency balancing
(0114757)
markmm82   
2019-09-24 14:17   
Executed all the accounting tests and have finished successfully
(0114780)
hgbot   
2019-09-25 13:03   
Repository: erp/devel/pi
Changeset: f5f95f32cd1859316aef1de1219caa3e2fb4786a
Author: Mark Molina <mark.molina <at> doceleguas.com>
Date: Sun Sep 22 21:21:37 2019 -0300
URL: http://code.openbravo.com/erp/devel/pi/rev/f5f95f32cd1859316aef1de1219caa3e2fb4786a [^]

Fixes issue 41861: Used document's org for currency balancing when posting
Simple G/L Journal.

When posting Simple G/L Journal, account's org was used for currency balancing entry,
but now it is used the document's organization.

---
M src/org/openbravo/erpCommon/ad_forms/Fact.java
---
(0114781)
Sandrahuguet   
2019-09-25 13:04   
code review + testing ok
(0114788)
hudsonbot   
2019-09-25 18:22   
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/d412ceabd218 [^]
Maturity status: Test