merge, fixed production cleanup patch

This commit is contained in:
Nabin Hait
2012-12-10 19:28:38 +05:30
162 changed files with 75 additions and 4216 deletions

View File

@@ -0,0 +1 @@
from __future__ import unicode_literals

View File

@@ -0,0 +1 @@
from __future__ import unicode_literals

View File

@@ -0,0 +1,37 @@
# Search Criteria, consumption_against_production
[
# These values are common in all dictionaries
{
'creation': '2012-04-03 12:49:50',
'docstatus': 0,
'modified': '2012-12-10 18:30:00',
'modified_by': u'Administrator',
'owner': u'jai@webnotestech.com'
},
# These values are common for all Search Criteria
{
'add_col': u'`tabProduction Order`.consider_sa_items',
'add_cond': u'`tabProduction Order`.name = `tabStock Entry`.production_order',
'add_tab': u'`tabProduction Order`',
'columns': u'Stock Entry\x01ID,Stock Entry\x01Production Order,Stock Entry\x01Process,Stock Entry\x01Posting Date,Stock Entry\x01Company,Stock Entry Detail\x01Source Warehouse,Stock Entry Detail\x01Target Warehouse,Stock Entry Detail\x01FG Item,Stock Entry Detail\x01Item Code,Stock Entry Detail\x01Description,Stock Entry Detail\x01Reqd Qty,Stock Entry Detail\x01Transfer Quantity',
'criteria_name': u'Consumption Against Production',
'doc_type': u'Stock Entry Detail',
'doctype': 'Search Criteria',
'filters': u"{'Stock Entry\x01Submitted':1,'Stock Entry\x01Purpose':'Production Order','Stock Entry\x01Process':''}",
'module': u'Manufacturing',
'name': '__common__',
'page_len': 50,
'parent_doc_type': u'Stock Entry',
'sort_by': u'`tabStock Entry`.`name`',
'sort_order': u'DESC',
'standard': u'Yes'
},
# Search Criteria, consumption_against_production
{
'doctype': 'Search Criteria',
'name': u'consumption_against_production'
}
]

View File

@@ -0,0 +1 @@
from __future__ import unicode_literals

View File

@@ -0,0 +1,32 @@
// ERPNext - web based ERP (http://erpnext.com)
// Copyright (C) 2012 Web Notes Technologies Pvt Ltd
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
report.customize_filters = function() {
//to hide all filters
this.hide_all_filters();
// to unhide required filters
this.filter_fields_dict['Stock Entry'+FILTER_SEP +'ID'].df.filter_hide = 0;
this.filter_fields_dict['Stock Entry'+FILTER_SEP +'Production Order'].df.filter_hide = 0;
this.filter_fields_dict['Stock Entry'+FILTER_SEP +'From Posting Date'].df.filter_hide = 0;
this.filter_fields_dict['Stock Entry'+FILTER_SEP +'To Posting Date'].df.filter_hide = 0;
this.filter_fields_dict['Stock Entry Detail'+FILTER_SEP +'Target Warehouse'].df.filter_hide = 0;
this.filter_fields_dict['Stock Entry Detail'+FILTER_SEP +'Item Code'].df.filter_hide = 0;
}

View File

@@ -0,0 +1,34 @@
# Search Criteria, itemwise_production_report
[
# These values are common in all dictionaries
{
'creation': '2012-04-03 12:49:51',
'docstatus': 0,
'modified': '2012-12-10 18:30:00',
'modified_by': u'Administrator',
'owner': u'jai@webnotestech.com'
},
# These values are common for all Search Criteria
{
'columns': u'Stock Entry\x01ID,Stock Entry\x01Posting Date,Stock Entry\x01Production Order,Stock Entry\x01Process,Stock Entry\x01Company,Stock Entry Detail\x01Target Warehouse,Stock Entry Detail\x01Item Code,Stock Entry Detail\x01Description,Stock Entry Detail\x01Stock UOM,Stock Entry Detail\x01Transfer Quantity',
'criteria_name': u'Itemwise Production Report',
'doc_type': u'Stock Entry Detail',
'doctype': 'Search Criteria',
'filters': u"{'Stock Entry\x01Saved':1,'Stock Entry\x01Submitted':1,'Stock Entry\x01Purpose':'Production Order','Stock Entry\x01Process':'Backflush','Stock Entry Detail\x01FG Item':1}",
'module': u'Manufacturing',
'name': '__common__',
'page_len': 50,
'parent_doc_type': u'Stock Entry',
'sort_by': u'`tabStock Entry`.`name`',
'sort_order': u'DESC',
'standard': u'Yes'
},
# Search Criteria, itemwise_production_report
{
'doctype': 'Search Criteria',
'name': u'itemwise_production_report'
}
]

View File

@@ -0,0 +1 @@
from __future__ import unicode_literals

View File

@@ -0,0 +1,34 @@
# Search Criteria, production_orders_in_process
[
# These values are common in all dictionaries
{
'creation': '2012-04-03 12:49:52',
'docstatus': 0,
'modified': '2012-12-10 18:30:00',
'modified_by': u'Administrator',
'owner': u'jai@webnotestech.com'
},
# These values are common for all Search Criteria
{
'add_cond': u'`tabProduction Order`.qty > `tabProduction Order`.produced_qty',
'columns': u'Production Order\x01ID,Production Order\x01Origin,Production Order\x01Status,Production Order\x01Posting Date,Production Order\x01Production Item,Production Order\x01BOM No,Production Order\x01Description,Production Order\x01Stock UOM,Production Order\x01Qty,Production Order\x01Produced Qty,Production Order\x01FG Warehouse,Production Order\x01WIP Warehouse,Production Order\x01Consider SA Items,Production Order\x01Fiscal Year,Production Order\x01Company',
'criteria_name': u'Production Orders In Process',
'doc_type': u'Production Order',
'doctype': 'Search Criteria',
'filters': u"{'Production Order\x01Submitted':1,'Production Order\x01Origin':'','Production Order\x01Status':'','Production Order\x01Consider SA Items':'','Production Order\x01Fiscal Year':''}",
'module': u'Manufacturing',
'name': '__common__',
'page_len': 50,
'sort_by': u'`tabProduction Order`.`name`',
'sort_order': u'DESC',
'standard': u'Yes'
},
# Search Criteria, production_orders_in_process
{
'doctype': 'Search Criteria',
'name': u'production_orders_in_process'
}
]