** Changed in: openobject-client-web
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of OpenERP
SA's Web Client R&D, which is a bug assignee.
https://bugs.launchpad.net/bugs/684758

Title:
  onchange events not always triggered

Status in OpenObject Web Client:
  In Progress

Bug description:
  
Steps (with demo data and nearly all applications installed):

 * create a new Purchase Order
 * the field 'Warehouse' is normally set to 'OpenERP S.A.'
 * this should normally trigger an onchange event
 * the resulting onchange event should set the 'Destination' field to 'Stock'

This is the case in the gtk client.

In web client, it seems the onchange event is not triggered.

Some additional informations (don't know if they are needed but in case ...):

Here is a piece of server side 'DEBUG_RPC_ANSWER' log when using the gtk client:
  params:['web_bug_106', 1, '*', 'purchase.order', 'onchange_warehouse_id', [], 
1]
  DEBUG_RPC_ANSWER:result:{'value': {'dest_address_id': False, 'location_id': 
12}}

We learn that:
 * the onchange function is called 'onchange_warehouse_id'
 * the result is to set 'location_id' field (label = Destination) to record id 
12 which is 'Stock' in fact



_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-web
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-web
More help   : https://help.launchpad.net/ListHelp

Reply via email to