Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007478Openbravo ERP09. Financial managementpublic2009-02-10 12:412009-07-23 00:00
pheenan 
sathiyan 
lowminoralways
closedfixed 
5
pi 
pipi 
Core
No
0007478: No validation on the default field in Email Template
Navigate to Financial Management -> Accounting -> Setup -> Document Type -> Report Template -> Email Definition

When entering email definitions for a document type there is no validation on the default field. This allows for multiple definitions to be set as default and also to set none as default.
Create multiple templates as default and then set all as not default. No errors or warnings are thrown.
Setting one template as default should set others to not default. Either this or setting one as default when another is already set should throw an error and advise that there is already a default field set. This functionality should be centrally maintained and specified in the application dictionary for the field.
250MP3releasecandidate, suresh
Issue History
2009-02-10 12:41pheenanNew Issue
2009-02-10 12:41pheenanAssigned To => rafaroda
2009-02-10 12:41pheenanRegression testing => No
2009-02-17 18:30rafarodaAssigned Torafaroda => gmauleon
2009-02-17 18:30rafarodaPrioritynormal => low
2009-02-17 18:30rafarodaStatusnew => scheduled
2009-06-10 11:15rafarodaAssigned Togmauleon => sathiyan
2009-06-25 18:00hgbotCheckin
2009-06-25 18:00hgbotNote Added: 0017596
2009-06-25 18:00hgbotStatusscheduled => resolved
2009-06-25 18:00hgbotResolutionopen => fixed
2009-06-25 18:00hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/49a22c0c73fb8a174fdaa508557c100dd3dbf3f3 [^]
2009-07-21 16:24psarobeFixed in Version => 2.50MP3
2009-07-21 16:26psarobeTag Attached: 250MP3releasecandidate
2009-07-21 19:19psarobeTag Attached: suresh
2009-07-22 10:47sureshbabuStatusresolved => closed
2009-07-22 10:47sureshbabuNote Added: 0018534
2009-07-22 10:47sureshbabuFixed in Version2.50MP3 => pi
2009-07-23 00:00anonymoussf_bug_id0 => 2825595

Notes
(0017596)
hgbot   
2009-06-25 18:00   
Repository: erp/devel/pi
Changeset: 49a22c0c73fb8a174fdaa508557c100dd3dbf3f3
Author: Sathiyan Sivaprakasam <sathiyan.sivaprakasam <at> openbravo.com>
Date: Thu Jun 25 21:28:01 2009 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/49a22c0c73fb8a174fdaa508557c100dd3dbf3f3 [^]

Fixes Issue 7478: No validation on the default field in Email Template

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src/org/openbravo/erpCommon/ad_callouts/SL_IsDefault.java
---
(0018534)
sureshbabu   
2009-07-22 10:47   
Tested working fine (Application throws warning message when more than one Email definitions is set as default)