Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011187Openbravo ERPA. Platformpublic2009-10-30 09:252009-11-07 00:00
psarobe 
iperdomo 
immediatemajorsometimes
closedfixed 
5
pi 
2.50MP9 
Core
No
0011187: Control changes (CC) + Autosave enable: Error while it shouldn't happen
Under some circumstances the ERP shows you an error when it shouldn't

The problem happens when the refresh of the window:
1. You create a sales invoice (date 12/12/2009). Save
So in the DB you have, for example, updated: 18:00:09
2. You change the date (13/12/2009) and without saving you click the complete button
So in the DB you have, for example, updated: 18:03:05 and in UI: 18:00:09
3. You click the button cancel
So in the DB you still have updated: 18:03:09 but in the UI: 18:00:09
4. Then you click Complete button again so because "updated" in UI<DB then an error message shows up which is wrong

1. Create a sales invoice with lines
2. Change the date and click the complete button
3. When the pop-up is opened, press the button Cancel
4. Click again the button Complete

Result: A red error message shows up. This is wrong
Expected result: You click the complete button and the pop-up opens without any problems
No tags attached.
Issue History
2009-10-30 09:25psarobeNew Issue
2009-10-30 09:25psarobeAssigned To => iperdomo
2009-10-30 09:26psarobeStatusnew => scheduled
2009-10-30 09:26psarobefix_in_branch => pi
2009-11-02 17:48hgbotCheckin
2009-11-02 17:48hgbotNote Added: 0021516
2009-11-02 17:48hgbotStatusscheduled => resolved
2009-11-02 17:48hgbotResolutionopen => fixed
2009-11-02 17:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/50d76f70c5dae98a4de632388fc430360f495ade [^]
2009-11-06 08:39arunkumarStatusresolved => closed
2009-11-06 08:39arunkumarNote Added: 0021618
2009-11-06 08:39arunkumarFixed in Version => 2.50MP9
2009-11-07 00:00anonymoussf_bug_id0 => 2893613

Notes
(0021516)
hgbot   
2009-11-02 17:48   
Repository: erp/devel/pi
Changeset: 50d76f70c5dae98a4de632388fc430360f495ade
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Mon Nov 02 17:47:24 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/50d76f70c5dae98a4de632388fc430360f495ade [^]

Fixes issue 11187: Now the parent window will refresh always on cancel or close

---
M src-wad/src/org/openbravo/wad/Template_ActionButton.html
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromInvoice.html
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder.html
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder.html
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement.html
M src/org/openbravo/erpCommon/ad_actionButton/CreateFile.html
M src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.html
M src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Shipment.html
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Bank.html
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_CRemittance.html
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_DPManagement.html
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice.html
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Response.html
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Settlement.html
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Shipment.html
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_ShipmentPO.html
M src/org/openbravo/erpCommon/ad_actionButton/CreateRegFactAcct.html
M src/org/openbravo/erpCommon/ad_actionButton/CreateVatRegisters.html
M src/org/openbravo/erpCommon/ad_actionButton/DocAction.html
M src/org/openbravo/erpCommon/ad_actionButton/ProjectCopyFrom.html
M src/org/openbravo/erpCommon/ad_forms/RequisitionToOrderCreate.html
M src/org/openbravo/erpCommon/ad_forms/Role.html
M src/org/openbravo/erpCommon/ad_process/CopyFromGLJournal.html
M web/js/utils.js
---
(0021618)
arunkumar   
2009-11-06 08:39   
Tested & Working fine.