← Back to team overview

openerp-india team mailing list archive

[Bug 1089850] Re: fleet on_change events cause looping

 

Hello,

The infinite loop problem due to the on_change has been fixed in 7.0 and
will be in trunk at next update

rev number : 8536
rev id : csn@xxxxxxxxxxx-20130104125234-hr8qagufpdmm5v4o

FYI you cannot put the 3 onchange function into one since the order of
operation is different, if you want to input total_price and amount you
would want the price_per_liter to be compute first, meaning that if you
change a field you would want one of the 2 other fields to change, not
the one you just modified. So you need a different function for each.

Thanks for reporting
Cédric

** Changed in: openobject-addons
       Status: Fix Committed => Fix Released

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

Title:
  fleet on_change events cause looping

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  In fuel logs in the fleet module there are 3 on_change methods which
  basically do the same, calculate the triple liter/price per
  liter/amount.

  I had to disable two of the three on_change attributes in the view to
  prevent the system from looping.

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


References