Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0055981Openbravo ERP01. General setuppublic2024-07-11 12:012024-11-13 12:11
swathi_kamal 
kousalya_r 
highminoralways
closedfixed 
30Openbravo Appliance 14.04
 
PR25Q1 
Core
No
0055981: 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.
depends on backport 0057075PR24Q4 closed kousalya_r Creation of Incoherent Legal Companies in version 24Q2 
depends on backport 0057076PR24Q3.3 closed kousalya_r Creation of Incoherent Legal Companies in version 24Q2 
depends on backport 0057077PR24Q2.5 closed kousalya_r Creation of Incoherent Legal Companies in version 24Q2 
Issue History
2024-07-11 12:01swathi_kamalNew Issue
2024-07-11 12:01swathi_kamalAssigned To => Retail
2024-07-11 12:01swathi_kamalModules => Core
2024-07-11 12:01swathi_kamalTriggers an Emergency Pack => No
2024-07-11 12:07swathi_kamalNote Added: 0166896
2024-07-11 12:09PracticsIssue Monitored: Practics
2024-09-05 11:51guillermogilAssigned ToRetail => Triage Omni OMS
2024-09-06 09:44jonaeNote Added: 0168850
2024-09-06 09:44jonaeSeveritymajor => minor
2024-10-01 16:38jonaeNote Added: 0169863
2024-10-16 07:35jonaeAssigned ToTriage Omni OMS => kousalya_r
2024-10-18 14:28hgbotNote Added: 0170588
2024-11-12 08:32swathi_kamalSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=28761#r28761
2024-11-12 08:32swathi_kamalProposed Solution updated
2024-11-13 06:57jonaeAssigned Tokousalya_r => jonae
2024-11-13 06:57jonaeAssigned Tojonae => kousalya_r
2024-11-13 06:57jonaeStatusnew => scheduled
2024-11-13 09:27hgbotNote Added: 0171840
2024-11-13 09:40hgbotNote Added: 0171841
2024-11-13 09:47hgbotNote Added: 0171842
2024-11-13 11:04hgbotNote Added: 0171907
2024-11-13 11:04hgbotResolutionopen => fixed
2024-11-13 11:04hgbotStatusscheduled => closed
2024-11-13 11:04hgbotFixed in Version => PR25Q1
2024-11-13 11:04hgbotNote Added: 0171908
2024-11-13 12:11hgbotNote Added: 0171919
2024-11-13 12:11hgbotNote Added: 0171920
2024-11-13 12:11hgbotNote Added: 0171921

Notes
(0166896)
swathi_kamal   
2024-07-11 12:07   
https://youtu.be/leM6YXo3nBw [^]
attached video for reference
(0168850)
jonae   
2024-09-06 09:44   
Moved to minor regarding the criteria described here - https://wiki.openbravo.com/wiki/Bug_Reporting_Guidelines#How_to_Choose_the_Right_Severity [^]

Field validation is missing (does not allow wrong data generation)
(0169863)
jonae   
2024-10-01 16:38   
Jira - https://openbravo.atlassian.net/browse/RM-17847 [^]
(0170588)
hgbot   
2024-10-18 14:28   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1397 [^]
(0171840)
hgbot   
2024-11-13 09:27   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1432 [^]
(0171841)
hgbot   
2024-11-13 09:40   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1433 [^]
(0171842)
hgbot   
2024-11-13 09:47   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1434 [^]
(0171907)
hgbot   
2024-11-13 11:04   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1397 [^]
(0171908)
hgbot   
2024-11-13 11:04   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 6f9f42f9c4d703cd44657a9f669d8ea9df9414a3
Author: Kousalya Ramasamy <k.ramasamy@external.orisha.com>
Date: 13-11-2024 10:03:59
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/6f9f42f9c4d703cd44657a9f669d8ea9df9414a3 [^]

Fixed ISSUE-55981: 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
---
(0171919)
hgbot   
2024-11-13 12:11   
Merge request closed: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1432 [^]
(0171920)
hgbot   
2024-11-13 12:11   
Merge request closed: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1433 [^]
(0171921)
hgbot   
2024-11-13 12:11   
Merge request closed: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1434 [^]