Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0009862 | Openbravo ERP | 09. Financial management | public | 2009-07-13 18:08 | 2024-08-19 06:57 |
|
Reporter | eduardo_Argal | |
Assigned To | naiaramartinez | |
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | pi | Fixed in Version | 3.0MP11 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0009862: Create New sub-account: Fields Account length and sub-account length are set as mandatory and should be optional |
Description | Fields Account length and sub-account length are set as mandatory and should be optional |
Steps To Reproduce | |
Proposed Solution | Fields Account length and sub-account length are set as mandatory while they should be fulfilled just when we flag the check-box create a new account. This should also be modified to non-mandatory fields and the default value can be removed. |
Additional Information | |
Tags | 250MP3releasecandidate, arun, OB3-Reviewed, VMA-Reviewed |
Relationships | related to | defect | 0020353 | | closed | naiaramartinez | API CHANGE: Add a contraint in AD_ORG_ACCTSCHEMA |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2009-07-13 18:08 | eduardo_Argal | New Issue | |
2009-07-13 18:08 | eduardo_Argal | Assigned To | => vinothbabu |
2009-07-14 09:53 | eduardo_Argal | Status | new => scheduled |
2009-07-14 09:53 | eduardo_Argal | fix_in_branch | => pi |
2009-07-15 16:49 | vinothbabu | Note Added: 0018269 | |
2009-07-15 16:49 | vinothbabu | Status | scheduled => resolved |
2009-07-15 16:49 | vinothbabu | Fixed in SCM revision | => 2876b361ffba |
2009-07-15 16:49 | vinothbabu | fix_in_branch | pi => |
2009-07-21 16:24 | psarobe | Fixed in Version | => 2.50MP3 |
2009-07-21 16:26 | psarobe | Tag Attached: 250MP3releasecandidate | |
2009-07-21 19:25 | psarobe | Tag Attached: arun | |
2009-07-21 20:10 | psarobe | Note Added: 0018513 | |
2009-07-31 13:19 | sureshbabu | Status | resolved => new |
2009-07-31 13:19 | sureshbabu | Note Added: 0018765 | |
2009-07-31 13:19 | sureshbabu | Fixed in Version | 2.50MP3 => |
2009-08-19 07:30 | rafaroda | Status | new => scheduled |
2011-10-31 10:57 | psarobe | Assigned To | vinothbabu => jonalegriaesarte |
2011-11-24 15:28 | jonalegriaesarte | Tag Attached: OB3-Reviewed | |
2012-02-15 19:03 | iciordia | Assigned To | jonalegriaesarte => vmromanos |
2012-02-16 13:49 | vmromanos | Tag Attached: VMA-Reviewed | |
2012-03-21 17:27 | naiaramartinez | Note Added: 0046609 | |
2012-03-21 17:59 | naiaramartinez | Assigned To | vmromanos => naiaramartinez |
2012-03-22 17:35 | naiaramartinez | Note Added: 0046660 | |
2012-04-25 17:59 | naiaramartinez | Relationship added | related to 0020353 |
2012-04-26 17:16 | hgbot | Checkin | |
2012-04-26 17:16 | hgbot | Note Added: 0048051 | |
2012-04-26 17:16 | hgbot | Status | scheduled => resolved |
2012-04-26 17:16 | hgbot | Resolution | open => fixed |
2012-04-26 17:16 | hgbot | Fixed in SCM revision | 2876b361ffba => http://code.openbravo.com/erp/devel/pi/rev/557136640cdafd010bc3d6ac50eff339662d77f2 [^] |
2012-04-26 17:41 | vmromanos | Note Added: 0048058 | |
2012-04-26 17:41 | vmromanos | Status | resolved => closed |
2012-04-26 17:41 | vmromanos | Fixed in Version | => 3.0MP11 |
2012-04-28 02:31 | hudsonbot | Checkin | |
2012-04-28 02:31 | hudsonbot | Note Added: 0048161 | |
2024-08-19 06:57 | arethaknop | Note Added: 0168188 | |
Notes |
|
|
Removed the mandatory flag for both acct length field and sub account length field |
|
|
|
Arun, I will take car of this one |
|
|
|
i kept blank for both the fields Account length & sub account length field and then i tried to create a BP, but system throws error as " NotNullError: C_ELEMENTVALUE - VALUE " |
|
|
|
In organization window, inside tab org schema there are two mandatory fields which should not be mandatory. they have a display logic so they are not displayed by default, but as they are mandatory they are taking values when saving and that's wrong. |
|
|
|
Test Plan:
Go to General Setup || Enterprise Model || Organization
Select 'F&A EspaƱa, S.A.' organization.
Go to 'Org Schema' tab.
Create new record:
Select an accounting schema and save the record.
If you see the newly create record in grid view, you will be able to see that there are no values for 'Sequence for Business Partner' and 'Sequence for Product'. |
|
|
(0048051)
|
hgbot
|
2012-04-26 17:16
|
|
Repository: erp/devel/pi
Changeset: 557136640cdafd010bc3d6ac50eff339662d77f2
Author: Naiara Martinez <naiara.martinez <at> openbravo.com>
Date: Thu Apr 26 12:01:48 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/557136640cdafd010bc3d6ac50eff339662d77f2 [^]
fixed issue 9862 Not mandatory product and bp sequence(Org schema window)
create a constraint to check: if create new account for bp then
sequence for bp,account and sub account lengths and mandatory.
The same for create new account for product.
Callout: if create new account is not selected, the rest of the fields are null.
---
M src-db/database/model/tables/AD_ORG_ACCTSCHEMA.xml
M src-db/database/sourcedata/AD_CALLOUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
A src/org/openbravo/erpCommon/ad_callouts/SL_RefreshSequenceAndLength.java
---
|
|
|
|
Alternative test plan I:
1. Set Create New Account for Business Partner = Y
2. Try to save the record. An error should be displayed
3. Enter a sequence and save. An error should be displayed
4. Enter a length and save. An error should be displayed
5. Enter a sublength and save. No error is displayed
Alternative test plan II:
1. Set Create New Account for Products = Y
2. Try to save the record. An error should be displayed
3. Enter a sequence and save. No error is displayed
Alternative test plan III:
1. Set Create New Account for Products = N and save
2. The sequence for product should be automatically set to null
Alternative test plan IV:
1. Set Create New Account for Business Partner = N and save
2. The sequence for bp, length and sublength should be automatically set to null |
|
|
|
|
|
|
|