Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010135Openbravo ERP03. Procurement managementpublic2009-07-30 16:462009-08-19 00:00
alostale 
alostale 
urgentmajorrandom
closedfixed 
5
pi 
pi 
Core
No
0010135: Inconsistent data in Orders in case of javascript failure
It is possible, if javascript fails, to save an Order changing its ordered quantity value but without refreshing its line net amount. This happens because the trigger is not executed in case the only modified value is oredered quantity.

Note that this also affects to updates directly in database without using the UI.
-Go to Procurement Management || Transactions || Purchase Order || Header >> Lines and edit an existent line.
-Simulate a js failure: change the value in ordered quantity using firebug. (If you do it from UI the callout will be raised and the problem won't appear)
-Save
-Notice the line net amount field is not updated
Change trigger to be executed when this field is changed.
No tags attached.
Issue History
2009-07-30 16:46alostaleNew Issue
2009-07-30 16:46alostaleAssigned To => alostale
2009-07-30 16:52hgbotCheckin
2009-07-30 16:52hgbotNote Added: 0018727
2009-07-30 16:52hgbotStatusnew => resolved
2009-07-30 16:52hgbotResolutionopen => fixed
2009-07-30 16:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1af271658e850c6078d8b785b759e1c0dcea724a [^]
2009-08-18 08:31sureshbabuStatusresolved => closed
2009-08-18 08:31sureshbabuNote Added: 0018983
2009-08-18 08:31sureshbabuFixed in Version => pi
2009-08-19 00:00anonymoussf_bug_id0 => 2839894

Notes
(0018727)
hgbot   
2009-07-30 16:52   
Repository: erp/devel/pi
Changeset: 1af271658e850c6078d8b785b759e1c0dcea724a
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Jul 30 16:52:01 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/1af271658e850c6078d8b785b759e1c0dcea724a [^]

fixed bug 0010135: Inconsistent data in Orders in case of javascript failure

---
M src-db/database/model/triggers/C_ORDERLINE_TRG.xml
---
(0018983)
sureshbabu   
2009-08-18 08:31   
warning message appears when we change the quantity field through fire bug.