Hi ,
How to get the default value of the company from the session defaults in python?
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
Referring to this link : we can get the session company by :
frappe.defaults.get_user_default(“Company”)
Thanks @smino