Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008228Openbravo ERPA. Platformpublic2009-03-23 10:572009-04-22 00:01
alostale 
dbaz 
normalmajoralways
closedfixed 
5
 
pi2.50 
Core
No
0008228: Callouts fro client and organization fields are not executed when creating a new record
When a new record is created on change event is raised for all the fields in the tab except client and organization. This causes that in case there are fields depending on the values of these two, they are not properly updated.
Using small bazaar test data:
-Login as Openbravo Admin, Organization A.
-Go to Financial Management || Accounting || Setup || Document Type || Document Definition
-Change the organization for Standard Order document from * to A
-Go to Sales Management || Transactions || Sales Order || Header
-Create a new Order
-Check the Transaction Document drop down list -> Standard Order is not present
-Change organization to another one and change back it to A
-Now the drop down list contains Standard Order because this time the callout was executed.
In utils.js, function updateOnChange change this line:
  if (field.name!="inpadClientId" && field.name!="inpadOrgId") field.onchange();
for
  field.onchange();
No tags attached.
related to defect 0008376 closed alostale Set Project type button appears & disappears in Project & Service Management->Transactions->Multiphase Project 
related to defect 00109152.50MP9 closed alostale When trying to add a new tab in a deactived window, the tab is added in an different window 
related to defect 0012700 closed alostale Client dropdown shows System within a non-system client 
Issue History
2009-03-23 10:57alostaleNew Issue
2009-03-23 10:57alostaleAssigned To => dbaz
2009-03-23 10:57alostaleRegression testing => No
2009-03-24 00:14hgbotCheckin
2009-03-24 00:14hgbotNote Added: 0014877
2009-03-24 00:14hgbotStatusnew => resolved
2009-03-24 00:14hgbotResolutionopen => fixed
2009-03-24 00:14hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7c14fe7ef5223beca1800ef9a3f733b32f6d5bbf [^]
2009-04-06 15:25alostaleRelationship addedrelated to 0008376
2009-04-21 10:53psarobeStatusresolved => closed
2009-04-22 00:01anonymoussf_bug_id0 => 2778086
2009-11-10 11:14alostaleRelationship addedrelated to 0010915
2010-03-17 13:43alostaleRelationship addedrelated to 0012700

Notes
(0014877)
hgbot   
2009-03-24 00:14   
Repository: erp/devel/pi
Changeset: 7c14fe7ef5223beca1800ef9a3f733b32f6d5bbf
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Tue Mar 24 00:10:10 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/7c14fe7ef5223beca1800ef9a3f733b32f6d5bbf [^]

Fixed bug 8228: Now Client and Organization related callouts are executed

---
M web/js/utils.js
---