How to get the default company from the session?

It may be possible to use the frappe api.

This thread may be too old , but see if it is useful.

https://discuss.frappe.io/t/how-to-find-default-company-of-the-logged-in-user/941

2 Likes