Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0005815
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2008-11-04 11:262008-11-05 10:16
ReportervillindView Statuspublic 
Assigned Torafaroda 
PriorityimmediateResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabasePostgreSQLJava version
OS VersionDatabase versionAnt version
Product Version2.40SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0005815: Inactive document types are shown and the default selection is no honored

DescriptionInactive 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.
TagsNo tags attached.
Attached Filespng file icon DocDefinition.png [^] (106,031 bytes) 2008-11-04 18:54

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0005830 newjonalegriaesarte Preferences overwrite document types defined 

-  Notes
(0009980)
rafaroda (developer)
2008-11-04 18:54

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.
(0009981)
villind (developer)
2008-11-05 00:05

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.
(0009990)
rafaroda (developer)
2008-11-05 10:16

This is not a bug but an configuration miss-understanding. A new documentation issue has been registered at this subject: https://issues.openbravo.com/view.php?id=5830 [^]

- 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 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker