Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012279Openbravo ERPA. Platformpublic2010-02-15 17:572011-11-16 16:42
rafaroda 
alostale 
normalmajoralways
closedout of date 
30Professional Appliance
pi 
 
Core
No
0012279: Validation rule does not trigger always onChange event
Validation rule does not trigger always onChange event. This is the case, for instance, when ticking Time Sheet check-box in Expense Sheet Lines.
1) Navigate to Expense Sheet Lines.
2) Create a new record: Electricity product is selected with UOM = KWh (SE_Expense_product callout selects the UOM taking into account the product)
3) Tick (select) Time Sheet check-box: a validation rule (S_Expense product type) applies to Product drop-down field in order to select a different type of products
4) Product is changed to Consulting but UOM is sometimes not updated to Day.
5) Un-tick and tick several times the Time Sheet check-box: sometimes UOM is properly updated and somitimes not.

If you debug SE_Expense_Product callout you will find out that on value change of the Product drop-down field the callout is not always called that causes the UOM not being updated.
No tags attached.
related to defect 0010431 closed rafaroda UOM is not properly updated in expense sheet lines. 
Issue History
2010-02-15 17:57rafarodaNew Issue
2010-02-15 17:57rafarodaAssigned To => alostale
2010-02-15 17:58rafarodaRelationship addedrelated to 0010431
2010-02-22 08:23alostaleStatusnew => scheduled
2010-02-22 08:23alostalefix_in_branch => pi
2011-11-16 16:42alostaleStatusscheduled => closed
2011-11-16 16:42alostaleResolutionopen => out of date

There are no notes attached to this issue.