[material request/purchase order] [bug] required date automatically set #433
This commit is contained in:
parent
8f050f4cd3
commit
cfb54ceb43
@ -107,7 +107,8 @@ erpnext.buying.BuyingController = erpnext.TransactionController.extend({
|
|||||||
plc_conversion_rate: me.frm.doc.plc_conversion_rate,
|
plc_conversion_rate: me.frm.doc.plc_conversion_rate,
|
||||||
is_subcontracted: me.frm.doc.is_subcontracted,
|
is_subcontracted: me.frm.doc.is_subcontracted,
|
||||||
company: me.frm.doc.company,
|
company: me.frm.doc.company,
|
||||||
currency: me.frm.doc.currency
|
currency: me.frm.doc.currency,
|
||||||
|
transaction_date: me.frm.doc.transaction_date
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
callback: function(r) {
|
callback: function(r) {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
"creation": "2013-05-24 19:29:06",
|
"creation": "2013-05-24 19:29:06",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
"modified": "2013-07-08 13:51:42",
|
"modified": "2013-07-09 11:37:24",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"owner": "Administrator"
|
"owner": "Administrator"
|
||||||
},
|
},
|
||||||
@ -25,6 +25,20 @@
|
|||||||
"doctype": "DocType",
|
"doctype": "DocType",
|
||||||
"name": "Purchase Order Item"
|
"name": "Purchase Order Item"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"doctype": "DocField",
|
||||||
|
"fieldname": "item_code",
|
||||||
|
"fieldtype": "Link",
|
||||||
|
"in_filter": 1,
|
||||||
|
"label": "Item Code",
|
||||||
|
"oldfieldname": "item_code",
|
||||||
|
"oldfieldtype": "Link",
|
||||||
|
"options": "Item",
|
||||||
|
"print_hide": 0,
|
||||||
|
"read_only": 0,
|
||||||
|
"reqd": 1,
|
||||||
|
"search_index": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"doctype": "DocField",
|
"doctype": "DocField",
|
||||||
"fieldname": "schedule_date",
|
"fieldname": "schedule_date",
|
||||||
@ -40,20 +54,6 @@
|
|||||||
"reqd": 1,
|
"reqd": 1,
|
||||||
"search_index": 1
|
"search_index": 1
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"doctype": "DocField",
|
|
||||||
"fieldname": "item_code",
|
|
||||||
"fieldtype": "Link",
|
|
||||||
"in_filter": 1,
|
|
||||||
"label": "Item Code",
|
|
||||||
"oldfieldname": "item_code",
|
|
||||||
"oldfieldtype": "Link",
|
|
||||||
"options": "Item",
|
|
||||||
"print_hide": 0,
|
|
||||||
"read_only": 0,
|
|
||||||
"reqd": 1,
|
|
||||||
"search_index": 1
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"description": "If Supplier Part Number exists for given Item, it gets stored here",
|
"description": "If Supplier Part Number exists for given Item, it gets stored here",
|
||||||
"doctype": "DocField",
|
"doctype": "DocField",
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
"creation": "2013-02-22 01:28:02",
|
"creation": "2013-02-22 01:28:02",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
"modified": "2013-03-07 07:03:25",
|
"modified": "2013-07-09 11:37:12",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"owner": "Administrator"
|
"owner": "Administrator"
|
||||||
},
|
},
|
||||||
@ -25,20 +25,6 @@
|
|||||||
"doctype": "DocType",
|
"doctype": "DocType",
|
||||||
"name": "Material Request Item"
|
"name": "Material Request Item"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"allow_on_submit": 0,
|
|
||||||
"doctype": "DocField",
|
|
||||||
"fieldname": "schedule_date",
|
|
||||||
"fieldtype": "Date",
|
|
||||||
"label": "Required Date",
|
|
||||||
"no_copy": 1,
|
|
||||||
"oldfieldname": "schedule_date",
|
|
||||||
"oldfieldtype": "Date",
|
|
||||||
"print_hide": 0,
|
|
||||||
"print_width": "100px",
|
|
||||||
"reqd": 1,
|
|
||||||
"width": "100px"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"doctype": "DocField",
|
"doctype": "DocField",
|
||||||
"fieldname": "item_code",
|
"fieldname": "item_code",
|
||||||
@ -53,6 +39,20 @@
|
|||||||
"search_index": 1,
|
"search_index": 1,
|
||||||
"width": "100px"
|
"width": "100px"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"allow_on_submit": 0,
|
||||||
|
"doctype": "DocField",
|
||||||
|
"fieldname": "schedule_date",
|
||||||
|
"fieldtype": "Date",
|
||||||
|
"label": "Required Date",
|
||||||
|
"no_copy": 1,
|
||||||
|
"oldfieldname": "schedule_date",
|
||||||
|
"oldfieldtype": "Date",
|
||||||
|
"print_hide": 0,
|
||||||
|
"print_width": "100px",
|
||||||
|
"reqd": 1,
|
||||||
|
"width": "100px"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"doctype": "DocField",
|
"doctype": "DocField",
|
||||||
"fieldname": "description",
|
"fieldname": "description",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user