fix: Fixes in accounting doctype dashboards

This commit is contained in:
deepeshgarg007 2019-06-02 19:35:18 +05:30
parent ce15591872
commit 290847df46
16 changed files with 13 additions and 87 deletions

View File

@ -12,7 +12,6 @@ def get_data():
'items': ['Bank Account', 'Bank Statement Transaction Entry', 'Bank Guarantee']
},
{
'label': _('Payments'),
'items': ['Payment Order']
}
]

View File

@ -21,11 +21,9 @@ def get_data():
'items': ['Customer', 'Supplier']
},
{
'label': _('Banking'),
'items': ['Bank Guarantee']
},
{
'label': _('Journal Entries'),
'items': ['Journal Entry']
}
]

View File

@ -1,18 +0,0 @@
from __future__ import unicode_literals
from frappe import _
def get_data():
return {
'fieldname': 'c_form',
'non_standard_fieldnames': {
'Sales Invoice': 'c_form_no'
},
'transactions': [
{
'label': _('Sales Invoice'),
'items': ['Sales Invoice']
}
]
}

View File

@ -16,11 +16,9 @@ def get_data():
'items': ['Asset', 'Asset Value Adjustment']
},
{
'label': _('Companies'),
'items': ['Company']
},
{
'label': _('Journal Entries'),
'items': ['Journal Entry']
}
]

View File

@ -20,7 +20,6 @@ def get_data():
'items': ['Purchase Invoice', 'Purchase Order', 'Purchase Receipt']
},
{
'label': _('Item Tax'),
'items': ['Item']
}
]

View File

@ -1,26 +0,0 @@
from __future__ import unicode_literals
from frappe import _
def get_data():
return {
'fieldname': 'journal_entry',
'non_standard_fieldnames': {
'Stock Entry': 'credit_note',
},
'transactions': [
{
'label': _('Assets'),
'items': ['Asset', 'Asset Value Adjustment']
},
{
'label': _('Stock'),
'items': ['Stock Entry']
},
{
'label': _('Salaries'),
'items': ['Salary Slip']
}
]
}

View File

@ -8,12 +8,7 @@ def get_data():
'fieldname': 'loyalty_program',
'transactions': [
{
'label': _('Sales Invoice'),
'items': ['Sales Invoice']
},
{
'label': _('Customers'),
'items': ['Customer']
'items': ['Sales Invoice', 'Customer']
}
]
}

View File

@ -17,7 +17,6 @@ def get_data():
'items': ['Sales Person', 'Territory', 'Sales Partner']
},
{
'label': _('References'),
'items': ['Budget']
}
]

View File

@ -11,11 +11,9 @@ def get_data():
},
'transactions': [
{
'label': _('Payments'),
'items': ['Payment Request']
},
{
'label': _('Subscription Plans'),
'items': ['Subscription Plan']
}
]

View File

@ -8,11 +8,14 @@ def get_data():
'fieldname': 'payment_term',
'transactions': [
{
'label': _('Invoices and Orders'),
'items': ['Sales Invoice', 'Sales Order', 'Purchase Invoice', 'Purchase Order', 'Quotation']
'label': _('Sales'),
'items': ['Sales Invoice', 'Sales Order', 'Quotation']
},
{
'label': _('Purchase'),
'items': ['Purchase Invoice', 'Purchase Order']
},
{
'label': _('Payment Terms Template'),
'items': ['Payment Terms Template']
}
]

View File

@ -8,12 +8,7 @@ def get_data():
'fieldname': 'pos_profile',
'transactions': [
{
'label': _('Sales Invoices'),
'items': ['Sales Invoice']
},
{
'label': _('POS Closing Vouchers'),
'items': ['POS Closing Voucher']
'items': ['Sales Invoice', 'POS Closing Voucher']
}
]
}

View File

@ -15,12 +15,8 @@ def get_data():
'items': ['Purchase Invoice', 'Purchase Order', 'Purchase Receipt']
},
{
'label': _('Supplier Quotations'),
'items': ['Supplier Quotation']
},
{
'label': _('Tax Rules'),
'items': ['Tax Rule']
'label': _('References'),
'items': ['Supplier Quotation', 'Tax Rule']
}
]
}

View File

@ -18,11 +18,7 @@ def get_data():
},
{
'label': _('References'),
'items': ['POS Profile', 'Subscription', 'Restaurant']
},
{
'label': _('Tax Rules'),
'items': ['Tax Rule']
'items': ['POS Profile', 'Subscription', 'Restaurant', 'Tax Rule']
}
]
}

View File

@ -11,7 +11,6 @@ def get_data():
},
'transactions': [
{
'label': _('Share Transfers'),
'items': ['Share Transfer']
}
]

View File

@ -12,12 +12,8 @@ def get_data():
},
'transactions': [
{
'label': _('Payments'),
'items': ['Payment Request']
},
{
'label': _('Subscriptions'),
'items': ['Subscription']
'label': _('References'),
'items': ['Payment Request', 'Subscription']
}
]
}

View File

@ -8,7 +8,6 @@ def get_data():
'fieldname': 'tax_withholding_category',
'transactions': [
{
'label': _('Suppliers'),
'items': ['Supplier']
}
]