[all versions] account_voucher has buggy onchange methods

Bug #1249350 reported by Mario Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned

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!!

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Mario,

Yes, you are right . This problem still appears on all version v7. trunk, 6.1 etc.
You know that it is already reported on lp:783496, So you can put the comment on lp:783496 or mark the target to series for this bug rather then reported a new bug. Which will be easier to manage the bug and also it accordingly our bug management policy.

Let me mark this as a duplicate of lp:783496 and open this bug for 7.0 and trunk.

Thank you!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.