← Back to team overview

openerp-dev-web team mailing list archive

[Bug 684758] [NEW] onchange events not always triggered

 

You have been assigned a bug task for a public bug by Olivier (Open ERP) (olt):


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

** Affects: openobject-client-web
     Importance: Medium
     Assignee: OpenERP SA's Web Client R&D (openerp-dev-web)
         Status: Confirmed

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