Incoherence between on_change args in view and on_change prototype
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sales - Financial Controlling |
New
|
Undecided
|
Unassigned | ||
6.1 |
New
|
Undecided
|
Unassigned |
Bug Description
In an up-to-date branch lp:sale-financial/6.1 :
in the file sale_line_
on_change=
The argument before parent.pricelist is "product_uom_qty".
in the file sale_line_
def onchange_
-> The argument before "pricelist" is "product_uom" !!!! It should be product_uom_qty !
in the file sale_floor_
-> Same problem, the argument is "product_uom" and it should be "product_uom_qty"
in the file sale_markup/
-> Same problem, the argument is "product_uom" and it should be "product_uom_qty"
In this function, the argument "product_uom" is passed to the function product_
There is exactly the same error for the on_change on discount.
I plan to fix this bug in my merge proposal to upgrade to v7... and I don't plan to fix it in 6.1.
As the module wasn't ported and has been rewritten I remove the bug on 7.0 serie