mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 05:39:12 +00:00
moved get_list_context to module
This commit is contained in:
@@ -579,7 +579,6 @@ class SalesInvoice(SellingController):
|
||||
})
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
def get_list_context(context=None):
|
||||
from erpnext.controllers.website_list_for_contact import get_list_context
|
||||
list_context = get_list_context(context)
|
||||
|
||||
@@ -118,7 +118,7 @@ erpnext.patches.v5_0.rename_customer_issue
|
||||
erpnext.patches.v5_0.update_material_transfer_for_manufacture
|
||||
erpnext.patches.v5_0.manufacturing_activity_type
|
||||
erpnext.patches.v5_0.update_item_description_and_image
|
||||
erpnext.patches.v5_0.update_material_transferred_for_manufacturing
|
||||
erpnext.patches.v5_0.update_material_transferred_for_qty
|
||||
erpnext.patches.v5_0.stock_entry_update_value
|
||||
erpnext.patches.v5_0.convert_stock_reconciliation
|
||||
erpnext.patches.v5_0.update_projects
|
||||
|
||||
@@ -231,7 +231,6 @@ class SalesOrder(SellingController):
|
||||
def on_update(self):
|
||||
pass
|
||||
|
||||
@staticmethod
|
||||
def get_list_context(context=None):
|
||||
from erpnext.controllers.website_list_for_contact import get_list_context
|
||||
list_context = get_list_context(context)
|
||||
|
||||
@@ -285,7 +285,6 @@ class DeliveryNote(SellingController):
|
||||
}
|
||||
update_bin(args)
|
||||
|
||||
@staticmethod
|
||||
def get_list_context(context=None):
|
||||
from erpnext.controllers.website_list_for_contact import get_list_context
|
||||
list_context = get_list_context(context)
|
||||
|
||||
@@ -48,7 +48,6 @@ class Issue(Document):
|
||||
# if no date, it should be set as None and not a blank string "", as per mysql strict config
|
||||
self.resolution_date = None
|
||||
|
||||
@staticmethod
|
||||
def get_list_context(context=None):
|
||||
return {
|
||||
"title": _("My Issues"),
|
||||
|
||||
Reference in New Issue
Block a user