fix: Fixes in accounting doctype dashboards
This commit is contained in:
parent
ce15591872
commit
290847df46
@ -12,7 +12,6 @@ def get_data():
|
|||||||
'items': ['Bank Account', 'Bank Statement Transaction Entry', 'Bank Guarantee']
|
'items': ['Bank Account', 'Bank Statement Transaction Entry', 'Bank Guarantee']
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'label': _('Payments'),
|
|
||||||
'items': ['Payment Order']
|
'items': ['Payment Order']
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -21,11 +21,9 @@ def get_data():
|
|||||||
'items': ['Customer', 'Supplier']
|
'items': ['Customer', 'Supplier']
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'label': _('Banking'),
|
|
||||||
'items': ['Bank Guarantee']
|
'items': ['Bank Guarantee']
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'label': _('Journal Entries'),
|
|
||||||
'items': ['Journal Entry']
|
'items': ['Journal Entry']
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -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']
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -16,11 +16,9 @@ def get_data():
|
|||||||
'items': ['Asset', 'Asset Value Adjustment']
|
'items': ['Asset', 'Asset Value Adjustment']
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'label': _('Companies'),
|
|
||||||
'items': ['Company']
|
'items': ['Company']
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'label': _('Journal Entries'),
|
|
||||||
'items': ['Journal Entry']
|
'items': ['Journal Entry']
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -20,7 +20,6 @@ def get_data():
|
|||||||
'items': ['Purchase Invoice', 'Purchase Order', 'Purchase Receipt']
|
'items': ['Purchase Invoice', 'Purchase Order', 'Purchase Receipt']
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'label': _('Item Tax'),
|
|
||||||
'items': ['Item']
|
'items': ['Item']
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -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']
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -8,12 +8,7 @@ def get_data():
|
|||||||
'fieldname': 'loyalty_program',
|
'fieldname': 'loyalty_program',
|
||||||
'transactions': [
|
'transactions': [
|
||||||
{
|
{
|
||||||
'label': _('Sales Invoice'),
|
'items': ['Sales Invoice', 'Customer']
|
||||||
'items': ['Sales Invoice']
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'label': _('Customers'),
|
|
||||||
'items': ['Customer']
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,6 @@ def get_data():
|
|||||||
'items': ['Sales Person', 'Territory', 'Sales Partner']
|
'items': ['Sales Person', 'Territory', 'Sales Partner']
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'label': _('References'),
|
|
||||||
'items': ['Budget']
|
'items': ['Budget']
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -11,11 +11,9 @@ def get_data():
|
|||||||
},
|
},
|
||||||
'transactions': [
|
'transactions': [
|
||||||
{
|
{
|
||||||
'label': _('Payments'),
|
|
||||||
'items': ['Payment Request']
|
'items': ['Payment Request']
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'label': _('Subscription Plans'),
|
|
||||||
'items': ['Subscription Plan']
|
'items': ['Subscription Plan']
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -8,11 +8,14 @@ def get_data():
|
|||||||
'fieldname': 'payment_term',
|
'fieldname': 'payment_term',
|
||||||
'transactions': [
|
'transactions': [
|
||||||
{
|
{
|
||||||
'label': _('Invoices and Orders'),
|
'label': _('Sales'),
|
||||||
'items': ['Sales Invoice', 'Sales Order', 'Purchase Invoice', 'Purchase Order', 'Quotation']
|
'items': ['Sales Invoice', 'Sales Order', 'Quotation']
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'label': _('Purchase'),
|
||||||
|
'items': ['Purchase Invoice', 'Purchase Order']
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'label': _('Payment Terms Template'),
|
|
||||||
'items': ['Payment Terms Template']
|
'items': ['Payment Terms Template']
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -8,12 +8,7 @@ def get_data():
|
|||||||
'fieldname': 'pos_profile',
|
'fieldname': 'pos_profile',
|
||||||
'transactions': [
|
'transactions': [
|
||||||
{
|
{
|
||||||
'label': _('Sales Invoices'),
|
'items': ['Sales Invoice', 'POS Closing Voucher']
|
||||||
'items': ['Sales Invoice']
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'label': _('POS Closing Vouchers'),
|
|
||||||
'items': ['POS Closing Voucher']
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -15,12 +15,8 @@ def get_data():
|
|||||||
'items': ['Purchase Invoice', 'Purchase Order', 'Purchase Receipt']
|
'items': ['Purchase Invoice', 'Purchase Order', 'Purchase Receipt']
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'label': _('Supplier Quotations'),
|
'label': _('References'),
|
||||||
'items': ['Supplier Quotation']
|
'items': ['Supplier Quotation', 'Tax Rule']
|
||||||
},
|
|
||||||
{
|
|
||||||
'label': _('Tax Rules'),
|
|
||||||
'items': ['Tax Rule']
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -18,11 +18,7 @@ def get_data():
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
'label': _('References'),
|
'label': _('References'),
|
||||||
'items': ['POS Profile', 'Subscription', 'Restaurant']
|
'items': ['POS Profile', 'Subscription', 'Restaurant', 'Tax Rule']
|
||||||
},
|
|
||||||
{
|
|
||||||
'label': _('Tax Rules'),
|
|
||||||
'items': ['Tax Rule']
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -11,7 +11,6 @@ def get_data():
|
|||||||
},
|
},
|
||||||
'transactions': [
|
'transactions': [
|
||||||
{
|
{
|
||||||
'label': _('Share Transfers'),
|
|
||||||
'items': ['Share Transfer']
|
'items': ['Share Transfer']
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -12,12 +12,8 @@ def get_data():
|
|||||||
},
|
},
|
||||||
'transactions': [
|
'transactions': [
|
||||||
{
|
{
|
||||||
'label': _('Payments'),
|
'label': _('References'),
|
||||||
'items': ['Payment Request']
|
'items': ['Payment Request', 'Subscription']
|
||||||
},
|
|
||||||
{
|
|
||||||
'label': _('Subscriptions'),
|
|
||||||
'items': ['Subscription']
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,6 @@ def get_data():
|
|||||||
'fieldname': 'tax_withholding_category',
|
'fieldname': 'tax_withholding_category',
|
||||||
'transactions': [
|
'transactions': [
|
||||||
{
|
{
|
||||||
'label': _('Suppliers'),
|
|
||||||
'items': ['Supplier']
|
'items': ['Supplier']
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user