Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009295Openbravo ERPA. Platformpublic2009-06-02 13:232009-06-12 11:22
psarobe 
iperdomo 
immediatemajoralways
closedfixed 
5
pi 
pi 
Core
No
0009295: If using ShowConfirmationDefault equals Yes a strange behavior arise
If you configure the option ShowConfirmationDefault so the autosave feature asks you for confirmation before saving, when pressing a button the ERP asks you weird confirmations
1. Go to General setup-> Preference
2. Click New and configure ShowConfirmationDefault as Y
3. Go to Sales invoice window
4. Click new and select a business partner. Without saving click the button create lines from
No tags attached.
Issue History
2009-06-02 13:23psarobeNew Issue
2009-06-02 13:23psarobeAssigned To => iperdomo
2009-06-02 13:24psarobeStatusnew => scheduled
2009-06-02 13:24psarobefix_in_branch => pi
2009-06-02 14:46hgbotCheckin
2009-06-02 14:46hgbotNote Added: 0016873
2009-06-02 14:46hgbotStatusscheduled => resolved
2009-06-02 14:46hgbotResolutionopen => fixed
2009-06-02 14:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/dfeb47c4102d0601dc3f8f3079f4100ed10de01f [^]
2009-06-02 14:47iperdomoNote Added: 0016874
2009-06-06 20:57psarobeNote Added: 0017060
2009-06-06 20:59psarobeStatusresolved => new
2009-06-06 20:59psarobeResolutionfixed => open
2009-06-06 20:59psarobeNote Added: 0017061
2009-06-08 08:53psarobeStatusnew => scheduled
2009-06-08 09:48psarobeNote Edited: 0017061
2009-06-08 13:56hgbotCheckin
2009-06-08 13:56hgbotNote Added: 0017093
2009-06-08 13:56hgbotStatusscheduled => resolved
2009-06-08 13:56hgbotResolutionopen => fixed
2009-06-08 13:56hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/dfeb47c4102d0601dc3f8f3079f4100ed10de01f [^] => http://code.openbravo.com/erp/devel/pi/rev/449b220a5301b8823197a35aa02e6657d076e2fe [^]
2009-06-10 13:16sureshbabuStatusresolved => closed
2009-06-10 13:16sureshbabuNote Added: 0017179
2009-06-10 13:16sureshbabuFixed in Version => pi
2009-06-11 00:00anonymoussf_bug_id0 => 2804448
2009-06-12 11:22hgbotCheckin
2009-06-12 11:22hgbotNote Added: 0017238
2009-06-12 11:22hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/449b220a5301b8823197a35aa02e6657d076e2fe [^] => http://code.openbravo.com/erp/devel/api-checks/rev/4e77fc3c281d10ae7289198a514a8a71bd70086d [^]

Notes
(0016873)
hgbot   
2009-06-02 14:46   
Repository: erp/devel/pi
Changeset: dfeb47c4102d0601dc3f8f3079f4100ed10de01f
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Tue Jun 02 14:45:23 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/dfeb47c4102d0601dc3f8f3079f4100ed10de01f [^]

Fixes issue 9295: Reset confirmOnChanges flag when user clicks OK

---
M web/js/utils.js
---
(0016874)
iperdomo   
2009-06-02 14:47   
@QA team:
Remember to clear the browser cache before testing.
This is a JS change.

Cheers,

Iván
(0017060)
psarobe   
2009-06-06 20:57   
To me the issue is still present even cleaning the cache
(0017061)
psarobe   
2009-06-06 20:59   
(edited on: 2009-06-08 09:48)
In IMO now the behavior is not correct. When the record is saved if you click again the "Create lines button" the message appears again even though no changes are performed

Steps to reproduce.
1. Go to Sales invoice
2. Select a bp
3. Save
4. Click the button Create lines from

(0017093)
hgbot   
2009-06-08 13:56   
Repository: erp/devel/pi
Changeset: 449b220a5301b8823197a35aa02e6657d076e2fe
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Mon Jun 08 13:54:56 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/449b220a5301b8823197a35aa02e6657d076e2fe [^]

Fixes issue 9295: Remove prompt confirmation when click a button and has no user changes

---
M web/js/utils.js
---
(0017179)
sureshbabu   
2009-06-10 13:16   
Tested working fine
(0017238)
hgbot   
2009-06-12 11:22   
Repository: erp/devel/api-checks
Changeset: 4e77fc3c281d10ae7289198a514a8a71bd70086d
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Fri Jun 12 11:22:10 2009 +0200
URL: http://code.openbravo.com/erp/devel/api-checks/rev/4e77fc3c281d10ae7289198a514a8a71bd70086d [^]

Fixes false positivie related to issue 9295

---
M js/utils.js.details
---