feat(setup): adding selling buying filter in terms and conditions

This commit is contained in:
karthikeyan5
2019-07-04 22:46:16 +05:30
parent 2f67fb25a6
commit 7fc6021ca5
13 changed files with 916 additions and 967 deletions

View File

@@ -33,7 +33,7 @@ def boot_session(bootinfo):
FROM `tabCompany`
LIMIT 1""") and 'Yes' or 'No'
bootinfo.docs += frappe.db.sql("""select name, default_currency, cost_center, default_terms,
bootinfo.docs += frappe.db.sql("""select name, default_currency, cost_center, default_selling_terms, default_buying_terms,
default_letter_head, default_bank_account, enable_perpetual_inventory, country from `tabCompany`""",
as_dict=1, update={"doctype":":Company"})