I have created a new form and i choose a PO as a source document and that field is as follow.
purchase_order = fields.Many2one('purchase.order', string='PO Number')
AFTER selecting a PO i want that vendor from that Purchase Order automatically
fill my vendor field in that form.
i have a simple many2one field for vendors.
Kindly help me with this problem i shall be very thankful.