← Back to team overview

openerp-india team mailing list archive

[Bug 1249350] [NEW] [all versions] account_voucher has buggy onchange methods

 

Public bug reported:

Hi,

More than two years ago, this bug was opened https://bugs.launchpad.net
/openobject-addons/+bug/783496

The correspondig MP under OPW was never merged, so the error is still
present in all versions, and makes account_voucher impossible to use in
real life.

How to test:
*Create and validate several invoices for a customer
*Go to Customer Payments
*Select customer (invoices previously created will be loaded)
*Say the customer doesn't want to pay first invoice yet, so delete it from list
*Now enter amount...  the list of invoices is reloaded and your change is gone... 

Expected result:  amount will be applied to remaining invoices in the
list...

Problem is that pending lines should NOT be reloaded when changing other
fields but partner, as any changes made by the user to line details will
be lost.


Also, seems like suggested MP on original bug is not optimal, as keeps the same onchange shared over the fields, instead of separating the onchange to simplify the methods...

Please help to get this finally fixed, as it is present now on v6, v6.1,
v7 and even on trunk!!

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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/1249350

Title:
  [all versions] account_voucher has buggy onchange methods

Status in OpenERP Addons (modules):
  New

Bug description:
  Hi,

  More than two years ago, this bug was opened
  https://bugs.launchpad.net/openobject-addons/+bug/783496

  The correspondig MP under OPW was never merged, so the error is still
  present in all versions, and makes account_voucher impossible to use
  in real life.

  How to test:
  *Create and validate several invoices for a customer
  *Go to Customer Payments
  *Select customer (invoices previously created will be loaded)
  *Say the customer doesn't want to pay first invoice yet, so delete it from list
  *Now enter amount...  the list of invoices is reloaded and your change is gone... 

  Expected result:  amount will be applied to remaining invoices in the
  list...

  Problem is that pending lines should NOT be reloaded when changing
  other fields but partner, as any changes made by the user to line
  details will be lost.

  
  Also, seems like suggested MP on original bug is not optimal, as keeps the same onchange shared over the fields, instead of separating the onchange to simplify the methods...

  Please help to get this finally fixed, as it is present now on v6,
  v6.1, v7 and even on trunk!!

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


Follow ups

References