This question has been flagged

When I create an RfQ, when I set a supplier(vendor) and that this supplier exists in the supplier info of the product added, the vendor product name and code should be used on the purchase order line. it is only display when select it from the product order line. but i want this on calling onchange method of vendor(partner_id) field.

In short, the vendor product code and name should update on onchange of partner id (vendor) not on selecting product.

Thanks in advance..

Avatar
Discard
Best Answer

Hi Haresh,

This is bit complicated to change the o2m fields value from onchange. Better you do it from button click.

Create a method in purchase order that will call the product onchange of the purchase lines.


Sudhir Arya
ERP Harbor Consulting Services
Skype:sudhir@erpharbor.com
Website: http://www.erpharbor.com
Avatar
Discard