Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0057076Openbravo ERP01. General setuppublic2024-07-11 12:012024-11-13 12:12
swathi_kamal 
kousalya_r 
highminoralways
closedfixed 
30Openbravo Appliance 14.04
 
PR24Q3.3PR24Q3.3 
Core
No
0057076: 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 => PR24Q3.3
2024-11-13 11:46hgbotNote Added: 0171917
2024-11-13 12:12hgbotResolutionopen => fixed
2024-11-13 12:12hgbotStatusscheduled => closed
2024-11-13 12:12hgbotNote Added: 0171924
2024-11-13 12:12hgbotFixed in Version => PR24Q3.3
2024-11-13 12:12hgbotNote Added: 0171925

Notes
(0171917)
hgbot   
2024-11-13 11:46   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1436 [^]
(0171924)
hgbot   
2024-11-13 12:12   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1436 [^]
(0171925)
hgbot   
2024-11-13 12:12   
Directly closing issue as related merge request is already approved.

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

Fixed ISSUE-57076: 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
---