Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0039335 | Openbravo ERP | 02. Master data management | public | 2018-09-21 10:42 | 2018-12-11 20:22 |
|
Reporter | joniturralde93 | |
Assigned To | nonofrancisco | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | | Fixed in Version | 3.0PR19Q1 | |
Merge Request Status | |
Review Assigned To | Sandrahuguet |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 4788 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0039335: It is possible to chose an account which does not belong to the General Ledger (G/L Item window) |
Description | G/L Item window, Accounting tab:
It is possible to create a record with a General Ledger, select his accounts and then switch the General Ledger, resulting in a wrong combination of General Ledger and accounts. It can be saved like that. Happens both in form and new row.
|
Steps To Reproduce | 1. Log into live builds, G/L Item window and select Organization: '*'
2. Create a new record in the Accounting tab and select General Ledger: 'F&B España, S.A. US/A/Euro'
3. Select both Glitem debit acct and Glitem credit acct: '10000 - Capital social'
4. Now, without saving before, change General Ledger to 'F&B International Group US/A/US Dollar', and then save the record. You shouldn't be allowed to do that, since that account doesn't belong to that General Ledger.
5. Open the record in form view and click on the Glitem debit acct link to open it in another tab. It is shown at the top of the window that '10000 - Capital social' belongs to 'F&B España, S.A. US/A/Euro'
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-09-21 10:42 | joniturralde93 | New Issue | |
2018-09-21 10:42 | joniturralde93 | Assigned To | => Triage Finance |
2018-09-21 10:42 | joniturralde93 | OBNetwork customer | => Yes |
2018-09-21 10:42 | joniturralde93 | Modules | => Core |
2018-09-21 10:42 | joniturralde93 | Support ticket | => 4788 |
2018-09-21 10:42 | joniturralde93 | Resolution time | => 1539295200 |
2018-09-21 10:42 | joniturralde93 | Triggers an Emergency Pack | => No |
2018-09-27 12:07 | Sandrahuguet | Assigned To | Triage Finance => nonofrancisco |
2018-09-28 08:54 | vmromanos | Status | new => scheduled |
2018-09-28 18:55 | nonofrancisco | Note Added: 0107077 | |
2018-10-03 12:20 | hgbot | Checkin | |
2018-10-03 12:20 | hgbot | Note Added: 0107132 | |
2018-10-03 12:20 | hgbot | Status | scheduled => resolved |
2018-10-03 12:20 | hgbot | Resolution | open => fixed |
2018-10-03 12:20 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/5170d62ca42fad2a12f746e24e7c292875e638c8 [^] |
2018-10-03 12:21 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2018-10-03 12:21 | Sandrahuguet | Note Added: 0107133 | |
2018-10-03 12:21 | Sandrahuguet | Status | resolved => closed |
2018-10-03 12:21 | Sandrahuguet | Fixed in Version | => 3.0PR19Q1 |
2018-12-11 20:22 | hudsonbot | Checkin | |
2018-12-11 20:22 | hudsonbot | Note Added: 0108416 | |
Notes |
|
|
Test Plan
Log as F&B International Group Admin
Open G/L Item window and select Organization: '*'
Create a new record in the Accounting tab and select General Ledger: 'F&B España, S.A. US/A/Euro'
Select both Glitem debit acct and Glitem credit acct: '10000 - Capital social'
Now, without saving before, change General Ledger to 'F&B International Group US/A/US Dollar'.
Notice the G/L Item credit and debit amount fields are reset. Opening the selectors in those fields shows accounts that belongs to 'F&B International Group US/A/US Dollar' General Ledger |
|
|
(0107132)
|
hgbot
|
2018-10-03 12:20
|
|
Repository: erp/devel/pi
Changeset: 5170d62ca42fad2a12f746e24e7c292875e638c8
Author: Nono Carballo <nonofce <at> gmail.com>
Date: Wed Oct 03 10:21:31 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5170d62ca42fad2a12f746e24e7c292875e638c8 [^]
Fixes issue 39335: Wrong combination of General Ledger and accounts
* A new Event Observer was created to check, on save, if Debit and Credit
accounts belongs to the selected Accounting Schema.
---
M src-db/database/sourcedata/AD_MESSAGE.xml
A src/org/openbravo/event/GLItemAccountsEventHandler.java
---
|
|
|
|
|
|
|
|