I added this as custom script to the stock entry doctype hoping the default warehouse will get filtered based on city. But there is no result. Any idea?
I couldnt get any working! is there an overlapping code or something? I tried adding a test field linked with warehouse, didnt work. I tried the same code in another Doctype (supplier quotation) and it worked there !