==> My side is correct.
When I choose company without data show empty. I don’t know your version is same my version or not.
I think you should use your version and add code
if filters.get("company"):
conditions += " and sle.company = '%s'" % frappe.db.escape(filters.get("company"))
What version do you mean?
I just copied your script and why it does not work? Selecting empty company still displays data ![:frowning: :frowning:](https://discuss.frappe.io/images/emoji/twitter/frowning.png?v=12)
Hi shherland
Please send your original file via email vinhnguyen.t090@gmail.com
then I will add code and send you back, thanks.
Thanks @vinhnguyent090
pls kindly inform me here that you have already sent back the file. Thanks