Error when changing product UOM in purchase order line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
In OpenERP V6.1, when creating or modifying a purchase order line, if we change the Product UOM (product_uom), an error is raised:
File "/home/
name=name, price_unit=
TypeError: onchange_
This is caused by the module warning, in the file warning.py, the signature of the method onchange_product_id is not correct, it declares a keyword fiscal_position, but in purchase/
Tested on the runbot with the latest 6.1 version, openerp-
Regards,
David.
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 21 lines (+2/-2)1 file modifiedwarning/warning.py (+2/-2)