Hello all,
I am creating new print format for my custom doctype “Work order” . I wanted to use company name from Global Defaults,
so i used following code in jinja format {{ frappe.db.get_value(“Global Defaults”,None,“default_company”) }}
but it giving me error UndefinedError: ‘dict object’ has no attribute ‘db’