Remove Search Filter on Create Purchase Order Button

Hello everyone,

So I am having an issue with the Create Button on my Sales Order doctype. When I try to click “Create Purchase Order”, and try to search for a Supplier, it has a filter applied to the search. The filter is “Parent = SAL-ORD-xxx-xxx”. I just want it to list all the suppliers and not filter.

Is there a way to remove this filter? Preferably without editing the py file. This is the default Sales Order by the way.

Here’s a screenshot if it helps.

image

Any help is appreciated.

Hi,

There is no way of removing the filter without editing the js files (not python).

You can customise this with a custom app using js overrides:
https://frappeframework.com/docs/user/en/python-api/hooks#page