load all js and css like before in desk.html
This commit is contained in:
parent
ec5ec60764
commit
e514323be4
@ -14,8 +14,6 @@ frappe.pages['purchase-analytics'].on_page_load = function(wrapper) {
|
|||||||
frappe.add_breadcrumbs("Buying");
|
frappe.add_breadcrumbs("Buying");
|
||||||
}
|
}
|
||||||
|
|
||||||
frappe.assets.views["Report"]();
|
|
||||||
|
|
||||||
erpnext.PurchaseAnalytics = frappe.views.TreeGridReport.extend({
|
erpnext.PurchaseAnalytics = frappe.views.TreeGridReport.extend({
|
||||||
init: function(wrapper) {
|
init: function(wrapper) {
|
||||||
this._super({
|
this._super({
|
||||||
|
@ -14,8 +14,6 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
frappe.assets.views["Report"]();
|
|
||||||
|
|
||||||
erpnext.AccountTreeGrid = frappe.views.TreeGridReport.extend({
|
erpnext.AccountTreeGrid = frappe.views.TreeGridReport.extend({
|
||||||
init: function(wrapper, title) {
|
init: function(wrapper, title) {
|
||||||
this._super({
|
this._super({
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
|
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
|
||||||
// License: GNU General Public License v3. See license.txt
|
// License: GNU General Public License v3. See license.txt
|
||||||
|
|
||||||
frappe.assets.views["Report"]();
|
|
||||||
|
|
||||||
erpnext.StockGridReport = frappe.views.TreeGridReport.extend({
|
erpnext.StockGridReport = frappe.views.TreeGridReport.extend({
|
||||||
get_item_warehouse: function(warehouse, item) {
|
get_item_warehouse: function(warehouse, item) {
|
||||||
if(!this.item_warehouse[item]) this.item_warehouse[item] = {};
|
if(!this.item_warehouse[item]) this.item_warehouse[item] = {};
|
||||||
|
@ -14,8 +14,6 @@ frappe.pages['sales-analytics'].on_page_load = function(wrapper) {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
frappe.assets.views["Report"]();
|
|
||||||
|
|
||||||
erpnext.SalesAnalytics = frappe.views.TreeGridReport.extend({
|
erpnext.SalesAnalytics = frappe.views.TreeGridReport.extend({
|
||||||
init: function(wrapper) {
|
init: function(wrapper) {
|
||||||
this._super({
|
this._super({
|
||||||
|
@ -16,5 +16,4 @@ frappe.pages['stock-analytics'].on_page_load = function(wrapper) {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
frappe.assets.views["Report"]();
|
|
||||||
frappe.require("assets/erpnext/js/stock_analytics.js");
|
frappe.require("assets/erpnext/js/stock_analytics.js");
|
||||||
|
@ -15,8 +15,6 @@ frappe.pages['support-analytics'].on_page_load = function(wrapper) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
frappe.assets.views["Report"]();
|
|
||||||
|
|
||||||
erpnext.SupportAnalytics = frappe.views.GridReportWithPlot.extend({
|
erpnext.SupportAnalytics = frappe.views.GridReportWithPlot.extend({
|
||||||
init: function(wrapper) {
|
init: function(wrapper) {
|
||||||
this._super({
|
this._super({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user