← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 882944] [NEW] Refresh Parent windo in many2one search

 

Public bug reported:

Hi,

I was having some issues with creating a dynamic view in a wizard
(osv.osv_memory). I was overriding the fields_view_get and creating a
dynamic view depending on the on_change events in a field in the wizard.

Although the view is updated the browser didnt seem to render the newly
added fields.

After a lot of searching , I was helpless and I thought of patching the
search.mako template to reload the parent every single time we select a
value from the search popup.

I have attached my search.mako file. I am working with Openerp 5.

Feel free to post the drawbacks and vulnerabilities of this approach.

Regards,

Gayan

** Affects: openobject-client-web
     Importance: Undecided
         Status: New


** Tags: javascript mako search

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

Title:
  Refresh Parent windo in many2one search

Status in OpenERP Web Client:
  New

Bug description:
  Hi,

  I was having some issues with creating a dynamic view in a wizard
  (osv.osv_memory). I was overriding the fields_view_get and creating a
  dynamic view depending on the on_change events in a field in the
  wizard.

  Although the view is updated the browser didnt seem to render the
  newly added fields.

  After a lot of searching , I was helpless and I thought of patching
  the search.mako template to reload the parent every single time we
  select a value from the search popup.

  I have attached my search.mako file. I am working with Openerp 5.

  Feel free to post the drawbacks and vulnerabilities of this approach.

  Regards,

  Gayan

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/882944/+subscriptions


Follow ups

References