From 4499851ceb0a89ad1ced345223900740140be6e9 Mon Sep 17 00:00:00 2001 From: Nijil Y Date: Thu, 8 Dec 2011 14:14:11 +0530 Subject: [PATCH] checking.. --- .../buying/doctype/po_detail/po_detail.txt | 163 ++++++++++-------- 1 file changed, 88 insertions(+), 75 deletions(-) mode change 100644 => 100755 erpnext/buying/doctype/po_detail/po_detail.txt diff --git a/erpnext/buying/doctype/po_detail/po_detail.txt b/erpnext/buying/doctype/po_detail/po_detail.txt old mode 100644 new mode 100755 index bfd014e237..1cdc972fe0 --- a/erpnext/buying/doctype/po_detail/po_detail.txt +++ b/erpnext/buying/doctype/po_detail/po_detail.txt @@ -5,7 +5,7 @@ { 'creation': '2010-08-08 17:09:12', 'docstatus': 0, - 'modified': '2011-10-20 18:39:20', + 'modified': '2011-12-08 14:09:24', 'modified_by': 'Administrator', 'owner': 'Administrator' }, @@ -14,7 +14,6 @@ { 'autoname': 'POD/.#####', 'colour': 'White:FFF', - 'default_print_format': 'Standard', 'doctype': 'DocType', 'istable': 1, 'module': 'Buying', @@ -22,7 +21,7 @@ 'section_style': 'Tray', 'server_code_error': ' ', 'show_in_menu': 0, - 'version': 54 + 'version': 52 }, # These values are common for all DocField @@ -103,37 +102,6 @@ 'width': '300px' }, - # DocField - { - 'default': '0.00', - 'doctype': 'DocField', - 'fieldname': 'qty', - 'fieldtype': 'Currency', - 'label': 'Quantity', - 'oldfieldname': 'qty', - 'oldfieldtype': 'Currency', - 'permlevel': 0, - 'reqd': 1, - 'trigger': 'Client', - 'width': '60px' - }, - - # DocField - { - 'doctype': 'DocField', - 'fieldname': 'uom', - 'fieldtype': 'Link', - 'label': 'UOM', - 'oldfieldname': 'uom', - 'oldfieldtype': 'Link', - 'options': 'UOM', - 'permlevel': 0, - 'print_hide': 0, - 'reqd': 1, - 'trigger': 'Client', - 'width': '100px' - }, - # DocField { 'default': '0.00', @@ -150,6 +118,25 @@ 'width': '100px' }, + # DocField + { + 'doctype': 'DocField', + 'fieldname': 'purchase_ref_rate', + 'fieldtype': 'Currency', + 'label': 'Ref Rate', + 'permlevel': 0 + }, + + # DocField + { + 'doctype': 'DocField', + 'fieldname': 'discount_rate', + 'fieldtype': 'Currency', + 'label': 'Discount Rate %', + 'permlevel': 0, + 'trigger': 'Client' + }, + # DocField { 'default': '0.00', @@ -164,13 +151,28 @@ 'reqd': 1 }, + # DocField + { + 'default': '0.00', + 'doctype': 'DocField', + 'fieldname': 'qty', + 'fieldtype': 'Currency', + 'label': 'Quantity', + 'oldfieldname': 'qty', + 'oldfieldtype': 'Currency', + 'permlevel': 0, + 'reqd': 1, + 'trigger': 'Client', + 'width': '60px' + }, + # DocField { 'doctype': 'DocField', 'fieldname': 'import_rate', 'fieldtype': 'Currency', 'hidden': 0, - 'label': 'Rate', + 'label': 'Rate *', 'oldfieldname': 'import_rate', 'oldfieldtype': 'Currency', 'permlevel': 0, @@ -178,6 +180,31 @@ 'trigger': 'Client' }, + # DocField + { + 'doctype': 'DocField', + 'fieldname': 'import_ref_rate', + 'fieldtype': 'Currency', + 'label': 'Ref Rate *', + 'permlevel': 0 + }, + + # DocField + { + 'doctype': 'DocField', + 'fieldname': 'uom', + 'fieldtype': 'Link', + 'label': 'UOM', + 'oldfieldname': 'uom', + 'oldfieldtype': 'Link', + 'options': 'UOM', + 'permlevel': 0, + 'print_hide': 0, + 'reqd': 1, + 'trigger': 'Client', + 'width': '100px' + }, + # DocField { 'doctype': 'DocField', @@ -226,17 +253,15 @@ { 'colour': 'White:FFF', 'doctype': 'DocField', - 'fieldname': 'stock_qty', - 'fieldtype': 'Currency', - 'hidden': 0, - 'label': 'Stock Qty', - 'no_copy': 1, - 'oldfieldname': 'stock_qty', - 'oldfieldtype': 'Currency', - 'permlevel': 0, - 'print_hide': 1, - 'trigger': 'Client', - 'width': '100px' + 'fieldname': 'prevdoc_doctype', + 'fieldtype': 'Data', + 'hidden': 1, + 'label': 'Prevdoc DocType', + 'no_copy': 0, + 'oldfieldname': 'prevdoc_doctype', + 'oldfieldtype': 'Data', + 'permlevel': 1, + 'print_hide': 1 }, # DocField @@ -254,34 +279,6 @@ 'width': '100px' }, - # DocField - { - 'doctype': 'DocField', - 'fieldname': 'project_name', - 'fieldtype': 'Link', - 'in_filter': 1, - 'label': 'Project Name', - 'options': 'Project', - 'permlevel': 0, - 'print_hide': 1, - 'report_hide': 0 - }, - - # DocField - { - 'colour': 'White:FFF', - 'doctype': 'DocField', - 'fieldname': 'prevdoc_doctype', - 'fieldtype': 'Data', - 'hidden': 1, - 'label': 'Prevdoc DocType', - 'no_copy': 0, - 'oldfieldname': 'prevdoc_doctype', - 'oldfieldtype': 'Data', - 'permlevel': 1, - 'print_hide': 1 - }, - # DocField { 'colour': 'White:FFF', @@ -363,6 +360,22 @@ 'search_index': 1 }, + # DocField + { + 'doctype': 'DocField', + 'fieldname': 'stock_qty', + 'fieldtype': 'Currency', + 'hidden': 0, + 'label': 'Stock Qty', + 'no_copy': 1, + 'oldfieldname': 'stock_qty', + 'oldfieldtype': 'Currency', + 'permlevel': 0, + 'print_hide': 1, + 'trigger': 'Client', + 'width': '100px' + }, + # DocField { 'doctype': 'DocField', @@ -410,7 +423,7 @@ # DocField { - 'allow_on_submit': 0, + 'allow_on_submit': 1, 'doctype': 'DocField', 'fieldname': 'page_break', 'fieldtype': 'Check',