commit | 31a92bd9d9e0da2f640da945382ddd398a8baca4 | [log] [tgz] |
---|---|---|
author | Neil Trini Lasrado <neil@frappe.io> | Mon Dec 15 15:49:40 2014 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Tue Dec 23 17:52:41 2014 +0530 |
tree | e7efb013d1b8b11ba96ac4eced95b066f477b6bf | |
parent | b0b7e7fdf88ca9bfdebc6a03805a4315a5f75fb1 [diff] [blame] |
company wise letter head feature added
diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py index 5e0d9c3..2abc187 100644 --- a/erpnext/accounts/utils.py +++ b/erpnext/accounts/utils.py
@@ -413,3 +413,8 @@ }) return all_outstanding_vouchers + +@frappe.whitelist() +def get_letter_head(company): + return frappe.db.get_value("Company",company,"default_letter_head") +