← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 711142] Re: [6.0.1] onchange data for reference field

 

Hello Devishree Brahmbhatt,
   Thank you for the response. This problem is getting very critical for our project.
We have a reference field on a form (on our module). This field is supposed to be filled by an onchange event from another field on the same form. After the onchange function is called, it successfully fill other fields but this reference field. This reference field will be filled if I test this with a GTK client. That means, I have the issue with Webclient only.

To recreate the issue, you will need one reference field on the form,
and onchnage on another field. fill the reference field with value form
onchange. the reference field will be filled if you are testing from GTK
and will not be filled if you are testing form

Please mail me if you need the maintenance contract details.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/711142

Title:
  [6.0.1] onchange data for reference field

Status in OpenERP Web Client:
  Incomplete

Bug description:
  Hello,
   When I try to populate a reference field from an on change event, it do not work on webclient but works on GTK client.
  This is how I pass the data on onchanage 

  {'value': {'<field name>': '<model name>,id'}}

  I used the format
  '<model name>,id'
  for default value for a reference field and its working on both Web and GTK client

  Hope someone will have make a response on this issue.
  thx





References