Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0005815 | Openbravo ERP | A. Platform | public | 2008-11-04 11:26 | 2008-11-05 10:16 |
|
Reporter | villind | |
Assigned To | rafaroda | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | |
Platform | | OS | 5 | OS Version | |
Product Version | 2.40 | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0005815: Inactive document types are shown and the default selection is no honored |
Description | Inactive document types are shown and the default selection is no honored. For example if POS Order is marked as not active it is still shown on "Sales Order" document type selection.
Also the default document type is not selected by default. |
Steps To Reproduce | - Incativate some document types
- Make some document types as default
- Test if these settings are honored. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0005830 | | new | jonalegriaesarte | Preferences overwrite document types defined |
|
Attached Files | DocDefinition.png (106,031) 2008-11-04 18:54 https://issues.openbravo.com/file_download.php?file_id=390&type=bug

|
|
Issue History |
Date Modified | Username | Field | Change |
2008-11-04 11:26 | villind | New Issue | |
2008-11-04 11:26 | villind | Assigned To | => rafaroda |
2008-11-04 11:26 | villind | sf_bug_id | 0 => 2220348 |
2008-11-04 11:26 | villind | OBNetwork customer | => Yes |
2008-11-04 11:26 | villind | Regression testing | => No |
2008-11-04 18:54 | rafaroda | Note Added: 0009980 | |
2008-11-04 18:54 | rafaroda | Status | new => feedback |
2008-11-04 18:54 | rafaroda | File Added: DocDefinition.png | |
2008-11-04 18:55 | rafaroda | Priority | normal => immediate |
2008-11-05 00:05 | villind | Note Added: 0009981 | |
2008-11-05 10:16 | rafaroda | Status | feedback => closed |
2008-11-05 10:16 | rafaroda | Note Added: 0009990 | |
2008-11-05 10:16 | rafaroda | Resolution | open => no change required |
2008-11-05 10:17 | rafaroda | Relationship added | related to 0005830 |
Notes |
|
|
1) Go to 'Financial Management || Accounting || Setup || Document Type'.
2) Deactivate the following registers: 'Warehouse Order', 'POS Order', 'On Credit Order'
3) Go to 'Sales Management || Transactions || Sales Order' and create a new record.
4) The registers de-activated in 2) are not shown in 'Document Type' drop-down list.
5) Go to 'Financial Management || Accounting || Setup || Document Type' again.
6) Set 'Proposal' record as default and un-check default for any other record with default ticked for the same table.
7) Log out and log in again to refresh default values.
8) Go to 'Sales Management || Transactions || Sales Order' and create a new record.
9) 'Proposal' is selected by default in 'Document Type' drop-down list.
See document type configuration for Sale order window in the attached image. |
|
|
|
The reason for this issue was:
General Setup || Application || Preference || Preference
In default setup, the default C_DocTypeTarget_ID for Salses Order was POS Order.
When the POS Order is de-activated it is still shown, as the filter uses the default also, regardless if it is active.
The functionality seems to be working, but the defaults are defined in two distinct locations, and the Preference setting overrides the isactive flag for document type.
I think that this issue can be fixed with proper documentation and maybe removing the automatic preference settings and honoring the default setting in Document Type
If the more detailed preferences are just documented and not applied by default it will save lot of debugging time. |
|
|
|
|