Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0057075Openbravo ERP01. General setuppublic2024-07-11 12:012024-11-13 12:13
swathi_kamal 
kousalya_r 
highminoralways
closedfixed 
30Openbravo Appliance 14.04
 
PR24Q4PR24Q4 
Core
No
0057075: 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 => PR24Q4
2024-11-13 11:39hgbotNote Added: 0171916
2024-11-13 12:13hgbotResolutionopen => fixed
2024-11-13 12:13hgbotStatusscheduled => closed
2024-11-13 12:13hgbotFixed in Version => PR24Q4
2024-11-13 12:13hgbotNote Added: 0171926
2024-11-13 12:13hgbotNote Added: 0171927

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

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

Fixed ISSUE-57075: 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
---
(0171927)
hgbot   
2024-11-13 12:13   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1435 [^]