Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0057077Openbravo ERP01. General setuppublic2024-07-11 12:012024-11-13 12:12
swathi_kamal 
kousalya_r 
highminoralways
closedfixed 
30Openbravo Appliance 14.04
 
PR24Q2.5PR24Q2.5 
Core
No
0057077: Creation of Incoherent Legal Companies in version 24Q2
1.Creation of LEGAL entity WITH ACCOUNTING WITHOUT an Uploaded Accounting Plan after uncheck "Include Accounting File or Accounting Reference Data" in initial organisation setup.
2. Creation of a LEGAL entity WITHOUT ACCOUNTING WITH an Uploaded Accounting Plan
3. Should have some barrier to the creation of organisations of a certain type, having at least one PGC attached.
All of this means that at the consulting level we cannot reverse these errors and we must do so by database.
Steps to Reproduce:
1. In Initial Organisation setup, Create new org with new username, password.
2. Organization type - LEGAL WITH ACCOUNTING
3. uncheck "Include Accounting File or Accounting Reference Data"
4. click ok
Expected: Legal with accounting - The process is going to check if the flag Include Accouting File is set, if No - throw ERROR

1. In Initial Organisation setup, Create new org with new username, password.
2. Organization type - LEGAL WITHOUT ACCOUNTING
3. check "Include Accounting File or Accounting Reference Data" AND Select currency
4. select any reference data
4. click ok
Expected: Legal without accounting - The process is going to check if the flag Include Accouting File is set, if YES - throw ERROR
 The process is going to check if the flag Include Accouting File is set or not incase of with and without accounting entity to have some barrier to the creation of organisations of a certain type, having at least one PGC attached before creating organisation for with accounting and shouldn't for without accounting.
No tags attached.
blocks defect 0055981 closed kousalya_r Creation of Incoherent Legal Companies in version 24Q2 
Issue History
2024-11-13 06:57jonaeTypedefect => backport
2024-11-13 06:57jonaeTarget Version => PR24Q2.5
2024-11-13 11:51hgbotNote Added: 0171918
2024-11-13 12:12hgbotResolutionopen => fixed
2024-11-13 12:12hgbotStatusscheduled => closed
2024-11-13 12:12hgbotFixed in Version => PR24Q2.5
2024-11-13 12:12hgbotNote Added: 0171922
2024-11-13 12:12hgbotNote Added: 0171923

Notes
(0171918)
hgbot   
2024-11-13 11:51   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1437 [^]
(0171922)
hgbot   
2024-11-13 12:12   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 86d36a3e85158fe7784cbf3dc0f8c6062cf8cf25
Author: Kousalya Ramasamy <k.ramasamy@external.orisha.com>
Date: 13-11-2024 16:20:00
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/86d36a3e85158fe7784cbf3dc0f8c6062cf8cf25 [^]

Fixed ISSUE-57077: Include accounting file validation with organization type

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/erpCommon/ad_forms/InitialOrgSetup.java
M src/org/openbravo/erpCommon/businessUtility/InitialOrgSetup.java
---
(0171923)
hgbot   
2024-11-13 12:12   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1437 [^]