purchase_requisition: cannot create purchase order lines manually
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Invalid
|
Low
|
OpenERP Publisher's Warranty Team |
Bug Description
How to reproduce it in stable 6:
Purchases -> Purchase Management -> Purchase Requisitions -> New
On "Quotations" tab, New purchase order
Select a supplier and make sure that all required fields are filled
Create a new purchase order line
The error is:
product_id_change method from class purchase_order_line does not receive correctly none of its parameters.
The onchange method call is done this way:
context=
on_change=
The problem is that "parent" does not refer to the purchase.order, but to the purchase.
Greetings,
Hello,
I have faced the same problem which is on product_id_change method, when I select the product the unit price doesn't change properly in stable version.
But in trunk it is working fine so I am assigning this to OPW team for stable version.
Thanks.