Unfortunately for now you will have to create two entries. Perphaps you can add a custom field for Customer in Supplier Doctype in which you can fetch the respective customer code for the supplier.
Thanks for your response but in this case how would reconciliation work.
Say I raise a vendor a bill of 10k and he raise me a bill 10k so ideally net outstanding should be zero but if we have two entries than it will not be the case.
Odoo does this really well, may be a food for thought for ERP team to introduce concept of party and allow a party to have customer as well supplier types.
Ok thanks I will. This is a critical business requirement for us, we have contemplated for quite a while between odoo and erpnext. Almost chose ERPNext but with this limitation not sure how do we proceed ahead. How difficult it would be implement this change?