← Back to team overview

openerp-india team mailing list archive

[Bug 1098948] Re: Avoid recursive OnChange event

 

** Changed in: openobject-server
       Status: New => Confirmed

** Changed in: openobject-server
   Importance: Undecided => Wishlist

** Changed in: openobject-server
     Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1098948

Title:
  Avoid recursive OnChange event

Status in OpenERP Server:
  Confirmed

Bug description:
  In a custom module that I'm trying to develop, there are three fields
  with a OnChange event that affects each of the other fields.

  The main issue is that the OnChange event is propagated threw all
  fields again and again until a balance is found (the value does not
  change, so the OnChange event is not triggered).

  Is there a way to avoid the OnChange "butterfly effect" ?

  I tried with a custom tag variable passed in the context dictionnary,
  but apparently this custom context is lost when exiting the OnChange
  event.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1098948/+subscriptions


References