[docs] First commit for docs
diff --git a/erpnext/config/docs.py b/erpnext/config/docs.py
new file mode 100644
index 0000000..911c950
--- /dev/null
+++ b/erpnext/config/docs.py
@@ -0,0 +1,23 @@
+source_link = "https://github.com/frappe/erpnext"
+docs_base_url = "https://frappe.github.io/erpnext"
+headline = "Learn ERPNext Inside Out"
+sub_heading = "Find detailed explanation for all ERPNext features"
+long_description = """
+ERPNext helps you to manage all your business information in one application and use it to manage operations and take decisions based on data.
+
+Among other things, ERPNext will help you to:
+
+- Track all Invoices and Payments.
+- Know what quantity of which product is available in stock.
+- Identify open customer queries.
+- Manage payroll.
+- Assign tasks and follow up on them.
+- Maintain a database of all your customers, suppliers and their contacts.
+- Prepare quotes.
+- Get reminders on maintenance schedules.
+- Publish your website.
+
+And a lot lot lot more."""
+
+def get_context(context):
+    context.title = "ERPNext"
\ No newline at end of file
diff --git a/erpnext/docs/assets/home.png b/erpnext/docs/assets/home.png
new file mode 100644
index 0000000..5fb77cc
--- /dev/null
+++ b/erpnext/docs/assets/home.png
Binary files differ
diff --git a/erpnext/docs/contents.html b/erpnext/docs/contents.html
new file mode 100644
index 0000000..59d0b44
--- /dev/null
+++ b/erpnext/docs/contents.html
@@ -0,0 +1,10 @@
+<!-- title: Table of Contents -->
+
+<h1>Table of Contents</h1>
+<br>
+
+{% include "templates/includes/full_index.html" %}
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- no-breadcrumbs -->
diff --git a/erpnext/docs/contents.py b/erpnext/docs/contents.py
new file mode 100644
index 0000000..131d410
--- /dev/null
+++ b/erpnext/docs/contents.py
@@ -0,0 +1,9 @@
+# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
+# See license.txt
+
+from __future__ import unicode_literals
+import frappe
+from frappe.website.utils import get_full_index
+
+def get_context(context):
+	context.full_index = get_full_index(extn = True)
diff --git a/erpnext/docs/current/api/accounts/erpnext.accounts.general_ledger.html b/erpnext/docs/current/api/accounts/erpnext.accounts.general_ledger.html
new file mode 100644
index 0000000..33fa85f
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/erpnext.accounts.general_ledger.html
@@ -0,0 +1,193 @@
+<!-- title: erpnext.accounts.general_ledger --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/accounts/general_ledger.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>StockAccountInvalidTransaction</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.general_ledger.check_if_in_list" href="#erpnext.accounts.general_ledger.check_if_in_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.general_ledger.<b>check_if_in_list</b>
+        <i class="text-muted">(gle, gl_map)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.general_ledger.delete_gl_entries" href="#erpnext.accounts.general_ledger.delete_gl_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.general_ledger.<b>delete_gl_entries</b>
+        <i class="text-muted">(gl_entries=None, voucher_type=None, voucher_no=None, adv_adj=False, update_outstanding=Yes)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.general_ledger.make_entry" href="#erpnext.accounts.general_ledger.make_entry" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.general_ledger.<b>make_entry</b>
+        <i class="text-muted">(args, adv_adj, update_outstanding)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.general_ledger.make_gl_entries" href="#erpnext.accounts.general_ledger.make_gl_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.general_ledger.<b>make_gl_entries</b>
+        <i class="text-muted">(gl_map, cancel=False, adv_adj=False, merge_entries=True, update_outstanding=Yes)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.general_ledger.make_round_off_gle" href="#erpnext.accounts.general_ledger.make_round_off_gle" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.general_ledger.<b>make_round_off_gle</b>
+        <i class="text-muted">(gl_map, debit_credit_diff)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.general_ledger.merge_similar_entries" href="#erpnext.accounts.general_ledger.merge_similar_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.general_ledger.<b>merge_similar_entries</b>
+        <i class="text-muted">(gl_map)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.general_ledger.process_gl_map" href="#erpnext.accounts.general_ledger.process_gl_map" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.general_ledger.<b>process_gl_map</b>
+        <i class="text-muted">(gl_map, merge_entries=True)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.general_ledger.round_off_debit_credit" href="#erpnext.accounts.general_ledger.round_off_debit_credit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.general_ledger.<b>round_off_debit_credit</b>
+        <i class="text-muted">(gl_map)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.general_ledger.save_entries" href="#erpnext.accounts.general_ledger.save_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.general_ledger.<b>save_entries</b>
+        <i class="text-muted">(gl_map, adv_adj, update_outstanding)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.general_ledger.validate_account_for_auto_accounting_for_stock" href="#erpnext.accounts.general_ledger.validate_account_for_auto_accounting_for_stock" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.general_ledger.<b>validate_account_for_auto_accounting_for_stock</b>
+        <i class="text-muted">(gl_map)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/accounts/erpnext.accounts.html b/erpnext/docs/current/api/accounts/erpnext.accounts.html
new file mode 100644
index 0000000..ccefaf5
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/erpnext.accounts.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.accounts --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/accounts.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/accounts/erpnext.accounts.party.html b/erpnext/docs/current/api/accounts/erpnext.accounts.party.html
new file mode 100644
index 0000000..31caa9f
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/erpnext.accounts.party.html
@@ -0,0 +1,332 @@
+<!-- title: erpnext.accounts.party --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/accounts/party.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>DuplicatePartyAccountError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.party._get_party_details" href="#erpnext.accounts.party._get_party_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.party.<b>_get_party_details</b>
+        <i class="text-muted">(party=None, account=None, party_type=Customer, company=None, posting_date=None, price_list=None, currency=None, doctype=None, ignore_permissions=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.party.get_company_currency" href="#erpnext.accounts.party.get_company_currency" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.party.<b>get_company_currency</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.party.get_credit_days" href="#erpnext.accounts.party.get_credit_days" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.party.<b>get_credit_days</b>
+        <i class="text-muted">(party_type, party, company)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.party.get_default_price_list" href="#erpnext.accounts.party.get_default_price_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.party.<b>get_default_price_list</b>
+        <i class="text-muted">(party)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Return default price list for party (Document object)</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.party.get_due_date</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.party.get_due_date" href="#erpnext.accounts.party.get_due_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.party.<b>get_due_date</b>
+        <i class="text-muted">(posting_date, party_type, party, company)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Set Due Date = Posting Date + Credit Days</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.party.get_party_account</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.party.get_party_account" href="#erpnext.accounts.party.get_party_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.party.<b>get_party_account</b>
+        <i class="text-muted">(party_type, party, company)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Returns the account for the given <code>party</code>.
+Will first search in party (Customer / Supplier) record, if not found,
+will search in group (Customer Group / Supplier Type),
+finally will return default.</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.party.get_party_account_currency" href="#erpnext.accounts.party.get_party_account_currency" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.party.<b>get_party_account_currency</b>
+        <i class="text-muted">(party_type, party, company)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.party.get_party_details</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.party.get_party_details" href="#erpnext.accounts.party.get_party_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.party.<b>get_party_details</b>
+        <i class="text-muted">(party=None, account=None, party_type=Customer, company=None, posting_date=None, price_list=None, currency=None, doctype=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.party.get_party_gle_currency" href="#erpnext.accounts.party.get_party_gle_currency" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.party.<b>get_party_gle_currency</b>
+        <i class="text-muted">(party_type, party, company)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.party.set_account_and_due_date" href="#erpnext.accounts.party.set_account_and_due_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.party.<b>set_account_and_due_date</b>
+        <i class="text-muted">(party, account, party_type, company, posting_date, doctype)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.party.set_address_details" href="#erpnext.accounts.party.set_address_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.party.<b>set_address_details</b>
+        <i class="text-muted">(out, party, party_type)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.party.set_contact_details" href="#erpnext.accounts.party.set_contact_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.party.<b>set_contact_details</b>
+        <i class="text-muted">(out, party, party_type)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.party.set_other_values" href="#erpnext.accounts.party.set_other_values" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.party.<b>set_other_values</b>
+        <i class="text-muted">(out, party, party_type)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.party.set_price_list" href="#erpnext.accounts.party.set_price_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.party.<b>set_price_list</b>
+        <i class="text-muted">(out, party, party_type, given_price_list)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.party.set_taxes</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.party.set_taxes" href="#erpnext.accounts.party.set_taxes" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.party.<b>set_taxes</b>
+        <i class="text-muted">(party, party_type, posting_date, company, customer_group=None, supplier_type=None, billing_address=None, shipping_address=None, use_for_shopping_cart=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.party.validate_due_date" href="#erpnext.accounts.party.validate_due_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.party.<b>validate_due_date</b>
+        <i class="text-muted">(posting_date, due_date, party_type, party, company)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.party.validate_party_accounts" href="#erpnext.accounts.party.validate_party_accounts" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.party.<b>validate_party_accounts</b>
+        <i class="text-muted">(doc)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.party.validate_party_gle_currency" href="#erpnext.accounts.party.validate_party_gle_currency" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.party.<b>validate_party_gle_currency</b>
+        <i class="text-muted">(party_type, party, company, party_account_currency=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Validate party account currency with existing GL Entry's currency</p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/accounts/erpnext.accounts.utils.html b/erpnext/docs/current/api/accounts/erpnext.accounts.utils.html
new file mode 100644
index 0000000..3fe95fe
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/erpnext.accounts.utils.html
@@ -0,0 +1,380 @@
+<!-- title: erpnext.accounts.utils --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/accounts/utils.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>BudgetError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>FiscalYearError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.utils.add_ac</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.utils.add_ac" href="#erpnext.accounts.utils.add_ac" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.utils.<b>add_ac</b>
+        <i class="text-muted">(args=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.utils.add_cc</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.utils.add_cc" href="#erpnext.accounts.utils.add_cc" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.utils.<b>add_cc</b>
+        <i class="text-muted">(args=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.utils.check_if_jv_modified" href="#erpnext.accounts.utils.check_if_jv_modified" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.utils.<b>check_if_jv_modified</b>
+        <i class="text-muted">(args)</i>
+    </p>
+	<div class="docs-attr-desc"><p>check if there is already a voucher reference
+check if amount is same
+check if jv is submitted</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.utils.fix_total_debit_credit" href="#erpnext.accounts.utils.fix_total_debit_credit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.utils.<b>fix_total_debit_credit</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.utils.get_actual_expense" href="#erpnext.accounts.utils.get_actual_expense" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.utils.<b>get_actual_expense</b>
+        <i class="text-muted">(args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.utils.get_allocated_budget" href="#erpnext.accounts.utils.get_allocated_budget" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.utils.<b>get_allocated_budget</b>
+        <i class="text-muted">(distribution_id, posting_date, fiscal_year, yearly_budget)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.utils.get_balance_on</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.utils.get_balance_on" href="#erpnext.accounts.utils.get_balance_on" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.utils.<b>get_balance_on</b>
+        <i class="text-muted">(account=None, date=None, party_type=None, party=None, in_account_currency=True)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.utils.get_company_default</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.utils.get_company_default" href="#erpnext.accounts.utils.get_company_default" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.utils.<b>get_company_default</b>
+        <i class="text-muted">(company, fieldname)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.utils.get_currency_precision" href="#erpnext.accounts.utils.get_currency_precision" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.utils.<b>get_currency_precision</b>
+        <i class="text-muted">(currency=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.utils.get_fiscal_year</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.utils.get_fiscal_year" href="#erpnext.accounts.utils.get_fiscal_year" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.utils.<b>get_fiscal_year</b>
+        <i class="text-muted">(date=None, fiscal_year=None, label=Date, verbose=1, company=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.utils.get_fiscal_years" href="#erpnext.accounts.utils.get_fiscal_years" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.utils.<b>get_fiscal_years</b>
+        <i class="text-muted">(transaction_date=None, fiscal_year=None, label=Date, verbose=1, company=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.utils.get_outstanding_invoices" href="#erpnext.accounts.utils.get_outstanding_invoices" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.utils.<b>get_outstanding_invoices</b>
+        <i class="text-muted">(amount_query, account, party_type, party)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.utils.get_stock_and_account_difference" href="#erpnext.accounts.utils.get_stock_and_account_difference" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.utils.<b>get_stock_and_account_difference</b>
+        <i class="text-muted">(account_list=None, posting_date=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.utils.get_stock_rbnb_difference" href="#erpnext.accounts.utils.get_stock_rbnb_difference" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.utils.<b>get_stock_rbnb_difference</b>
+        <i class="text-muted">(posting_date, company)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.utils.reconcile_against_document" href="#erpnext.accounts.utils.reconcile_against_document" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.utils.<b>reconcile_against_document</b>
+        <i class="text-muted">(args)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Cancel JV, Update aginst document, split if required and resubmit jv</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.utils.remove_against_link_from_jv" href="#erpnext.accounts.utils.remove_against_link_from_jv" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.utils.<b>remove_against_link_from_jv</b>
+        <i class="text-muted">(ref_type, ref_no)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.utils.update_against_doc" href="#erpnext.accounts.utils.update_against_doc" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.utils.<b>update_against_doc</b>
+        <i class="text-muted">(d, jv_obj)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Updates against document, if partial amount splits into rows</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.utils.validate_allocated_amount" href="#erpnext.accounts.utils.validate_allocated_amount" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.utils.<b>validate_allocated_amount</b>
+        <i class="text-muted">(args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.utils.validate_expense_against_budget" href="#erpnext.accounts.utils.validate_expense_against_budget" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.utils.<b>validate_expense_against_budget</b>
+        <i class="text-muted">(args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.utils.validate_fiscal_year" href="#erpnext.accounts.utils.validate_fiscal_year" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.utils.<b>validate_fiscal_year</b>
+        <i class="text-muted">(date, fiscal_year, label=Date, doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/accounts/index.html b/erpnext/docs/current/api/accounts/index.html
new file mode 100644
index 0000000..9f6ab14
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/index.html
@@ -0,0 +1,19 @@
+<!-- title: accounts -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/accounts"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/accounts/index.txt b/erpnext/docs/current/api/accounts/index.txt
new file mode 100644
index 0000000..33f157c
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/index.txt
@@ -0,0 +1,4 @@
+erpnext.accounts.general_ledger
+erpnext.accounts
+erpnext.accounts.party
+erpnext.accounts.utils
\ No newline at end of file
diff --git a/erpnext/docs/current/api/accounts/print_format/cheque_printing_format/erpnext.accounts.print_format.cheque_printing_format.html b/erpnext/docs/current/api/accounts/print_format/cheque_printing_format/erpnext.accounts.print_format.cheque_printing_format.html
new file mode 100644
index 0000000..e7b88ad
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/cheque_printing_format/erpnext.accounts.print_format.cheque_printing_format.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.accounts.print_format.cheque_printing_format --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/accounts/print_format/cheque_printing_format.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/accounts/print_format/cheque_printing_format/index.html b/erpnext/docs/current/api/accounts/print_format/cheque_printing_format/index.html
new file mode 100644
index 0000000..0354aef
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/cheque_printing_format/index.html
@@ -0,0 +1,19 @@
+<!-- title: cheque_printing_format -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/cheque_printing_format"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/accounts/print_format/cheque_printing_format/index.txt b/erpnext/docs/current/api/accounts/print_format/cheque_printing_format/index.txt
new file mode 100644
index 0000000..4298944
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/cheque_printing_format/index.txt
@@ -0,0 +1 @@
+erpnext.accounts.print_format.cheque_printing_format
\ No newline at end of file
diff --git a/erpnext/docs/current/api/accounts/print_format/credit_note/erpnext.accounts.print_format.credit_note.html b/erpnext/docs/current/api/accounts/print_format/credit_note/erpnext.accounts.print_format.credit_note.html
new file mode 100644
index 0000000..5312a8e
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/credit_note/erpnext.accounts.print_format.credit_note.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.accounts.print_format.credit_note --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/accounts/print_format/credit_note.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/accounts/print_format/credit_note/index.html b/erpnext/docs/current/api/accounts/print_format/credit_note/index.html
new file mode 100644
index 0000000..b68c743
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/credit_note/index.html
@@ -0,0 +1,19 @@
+<!-- title: credit_note -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/credit_note"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/accounts/print_format/credit_note/index.txt b/erpnext/docs/current/api/accounts/print_format/credit_note/index.txt
new file mode 100644
index 0000000..f98781e
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/credit_note/index.txt
@@ -0,0 +1 @@
+erpnext.accounts.print_format.credit_note
\ No newline at end of file
diff --git a/erpnext/docs/current/api/accounts/print_format/erpnext.accounts.print_format.html b/erpnext/docs/current/api/accounts/print_format/erpnext.accounts.print_format.html
new file mode 100644
index 0000000..6640ee7
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/erpnext.accounts.print_format.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.accounts.print_format --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/accounts/print_format.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/accounts/print_format/index.html b/erpnext/docs/current/api/accounts/print_format/index.html
new file mode 100644
index 0000000..07f7381
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/index.html
@@ -0,0 +1,19 @@
+<!-- title: print_format -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/print_format"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/accounts/print_format/index.txt b/erpnext/docs/current/api/accounts/print_format/index.txt
new file mode 100644
index 0000000..959c953
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/index.txt
@@ -0,0 +1 @@
+erpnext.accounts.print_format
\ No newline at end of file
diff --git a/erpnext/docs/current/api/accounts/print_format/payment_receipt_voucher/erpnext.accounts.print_format.payment_receipt_voucher.html b/erpnext/docs/current/api/accounts/print_format/payment_receipt_voucher/erpnext.accounts.print_format.payment_receipt_voucher.html
new file mode 100644
index 0000000..b525cb0
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/payment_receipt_voucher/erpnext.accounts.print_format.payment_receipt_voucher.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.accounts.print_format.payment_receipt_voucher --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/accounts/print_format/payment_receipt_voucher.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/accounts/print_format/payment_receipt_voucher/index.html b/erpnext/docs/current/api/accounts/print_format/payment_receipt_voucher/index.html
new file mode 100644
index 0000000..7ab73b6
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/payment_receipt_voucher/index.html
@@ -0,0 +1,19 @@
+<!-- title: payment_receipt_voucher -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/payment_receipt_voucher"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/accounts/print_format/payment_receipt_voucher/index.txt b/erpnext/docs/current/api/accounts/print_format/payment_receipt_voucher/index.txt
new file mode 100644
index 0000000..e90d4d9
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/payment_receipt_voucher/index.txt
@@ -0,0 +1 @@
+erpnext.accounts.print_format.payment_receipt_voucher
\ No newline at end of file
diff --git a/erpnext/docs/current/api/accounts/print_format/pos_invoice/erpnext.accounts.print_format.pos_invoice.html b/erpnext/docs/current/api/accounts/print_format/pos_invoice/erpnext.accounts.print_format.pos_invoice.html
new file mode 100644
index 0000000..6c7fcdf
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/pos_invoice/erpnext.accounts.print_format.pos_invoice.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.accounts.print_format.pos_invoice --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/accounts/print_format/pos_invoice.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/accounts/print_format/pos_invoice/index.html b/erpnext/docs/current/api/accounts/print_format/pos_invoice/index.html
new file mode 100644
index 0000000..cda5b3b
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/pos_invoice/index.html
@@ -0,0 +1,19 @@
+<!-- title: pos_invoice -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/pos_invoice"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/accounts/print_format/pos_invoice/index.txt b/erpnext/docs/current/api/accounts/print_format/pos_invoice/index.txt
new file mode 100644
index 0000000..533ff20
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/pos_invoice/index.txt
@@ -0,0 +1 @@
+erpnext.accounts.print_format.pos_invoice
\ No newline at end of file
diff --git a/erpnext/docs/current/api/buying/erpnext.buying.html b/erpnext/docs/current/api/buying/erpnext.buying.html
new file mode 100644
index 0000000..46eb03f
--- /dev/null
+++ b/erpnext/docs/current/api/buying/erpnext.buying.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.buying --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/buying.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/buying/index.html b/erpnext/docs/current/api/buying/index.html
new file mode 100644
index 0000000..4a6a2f1
--- /dev/null
+++ b/erpnext/docs/current/api/buying/index.html
@@ -0,0 +1,19 @@
+<!-- title: buying -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/buying"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/buying/index.txt b/erpnext/docs/current/api/buying/index.txt
new file mode 100644
index 0000000..7897fe2
--- /dev/null
+++ b/erpnext/docs/current/api/buying/index.txt
@@ -0,0 +1 @@
+erpnext.buying
\ No newline at end of file
diff --git a/erpnext/docs/current/api/buying/print_format/drop_shipping/erpnext.buying.print_format.drop_shipping.html b/erpnext/docs/current/api/buying/print_format/drop_shipping/erpnext.buying.print_format.drop_shipping.html
new file mode 100644
index 0000000..cdd8641
--- /dev/null
+++ b/erpnext/docs/current/api/buying/print_format/drop_shipping/erpnext.buying.print_format.drop_shipping.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.buying.print_format.drop_shipping --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/buying/print_format/drop_shipping.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/buying/print_format/drop_shipping/index.html b/erpnext/docs/current/api/buying/print_format/drop_shipping/index.html
new file mode 100644
index 0000000..0f2f9f4
--- /dev/null
+++ b/erpnext/docs/current/api/buying/print_format/drop_shipping/index.html
@@ -0,0 +1,19 @@
+<!-- title: drop_shipping -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/drop_shipping"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/buying/print_format/drop_shipping/index.txt b/erpnext/docs/current/api/buying/print_format/drop_shipping/index.txt
new file mode 100644
index 0000000..5c383bd
--- /dev/null
+++ b/erpnext/docs/current/api/buying/print_format/drop_shipping/index.txt
@@ -0,0 +1 @@
+erpnext.buying.print_format.drop_shipping
\ No newline at end of file
diff --git a/erpnext/docs/current/api/buying/print_format/erpnext.buying.print_format.html b/erpnext/docs/current/api/buying/print_format/erpnext.buying.print_format.html
new file mode 100644
index 0000000..de7a42c
--- /dev/null
+++ b/erpnext/docs/current/api/buying/print_format/erpnext.buying.print_format.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.buying.print_format --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/buying/print_format.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/buying/print_format/index.html b/erpnext/docs/current/api/buying/print_format/index.html
new file mode 100644
index 0000000..07f7381
--- /dev/null
+++ b/erpnext/docs/current/api/buying/print_format/index.html
@@ -0,0 +1,19 @@
+<!-- title: print_format -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/print_format"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/buying/print_format/index.txt b/erpnext/docs/current/api/buying/print_format/index.txt
new file mode 100644
index 0000000..161fb0c
--- /dev/null
+++ b/erpnext/docs/current/api/buying/print_format/index.txt
@@ -0,0 +1 @@
+erpnext.buying.print_format
\ No newline at end of file
diff --git a/erpnext/docs/current/api/config/erpnext.config.accounts.html b/erpnext/docs/current/api/config/erpnext.config.accounts.html
new file mode 100644
index 0000000..1ea68f3
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.accounts.html
@@ -0,0 +1,34 @@
+<!-- title: erpnext.config.accounts --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/config/accounts.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.config.accounts.get_data" href="#erpnext.config.accounts.get_data" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.config.accounts.<b>get_data</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/config/erpnext.config.buying.html b/erpnext/docs/current/api/config/erpnext.config.buying.html
new file mode 100644
index 0000000..0065c85
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.buying.html
@@ -0,0 +1,34 @@
+<!-- title: erpnext.config.buying --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/config/buying.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.config.buying.get_data" href="#erpnext.config.buying.get_data" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.config.buying.<b>get_data</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/config/erpnext.config.crm.html b/erpnext/docs/current/api/config/erpnext.config.crm.html
new file mode 100644
index 0000000..a189f0f
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.crm.html
@@ -0,0 +1,34 @@
+<!-- title: erpnext.config.crm --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/config/crm.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.config.crm.get_data" href="#erpnext.config.crm.get_data" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.config.crm.<b>get_data</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/config/erpnext.config.desktop.html b/erpnext/docs/current/api/config/erpnext.config.desktop.html
new file mode 100644
index 0000000..9374056
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.desktop.html
@@ -0,0 +1,34 @@
+<!-- title: erpnext.config.desktop --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/config/desktop.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.config.desktop.get_data" href="#erpnext.config.desktop.get_data" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.config.desktop.<b>get_data</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/config/erpnext.config.docs.html b/erpnext/docs/current/api/config/erpnext.config.docs.html
new file mode 100644
index 0000000..ac7601d
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.docs.html
@@ -0,0 +1,34 @@
+<!-- title: erpnext.config.docs --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/config/docs.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.config.docs.get_context" href="#erpnext.config.docs.get_context" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.config.docs.<b>get_context</b>
+        <i class="text-muted">(context)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/config/erpnext.config.hr.html b/erpnext/docs/current/api/config/erpnext.config.hr.html
new file mode 100644
index 0000000..37120f6
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.hr.html
@@ -0,0 +1,34 @@
+<!-- title: erpnext.config.hr --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/config/hr.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.config.hr.get_data" href="#erpnext.config.hr.get_data" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.config.hr.<b>get_data</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/config/erpnext.config.html b/erpnext/docs/current/api/config/erpnext.config.html
new file mode 100644
index 0000000..051729d
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.config --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/config.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/config/erpnext.config.learn.html b/erpnext/docs/current/api/config/erpnext.config.learn.html
new file mode 100644
index 0000000..d3e04dc
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.learn.html
@@ -0,0 +1,34 @@
+<!-- title: erpnext.config.learn --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/config/learn.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.config.learn.get_data" href="#erpnext.config.learn.get_data" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.config.learn.<b>get_data</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/config/erpnext.config.manufacturing.html b/erpnext/docs/current/api/config/erpnext.config.manufacturing.html
new file mode 100644
index 0000000..d60bebb
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.manufacturing.html
@@ -0,0 +1,34 @@
+<!-- title: erpnext.config.manufacturing --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/config/manufacturing.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.config.manufacturing.get_data" href="#erpnext.config.manufacturing.get_data" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.config.manufacturing.<b>get_data</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/config/erpnext.config.projects.html b/erpnext/docs/current/api/config/erpnext.config.projects.html
new file mode 100644
index 0000000..88ef05c
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.projects.html
@@ -0,0 +1,34 @@
+<!-- title: erpnext.config.projects --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/config/projects.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.config.projects.get_data" href="#erpnext.config.projects.get_data" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.config.projects.<b>get_data</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/config/erpnext.config.selling.html b/erpnext/docs/current/api/config/erpnext.config.selling.html
new file mode 100644
index 0000000..02040b7
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.selling.html
@@ -0,0 +1,34 @@
+<!-- title: erpnext.config.selling --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/config/selling.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.config.selling.get_data" href="#erpnext.config.selling.get_data" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.config.selling.<b>get_data</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/config/erpnext.config.setup.html b/erpnext/docs/current/api/config/erpnext.config.setup.html
new file mode 100644
index 0000000..34d767a
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.setup.html
@@ -0,0 +1,34 @@
+<!-- title: erpnext.config.setup --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/config/setup.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.config.setup.get_data" href="#erpnext.config.setup.get_data" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.config.setup.<b>get_data</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/config/erpnext.config.stock.html b/erpnext/docs/current/api/config/erpnext.config.stock.html
new file mode 100644
index 0000000..d913152
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.stock.html
@@ -0,0 +1,34 @@
+<!-- title: erpnext.config.stock --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/config/stock.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.config.stock.get_data" href="#erpnext.config.stock.get_data" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.config.stock.<b>get_data</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/config/erpnext.config.support.html b/erpnext/docs/current/api/config/erpnext.config.support.html
new file mode 100644
index 0000000..4bec149
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.support.html
@@ -0,0 +1,34 @@
+<!-- title: erpnext.config.support --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/config/support.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.config.support.get_data" href="#erpnext.config.support.get_data" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.config.support.<b>get_data</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/config/erpnext.config.website.html b/erpnext/docs/current/api/config/erpnext.config.website.html
new file mode 100644
index 0000000..f7452e6
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.website.html
@@ -0,0 +1,34 @@
+<!-- title: erpnext.config.website --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/config/website.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.config.website.get_data" href="#erpnext.config.website.get_data" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.config.website.<b>get_data</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/config/index.html b/erpnext/docs/current/api/config/index.html
new file mode 100644
index 0000000..8a2937e
--- /dev/null
+++ b/erpnext/docs/current/api/config/index.html
@@ -0,0 +1,19 @@
+<!-- title: config -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/config"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/config/index.txt b/erpnext/docs/current/api/config/index.txt
new file mode 100644
index 0000000..7d4ebc5
--- /dev/null
+++ b/erpnext/docs/current/api/config/index.txt
@@ -0,0 +1,15 @@
+erpnext.config.accounts
+erpnext.config.buying
+erpnext.config.crm
+erpnext.config.desktop
+erpnext.config.docs
+erpnext.config.hr
+erpnext.config
+erpnext.config.learn
+erpnext.config.manufacturing
+erpnext.config.projects
+erpnext.config.selling
+erpnext.config.setup
+erpnext.config.stock
+erpnext.config.support
+erpnext.config.website
\ No newline at end of file
diff --git a/erpnext/docs/current/api/controllers/erpnext.controllers.accounts_controller.html b/erpnext/docs/current/api/controllers/erpnext.controllers.accounts_controller.html
new file mode 100644
index 0000000..6b12563
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.accounts_controller.html
@@ -0,0 +1,527 @@
+<!-- title: erpnext.controllers.accounts_controller --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/controllers/accounts_controller.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>AccountsController</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.utilities.transaction_base.TransactionBase</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="__init__" href="#__init__" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>__init__</b>
+        <i class="text-muted">(self, arg1, arg2=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="append_taxes_from_master" href="#append_taxes_from_master" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>append_taxes_from_master</b>
+        <i class="text-muted">(self, tax_master_doctype=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="before_recurring" href="#before_recurring" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>before_recurring</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_taxes_and_totals" href="#calculate_taxes_and_totals" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_taxes_and_totals</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="clear_unallocated_advances" href="#clear_unallocated_advances" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>clear_unallocated_advances</b>
+        <i class="text-muted">(self, childtype, parentfield)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_advances" href="#get_advances" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_advances</b>
+        <i class="text-muted">(self, account_head, party_type, party, child_doctype, parentfield, dr_or_cr, against_order_field)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Returns list of advances against Account, Party, Reference</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_company_default" href="#get_company_default" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_company_default</b>
+        <i class="text-muted">(self, fieldname)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_gl_dict" href="#get_gl_dict" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_gl_dict</b>
+        <i class="text-muted">(self, args, account_currency=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p>this method populates the common properties of a gl entry record</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_party" href="#get_party" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_party</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_stock_items" href="#get_stock_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_stock_items</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update_after_submit" href="#on_update_after_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update_after_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_balance_in_account_currency" href="#set_balance_in_account_currency" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_balance_in_account_currency</b>
+        <i class="text-muted">(self, gl_dict, account_currency=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_missing_item_details" href="#set_missing_item_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_missing_item_details</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>set missing item values</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_missing_values" href="#set_missing_values" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_missing_values</b>
+        <i class="text-muted">(self, for_validate=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_other_charges" href="#set_other_charges" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_other_charges</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_price_list_currency" href="#set_price_list_currency" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_price_list_currency</b>
+        <i class="text-muted">(self, buying_or_selling)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_taxes" href="#set_taxes" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_taxes</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_total_advance_paid" href="#set_total_advance_paid" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_total_advance_paid</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_account_currency" href="#validate_account_currency" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_account_currency</b>
+        <i class="text-muted">(self, account, account_currency=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_advance_jv" href="#validate_advance_jv" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_advance_jv</b>
+        <i class="text-muted">(self, reference_type)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_currency" href="#validate_currency" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_currency</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_date_with_fiscal_year" href="#validate_date_with_fiscal_year" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_date_with_fiscal_year</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_due_date" href="#validate_due_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_due_date</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_enabled_taxes_and_charges" href="#validate_enabled_taxes_and_charges" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_enabled_taxes_and_charges</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_multiple_billing" href="#validate_multiple_billing" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_multiple_billing</b>
+        <i class="text-muted">(self, ref_dt, item_ref_dn, based_on, parentfield)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_party" href="#validate_party" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_party</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.controllers.accounts_controller.get_default_taxes_and_charges</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.accounts_controller.get_default_taxes_and_charges" href="#erpnext.controllers.accounts_controller.get_default_taxes_and_charges" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.accounts_controller.<b>get_default_taxes_and_charges</b>
+        <i class="text-muted">(master_doctype)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.controllers.accounts_controller.get_tax_rate</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.accounts_controller.get_tax_rate" href="#erpnext.controllers.accounts_controller.get_tax_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.accounts_controller.<b>get_tax_rate</b>
+        <i class="text-muted">(account_head)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.controllers.accounts_controller.get_taxes_and_charges</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.accounts_controller.get_taxes_and_charges" href="#erpnext.controllers.accounts_controller.get_taxes_and_charges" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.accounts_controller.<b>get_taxes_and_charges</b>
+        <i class="text-muted">(master_doctype, master_name)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.accounts_controller.validate_conversion_rate" href="#erpnext.controllers.accounts_controller.validate_conversion_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.accounts_controller.<b>validate_conversion_rate</b>
+        <i class="text-muted">(currency, conversion_rate, conversion_rate_label, company)</i>
+    </p>
+	<div class="docs-attr-desc"><p>common validation for currency and price list currency</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.accounts_controller.validate_inclusive_tax" href="#erpnext.controllers.accounts_controller.validate_inclusive_tax" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.accounts_controller.<b>validate_inclusive_tax</b>
+        <i class="text-muted">(tax, doc)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.accounts_controller.validate_taxes_and_charges" href="#erpnext.controllers.accounts_controller.validate_taxes_and_charges" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.accounts_controller.<b>validate_taxes_and_charges</b>
+        <i class="text-muted">(tax)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/controllers/erpnext.controllers.buying_controller.html b/erpnext/docs/current/api/controllers/erpnext.controllers.buying_controller.html
new file mode 100644
index 0000000..b7c5a96
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.buying_controller.html
@@ -0,0 +1,260 @@
+<!-- title: erpnext.controllers.buying_controller --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/controllers/buying_controller.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>BuyingController</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.stock_controller.StockController</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="__setup__" href="#__setup__" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>__setup__</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="cleanup_raw_materials_supplied" href="#cleanup_raw_materials_supplied" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>cleanup_raw_materials_supplied</b>
+        <i class="text-muted">(self, parent_items, raw_material_table)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Remove all those child items which are no longer present in main item table</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="create_raw_materials_supplied" href="#create_raw_materials_supplied" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>create_raw_materials_supplied</b>
+        <i class="text-muted">(self, raw_material_table)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_feed" href="#get_feed" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_feed</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_items_from_bom" href="#get_items_from_bom" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_items_from_bom</b>
+        <i class="text-muted">(self, item_code, bom)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="is_item_table_empty" href="#is_item_table_empty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>is_item_table_empty</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_missing_values" href="#set_missing_values" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_missing_values</b>
+        <i class="text-muted">(self, for_validate=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_qty_as_per_stock_uom" href="#set_qty_as_per_stock_uom" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_qty_as_per_stock_uom</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_supplier_from_item_default" href="#set_supplier_from_item_default" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_supplier_from_item_default</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_total_in_words" href="#set_total_in_words" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_total_in_words</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_raw_materials_supplied" href="#update_raw_materials_supplied" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_raw_materials_supplied</b>
+        <i class="text-muted">(self, item, raw_material_table)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_valuation_rate" href="#update_valuation_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_valuation_rate</b>
+        <i class="text-muted">(self, parentfield)</i>
+    </p>
+	<div class="docs-attr-desc"><p>item<em>tax</em>amount is the total tax amount applied on that item
+stored for valuation</p>
+
+<p>TODO: rename item<em>tax</em>amount to valuation<em>tax</em>amount</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_for_subcontracting" href="#validate_for_subcontracting" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_for_subcontracting</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_stock_or_nonstock_items" href="#validate_stock_or_nonstock_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_stock_or_nonstock_items</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_warehouse" href="#validate_warehouse" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_warehouse</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/controllers/erpnext.controllers.html b/erpnext/docs/current/api/controllers/erpnext.controllers.html
new file mode 100644
index 0000000..61b2fc6
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.controllers --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/controllers.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/controllers/erpnext.controllers.item_variant.html b/erpnext/docs/current/api/controllers/erpnext.controllers.item_variant.html
new file mode 100644
index 0000000..86e87e9
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.item_variant.html
@@ -0,0 +1,170 @@
+<!-- title: erpnext.controllers.item_variant --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/controllers/item_variant.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>InvalidItemAttributeValueError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ItemTemplateCannotHaveStock</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ItemVariantExistsError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.item_variant.copy_attributes_to_variant" href="#erpnext.controllers.item_variant.copy_attributes_to_variant" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.item_variant.<b>copy_attributes_to_variant</b>
+        <i class="text-muted">(item, variant)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.controllers.item_variant.create_variant</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.item_variant.create_variant" href="#erpnext.controllers.item_variant.create_variant" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.item_variant.<b>create_variant</b>
+        <i class="text-muted">(item, args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.item_variant.find_variant" href="#erpnext.controllers.item_variant.find_variant" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.item_variant.<b>find_variant</b>
+        <i class="text-muted">(item, args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.controllers.item_variant.get_variant</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.item_variant.get_variant" href="#erpnext.controllers.item_variant.get_variant" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.item_variant.<b>get_variant</b>
+        <i class="text-muted">(item, args)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Validates Attributes and their Values, then looks for an exactly matching Item Variant</p>
+
+<p><strong>Parameters:</strong></p>
+
+<ul>
+<li><strong><code>item</code></strong> -  Template Item</li>
+<li><strong><code>args</code></strong> -  A dictionary with "Attribute" as key and "Attribute Value" as value</li>
+</ul>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.item_variant.make_variant_item_code" href="#erpnext.controllers.item_variant.make_variant_item_code" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.item_variant.<b>make_variant_item_code</b>
+        <i class="text-muted">(template, variant)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Uses template's item code and abbreviations to make variant's item code</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.item_variant.validate_item_variant_attributes" href="#erpnext.controllers.item_variant.validate_item_variant_attributes" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.item_variant.<b>validate_item_variant_attributes</b>
+        <i class="text-muted">(item, args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/controllers/erpnext.controllers.print_settings.html b/erpnext/docs/current/api/controllers/erpnext.controllers.print_settings.html
new file mode 100644
index 0000000..b9dba69
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.print_settings.html
@@ -0,0 +1,34 @@
+<!-- title: erpnext.controllers.print_settings --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/controllers/print_settings.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.print_settings.print_settings_for_item_table" href="#erpnext.controllers.print_settings.print_settings_for_item_table" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.print_settings.<b>print_settings_for_item_table</b>
+        <i class="text-muted">(doc)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/controllers/erpnext.controllers.queries.html b/erpnext/docs/current/api/controllers/erpnext.controllers.queries.html
new file mode 100644
index 0000000..9ad7252c
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.queries.html
@@ -0,0 +1,228 @@
+<!-- title: erpnext.controllers.queries --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/controllers/queries.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.queries.bom" href="#erpnext.controllers.queries.bom" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.queries.<b>bom</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.queries.customer_query" href="#erpnext.controllers.queries.customer_query" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.queries.<b>customer_query</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.queries.employee_query" href="#erpnext.controllers.queries.employee_query" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.queries.<b>employee_query</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.queries.get_account_list" href="#erpnext.controllers.queries.get_account_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.queries.<b>get_account_list</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.queries.get_batch_no" href="#erpnext.controllers.queries.get_batch_no" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.queries.<b>get_batch_no</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.queries.get_delivery_notes_to_be_billed" href="#erpnext.controllers.queries.get_delivery_notes_to_be_billed" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.queries.<b>get_delivery_notes_to_be_billed</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.queries.get_filters_cond" href="#erpnext.controllers.queries.get_filters_cond" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.queries.<b>get_filters_cond</b>
+        <i class="text-muted">(doctype, filters, conditions)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.controllers.queries.get_income_account</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.queries.get_income_account" href="#erpnext.controllers.queries.get_income_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.queries.<b>get_income_account</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.queries.get_project_name" href="#erpnext.controllers.queries.get_project_name" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.queries.<b>get_project_name</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.queries.item_query" href="#erpnext.controllers.queries.item_query" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.queries.<b>item_query</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.queries.lead_query" href="#erpnext.controllers.queries.lead_query" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.queries.<b>lead_query</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.queries.supplier_query" href="#erpnext.controllers.queries.supplier_query" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.queries.<b>supplier_query</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.queries.tax_account_query" href="#erpnext.controllers.queries.tax_account_query" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.queries.<b>tax_account_query</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/controllers/erpnext.controllers.recurring_document.html b/erpnext/docs/current/api/controllers/erpnext.controllers.recurring_document.html
new file mode 100644
index 0000000..3331337
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.recurring_document.html
@@ -0,0 +1,195 @@
+<!-- title: erpnext.controllers.recurring_document --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/controllers/recurring_document.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.recurring_document.assign_task_to_owner" href="#erpnext.controllers.recurring_document.assign_task_to_owner" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.recurring_document.<b>assign_task_to_owner</b>
+        <i class="text-muted">(doc, doctype, msg, users)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.recurring_document.convert_to_recurring" href="#erpnext.controllers.recurring_document.convert_to_recurring" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.recurring_document.<b>convert_to_recurring</b>
+        <i class="text-muted">(doc, posting_date)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.recurring_document.create_recurring_documents" href="#erpnext.controllers.recurring_document.create_recurring_documents" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.recurring_document.<b>create_recurring_documents</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.recurring_document.get_next_date" href="#erpnext.controllers.recurring_document.get_next_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.recurring_document.<b>get_next_date</b>
+        <i class="text-muted">(dt, mcount, day=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.recurring_document.make_new_document" href="#erpnext.controllers.recurring_document.make_new_document" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.recurring_document.<b>make_new_document</b>
+        <i class="text-muted">(ref_wrapper, date_field, posting_date)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.recurring_document.manage_recurring_documents" href="#erpnext.controllers.recurring_document.manage_recurring_documents" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.recurring_document.<b>manage_recurring_documents</b>
+        <i class="text-muted">(doctype, next_date=None, commit=True)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Create recurring documents on specific date by copying the original one
+and notify the concerned people</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.recurring_document.notify_errors" href="#erpnext.controllers.recurring_document.notify_errors" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.recurring_document.<b>notify_errors</b>
+        <i class="text-muted">(doc, doctype, party, owner)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.recurring_document.send_notification" href="#erpnext.controllers.recurring_document.send_notification" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.recurring_document.<b>send_notification</b>
+        <i class="text-muted">(new_rv)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Notify concerned persons about recurring document generation</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.recurring_document.set_next_date" href="#erpnext.controllers.recurring_document.set_next_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.recurring_document.<b>set_next_date</b>
+        <i class="text-muted">(doc, posting_date)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Set next date on which recurring document will be created</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.recurring_document.validate_notification_email_id" href="#erpnext.controllers.recurring_document.validate_notification_email_id" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.recurring_document.<b>validate_notification_email_id</b>
+        <i class="text-muted">(doc)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.recurring_document.validate_recurring_document" href="#erpnext.controllers.recurring_document.validate_recurring_document" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.recurring_document.<b>validate_recurring_document</b>
+        <i class="text-muted">(doc)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/controllers/erpnext.controllers.sales_and_purchase_return.html b/erpnext/docs/current/api/controllers/erpnext.controllers.sales_and_purchase_return.html
new file mode 100644
index 0000000..6f2e059
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.sales_and_purchase_return.html
@@ -0,0 +1,113 @@
+<!-- title: erpnext.controllers.sales_and_purchase_return --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/controllers/sales_and_purchase_return.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>StockOverReturnError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.sales_and_purchase_return.get_already_returned_items" href="#erpnext.controllers.sales_and_purchase_return.get_already_returned_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.sales_and_purchase_return.<b>get_already_returned_items</b>
+        <i class="text-muted">(doc)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.sales_and_purchase_return.make_return_doc" href="#erpnext.controllers.sales_and_purchase_return.make_return_doc" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.sales_and_purchase_return.<b>make_return_doc</b>
+        <i class="text-muted">(doctype, source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.sales_and_purchase_return.validate_return" href="#erpnext.controllers.sales_and_purchase_return.validate_return" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.sales_and_purchase_return.<b>validate_return</b>
+        <i class="text-muted">(doc)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.sales_and_purchase_return.validate_return_against" href="#erpnext.controllers.sales_and_purchase_return.validate_return_against" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.sales_and_purchase_return.<b>validate_return_against</b>
+        <i class="text-muted">(doc)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.sales_and_purchase_return.validate_returned_items" href="#erpnext.controllers.sales_and_purchase_return.validate_returned_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.sales_and_purchase_return.<b>validate_returned_items</b>
+        <i class="text-muted">(doc)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/controllers/erpnext.controllers.selling_controller.html b/erpnext/docs/current/api/controllers/erpnext.controllers.selling_controller.html
new file mode 100644
index 0000000..fd665f6
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.selling_controller.html
@@ -0,0 +1,315 @@
+<!-- title: erpnext.controllers.selling_controller --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/controllers/selling_controller.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SellingController</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.stock_controller.StockController</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="__setup__" href="#__setup__" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>__setup__</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="apply_shipping_rule" href="#apply_shipping_rule" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>apply_shipping_rule</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_commission" href="#calculate_commission" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_commission</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_contribution" href="#calculate_contribution" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_contribution</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_stop_or_close_sales_order" href="#check_stop_or_close_sales_order" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_stop_or_close_sales_order</b>
+        <i class="text-muted">(self, ref_fieldname)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_already_delivered_qty" href="#get_already_delivered_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_already_delivered_qty</b>
+        <i class="text-muted">(self, current_docname, so, so_detail)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_feed" href="#get_feed" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_feed</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_item_list" href="#get_item_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_item_list</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_so_qty_and_warehouse" href="#get_so_qty_and_warehouse" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_so_qty_and_warehouse</b>
+        <i class="text-muted">(self, so_detail)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="has_product_bundle" href="#has_product_bundle" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>has_product_bundle</b>
+        <i class="text-muted">(self, item_code)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="onload" href="#onload" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>onload</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="remove_shipping_charge" href="#remove_shipping_charge" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>remove_shipping_charge</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_missing_lead_customer_details" href="#set_missing_lead_customer_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_missing_lead_customer_details</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_missing_values" href="#set_missing_values" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_missing_values</b>
+        <i class="text-muted">(self, for_validate=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_price_list_and_item_details" href="#set_price_list_and_item_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_price_list_and_item_details</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_total_in_words" href="#set_total_in_words" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_total_in_words</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_max_discount" href="#validate_max_discount" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_max_discount</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_order_type" href="#validate_order_type" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_order_type</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.selling_controller.check_active_sales_items" href="#erpnext.controllers.selling_controller.check_active_sales_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.selling_controller.<b>check_active_sales_items</b>
+        <i class="text-muted">(obj)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/controllers/erpnext.controllers.status_updater.html b/erpnext/docs/current/api/controllers/erpnext.controllers.status_updater.html
new file mode 100644
index 0000000..8398226
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.status_updater.html
@@ -0,0 +1,200 @@
+<!-- title: erpnext.controllers.status_updater --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/controllers/status_updater.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>StatusUpdater</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p>Updates the status of the calling records
+Delivery Note: Update Delivered Qty, Update Percent and Validate over delivery
+Sales Invoice: Update Billed Amt, Update Percent and Validate over billing
+Installation Note: Update Installed Qty, Update Percent Qty and Validate over installation</p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="_update_children" href="#_update_children" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>_update_children</b>
+        <i class="text-muted">(self, args)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Update quantities or amount in child table</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="_update_percent_field" href="#_update_percent_field" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>_update_percent_field</b>
+        <i class="text-muted">(self, args)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Update percent field in parent transaction</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_overflow_with_tolerance" href="#check_overflow_with_tolerance" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_overflow_with_tolerance</b>
+        <i class="text-muted">(self, item, args)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Checks if there is overflow condering a relaxation tolerance</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_status" href="#set_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_status</b>
+        <i class="text-muted">(self, update=False, status=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_billing_status" href="#update_billing_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_billing_status</b>
+        <i class="text-muted">(self, zero_amount_refdoc, ref_dt, ref_fieldname)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_billing_status_for_zero_amount_refdoc" href="#update_billing_status_for_zero_amount_refdoc" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_billing_status_for_zero_amount_refdoc</b>
+        <i class="text-muted">(self, ref_dt)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_prevdoc_status" href="#update_prevdoc_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_prevdoc_status</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_qty" href="#update_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_qty</b>
+        <i class="text-muted">(self, change_modified=True)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Updates qty or amount at row level</p>
+
+<p><strong>Parameters:</strong></p>
+
+<ul>
+<li><strong><code>change_modified</code></strong> -  If true, updates <code>modified</code> and <code>modified_by</code> for target parent doc</li>
+</ul>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_qty" href="#validate_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_qty</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Validates qty at row level</p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.status_updater.get_tolerance_for" href="#erpnext.controllers.status_updater.get_tolerance_for" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.status_updater.<b>get_tolerance_for</b>
+        <i class="text-muted">(item_code, item_tolerance={}, global_tolerance=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Returns the tolerance for the item, if not set, returns global tolerance</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.status_updater.validate_status" href="#erpnext.controllers.status_updater.validate_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.status_updater.<b>validate_status</b>
+        <i class="text-muted">(status, options)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/controllers/erpnext.controllers.stock_controller.html b/erpnext/docs/current/api/controllers/erpnext.controllers.stock_controller.html
new file mode 100644
index 0000000..31d1747
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.stock_controller.html
@@ -0,0 +1,309 @@
+<!-- title: erpnext.controllers.stock_controller --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/controllers/stock_controller.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>StockController</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.accounts_controller.AccountsController</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_expense_account" href="#check_expense_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_expense_account</b>
+        <i class="text-muted">(self, item)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_gl_entries" href="#get_gl_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_gl_entries</b>
+        <i class="text-muted">(self, warehouse_account=None, default_expense_account=None, default_cost_center=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_incoming_rate_for_sales_return" href="#get_incoming_rate_for_sales_return" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_incoming_rate_for_sales_return</b>
+        <i class="text-muted">(self, item_code, warehouse, against_document)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_items_and_warehouses" href="#get_items_and_warehouses" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_items_and_warehouses</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_serialized_items" href="#get_serialized_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_serialized_items</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_sl_entries" href="#get_sl_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_sl_entries</b>
+        <i class="text-muted">(self, d, args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_stock_ledger_details" href="#get_stock_ledger_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_stock_ledger_details</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_voucher_details" href="#get_voucher_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_voucher_details</b>
+        <i class="text-muted">(self, default_expense_account, default_cost_center, sle_map)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="make_adjustment_entry" href="#make_adjustment_entry" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_adjustment_entry</b>
+        <i class="text-muted">(self, expected_gle, voucher_obj)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="make_gl_entries" href="#make_gl_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_gl_entries</b>
+        <i class="text-muted">(self, repost_future_gle=True)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="make_gl_entries_on_cancel" href="#make_gl_entries_on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_gl_entries_on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="make_sl_entries" href="#make_sl_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_sl_entries</b>
+        <i class="text-muted">(self, sl_entries, is_amended=None, allow_negative_stock=False, via_landed_cost_voucher=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_reserved_qty" href="#update_reserved_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_reserved_qty</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_stock_ledger" href="#update_stock_ledger" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_stock_ledger</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.stock_controller.compare_existing_and_expected_gle" href="#erpnext.controllers.stock_controller.compare_existing_and_expected_gle" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.stock_controller.<b>compare_existing_and_expected_gle</b>
+        <i class="text-muted">(existing_gle, expected_gle)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.stock_controller.get_future_stock_vouchers" href="#erpnext.controllers.stock_controller.get_future_stock_vouchers" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.stock_controller.<b>get_future_stock_vouchers</b>
+        <i class="text-muted">(posting_date, posting_time, for_warehouses=None, for_items=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.stock_controller.get_voucherwise_gl_entries" href="#erpnext.controllers.stock_controller.get_voucherwise_gl_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.stock_controller.<b>get_voucherwise_gl_entries</b>
+        <i class="text-muted">(future_stock_vouchers, posting_date)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.stock_controller.get_warehouse_account" href="#erpnext.controllers.stock_controller.get_warehouse_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.stock_controller.<b>get_warehouse_account</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.stock_controller.update_gl_entries_after" href="#erpnext.controllers.stock_controller.update_gl_entries_after" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.stock_controller.<b>update_gl_entries_after</b>
+        <i class="text-muted">(posting_date, posting_time, for_warehouses=None, for_items=None, warehouse_account=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/controllers/erpnext.controllers.taxes_and_totals.html b/erpnext/docs/current/api/controllers/erpnext.controllers.taxes_and_totals.html
new file mode 100644
index 0000000..432b1dc
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.taxes_and_totals.html
@@ -0,0 +1,370 @@
+<!-- title: erpnext.controllers.taxes_and_totals --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/controllers/taxes_and_totals.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>calculate_taxes_and_totals</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from __builtin__.object</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="__init__" href="#__init__" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>__init__</b>
+        <i class="text-muted">(self, doc)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="_calculate" href="#_calculate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>_calculate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="_cleanup" href="#_cleanup" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>_cleanup</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="_get_tax_rate" href="#_get_tax_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>_get_tax_rate</b>
+        <i class="text-muted">(self, tax, item_tax_map)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="_load_item_tax_rate" href="#_load_item_tax_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>_load_item_tax_rate</b>
+        <i class="text-muted">(self, item_tax_rate)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="_set_in_company_currency" href="#_set_in_company_currency" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>_set_in_company_currency</b>
+        <i class="text-muted">(self, doc, fields)</i>
+    </p>
+	<div class="docs-attr-desc"><p>set values in base currency</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="adjust_discount_amount_loss" href="#adjust_discount_amount_loss" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>adjust_discount_amount_loss</b>
+        <i class="text-muted">(self, tax)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="apply_discount_amount" href="#apply_discount_amount" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>apply_discount_amount</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate" href="#calculate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_item_values" href="#calculate_item_values" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_item_values</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_net_total" href="#calculate_net_total" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_net_total</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_outstanding_amount" href="#calculate_outstanding_amount" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_outstanding_amount</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_taxes" href="#calculate_taxes" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_taxes</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_total_advance" href="#calculate_total_advance" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_total_advance</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_totals" href="#calculate_totals" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_totals</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="determine_exclusive_rate" href="#determine_exclusive_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>determine_exclusive_rate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_current_tax_amount" href="#get_current_tax_amount" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_current_tax_amount</b>
+        <i class="text-muted">(self, item, tax, item_tax_map)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_current_tax_fraction" href="#get_current_tax_fraction" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_current_tax_fraction</b>
+        <i class="text-muted">(self, tax, item_tax_map)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Get tax fraction for calculating tax exclusive amount
+from tax inclusive amount</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_total_for_discount_amount" href="#get_total_for_discount_amount" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_total_for_discount_amount</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="initialize_taxes" href="#initialize_taxes" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>initialize_taxes</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="manipulate_grand_total_for_inclusive_tax" href="#manipulate_grand_total_for_inclusive_tax" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>manipulate_grand_total_for_inclusive_tax</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="round_off_totals" href="#round_off_totals" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>round_off_totals</b>
+        <i class="text-muted">(self, tax)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_item_wise_tax" href="#set_item_wise_tax" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_item_wise_tax</b>
+        <i class="text-muted">(self, item, tax, tax_rate, current_tax_amount)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_conversion_rate" href="#validate_conversion_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_conversion_rate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/controllers/erpnext.controllers.trends.html b/erpnext/docs/current/api/controllers/erpnext.controllers.trends.html
new file mode 100644
index 0000000..b2864c2
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.trends.html
@@ -0,0 +1,196 @@
+<!-- title: erpnext.controllers.trends --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/controllers/trends.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.trends.based_wise_columns_query" href="#erpnext.controllers.trends.based_wise_columns_query" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.trends.<b>based_wise_columns_query</b>
+        <i class="text-muted">(based_on, trans)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.trends.get_columns" href="#erpnext.controllers.trends.get_columns" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.trends.<b>get_columns</b>
+        <i class="text-muted">(filters, trans)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.trends.get_data" href="#erpnext.controllers.trends.get_data" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.trends.<b>get_data</b>
+        <i class="text-muted">(filters, conditions)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.trends.get_mon" href="#erpnext.controllers.trends.get_mon" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.trends.<b>get_mon</b>
+        <i class="text-muted">(dt)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.controllers.trends.get_period_date_ranges</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.trends.get_period_date_ranges" href="#erpnext.controllers.trends.get_period_date_ranges" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.trends.<b>get_period_date_ranges</b>
+        <i class="text-muted">(period, fiscal_year=None, year_start_date=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.trends.get_period_month_ranges" href="#erpnext.controllers.trends.get_period_month_ranges" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.trends.<b>get_period_month_ranges</b>
+        <i class="text-muted">(period, fiscal_year)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.trends.get_period_wise_columns" href="#erpnext.controllers.trends.get_period_wise_columns" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.trends.<b>get_period_wise_columns</b>
+        <i class="text-muted">(bet_dates, period, pwc)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.trends.get_period_wise_query" href="#erpnext.controllers.trends.get_period_wise_query" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.trends.<b>get_period_wise_query</b>
+        <i class="text-muted">(bet_dates, trans_date, query_details)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.trends.group_wise_column" href="#erpnext.controllers.trends.group_wise_column" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.trends.<b>group_wise_column</b>
+        <i class="text-muted">(group_by)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.trends.period_wise_columns_query" href="#erpnext.controllers.trends.period_wise_columns_query" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.trends.<b>period_wise_columns_query</b>
+        <i class="text-muted">(filters, trans)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.trends.validate_filters" href="#erpnext.controllers.trends.validate_filters" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.trends.<b>validate_filters</b>
+        <i class="text-muted">(filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/controllers/erpnext.controllers.website_list_for_contact.html b/erpnext/docs/current/api/controllers/erpnext.controllers.website_list_for_contact.html
new file mode 100644
index 0000000..8f30794
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.website_list_for_contact.html
@@ -0,0 +1,98 @@
+<!-- title: erpnext.controllers.website_list_for_contact --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/controllers/website_list_for_contact.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.website_list_for_contact.get_customers_suppliers" href="#erpnext.controllers.website_list_for_contact.get_customers_suppliers" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.website_list_for_contact.<b>get_customers_suppliers</b>
+        <i class="text-muted">(doctype, user)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.website_list_for_contact.get_list_context" href="#erpnext.controllers.website_list_for_contact.get_list_context" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.website_list_for_contact.<b>get_list_context</b>
+        <i class="text-muted">(context=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.website_list_for_contact.get_transaction_list" href="#erpnext.controllers.website_list_for_contact.get_transaction_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.website_list_for_contact.<b>get_transaction_list</b>
+        <i class="text-muted">(doctype, txt=None, filters=None, limit_start=0, limit_page_length=20)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.website_list_for_contact.has_website_permission" href="#erpnext.controllers.website_list_for_contact.has_website_permission" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.website_list_for_contact.<b>has_website_permission</b>
+        <i class="text-muted">(doc, ptype, user, verbose=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.controllers.website_list_for_contact.post_process" href="#erpnext.controllers.website_list_for_contact.post_process" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.controllers.website_list_for_contact.<b>post_process</b>
+        <i class="text-muted">(doctype, data)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/controllers/index.html b/erpnext/docs/current/api/controllers/index.html
new file mode 100644
index 0000000..248aced
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/index.html
@@ -0,0 +1,19 @@
+<!-- title: controllers -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/controllers"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/controllers/index.txt b/erpnext/docs/current/api/controllers/index.txt
new file mode 100644
index 0000000..3965811
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/index.txt
@@ -0,0 +1,14 @@
+erpnext.controllers.accounts_controller
+erpnext.controllers.buying_controller
+erpnext.controllers
+erpnext.controllers.item_variant
+erpnext.controllers.print_settings
+erpnext.controllers.queries
+erpnext.controllers.recurring_document
+erpnext.controllers.sales_and_purchase_return
+erpnext.controllers.selling_controller
+erpnext.controllers.status_updater
+erpnext.controllers.stock_controller
+erpnext.controllers.taxes_and_totals
+erpnext.controllers.trends
+erpnext.controllers.website_list_for_contact
\ No newline at end of file
diff --git a/erpnext/docs/current/api/crm/erpnext.crm.html b/erpnext/docs/current/api/crm/erpnext.crm.html
new file mode 100644
index 0000000..8437c30
--- /dev/null
+++ b/erpnext/docs/current/api/crm/erpnext.crm.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.crm --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/crm.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/crm/index.html b/erpnext/docs/current/api/crm/index.html
new file mode 100644
index 0000000..6724f58
--- /dev/null
+++ b/erpnext/docs/current/api/crm/index.html
@@ -0,0 +1,19 @@
+<!-- title: crm -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/crm"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/crm/index.txt b/erpnext/docs/current/api/crm/index.txt
new file mode 100644
index 0000000..5c97286
--- /dev/null
+++ b/erpnext/docs/current/api/crm/index.txt
@@ -0,0 +1 @@
+erpnext.crm
\ No newline at end of file
diff --git a/erpnext/docs/current/api/erpnext.__init__.html b/erpnext/docs/current/api/erpnext.__init__.html
new file mode 100644
index 0000000..ee4696e
--- /dev/null
+++ b/erpnext/docs/current/api/erpnext.__init__.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.__init__ --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/__init__.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/erpnext.__version__.html b/erpnext/docs/current/api/erpnext.__version__.html
new file mode 100644
index 0000000..40caef2
--- /dev/null
+++ b/erpnext/docs/current/api/erpnext.__version__.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.__version__ --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/__version__.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/erpnext.exceptions.html b/erpnext/docs/current/api/erpnext.exceptions.html
new file mode 100644
index 0000000..7eaf194
--- /dev/null
+++ b/erpnext/docs/current/api/erpnext.exceptions.html
@@ -0,0 +1,63 @@
+<!-- title: erpnext.exceptions --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/exceptions.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>CustomerFrozen</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>InvalidAccountCurrency</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>InvalidCurrency</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/erpnext.hooks.html b/erpnext/docs/current/api/erpnext.hooks.html
new file mode 100644
index 0000000..daaf877
--- /dev/null
+++ b/erpnext/docs/current/api/erpnext.hooks.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.hooks --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/hooks.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/erpnext.tasks.html b/erpnext/docs/current/api/erpnext.tasks.html
new file mode 100644
index 0000000..06ed177
--- /dev/null
+++ b/erpnext/docs/current/api/erpnext.tasks.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.tasks --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/tasks.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/hr/erpnext.hr.html b/erpnext/docs/current/api/hr/erpnext.hr.html
new file mode 100644
index 0000000..ccb3305
--- /dev/null
+++ b/erpnext/docs/current/api/hr/erpnext.hr.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.hr --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/hr.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/hr/erpnext.hr.utils.html b/erpnext/docs/current/api/hr/erpnext.hr.utils.html
new file mode 100644
index 0000000..1091aa6
--- /dev/null
+++ b/erpnext/docs/current/api/hr/erpnext.hr.utils.html
@@ -0,0 +1,34 @@
+<!-- title: erpnext.hr.utils --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/hr/utils.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.utils.set_employee_name" href="#erpnext.hr.utils.set_employee_name" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.utils.<b>set_employee_name</b>
+        <i class="text-muted">(doc)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/hr/index.html b/erpnext/docs/current/api/hr/index.html
new file mode 100644
index 0000000..17f1281
--- /dev/null
+++ b/erpnext/docs/current/api/hr/index.html
@@ -0,0 +1,19 @@
+<!-- title: hr -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/hr"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/hr/index.txt b/erpnext/docs/current/api/hr/index.txt
new file mode 100644
index 0000000..c515b53
--- /dev/null
+++ b/erpnext/docs/current/api/hr/index.txt
@@ -0,0 +1,2 @@
+erpnext.hr
+erpnext.hr.utils
\ No newline at end of file
diff --git a/erpnext/docs/current/api/hr/print_format/erpnext.hr.print_format.html b/erpnext/docs/current/api/hr/print_format/erpnext.hr.print_format.html
new file mode 100644
index 0000000..0fd9108
--- /dev/null
+++ b/erpnext/docs/current/api/hr/print_format/erpnext.hr.print_format.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.hr.print_format --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/hr/print_format.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/hr/print_format/index.html b/erpnext/docs/current/api/hr/print_format/index.html
new file mode 100644
index 0000000..07f7381
--- /dev/null
+++ b/erpnext/docs/current/api/hr/print_format/index.html
@@ -0,0 +1,19 @@
+<!-- title: print_format -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/print_format"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/hr/print_format/index.txt b/erpnext/docs/current/api/hr/print_format/index.txt
new file mode 100644
index 0000000..1c63c43
--- /dev/null
+++ b/erpnext/docs/current/api/hr/print_format/index.txt
@@ -0,0 +1 @@
+erpnext.hr.print_format
\ No newline at end of file
diff --git a/erpnext/docs/current/api/hr/print_format/offer_letter/erpnext.hr.print_format.offer_letter.html b/erpnext/docs/current/api/hr/print_format/offer_letter/erpnext.hr.print_format.offer_letter.html
new file mode 100644
index 0000000..f5c23d7
--- /dev/null
+++ b/erpnext/docs/current/api/hr/print_format/offer_letter/erpnext.hr.print_format.offer_letter.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.hr.print_format.offer_letter --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/hr/print_format/offer_letter.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/hr/print_format/offer_letter/index.html b/erpnext/docs/current/api/hr/print_format/offer_letter/index.html
new file mode 100644
index 0000000..392354c
--- /dev/null
+++ b/erpnext/docs/current/api/hr/print_format/offer_letter/index.html
@@ -0,0 +1,19 @@
+<!-- title: offer_letter -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/offer_letter"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/hr/print_format/offer_letter/index.txt b/erpnext/docs/current/api/hr/print_format/offer_letter/index.txt
new file mode 100644
index 0000000..eb22082
--- /dev/null
+++ b/erpnext/docs/current/api/hr/print_format/offer_letter/index.txt
@@ -0,0 +1 @@
+erpnext.hr.print_format.offer_letter
\ No newline at end of file
diff --git a/erpnext/docs/current/api/hub_node/erpnext.hub_node.html b/erpnext/docs/current/api/hub_node/erpnext.hub_node.html
new file mode 100644
index 0000000..32673f1
--- /dev/null
+++ b/erpnext/docs/current/api/hub_node/erpnext.hub_node.html
@@ -0,0 +1,36 @@
+<!-- title: erpnext.hub_node --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/hub_node.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.hub_node.get_items</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.hub_node.get_items" href="#erpnext.hub_node.get_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hub_node.<b>get_items</b>
+        <i class="text-muted">(text, start, limit)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/hub_node/index.html b/erpnext/docs/current/api/hub_node/index.html
new file mode 100644
index 0000000..6e2e60f
--- /dev/null
+++ b/erpnext/docs/current/api/hub_node/index.html
@@ -0,0 +1,19 @@
+<!-- title: hub_node -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/hub_node"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/hub_node/index.txt b/erpnext/docs/current/api/hub_node/index.txt
new file mode 100644
index 0000000..597a807
--- /dev/null
+++ b/erpnext/docs/current/api/hub_node/index.txt
@@ -0,0 +1 @@
+erpnext.hub_node
\ No newline at end of file
diff --git a/erpnext/docs/current/api/index.html b/erpnext/docs/current/api/index.html
new file mode 100644
index 0000000..7fc2386
--- /dev/null
+++ b/erpnext/docs/current/api/index.html
@@ -0,0 +1,20 @@
+<!-- title: ERPNext API -->
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Contents</h3>
+
+<!-- autodoc -->
+
+{index}
\ No newline at end of file
diff --git a/erpnext/docs/current/api/index.txt b/erpnext/docs/current/api/index.txt
new file mode 100644
index 0000000..f7f8f5e
--- /dev/null
+++ b/erpnext/docs/current/api/index.txt
@@ -0,0 +1,5 @@
+erpnext.__init__
+erpnext.__version__
+erpnext.exceptions
+erpnext.hooks
+erpnext.tasks
\ No newline at end of file
diff --git a/erpnext/docs/current/api/manufacturing/erpnext.manufacturing.html b/erpnext/docs/current/api/manufacturing/erpnext.manufacturing.html
new file mode 100644
index 0000000..c1a091b
--- /dev/null
+++ b/erpnext/docs/current/api/manufacturing/erpnext.manufacturing.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.manufacturing --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/manufacturing.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/manufacturing/index.html b/erpnext/docs/current/api/manufacturing/index.html
new file mode 100644
index 0000000..f0fbcfa
--- /dev/null
+++ b/erpnext/docs/current/api/manufacturing/index.html
@@ -0,0 +1,19 @@
+<!-- title: manufacturing -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/manufacturing"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/manufacturing/index.txt b/erpnext/docs/current/api/manufacturing/index.txt
new file mode 100644
index 0000000..de5c2bf
--- /dev/null
+++ b/erpnext/docs/current/api/manufacturing/index.txt
@@ -0,0 +1 @@
+erpnext.manufacturing
\ No newline at end of file
diff --git a/erpnext/docs/current/api/projects/erpnext.projects.html b/erpnext/docs/current/api/projects/erpnext.projects.html
new file mode 100644
index 0000000..8e3d53f
--- /dev/null
+++ b/erpnext/docs/current/api/projects/erpnext.projects.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.projects --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/projects.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/projects/erpnext.projects.utils.html b/erpnext/docs/current/api/projects/erpnext.projects.utils.html
new file mode 100644
index 0000000..34394a2
--- /dev/null
+++ b/erpnext/docs/current/api/projects/erpnext.projects.utils.html
@@ -0,0 +1,54 @@
+<!-- title: erpnext.projects.utils --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/projects/utils.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.projects.utils.get_time_log_list</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.projects.utils.get_time_log_list" href="#erpnext.projects.utils.get_time_log_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.projects.utils.<b>get_time_log_list</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.projects.utils.query_task</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.projects.utils.query_task" href="#erpnext.projects.utils.query_task" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.projects.utils.<b>query_task</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/projects/index.html b/erpnext/docs/current/api/projects/index.html
new file mode 100644
index 0000000..2c98558
--- /dev/null
+++ b/erpnext/docs/current/api/projects/index.html
@@ -0,0 +1,19 @@
+<!-- title: projects -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/projects"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/projects/index.txt b/erpnext/docs/current/api/projects/index.txt
new file mode 100644
index 0000000..f6cc0eb
--- /dev/null
+++ b/erpnext/docs/current/api/projects/index.txt
@@ -0,0 +1,2 @@
+erpnext.projects
+erpnext.projects.utils
\ No newline at end of file
diff --git a/erpnext/docs/current/api/selling/erpnext.selling.html b/erpnext/docs/current/api/selling/erpnext.selling.html
new file mode 100644
index 0000000..0bf2133
--- /dev/null
+++ b/erpnext/docs/current/api/selling/erpnext.selling.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.selling --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/selling.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/selling/index.html b/erpnext/docs/current/api/selling/index.html
new file mode 100644
index 0000000..30cb218
--- /dev/null
+++ b/erpnext/docs/current/api/selling/index.html
@@ -0,0 +1,19 @@
+<!-- title: selling -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/selling"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/selling/index.txt b/erpnext/docs/current/api/selling/index.txt
new file mode 100644
index 0000000..e570c86
--- /dev/null
+++ b/erpnext/docs/current/api/selling/index.txt
@@ -0,0 +1 @@
+erpnext.selling
\ No newline at end of file
diff --git a/erpnext/docs/current/api/setup/erpnext.setup.html b/erpnext/docs/current/api/setup/erpnext.setup.html
new file mode 100644
index 0000000..414eaa7
--- /dev/null
+++ b/erpnext/docs/current/api/setup/erpnext.setup.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.setup --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/setup.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/setup/erpnext.setup.install.html b/erpnext/docs/current/api/setup/erpnext.setup.install.html
new file mode 100644
index 0000000..70308fa
--- /dev/null
+++ b/erpnext/docs/current/api/setup/erpnext.setup.install.html
@@ -0,0 +1,82 @@
+<!-- title: erpnext.setup.install --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/setup/install.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.install.add_web_forms" href="#erpnext.setup.install.add_web_forms" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.install.<b>add_web_forms</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p>Import web forms for Issues and Addresses</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.install.after_install" href="#erpnext.setup.install.after_install" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.install.<b>after_install</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.install.feature_setup" href="#erpnext.setup.install.feature_setup" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.install.<b>feature_setup</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p>save global defaults and features setup</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.install.set_single_defaults" href="#erpnext.setup.install.set_single_defaults" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.install.<b>set_single_defaults</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/setup/erpnext.setup.utils.html b/erpnext/docs/current/api/setup/erpnext.setup.utils.html
new file mode 100644
index 0000000..72c8a1f
--- /dev/null
+++ b/erpnext/docs/current/api/setup/erpnext.setup.utils.html
@@ -0,0 +1,100 @@
+<!-- title: erpnext.setup.utils --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/setup/utils.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.utils.before_tests" href="#erpnext.setup.utils.before_tests" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.utils.<b>before_tests</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.utils.get_ancestors_of" href="#erpnext.setup.utils.get_ancestors_of" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.utils.<b>get_ancestors_of</b>
+        <i class="text-muted">(doctype, name)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Get ancestor elements of a DocType with a tree structure</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.utils.get_company_currency" href="#erpnext.setup.utils.get_company_currency" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.utils.<b>get_company_currency</b>
+        <i class="text-muted">(company)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.setup.utils.get_exchange_rate</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.utils.get_exchange_rate" href="#erpnext.setup.utils.get_exchange_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.utils.<b>get_exchange_rate</b>
+        <i class="text-muted">(from_currency, to_currency)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.utils.get_root_of" href="#erpnext.setup.utils.get_root_of" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.utils.<b>get_root_of</b>
+        <i class="text-muted">(doctype)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Get root element of a DocType with a tree structure</p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/setup/index.html b/erpnext/docs/current/api/setup/index.html
new file mode 100644
index 0000000..5933c42
--- /dev/null
+++ b/erpnext/docs/current/api/setup/index.html
@@ -0,0 +1,19 @@
+<!-- title: setup -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/setup"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/setup/index.txt b/erpnext/docs/current/api/setup/index.txt
new file mode 100644
index 0000000..63162d8
--- /dev/null
+++ b/erpnext/docs/current/api/setup/index.txt
@@ -0,0 +1,3 @@
+erpnext.setup
+erpnext.setup.install
+erpnext.setup.utils
\ No newline at end of file
diff --git a/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.cart.html b/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.cart.html
new file mode 100644
index 0000000..d6f51fe
--- /dev/null
+++ b/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.cart.html
@@ -0,0 +1,363 @@
+<!-- title: erpnext.shopping_cart.cart --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/shopping_cart/cart.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>WebsitePriceListMissingError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.cart._apply_shipping_rule" href="#erpnext.shopping_cart.cart._apply_shipping_rule" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.cart.<b>_apply_shipping_rule</b>
+        <i class="text-muted">(party=None, quotation=None, cart_settings=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.cart._get_cart_quotation" href="#erpnext.shopping_cart.cart._get_cart_quotation" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.cart.<b>_get_cart_quotation</b>
+        <i class="text-muted">(party=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.cart._set_price_list" href="#erpnext.shopping_cart.cart._set_price_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.cart.<b>_set_price_list</b>
+        <i class="text-muted">(quotation, cart_settings)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Set price list based on customer or shopping cart default</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.cart.apply_cart_settings" href="#erpnext.shopping_cart.cart.apply_cart_settings" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.cart.<b>apply_cart_settings</b>
+        <i class="text-muted">(party=None, quotation=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.shopping_cart.cart.apply_shipping_rule</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.cart.apply_shipping_rule" href="#erpnext.shopping_cart.cart.apply_shipping_rule" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.cart.<b>apply_shipping_rule</b>
+        <i class="text-muted">(shipping_rule)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.cart.decorate_quotation_doc" href="#erpnext.shopping_cart.cart.decorate_quotation_doc" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.cart.<b>decorate_quotation_doc</b>
+        <i class="text-muted">(doc)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.cart.get_address_docs" href="#erpnext.shopping_cart.cart.get_address_docs" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.cart.<b>get_address_docs</b>
+        <i class="text-muted">(doctype=None, txt=None, filters=None, limit_start=0, limit_page_length=20, party=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.cart.get_address_territory" href="#erpnext.shopping_cart.cart.get_address_territory" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.cart.<b>get_address_territory</b>
+        <i class="text-muted">(address_name)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Tries to match city, state and country of address to existing territory</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.cart.get_applicable_shipping_rules" href="#erpnext.shopping_cart.cart.get_applicable_shipping_rules" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.cart.<b>get_applicable_shipping_rules</b>
+        <i class="text-muted">(party=None, quotation=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.shopping_cart.cart.get_cart_quotation</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.cart.get_cart_quotation" href="#erpnext.shopping_cart.cart.get_cart_quotation" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.cart.<b>get_cart_quotation</b>
+        <i class="text-muted">(doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.cart.get_customer" href="#erpnext.shopping_cart.cart.get_customer" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.cart.<b>get_customer</b>
+        <i class="text-muted">(user=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.cart.get_shipping_rules" href="#erpnext.shopping_cart.cart.get_shipping_rules" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.cart.<b>get_shipping_rules</b>
+        <i class="text-muted">(quotation=None, cart_settings=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.cart.guess_territory" href="#erpnext.shopping_cart.cart.guess_territory" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.cart.<b>guess_territory</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.shopping_cart.cart.place_order</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.cart.place_order" href="#erpnext.shopping_cart.cart.place_order" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.cart.<b>place_order</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.cart.set_cart_count" href="#erpnext.shopping_cart.cart.set_cart_count" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.cart.<b>set_cart_count</b>
+        <i class="text-muted">(quotation=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.cart.set_price_list_and_rate" href="#erpnext.shopping_cart.cart.set_price_list_and_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.cart.<b>set_price_list_and_rate</b>
+        <i class="text-muted">(quotation, cart_settings)</i>
+    </p>
+	<div class="docs-attr-desc"><p>set price list based on billing territory</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.cart.set_taxes" href="#erpnext.shopping_cart.cart.set_taxes" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.cart.<b>set_taxes</b>
+        <i class="text-muted">(quotation, cart_settings)</i>
+    </p>
+	<div class="docs-attr-desc"><p>set taxes based on billing territory</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.shopping_cart.cart.update_cart</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.cart.update_cart" href="#erpnext.shopping_cart.cart.update_cart" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.cart.<b>update_cart</b>
+        <i class="text-muted">(item_code, qty, with_items=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.shopping_cart.cart.update_cart_address</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.cart.update_cart_address" href="#erpnext.shopping_cart.cart.update_cart_address" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.cart.<b>update_cart_address</b>
+        <i class="text-muted">(address_fieldname, address_name)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.cart.update_party" href="#erpnext.shopping_cart.cart.update_party" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.cart.<b>update_party</b>
+        <i class="text-muted">(fullname, company_name=None, mobile_no=None, phone=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.html b/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.html
new file mode 100644
index 0000000..3ba425b
--- /dev/null
+++ b/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.shopping_cart --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/shopping_cart.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.product.html b/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.product.html
new file mode 100644
index 0000000..421e3d0
--- /dev/null
+++ b/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.product.html
@@ -0,0 +1,68 @@
+<!-- title: erpnext.shopping_cart.product --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/shopping_cart/product.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.product.get_price" href="#erpnext.shopping_cart.product.get_price" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.product.<b>get_price</b>
+        <i class="text-muted">(item_code, template_item_code, price_list)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.shopping_cart.product.get_product_info</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.product.get_product_info" href="#erpnext.shopping_cart.product.get_product_info" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.product.<b>get_product_info</b>
+        <i class="text-muted">(item_code)</i>
+    </p>
+	<div class="docs-attr-desc"><p>get product price / stock info</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.product.get_qty_in_stock" href="#erpnext.shopping_cart.product.get_qty_in_stock" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.product.<b>get_qty_in_stock</b>
+        <i class="text-muted">(item_code, template_item_code)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.test_shopping_cart.html b/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.test_shopping_cart.html
new file mode 100644
index 0000000..e37030e
--- /dev/null
+++ b/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.test_shopping_cart.html
@@ -0,0 +1,244 @@
+<!-- title: erpnext.shopping_cart.test_shopping_cart --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/shopping_cart/test_shopping_cart.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>TestShoppingCart</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from unittest.case.TestCase</i></h4>
+    
+    <div class="docs-attr-desc"><p>Note:
+Shopping Cart == Quotation</p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="create_quotation" href="#create_quotation" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>create_quotation</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="disable_shopping_cart" href="#disable_shopping_cart" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>disable_shopping_cart</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="enable_shopping_cart" href="#enable_shopping_cart" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>enable_shopping_cart</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="login_as_customer" href="#login_as_customer" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>login_as_customer</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="login_as_new_user" href="#login_as_new_user" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>login_as_new_user</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="remove_all_items_from_cart" href="#remove_all_items_from_cart" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>remove_all_items_from_cart</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="remove_test_quotation" href="#remove_test_quotation" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>remove_test_quotation</b>
+        <i class="text-muted">(self, quotation)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="setUp" href="#setUp" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>setUp</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="tearDown" href="#tearDown" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>tearDown</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="test_add_to_cart" href="#test_add_to_cart" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>test_add_to_cart</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="test_get_cart_customer" href="#test_get_cart_customer" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>test_get_cart_customer</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="test_get_cart_new_user" href="#test_get_cart_new_user" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>test_get_cart_new_user</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="test_remove_from_cart" href="#test_remove_from_cart" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>test_remove_from_cart</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="test_tax_rule" href="#test_tax_rule" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>test_tax_rule</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="test_update_cart" href="#test_update_cart" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>test_update_cart</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.utils.html b/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.utils.html
new file mode 100644
index 0000000..542125d
--- /dev/null
+++ b/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.utils.html
@@ -0,0 +1,98 @@
+<!-- title: erpnext.shopping_cart.utils --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/shopping_cart/utils.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.utils.clear_cart_count" href="#erpnext.shopping_cart.utils.clear_cart_count" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.utils.<b>clear_cart_count</b>
+        <i class="text-muted">(login_manager)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.utils.set_cart_count" href="#erpnext.shopping_cart.utils.set_cart_count" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.utils.<b>set_cart_count</b>
+        <i class="text-muted">(login_manager)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.utils.show_cart_count" href="#erpnext.shopping_cart.utils.show_cart_count" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.utils.<b>show_cart_count</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.utils.update_my_account_context" href="#erpnext.shopping_cart.utils.update_my_account_context" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.utils.<b>update_my_account_context</b>
+        <i class="text-muted">(context)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.utils.update_website_context" href="#erpnext.shopping_cart.utils.update_website_context" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.utils.<b>update_website_context</b>
+        <i class="text-muted">(context)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/shopping_cart/index.html b/erpnext/docs/current/api/shopping_cart/index.html
new file mode 100644
index 0000000..cb03ff0
--- /dev/null
+++ b/erpnext/docs/current/api/shopping_cart/index.html
@@ -0,0 +1,19 @@
+<!-- title: shopping_cart -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/shopping_cart"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/shopping_cart/index.txt b/erpnext/docs/current/api/shopping_cart/index.txt
new file mode 100644
index 0000000..c95a01d
--- /dev/null
+++ b/erpnext/docs/current/api/shopping_cart/index.txt
@@ -0,0 +1,5 @@
+erpnext.shopping_cart.cart
+erpnext.shopping_cart
+erpnext.shopping_cart.product
+erpnext.shopping_cart.test_shopping_cart
+erpnext.shopping_cart.utils
\ No newline at end of file
diff --git a/erpnext/docs/current/api/startup/erpnext.startup.boot.html b/erpnext/docs/current/api/startup/erpnext.startup.boot.html
new file mode 100644
index 0000000..4e19559
--- /dev/null
+++ b/erpnext/docs/current/api/startup/erpnext.startup.boot.html
@@ -0,0 +1,82 @@
+<!-- title: erpnext.startup.boot --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/startup/boot.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.startup.boot.boot_session" href="#erpnext.startup.boot.boot_session" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.startup.boot.<b>boot_session</b>
+        <i class="text-muted">(bootinfo)</i>
+    </p>
+	<div class="docs-attr-desc"><p>boot session - send website info if guest</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.startup.boot.get_letter_heads" href="#erpnext.startup.boot.get_letter_heads" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.startup.boot.<b>get_letter_heads</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.startup.boot.load_country_and_currency" href="#erpnext.startup.boot.load_country_and_currency" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.startup.boot.<b>load_country_and_currency</b>
+        <i class="text-muted">(bootinfo)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.startup.boot.update_page_info" href="#erpnext.startup.boot.update_page_info" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.startup.boot.<b>update_page_info</b>
+        <i class="text-muted">(bootinfo)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/startup/erpnext.startup.html b/erpnext/docs/current/api/startup/erpnext.startup.html
new file mode 100644
index 0000000..70850f9
--- /dev/null
+++ b/erpnext/docs/current/api/startup/erpnext.startup.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.startup --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/startup.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/startup/erpnext.startup.notifications.html b/erpnext/docs/current/api/startup/erpnext.startup.notifications.html
new file mode 100644
index 0000000..8890f3d
--- /dev/null
+++ b/erpnext/docs/current/api/startup/erpnext.startup.notifications.html
@@ -0,0 +1,34 @@
+<!-- title: erpnext.startup.notifications --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/startup/notifications.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.startup.notifications.get_notification_config" href="#erpnext.startup.notifications.get_notification_config" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.startup.notifications.<b>get_notification_config</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/startup/erpnext.startup.report_data_map.html b/erpnext/docs/current/api/startup/erpnext.startup.report_data_map.html
new file mode 100644
index 0000000..21798b2
--- /dev/null
+++ b/erpnext/docs/current/api/startup/erpnext.startup.report_data_map.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.startup.report_data_map --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/startup/report_data_map.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/startup/index.html b/erpnext/docs/current/api/startup/index.html
new file mode 100644
index 0000000..b58226a
--- /dev/null
+++ b/erpnext/docs/current/api/startup/index.html
@@ -0,0 +1,19 @@
+<!-- title: startup -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/startup"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/startup/index.txt b/erpnext/docs/current/api/startup/index.txt
new file mode 100644
index 0000000..40766bc
--- /dev/null
+++ b/erpnext/docs/current/api/startup/index.txt
@@ -0,0 +1,4 @@
+erpnext.startup.boot
+erpnext.startup
+erpnext.startup.notifications
+erpnext.startup.report_data_map
\ No newline at end of file
diff --git a/erpnext/docs/current/api/stock/erpnext.stock.get_item_details.html b/erpnext/docs/current/api/stock/erpnext.stock.get_item_details.html
new file mode 100644
index 0000000..8a52940
--- /dev/null
+++ b/erpnext/docs/current/api/stock/erpnext.stock.get_item_details.html
@@ -0,0 +1,500 @@
+<!-- title: erpnext.stock.get_item_details --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/stock/get_item_details.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.get_item_details.apply_price_list</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.apply_price_list" href="#erpnext.stock.get_item_details.apply_price_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>apply_price_list</b>
+        <i class="text-muted">(args)</i>
+    </p>
+	<div class="docs-attr-desc"><p>args = {
+    "item<em>list": [{"doctype": "", "name": "", "item</em>code": "", "brand": "", "item<em>group": ""}, ...],
+    "conversion</em>rate": 1.0,
+    "selling<em>price</em>list": None,
+    "price<em>list</em>currency": None,
+    "plc<em>conversion</em>rate": 1.0,
+    "parenttype": "",
+    "parent": "",
+    "supplier": None,
+    "transaction<em>date": None,
+    "conversion</em>rate": 1.0,
+    "buying<em>price</em>list": None,
+    "transaction<em>type": "selling",
+    "ignore</em>pricing_rule": 0/1
+}</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.apply_price_list_on_item" href="#erpnext.stock.get_item_details.apply_price_list_on_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>apply_price_list_on_item</b>
+        <i class="text-muted">(args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.get_actual_batch_qty" href="#erpnext.stock.get_item_details.get_actual_batch_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>get_actual_batch_qty</b>
+        <i class="text-muted">(batch_no, warehouse, item_code)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.get_item_details.get_available_qty</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.get_available_qty" href="#erpnext.stock.get_item_details.get_available_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>get_available_qty</b>
+        <i class="text-muted">(item_code, warehouse)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.get_basic_details" href="#erpnext.stock.get_item_details.get_basic_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>get_basic_details</b>
+        <i class="text-muted">(args, item)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.get_item_details.get_batch_qty</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.get_batch_qty" href="#erpnext.stock.get_item_details.get_batch_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>get_batch_qty</b>
+        <i class="text-muted">(batch_no, warehouse, item_code)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.get_item_details.get_conversion_factor</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.get_conversion_factor" href="#erpnext.stock.get_item_details.get_conversion_factor" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>get_conversion_factor</b>
+        <i class="text-muted">(item_code, uom)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.get_item_details.get_default_bom</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.get_default_bom" href="#erpnext.stock.get_item_details.get_default_bom" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>get_default_bom</b>
+        <i class="text-muted">(item_code=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.get_default_cost_center" href="#erpnext.stock.get_item_details.get_default_cost_center" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>get_default_cost_center</b>
+        <i class="text-muted">(args, item)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.get_default_expense_account" href="#erpnext.stock.get_item_details.get_default_expense_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>get_default_expense_account</b>
+        <i class="text-muted">(args, item)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.get_default_income_account" href="#erpnext.stock.get_item_details.get_default_income_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>get_default_income_account</b>
+        <i class="text-muted">(args, item)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.get_item_details.get_item_code</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.get_item_code" href="#erpnext.stock.get_item_details.get_item_code" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>get_item_code</b>
+        <i class="text-muted">(barcode=None, serial_no=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.get_item_details.get_item_details</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.get_item_details" href="#erpnext.stock.get_item_details.get_item_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>get_item_details</b>
+        <i class="text-muted">(args)</i>
+    </p>
+	<div class="docs-attr-desc"><p>args = {
+    "item<em>code": "",
+    "warehouse": None,
+    "customer": "",
+    "conversion</em>rate": 1.0,
+    "selling<em>price</em>list": None,
+    "price<em>list</em>currency": None,
+    "plc<em>conversion</em>rate": 1.0,
+    "parenttype": "",
+    "parent": "",
+    "supplier": None,
+    "transaction<em>date": None,
+    "conversion</em>rate": 1.0,
+    "buying<em>price</em>list": None,
+    "is<em>subcontracted": "Yes" / "No",
+    "transaction</em>type": "selling",
+    "ignore<em>pricing</em>rule": 0/1
+    "project_name": ""
+}</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.get_party_item_code" href="#erpnext.stock.get_item_details.get_party_item_code" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>get_party_item_code</b>
+        <i class="text-muted">(args, item_doc, out)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.get_item_details.get_pos_profile</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.get_pos_profile" href="#erpnext.stock.get_item_details.get_pos_profile" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>get_pos_profile</b>
+        <i class="text-muted">(company)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.get_pos_profile_item_details" href="#erpnext.stock.get_item_details.get_pos_profile_item_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>get_pos_profile_item_details</b>
+        <i class="text-muted">(company, args, pos_profile=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.get_price_list_currency" href="#erpnext.stock.get_item_details.get_price_list_currency" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>get_price_list_currency</b>
+        <i class="text-muted">(price_list)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.get_price_list_currency_and_exchange_rate" href="#erpnext.stock.get_item_details.get_price_list_currency_and_exchange_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>get_price_list_currency_and_exchange_rate</b>
+        <i class="text-muted">(args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.get_price_list_rate" href="#erpnext.stock.get_item_details.get_price_list_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>get_price_list_rate</b>
+        <i class="text-muted">(args, item_doc, out)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.get_price_list_rate_for" href="#erpnext.stock.get_item_details.get_price_list_rate_for" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>get_price_list_rate_for</b>
+        <i class="text-muted">(args, item_code)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.get_item_details.get_projected_qty</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.get_projected_qty" href="#erpnext.stock.get_item_details.get_projected_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>get_projected_qty</b>
+        <i class="text-muted">(item_code, warehouse)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.get_serial_nos_by_fifo" href="#erpnext.stock.get_item_details.get_serial_nos_by_fifo" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>get_serial_nos_by_fifo</b>
+        <i class="text-muted">(args, item_doc)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.insert_item_price" href="#erpnext.stock.get_item_details.insert_item_price" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>insert_item_price</b>
+        <i class="text-muted">(args)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Insert Item Price if Price List and Price List Rate are specified and currency is the same</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.process_args" href="#erpnext.stock.get_item_details.process_args" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>process_args</b>
+        <i class="text-muted">(args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.validate_conversion_rate" href="#erpnext.stock.get_item_details.validate_conversion_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>validate_conversion_rate</b>
+        <i class="text-muted">(args, meta)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.validate_item_details" href="#erpnext.stock.get_item_details.validate_item_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>validate_item_details</b>
+        <i class="text-muted">(args, item)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.get_item_details.validate_price_list" href="#erpnext.stock.get_item_details.validate_price_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.get_item_details.<b>validate_price_list</b>
+        <i class="text-muted">(args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/stock/erpnext.stock.html b/erpnext/docs/current/api/stock/erpnext.stock.html
new file mode 100644
index 0000000..7ab952b
--- /dev/null
+++ b/erpnext/docs/current/api/stock/erpnext.stock.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.stock --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/stock.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/stock/erpnext.stock.reorder_item.html b/erpnext/docs/current/api/stock/erpnext.stock.reorder_item.html
new file mode 100644
index 0000000..139eb3f
--- /dev/null
+++ b/erpnext/docs/current/api/stock/erpnext.stock.reorder_item.html
@@ -0,0 +1,115 @@
+<!-- title: erpnext.stock.reorder_item --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/stock/reorder_item.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.reorder_item._reorder_item" href="#erpnext.stock.reorder_item._reorder_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.reorder_item.<b>_reorder_item</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.reorder_item.create_material_request" href="#erpnext.stock.reorder_item.create_material_request" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.reorder_item.<b>create_material_request</b>
+        <i class="text-muted">(material_requests)</i>
+    </p>
+	<div class="docs-attr-desc"><pre><code>Create indent on reaching reorder level
+</code></pre>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.reorder_item.get_item_warehouse_projected_qty" href="#erpnext.stock.reorder_item.get_item_warehouse_projected_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.reorder_item.<b>get_item_warehouse_projected_qty</b>
+        <i class="text-muted">(items_to_consider)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.reorder_item.notify_errors" href="#erpnext.stock.reorder_item.notify_errors" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.reorder_item.<b>notify_errors</b>
+        <i class="text-muted">(exceptions_list)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.reorder_item.reorder_item" href="#erpnext.stock.reorder_item.reorder_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.reorder_item.<b>reorder_item</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p>Reorder item if stock reaches reorder level</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.reorder_item.send_email_notification" href="#erpnext.stock.reorder_item.send_email_notification" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.reorder_item.<b>send_email_notification</b>
+        <i class="text-muted">(mr_list)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Notify user about auto creation of indent</p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/stock/erpnext.stock.stock_balance.html b/erpnext/docs/current/api/stock/erpnext.stock.stock_balance.html
new file mode 100644
index 0000000..fc6a2e8
--- /dev/null
+++ b/erpnext/docs/current/api/stock/erpnext.stock.stock_balance.html
@@ -0,0 +1,210 @@
+<!-- title: erpnext.stock.stock_balance --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/stock/stock_balance.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.stock_balance.get_balance_qty_from_sle" href="#erpnext.stock.stock_balance.get_balance_qty_from_sle" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.stock_balance.<b>get_balance_qty_from_sle</b>
+        <i class="text-muted">(item_code, warehouse)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.stock_balance.get_indented_qty" href="#erpnext.stock.stock_balance.get_indented_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.stock_balance.<b>get_indented_qty</b>
+        <i class="text-muted">(item_code, warehouse)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.stock_balance.get_ordered_qty" href="#erpnext.stock.stock_balance.get_ordered_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.stock_balance.<b>get_ordered_qty</b>
+        <i class="text-muted">(item_code, warehouse)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.stock_balance.get_planned_qty" href="#erpnext.stock.stock_balance.get_planned_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.stock_balance.<b>get_planned_qty</b>
+        <i class="text-muted">(item_code, warehouse)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.stock_balance.get_reserved_qty" href="#erpnext.stock.stock_balance.get_reserved_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.stock_balance.<b>get_reserved_qty</b>
+        <i class="text-muted">(item_code, warehouse)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.stock_balance.repost" href="#erpnext.stock.stock_balance.repost" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.stock_balance.<b>repost</b>
+        <i class="text-muted">(only_actual=False, allow_negative_stock=False, allow_zero_rate=False, only_bin=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Repost everything!</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.stock_balance.repost_actual_qty" href="#erpnext.stock.stock_balance.repost_actual_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.stock_balance.<b>repost_actual_qty</b>
+        <i class="text-muted">(item_code, warehouse, allow_zero_rate=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.stock_balance.repost_all_stock_vouchers" href="#erpnext.stock.stock_balance.repost_all_stock_vouchers" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.stock_balance.<b>repost_all_stock_vouchers</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.stock_balance.repost_stock" href="#erpnext.stock.stock_balance.repost_stock" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.stock_balance.<b>repost_stock</b>
+        <i class="text-muted">(item_code, warehouse, allow_zero_rate=False, only_actual=False, only_bin=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.stock_balance.reset_serial_no_status_and_warehouse" href="#erpnext.stock.stock_balance.reset_serial_no_status_and_warehouse" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.stock_balance.<b>reset_serial_no_status_and_warehouse</b>
+        <i class="text-muted">(serial_nos=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.stock_balance.set_stock_balance_as_per_serial_no" href="#erpnext.stock.stock_balance.set_stock_balance_as_per_serial_no" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.stock_balance.<b>set_stock_balance_as_per_serial_no</b>
+        <i class="text-muted">(item_code=None, posting_date=None, posting_time=None, fiscal_year=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.stock_balance.update_bin_qty" href="#erpnext.stock.stock_balance.update_bin_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.stock_balance.<b>update_bin_qty</b>
+        <i class="text-muted">(item_code, warehouse, qty_dict=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/stock/erpnext.stock.stock_ledger.html b/erpnext/docs/current/api/stock/erpnext.stock.stock_ledger.html
new file mode 100644
index 0000000..5e97d89
--- /dev/null
+++ b/erpnext/docs/current/api/stock/erpnext.stock.stock_ledger.html
@@ -0,0 +1,339 @@
+<!-- title: erpnext.stock.stock_ledger --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/stock/stock_ledger.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>NegativeStockError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.stock_ledger.delete_cancelled_entry" href="#erpnext.stock.stock_ledger.delete_cancelled_entry" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.stock_ledger.<b>delete_cancelled_entry</b>
+        <i class="text-muted">(voucher_type, voucher_no)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.stock_ledger.get_previous_sle" href="#erpnext.stock.stock_ledger.get_previous_sle" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.stock_ledger.<b>get_previous_sle</b>
+        <i class="text-muted">(args, for_update=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p>get the last sle on or before the current time-bucket,
+to get actual qty before transaction, this function
+is called from various transaction like stock entry, reco etc</p>
+
+<p>args = {
+    "item<em>code": "ABC",
+    "warehouse": "XYZ",
+    "posting</em>date": "2012-12-12",
+    "posting_time": "12:00",
+    "sle": "name of reference Stock Ledger Entry"
+}</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.stock_ledger.get_stock_ledger_entries" href="#erpnext.stock.stock_ledger.get_stock_ledger_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.stock_ledger.<b>get_stock_ledger_entries</b>
+        <i class="text-muted">(previous_sle, operator=None, order=desc, limit=None, for_update=False, debug=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p>get stock ledger entries filtered by specific posting datetime conditions</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.stock_ledger.get_valuation_rate" href="#erpnext.stock.stock_ledger.get_valuation_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.stock_ledger.<b>get_valuation_rate</b>
+        <i class="text-muted">(item_code, warehouse, allow_zero_rate=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.stock_ledger.make_entry" href="#erpnext.stock.stock_ledger.make_entry" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.stock_ledger.<b>make_entry</b>
+        <i class="text-muted">(args, allow_negative_stock=False, via_landed_cost_voucher=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.stock_ledger.make_sl_entries" href="#erpnext.stock.stock_ledger.make_sl_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.stock_ledger.<b>make_sl_entries</b>
+        <i class="text-muted">(sl_entries, is_amended=None, allow_negative_stock=False, via_landed_cost_voucher=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.stock_ledger.set_as_cancel" href="#erpnext.stock.stock_ledger.set_as_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.stock_ledger.<b>set_as_cancel</b>
+        <i class="text-muted">(voucher_type, voucher_no)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>update_entries_after</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from __builtin__.object</i></h4>
+    
+    <div class="docs-attr-desc"><p>update valution rate and qty after transaction
+from the current time-bucket onwards</p>
+
+<p><strong>Parameters:</strong></p>
+
+<ul>
+<li><p><strong><code>args</code></strong> -  args as dict</p>
+
+<p>args = {
+    "item<em>code": "ABC",
+    "warehouse": "XYZ",
+    "posting</em>date": "2012-12-12",
+    "posting_time": "12:00"
+}</p></li>
+</ul>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="__init__" href="#__init__" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>__init__</b>
+        <i class="text-muted">(self, args, allow_zero_rate=False, allow_negative_stock=None, via_landed_cost_voucher=False, verbose=1)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="build" href="#build" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>build</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_fifo_values" href="#get_fifo_values" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_fifo_values</b>
+        <i class="text-muted">(self, sle)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_moving_average_values" href="#get_moving_average_values" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_moving_average_values</b>
+        <i class="text-muted">(self, sle)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_serialized_values" href="#get_serialized_values" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_serialized_values</b>
+        <i class="text-muted">(self, sle)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_sle_after_datetime" href="#get_sle_after_datetime" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_sle_after_datetime</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>get Stock Ledger Entries after a particular datetime, for reposting</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_sle_before_datetime" href="#get_sle_before_datetime" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_sle_before_datetime</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>get previous stock ledger entry before current time-bucket</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="process_sle" href="#process_sle" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>process_sle</b>
+        <i class="text-muted">(self, sle)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="raise_exceptions" href="#raise_exceptions" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>raise_exceptions</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_bin" href="#update_bin" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_bin</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_negative_stock" href="#validate_negative_stock" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_negative_stock</b>
+        <i class="text-muted">(self, sle)</i>
+    </p>
+	<div class="docs-attr-desc"><p>validate negative stock for entries current datetime onwards
+will not consider cancelled entries</p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/stock/erpnext.stock.utils.html b/erpnext/docs/current/api/stock/erpnext.stock.utils.html
new file mode 100644
index 0000000..31c52e0
--- /dev/null
+++ b/erpnext/docs/current/api/stock/erpnext.stock.utils.html
@@ -0,0 +1,211 @@
+<!-- title: erpnext.stock.utils --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/stock/utils.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>InvalidWarehouseCompany</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.utils.get_avg_purchase_rate" href="#erpnext.stock.utils.get_avg_purchase_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.utils.<b>get_avg_purchase_rate</b>
+        <i class="text-muted">(serial_nos)</i>
+    </p>
+	<div class="docs-attr-desc"><p>get average value of serial numbers</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.utils.get_bin" href="#erpnext.stock.utils.get_bin" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.utils.<b>get_bin</b>
+        <i class="text-muted">(item_code, warehouse)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.utils.get_fifo_rate" href="#erpnext.stock.utils.get_fifo_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.utils.<b>get_fifo_rate</b>
+        <i class="text-muted">(previous_stock_queue, qty)</i>
+    </p>
+	<div class="docs-attr-desc"><p>get FIFO (average) Rate from Queue</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.utils.get_incoming_rate" href="#erpnext.stock.utils.get_incoming_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.utils.<b>get_incoming_rate</b>
+        <i class="text-muted">(args)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Get Incoming Rate based on valuation method</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.utils.get_latest_stock_balance" href="#erpnext.stock.utils.get_latest_stock_balance" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.utils.<b>get_latest_stock_balance</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.utils.get_stock_balance" href="#erpnext.stock.utils.get_stock_balance" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.utils.<b>get_stock_balance</b>
+        <i class="text-muted">(item_code, warehouse, posting_date=None, posting_time=None, with_valuation_rate=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Returns stock balance quantity at given warehouse on given posting date or current date.</p>
+
+<p>If <code>with_valuation_rate</code> is True, will return tuple (qty, rate)</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.utils.get_stock_value_on" href="#erpnext.stock.utils.get_stock_value_on" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.utils.<b>get_stock_value_on</b>
+        <i class="text-muted">(warehouse=None, posting_date=None, item_code=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.utils.get_valid_serial_nos" href="#erpnext.stock.utils.get_valid_serial_nos" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.utils.<b>get_valid_serial_nos</b>
+        <i class="text-muted">(sr_nos, qty=0, item_code=)</i>
+    </p>
+	<div class="docs-attr-desc"><p>split serial nos, validate and return list of valid serial nos</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.utils.get_valuation_method" href="#erpnext.stock.utils.get_valuation_method" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.utils.<b>get_valuation_method</b>
+        <i class="text-muted">(item_code)</i>
+    </p>
+	<div class="docs-attr-desc"><p>get valuation method from item or default</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.utils.update_bin" href="#erpnext.stock.utils.update_bin" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.utils.<b>update_bin</b>
+        <i class="text-muted">(args, allow_negative_stock=False, via_landed_cost_voucher=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.utils.validate_warehouse_company" href="#erpnext.stock.utils.validate_warehouse_company" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.utils.<b>validate_warehouse_company</b>
+        <i class="text-muted">(warehouse, company)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/stock/index.html b/erpnext/docs/current/api/stock/index.html
new file mode 100644
index 0000000..381d792
--- /dev/null
+++ b/erpnext/docs/current/api/stock/index.html
@@ -0,0 +1,19 @@
+<!-- title: stock -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/stock"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/stock/index.txt b/erpnext/docs/current/api/stock/index.txt
new file mode 100644
index 0000000..27cb148
--- /dev/null
+++ b/erpnext/docs/current/api/stock/index.txt
@@ -0,0 +1,6 @@
+erpnext.stock.get_item_details
+erpnext.stock
+erpnext.stock.reorder_item
+erpnext.stock.stock_balance
+erpnext.stock.stock_ledger
+erpnext.stock.utils
\ No newline at end of file
diff --git a/erpnext/docs/current/api/support/erpnext.support.html b/erpnext/docs/current/api/support/erpnext.support.html
new file mode 100644
index 0000000..c672bfa
--- /dev/null
+++ b/erpnext/docs/current/api/support/erpnext.support.html
@@ -0,0 +1,18 @@
+<!-- title: erpnext.support --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/support.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/support/index.html b/erpnext/docs/current/api/support/index.html
new file mode 100644
index 0000000..916af27
--- /dev/null
+++ b/erpnext/docs/current/api/support/index.html
@@ -0,0 +1,19 @@
+<!-- title: support -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/support"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/support/index.txt b/erpnext/docs/current/api/support/index.txt
new file mode 100644
index 0000000..42739d1
--- /dev/null
+++ b/erpnext/docs/current/api/support/index.txt
@@ -0,0 +1 @@
+erpnext.support
\ No newline at end of file
diff --git a/erpnext/docs/current/api/utilities/erpnext.utilities.address_and_contact.html b/erpnext/docs/current/api/utilities/erpnext.utilities.address_and_contact.html
new file mode 100644
index 0000000..c8be620
--- /dev/null
+++ b/erpnext/docs/current/api/utilities/erpnext.utilities.address_and_contact.html
@@ -0,0 +1,114 @@
+<!-- title: erpnext.utilities.address_and_contact --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/utilities/address_and_contact.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.utilities.address_and_contact.get_permission_query_conditions" href="#erpnext.utilities.address_and_contact.get_permission_query_conditions" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.utilities.address_and_contact.<b>get_permission_query_conditions</b>
+        <i class="text-muted">(doctype)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.utilities.address_and_contact.get_permission_query_conditions_for_address" href="#erpnext.utilities.address_and_contact.get_permission_query_conditions_for_address" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.utilities.address_and_contact.<b>get_permission_query_conditions_for_address</b>
+        <i class="text-muted">(user)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.utilities.address_and_contact.get_permission_query_conditions_for_contact" href="#erpnext.utilities.address_and_contact.get_permission_query_conditions_for_contact" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.utilities.address_and_contact.<b>get_permission_query_conditions_for_contact</b>
+        <i class="text-muted">(user)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.utilities.address_and_contact.get_permitted_and_not_permitted_links" href="#erpnext.utilities.address_and_contact.get_permitted_and_not_permitted_links" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.utilities.address_and_contact.<b>get_permitted_and_not_permitted_links</b>
+        <i class="text-muted">(doctype)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.utilities.address_and_contact.has_permission" href="#erpnext.utilities.address_and_contact.has_permission" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.utilities.address_and_contact.<b>has_permission</b>
+        <i class="text-muted">(doc, ptype, user)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.utilities.address_and_contact.load_address_and_contact" href="#erpnext.utilities.address_and_contact.load_address_and_contact" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.utilities.address_and_contact.<b>load_address_and_contact</b>
+        <i class="text-muted">(doc, key)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Loads address list and contact list in <code>__onload</code></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/utilities/erpnext.utilities.html b/erpnext/docs/current/api/utilities/erpnext.utilities.html
new file mode 100644
index 0000000..f198b5b
--- /dev/null
+++ b/erpnext/docs/current/api/utilities/erpnext.utilities.html
@@ -0,0 +1,34 @@
+<!-- title: erpnext.utilities --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/utilities.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.utilities.update_doctypes" href="#erpnext.utilities.update_doctypes" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.utilities.<b>update_doctypes</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/utilities/erpnext.utilities.transaction_base.html b/erpnext/docs/current/api/utilities/erpnext.utilities.transaction_base.html
new file mode 100644
index 0000000..dcb8bf5
--- /dev/null
+++ b/erpnext/docs/current/api/utilities/erpnext.utilities.transaction_base.html
@@ -0,0 +1,206 @@
+<!-- title: erpnext.utilities.transaction_base --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/utilities/transaction_base.py"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>TransactionBase</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.status_updater.StatusUpdater</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="_add_calendar_event" href="#_add_calendar_event" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>_add_calendar_event</b>
+        <i class="text-muted">(self, opts)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="add_calendar_event" href="#add_calendar_event" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>add_calendar_event</b>
+        <i class="text-muted">(self, opts, force=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="compare_values" href="#compare_values" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>compare_values</b>
+        <i class="text-muted">(self, ref_doc, fields, doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="delete_events" href="#delete_events" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>delete_events</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="load_notification_message" href="#load_notification_message" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>load_notification_message</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_posting_time" href="#validate_posting_time" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_posting_time</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_rate_with_reference_doc" href="#validate_rate_with_reference_doc" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_rate_with_reference_doc</b>
+        <i class="text-muted">(self, ref_details)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_uom_is_integer" href="#validate_uom_is_integer" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_uom_is_integer</b>
+        <i class="text-muted">(self, uom_field, qty_fields)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_with_previous_doc" href="#validate_with_previous_doc" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_with_previous_doc</b>
+        <i class="text-muted">(self, ref)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>UOMMustBeIntegerError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.utilities.transaction_base.delete_events" href="#erpnext.utilities.transaction_base.delete_events" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.utilities.transaction_base.<b>delete_events</b>
+        <i class="text-muted">(ref_type, ref_name)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.utilities.transaction_base.validate_uom_is_integer" href="#erpnext.utilities.transaction_base.validate_uom_is_integer" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.utilities.transaction_base.<b>validate_uom_is_integer</b>
+        <i class="text-muted">(doc, uom_field, qty_fields, child_dt=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/utilities/index.html b/erpnext/docs/current/api/utilities/index.html
new file mode 100644
index 0000000..061031f
--- /dev/null
+++ b/erpnext/docs/current/api/utilities/index.html
@@ -0,0 +1,19 @@
+<!-- title: utilities -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/utilities"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>Package Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/utilities/index.txt b/erpnext/docs/current/api/utilities/index.txt
new file mode 100644
index 0000000..86ae38f
--- /dev/null
+++ b/erpnext/docs/current/api/utilities/index.txt
@@ -0,0 +1,3 @@
+erpnext.utilities.address_and_contact
+erpnext.utilities
+erpnext.utilities.transaction_base
\ No newline at end of file
diff --git a/erpnext/docs/current/index.html b/erpnext/docs/current/index.html
new file mode 100644
index 0000000..08adab9
--- /dev/null
+++ b/erpnext/docs/current/index.html
@@ -0,0 +1,55 @@
+<!-- title: ERPNext: Developer Docs -->
+<!-- no-breadcrumbs -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<table class="table table-bordered" style="max-width: 500px;">
+	<tr>
+		<td style="width: 40%">
+			App Name
+		</td>
+		<td>
+			<code>erpnext</code>
+		</td>
+	</tr>
+	<tr>
+		<td>
+			Publisher
+		</td>
+		<td>
+			<code>Frappe Technologies Pvt. Ltd.</code>
+		</td>
+	</tr>
+	<tr>
+		<td>
+			Version
+		</td>
+		<td>
+			<code>6.7.1</code>
+		</td>
+	</tr>
+</table>
+
+<h3>Contents</h3>
+<ul>
+	<li>
+		<a href="models">Models (DocTypes)</a>
+	</li>
+	<li>
+		<a href="api">Server-side API</a>
+	</li>
+</ul>
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/account.html b/erpnext/docs/current/models/accounts/account.html
new file mode 100644
index 0000000..e99d761
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/account.html
@@ -0,0 +1,931 @@
+<!-- title: Account -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/account"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabAccount</code></p>
+
+
+Heads (or groups) against which Accounting Entries are made and balances are maintained.
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>properties</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>account_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Account Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>is_group</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is Group
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>root_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Root Type
+                
+            </td>
+            <td>
+                <pre>
+Asset
+Liability
+Income
+Expense
+Equity</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>report_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Report Type
+                
+            </td>
+            <td>
+                <pre>
+Balance Sheet
+Profit and Loss</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>account_currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td class="danger" title="Mandatory"><code>parent_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Parent Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>account_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Account Type
+                <p class="text-muted small">
+                    Setting Account Type helps in selecting this Account in transactions.</p>
+            </td>
+            <td>
+                <pre>
+Bank
+Cash
+Tax
+Chargeable
+Warehouse
+Receivable
+Payable
+Equity
+Fixed Asset
+Cost of Goods Sold
+Expense Account
+Round Off
+Income Account
+Stock Received But Not Billed
+Expenses Included In Valuation
+Stock Adjustment
+Stock
+Temporary</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>tax_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Rate
+                <p class="text-muted small">
+                    Rate at which this tax is applied</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>freeze_account</code></td>
+            <td >
+                Select</td>
+            <td >
+                Frozen
+                <p class="text-muted small">
+                    If the account is frozen, entries are allowed to restricted users.</p>
+            </td>
+            <td>
+                <pre>No
+Yes</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>balance_must_be</code></td>
+            <td >
+                Select</td>
+            <td >
+                Balance must be
+                
+            </td>
+            <td>
+                <pre>
+Debit
+Credit</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>lft</code></td>
+            <td >
+                Int</td>
+            <td class="text-muted" title="Hidden">
+                Lft
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>rgt</code></td>
+            <td >
+                Int</td>
+            <td class="text-muted" title="Hidden">
+                Rgt
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>old_parent</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Old Parent
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.accounts.doctype.account.account</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Account</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="after_rename" href="#after_rename" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>after_rename</b>
+        <i class="text-muted">(self, old, new, merge=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="autoname" href="#autoname" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>autoname</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="before_rename" href="#before_rename" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>before_rename</b>
+        <i class="text-muted">(self, old, new, merge=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_gle_exists" href="#check_gle_exists" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_gle_exists</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_if_child_exists" href="#check_if_child_exists" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_if_child_exists</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="convert_group_to_ledger" href="#convert_group_to_ledger" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>convert_group_to_ledger</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="convert_ledger_to_group" href="#convert_ledger_to_group" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>convert_ledger_to_group</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_trash" href="#on_trash" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_trash</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="onload" href="#onload" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>onload</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_root_and_report_type" href="#set_root_and_report_type" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_root_and_report_type</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_nsm_model" href="#update_nsm_model" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_nsm_model</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>update lft, rgt indices for nested set model</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_account_currency" href="#validate_account_currency" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_account_currency</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_balance_must_be_debit_or_credit" href="#validate_balance_must_be_debit_or_credit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_balance_must_be_debit_or_credit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_frozen_accounts_modifier" href="#validate_frozen_accounts_modifier" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_frozen_accounts_modifier</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_mandatory" href="#validate_mandatory" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_mandatory</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_parent" href="#validate_parent" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_parent</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Fetch Parent Details and validate parent account</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_root_details" href="#validate_root_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_root_details</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_trash" href="#validate_trash" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_trash</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>checks gl entries and if child exists</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_warehouse" href="#validate_warehouse" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_warehouse</b>
+        <i class="text-muted">(self, warehouse)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_warehouse_account" href="#validate_warehouse_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_warehouse_account</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>RootNotEditable</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.account.account.get_account_currency" href="#erpnext.accounts.doctype.account.account.get_account_currency" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.account.account.<b>get_account_currency</b>
+        <i class="text-muted">(account)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Helper function to get account currency</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.account.account.get_parent_account" href="#erpnext.accounts.doctype.account.account.get_parent_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.account.account.<b>get_parent_account</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_reconciliation">Stock Reconciliation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry_detail">Stock Entry Detail</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry">Stock Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item_tax">Item Tax</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note_item">Delivery Note Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/expense_claim_type">Expense Claim Type</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/expense_claim_detail">Expense Claim Detail</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/item_group">Item Group</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/shipping_rule">Shipping Rule</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_taxes_and_charges">Sales Taxes and Charges</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice_item">Sales Invoice Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_taxes_and_charges">Purchase Taxes and Charges</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice_item">Purchase Invoice Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice">Purchase Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pos_profile">POS Profile</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/period_closing_voucher">Period Closing Voucher</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/payment_tool">Payment Tool</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/payment_reconciliation">Payment Reconciliation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/party_account">Party Account</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/mode_of_payment_account">Mode of Payment Account</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/journal_entry_account">Journal Entry Account</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/gl_entry">GL Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/budget_detail">Budget Detail</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/bank_reconciliation">Bank Reconciliation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/accounts_settings.html b/erpnext/docs/current/models/accounts/accounts_settings.html
new file mode 100644
index 0000000..20e4620
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/accounts_settings.html
@@ -0,0 +1,169 @@
+<!-- title: Accounts Settings -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/accounts_settings"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+Settings for Accounts
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>auto_accounting_for_stock</code></td>
+            <td >
+                Check</td>
+            <td >
+                Make Accounting Entry For Every Stock Movement
+                <p class="text-muted small">
+                    If enabled, the system will post accounting entries for inventory automatically.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>acc_frozen_upto</code></td>
+            <td >
+                Date</td>
+            <td >
+                Accounts Frozen Upto
+                <p class="text-muted small">
+                    Accounting entry frozen up to this date, nobody can do / modify entry except role specified below.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>frozen_accounts_modifier</code></td>
+            <td >
+                Link</td>
+            <td >
+                Role Allowed to Set Frozen Accounts & Edit Frozen Entries
+                <p class="text-muted small">
+                    Users with this role are allowed to set frozen accounts and create / modify accounting entries against frozen accounts</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/role">Role</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>credit_controller</code></td>
+            <td >
+                Link</td>
+            <td >
+                Credit Controller
+                <p class="text-muted small">
+                    Role that is allowed to submit transactions that exceed credit limits set.</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/role">Role</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>check_supplier_invoice_uniqueness</code></td>
+            <td >
+                Check</td>
+            <td >
+                Check Supplier Invoice Number Uniqueness
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.accounts.doctype.accounts_settings.accounts_settings</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>AccountsSettings</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/bank_reconciliation.html b/erpnext/docs/current/models/accounts/bank_reconciliation.html
new file mode 100644
index 0000000..cd50167
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/bank_reconciliation.html
@@ -0,0 +1,239 @@
+<!-- title: Bank Reconciliation -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/bank_reconciliation"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>bank_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Bank Account
+                <p class="text-muted small">
+                    Select account head of the bank where cheque was deposited.</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>company</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>from_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                From Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>to_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                To Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>include_reconciled_entries</code></td>
+            <td >
+                Check</td>
+            <td >
+                Include Reconciled Entries
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>get_relevant_entries</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Relevant Entries
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>journal_entries</code></td>
+            <td >
+                Table</td>
+            <td >
+                Journal Entries
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/bank_reconciliation_detail">Bank Reconciliation Detail</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>update_clearance_date</code></td>
+            <td >
+                Button</td>
+            <td >
+                Update Clearance Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>total_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.accounts.doctype.bank_reconciliation.bank_reconciliation</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>BankReconciliation</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_details" href="#get_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_details</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_details" href="#update_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_details</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/bank_reconciliation_detail.html b/erpnext/docs/current/models/accounts/bank_reconciliation_detail.html
new file mode 100644
index 0000000..7f3c2a0
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/bank_reconciliation_detail.html
@@ -0,0 +1,207 @@
+<!-- title: Bank Reconciliation Detail -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/bank_reconciliation_detail"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabBank Reconciliation Detail</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>voucher_id</code></td>
+            <td >
+                Link</td>
+            <td >
+                Voucher ID
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/journal_entry">Journal Entry</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>clearance_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Clearance Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>against_account</code></td>
+            <td >
+                Data</td>
+            <td >
+                Against Account
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>cheque_number</code></td>
+            <td >
+                Data</td>
+            <td >
+                Cheque Number
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>debit</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Debit
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>credit</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Credit
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>reference_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Reference Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/doctype">DocType</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>reference_name</code></td>
+            <td >
+                Dynamic Link</td>
+            <td >
+                Reference Name
+                
+            </td>
+            <td>
+                <pre>reference_type</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>posting_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Posting Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>cheque_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Cheque Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/bank_reconciliation">Bank Reconciliation</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/budget_detail.html b/erpnext/docs/current/models/accounts/budget_detail.html
new file mode 100644
index 0000000..f22e25c
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/budget_detail.html
@@ -0,0 +1,119 @@
+<!-- title: Budget Detail -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/budget_detail"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabBudget Detail</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>budget_allocated</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Budget Allocated
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/c_form.html b/erpnext/docs/current/models/accounts/c_form.html
new file mode 100644
index 0000000..6d5e9c7
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/c_form.html
@@ -0,0 +1,432 @@
+<!-- title: C-Form -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/c_form"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabC-Form</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>C-FORM-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>c_form_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                C-Form No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>received_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Received Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>quarter</code></td>
+            <td >
+                Select</td>
+            <td >
+                Quarter
+                
+            </td>
+            <td>
+                <pre>
+I
+II
+III
+IV</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td class="danger" title="Mandatory"><code>total_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td class="danger" title="Mandatory"><code>state</code></td>
+            <td >
+                Data</td>
+            <td >
+                State
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>12</td>
+            <td ><code>section_break0</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>invoices</code></td>
+            <td >
+                Table</td>
+            <td >
+                Invoices
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/c_form_invoice_detail">C-Form Invoice Detail</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>total_invoiced_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Invoiced Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/c_form">C-Form</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.accounts.doctype.c_form.c_form</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>CForm</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="before_cancel" href="#before_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>before_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_invoice_details" href="#get_invoice_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_invoice_details</b>
+        <i class="text-muted">(self, invoice_no)</i>
+    </p>
+	<div class="docs-attr-desc"><pre><code>Pull details from invoices for referrence
+</code></pre>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><pre><code>Update C-Form No on invoices
+</code></pre>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_cform_in_sales_invoices" href="#set_cform_in_sales_invoices" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_cform_in_sales_invoices</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_total_invoiced_amount" href="#set_total_invoiced_amount" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_total_invoiced_amount</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Validate invoice that c-form is applicable
+and no other c-form is received for that</p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/c_form">C-Form</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/c_form_invoice_detail.html b/erpnext/docs/current/models/accounts/c_form_invoice_detail.html
new file mode 100644
index 0000000..d65bacc
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/c_form_invoice_detail.html
@@ -0,0 +1,145 @@
+<!-- title: C-Form Invoice Detail -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/c_form_invoice_detail"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabC-Form Invoice Detail</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>invoice_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                Invoice No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>invoice_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Invoice Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>territory</code></td>
+            <td >
+                Link</td>
+            <td >
+                Territory
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>net_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Total
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>grand_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Grand Total
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/c_form">C-Form</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/cost_center.html b/erpnext/docs/current/models/accounts/cost_center.html
new file mode 100644
index 0000000..9d7b8fc
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/cost_center.html
@@ -0,0 +1,545 @@
+<!-- title: Cost Center -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/cost_center"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabCost Center</code></p>
+
+
+Track separate Income and Expense for product verticals or divisions.
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>sb0</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>cost_center_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Cost Center Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>parent_cost_center</code></td>
+            <td >
+                Link</td>
+            <td >
+                Parent Cost Center
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>cb0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>is_group</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is Group
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>7</td>
+            <td ><code>sb1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Budget
+                <p class="text-muted small">
+                    Define Budget for this Cost Center. To set budget action, see "Company List"</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>distribution_id</code></td>
+            <td >
+                Link</td>
+            <td >
+                Distribution Id
+                <p class="text-muted small">
+                    Select Monthly Distribution, if you want to track based on seasonality.</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/monthly_distribution">Monthly Distribution</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>budgets</code></td>
+            <td >
+                Table</td>
+            <td >
+                Budgets
+                <p class="text-muted small">
+                    Add rows to set annual budgets on Accounts.</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/budget_detail">Budget Detail</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>lft</code></td>
+            <td >
+                Int</td>
+            <td class="text-muted" title="Hidden">
+                lft
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>rgt</code></td>
+            <td >
+                Int</td>
+            <td class="text-muted" title="Hidden">
+                rgt
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>old_parent</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                old_parent
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.accounts.doctype.cost_center.cost_center</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>CostCenter</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.utils.nestedset.NestedSet</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="after_rename" href="#after_rename" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>after_rename</b>
+        <i class="text-muted">(self, olddn, newdn, merge=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="autoname" href="#autoname" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>autoname</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="before_rename" href="#before_rename" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>before_rename</b>
+        <i class="text-muted">(self, olddn, newdn, merge=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_gle_exists" href="#check_gle_exists" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_gle_exists</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_if_child_exists" href="#check_if_child_exists" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_if_child_exists</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="convert_group_to_ledger" href="#convert_group_to_ledger" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>convert_group_to_ledger</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="convert_ledger_to_group" href="#convert_ledger_to_group" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>convert_ledger_to_group</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_accounts" href="#validate_accounts" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_accounts</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_mandatory" href="#validate_mandatory" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_mandatory</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_reconciliation">Stock Reconciliation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry_detail">Stock Entry Detail</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt_item">Purchase Receipt Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note_item">Delivery Note Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/item_group">Item Group</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/project">Project</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/shipping_rule">Shipping Rule</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_taxes_and_charges">Sales Taxes and Charges</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice_item">Sales Invoice Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_taxes_and_charges">Purchase Taxes and Charges</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice_item">Purchase Invoice Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice">Purchase Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pos_profile">POS Profile</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/journal_entry_account">Journal Entry Account</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/gl_entry">GL Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/fiscal_year.html b/erpnext/docs/current/models/accounts/fiscal_year.html
new file mode 100644
index 0000000..4d9df39
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/fiscal_year.html
@@ -0,0 +1,459 @@
+<!-- title: Fiscal Year -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/fiscal_year"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabFiscal Year</code></p>
+
+
+**Fiscal Year** represents a Financial Year. All accounting entries and other major transactions are tracked against **Fiscal Year**.
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>year</code></td>
+            <td >
+                Data</td>
+            <td >
+                Year Name
+                <p class="text-muted small">
+                    For e.g. 2012, 2012-13</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>disabled</code></td>
+            <td >
+                Check</td>
+            <td >
+                Disabled
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>year_start_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Year Start Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>year_end_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Year End Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>companies</code></td>
+            <td >
+                Table</td>
+            <td >
+                Companies
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year_company">Fiscal Year Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.accounts.doctype.fiscal_year.fiscal_year</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>FiscalYear</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_as_default" href="#set_as_default" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_as_default</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_dates" href="#validate_dates" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_dates</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.doctype.fiscal_year.fiscal_year.auto_create_fiscal_year</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.fiscal_year.fiscal_year.auto_create_fiscal_year" href="#erpnext.accounts.doctype.fiscal_year.fiscal_year.auto_create_fiscal_year" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.fiscal_year.fiscal_year.<b>auto_create_fiscal_year</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.doctype.fiscal_year.fiscal_year.check_duplicate_fiscal_year</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.fiscal_year.fiscal_year.check_duplicate_fiscal_year" href="#erpnext.accounts.doctype.fiscal_year.fiscal_year.check_duplicate_fiscal_year" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.fiscal_year.fiscal_year.<b>check_duplicate_fiscal_year</b>
+        <i class="text-muted">(doc)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/warranty_claim">Warranty Claim</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_visit">Maintenance Visit</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_reconciliation">Stock Reconciliation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry">Stock Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt">Purchase Receipt</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_slip">Salary Slip</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/process_payroll">Process Payroll</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_block_list">Leave Block List</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_application">Leave Application</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/holiday_list">Holiday List</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/expense_claim">Expense Claim</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/attendance">Attendance</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/appraisal">Appraisal</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/target_detail">Target Detail</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/global_defaults">Global Defaults</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation">Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/installation_note">Installation Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation">Supplier Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order">Purchase Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/opportunity">Opportunity</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/lead">Lead</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice">Purchase Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/period_closing_voucher">Period Closing Voucher</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/monthly_distribution">Monthly Distribution</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/journal_entry">Journal Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/gl_entry">GL Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/c_form">C-Form</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/budget_detail">Budget Detail</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/fiscal_year_company.html b/erpnext/docs/current/models/accounts/fiscal_year_company.html
new file mode 100644
index 0000000..48bcb9e
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/fiscal_year_company.html
@@ -0,0 +1,84 @@
+<!-- title: Fiscal Year Company -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/fiscal_year_company"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabFiscal Year Company</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/gl_entry.html b/erpnext/docs/current/models/accounts/gl_entry.html
new file mode 100644
index 0000000..52b0ea2
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/gl_entry.html
@@ -0,0 +1,640 @@
+<!-- title: GL Entry -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/gl_entry"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabGL Entry</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>posting_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Posting Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>transaction_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Transaction Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>party_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Party Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/doctype">DocType</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>party</code></td>
+            <td >
+                Dynamic Link</td>
+            <td >
+                Party
+                
+            </td>
+            <td>
+                <pre>party_type</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>cost_center</code></td>
+            <td >
+                Link</td>
+            <td >
+                Cost Center
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>debit</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Debit Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>credit</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Credit Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>account_currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Account Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>debit_in_account_currency</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Debit Amount in Account Currency
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>credit_in_account_currency</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Credit Amount in Account Currency
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>against</code></td>
+            <td >
+                Text</td>
+            <td >
+                Against
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>against_voucher_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Against Voucher Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/doctype">DocType</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>against_voucher</code></td>
+            <td >
+                Dynamic Link</td>
+            <td >
+                Against Voucher
+                
+            </td>
+            <td>
+                <pre>against_voucher_type</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>voucher_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Voucher Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/doctype">DocType</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>voucher_no</code></td>
+            <td >
+                Dynamic Link</td>
+            <td >
+                Voucher No
+                
+            </td>
+            <td>
+                <pre>voucher_type</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>remarks</code></td>
+            <td >
+                Text</td>
+            <td >
+                Remarks
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>is_opening</code></td>
+            <td >
+                Select</td>
+            <td >
+                Is Opening
+                
+            </td>
+            <td>
+                <pre>No
+Yes</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>is_advance</code></td>
+            <td >
+                Select</td>
+            <td >
+                Is Advance
+                
+            </td>
+            <td>
+                <pre>No
+Yes</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.accounts.doctype.gl_entry.gl_entry</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>GLEntry</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_mandatory" href="#check_mandatory" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_mandatory</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_pl_account" href="#check_pl_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_pl_account</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update_with_args" href="#on_update_with_args" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update_with_args</b>
+        <i class="text-muted">(self, adv_adj, update_outstanding=Yes)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="pl_must_have_cost_center" href="#pl_must_have_cost_center" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>pl_must_have_cost_center</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_account_details" href="#validate_account_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_account_details</b>
+        <i class="text-muted">(self, adv_adj)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Account must be ledger, active and not freezed</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_cost_center" href="#validate_cost_center" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_cost_center</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_currency" href="#validate_currency" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_currency</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_party" href="#validate_party" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_party</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_posting_date" href="#validate_posting_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_posting_date</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.gl_entry.gl_entry.check_freezing_date" href="#erpnext.accounts.doctype.gl_entry.gl_entry.check_freezing_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.gl_entry.gl_entry.<b>check_freezing_date</b>
+        <i class="text-muted">(posting_date, adv_adj=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Nobody can do GL Entries where posting date is before freezing date
+except authorized person</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.gl_entry.gl_entry.update_against_account" href="#erpnext.accounts.doctype.gl_entry.gl_entry.update_against_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.gl_entry.gl_entry.<b>update_against_account</b>
+        <i class="text-muted">(voucher_type, voucher_no)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.gl_entry.gl_entry.update_outstanding_amt" href="#erpnext.accounts.doctype.gl_entry.gl_entry.update_outstanding_amt" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.gl_entry.gl_entry.<b>update_outstanding_amt</b>
+        <i class="text-muted">(account, party_type, party, against_voucher_type, against_voucher, on_cancel=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.gl_entry.gl_entry.validate_balance_type" href="#erpnext.accounts.doctype.gl_entry.gl_entry.validate_balance_type" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.gl_entry.gl_entry.<b>validate_balance_type</b>
+        <i class="text-muted">(account, adv_adj=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.gl_entry.gl_entry.validate_frozen_account" href="#erpnext.accounts.doctype.gl_entry.gl_entry.validate_frozen_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.gl_entry.gl_entry.<b>validate_frozen_account</b>
+        <i class="text-muted">(account, adv_adj=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/index.html b/erpnext/docs/current/models/accounts/index.html
new file mode 100644
index 0000000..c7506b5
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/index.html
@@ -0,0 +1,19 @@
+<!-- title: Module accounts -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>DocTypes for accounts</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/index.txt b/erpnext/docs/current/models/accounts/index.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/index.txt
diff --git a/erpnext/docs/current/models/accounts/journal_entry.html b/erpnext/docs/current/models/accounts/journal_entry.html
new file mode 100644
index 0000000..7835391
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/journal_entry.html
@@ -0,0 +1,1392 @@
+<!-- title: Journal Entry -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/journal_entry"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabJournal Entry</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>entry_type_and_date</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-flag</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>title</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>voucher_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Entry Type
+                
+            </td>
+            <td>
+                <pre>Journal Entry
+Bank Entry
+Cash Entry
+Credit Card Entry
+Debit Note
+Credit Note
+Contra Entry
+Excise Entry
+Write Off Entry
+Opening Entry</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>JV-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td class="danger" title="Mandatory"><code>posting_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Posting Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>7</td>
+            <td ><code>2_add_edit_gl_entries</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-table</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>accounts</code></td>
+            <td >
+                Table</td>
+            <td >
+                Accounting Entries
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/journal_entry_account">Journal Entry Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>9</td>
+            <td ><code>section_break99</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>cheque_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                Reference Number
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>cheque_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Reference Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>user_remark</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                User Remark
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>column_break99</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>total_debit</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Debit
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>total_credit</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Credit
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>difference</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Difference (Dr - Cr)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>get_balance</code></td>
+            <td >
+                Button</td>
+            <td >
+                Make Difference Entry
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>multi_currency</code></td>
+            <td >
+                Check</td>
+            <td >
+                Multi Currency
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>total_amount</code></td>
+            <td >
+                Currency</td>
+            <td class="text-muted" title="Hidden">
+                Total Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>total_amount_in_words</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Total Amount in Words
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>21</td>
+            <td ><code>reference</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Reference
+                
+            </td>
+            <td>
+                <pre>icon-pushpin</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>clearance_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Clearance Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>remark</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Remark
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>column_break98</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>bill_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                Bill No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>bill_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Bill Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>due_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Due Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>28</td>
+            <td ><code>write_off</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Write Off
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>write_off_based_on</code></td>
+            <td >
+                Select</td>
+            <td >
+                Write Off Based On
+                
+            </td>
+            <td>
+                <pre>Accounts Receivable
+Accounts Payable</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>get_outstanding_invoices</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Outstanding Invoices
+                
+            </td>
+            <td>
+                <pre>get_outstanding_invoices</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>column_break_30</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>write_off_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Write Off Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>33</td>
+            <td ><code>printing_settings</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Printing Settings
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>pay_to_recd_from</code></td>
+            <td >
+                Data</td>
+            <td >
+                Pay To / Recd From
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>column_break_35</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td ><code>letter_head</code></td>
+            <td >
+                Link</td>
+            <td >
+                Letter Head
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/print/letter_head">Letter Head</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>37</td>
+            <td ><code>select_print_heading</code></td>
+            <td >
+                Link</td>
+            <td >
+                Print Heading
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/print_heading">Print Heading</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>38</td>
+            <td ><code>addtional_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                More Information
+                
+            </td>
+            <td>
+                <pre>icon-file-text</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>40</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>41</td>
+            <td ><code>column_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>42</td>
+            <td ><code>is_opening</code></td>
+            <td >
+                Select</td>
+            <td >
+                Is Opening
+                
+            </td>
+            <td>
+                <pre>No
+Yes</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>43</td>
+            <td ><code>stock_entry</code></td>
+            <td >
+                Link</td>
+            <td >
+                Stock Entry
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry">Stock Entry</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>44</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/journal_entry">Journal Entry</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.accounts.doctype.journal_entry.journal_entry</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>JournalEntry</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.accounts_controller.AccountsController</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="__init__" href="#__init__" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>__init__</b>
+        <i class="text-muted">(self, arg1, arg2=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_credit_limit" href="#check_credit_limit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_credit_limit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="create_remarks" href="#create_remarks" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>create_remarks</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_balance" href="#get_balance" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_balance</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_feed" href="#get_feed" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_feed</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_outstanding_invoices" href="#get_outstanding_invoices" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_outstanding_invoices</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_title" href="#get_title" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_title</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_values" href="#get_values" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_values</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="make_gl_entries" href="#make_gl_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_gl_entries</b>
+        <i class="text-muted">(self, cancel=0, adv_adj=0)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_account_and_party_balance" href="#set_account_and_party_balance" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_account_and_party_balance</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_against_account" href="#set_against_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_against_account</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_amounts_in_company_currency" href="#set_amounts_in_company_currency" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_amounts_in_company_currency</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_exchange_rate" href="#set_exchange_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_exchange_rate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_print_format_fields" href="#set_print_format_fields" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_print_format_fields</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_total_amount" href="#set_total_amount" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_total_amount</b>
+        <i class="text-muted">(self, amt)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_advance_paid" href="#update_advance_paid" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_advance_paid</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_expense_claim" href="#update_expense_claim" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_expense_claim</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_against_jv" href="#validate_against_jv" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_against_jv</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_cheque_info" href="#validate_cheque_info" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_cheque_info</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_credit_debit_note" href="#validate_credit_debit_note" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_credit_debit_note</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_debit_and_credit" href="#validate_debit_and_credit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_debit_and_credit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_empty_accounts_table" href="#validate_empty_accounts_table" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_empty_accounts_table</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_entries_for_advance" href="#validate_entries_for_advance" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_entries_for_advance</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_expense_claim" href="#validate_expense_claim" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_expense_claim</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_invoices" href="#validate_invoices" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_invoices</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Validate totals and docstatus for invoices</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_multi_currency" href="#validate_multi_currency" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_multi_currency</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_orders" href="#validate_orders" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_orders</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Validate totals, stopped and docstatus for orders</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_party" href="#validate_party" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_party</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_reference_doc" href="#validate_reference_doc" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_reference_doc</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Validates reference document</p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_account_balance_and_party_type</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.journal_entry.journal_entry.get_account_balance_and_party_type" href="#erpnext.accounts.doctype.journal_entry.journal_entry.get_account_balance_and_party_type" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.journal_entry.journal_entry.<b>get_account_balance_and_party_type</b>
+        <i class="text-muted">(account, date, company, debit=None, credit=None, exchange_rate=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Returns dict of account balance and party type to be set in Journal Entry on selection of account.</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.journal_entry.journal_entry.get_against_jv" href="#erpnext.accounts.doctype.journal_entry.journal_entry.get_against_jv" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.journal_entry.journal_entry.<b>get_against_jv</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.journal_entry.journal_entry.get_average_exchange_rate" href="#erpnext.accounts.doctype.journal_entry.journal_entry.get_average_exchange_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.journal_entry.journal_entry.<b>get_average_exchange_rate</b>
+        <i class="text-muted">(account)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_default_bank_cash_account</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.journal_entry.journal_entry.get_default_bank_cash_account" href="#erpnext.accounts.doctype.journal_entry.journal_entry.get_default_bank_cash_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.journal_entry.journal_entry.<b>get_default_bank_cash_account</b>
+        <i class="text-muted">(company, voucher_type, mode_of_payment=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_exchange_rate</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.journal_entry.journal_entry.get_exchange_rate" href="#erpnext.accounts.doctype.journal_entry.journal_entry.get_exchange_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.journal_entry.journal_entry.<b>get_exchange_rate</b>
+        <i class="text-muted">(account, account_currency=None, company=None, reference_type=None, reference_name=None, debit=None, credit=None, exchange_rate=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_opening_accounts</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.journal_entry.journal_entry.get_opening_accounts" href="#erpnext.accounts.doctype.journal_entry.journal_entry.get_opening_accounts" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.journal_entry.journal_entry.<b>get_opening_accounts</b>
+        <i class="text-muted">(company)</i>
+    </p>
+	<div class="docs-attr-desc"><p>get all balance sheet accounts for opening entry</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_outstanding</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.journal_entry.journal_entry.get_outstanding" href="#erpnext.accounts.doctype.journal_entry.journal_entry.get_outstanding" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.journal_entry.journal_entry.<b>get_outstanding</b>
+        <i class="text-muted">(args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_party_account_and_balance</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.journal_entry.journal_entry.get_party_account_and_balance" href="#erpnext.accounts.doctype.journal_entry.journal_entry.get_party_account_and_balance" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.journal_entry.journal_entry.<b>get_party_account_and_balance</b>
+        <i class="text-muted">(company, party_type, party)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.journal_entry.journal_entry.get_payment_entry" href="#erpnext.accounts.doctype.journal_entry.journal_entry.get_payment_entry" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.journal_entry.journal_entry.<b>get_payment_entry</b>
+        <i class="text-muted">(ref_doc, args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_payment_entry_against_invoice</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.journal_entry.journal_entry.get_payment_entry_against_invoice" href="#erpnext.accounts.doctype.journal_entry.journal_entry.get_payment_entry_against_invoice" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.journal_entry.journal_entry.<b>get_payment_entry_against_invoice</b>
+        <i class="text-muted">(dt, dn)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_payment_entry_against_order</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.journal_entry.journal_entry.get_payment_entry_against_order" href="#erpnext.accounts.doctype.journal_entry.journal_entry.get_payment_entry_against_order" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.journal_entry.journal_entry.<b>get_payment_entry_against_order</b>
+        <i class="text-muted">(dt, dn)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry">Stock Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice_advance">Sales Invoice Advance</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice_advance">Purchase Invoice Advance</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/payment_reconciliation_payment">Payment Reconciliation Payment</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/journal_entry">Journal Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/bank_reconciliation_detail">Bank Reconciliation Detail</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/journal_entry_account.html b/erpnext/docs/current/models/accounts/journal_entry_account.html
new file mode 100644
index 0000000..d4fa991
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/journal_entry_account.html
@@ -0,0 +1,415 @@
+<!-- title: Journal Entry Account -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/journal_entry_account"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabJournal Entry Account</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>account_type</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Account Type
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>balance</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Account Balance
+                
+            </td>
+            <td>
+                <pre>account_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>cost_center</code></td>
+            <td >
+                Link</td>
+            <td >
+                Cost Center
+                <p class="text-muted small">
+                    If Income or Expense</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>party_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Party Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/doctype">DocType</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>party</code></td>
+            <td >
+                Dynamic Link</td>
+            <td >
+                Party
+                
+            </td>
+            <td>
+                <pre>party_type</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>party_balance</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Party Balance
+                
+            </td>
+            <td>
+                <pre>account_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>9</td>
+            <td ><code>currency_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Currency
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>account_currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Account Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>column_break_10</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>exchange_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Exchange Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>13</td>
+            <td ><code>sec_break1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Amount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>debit_in_account_currency</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Debit in Account Currency
+                
+            </td>
+            <td>
+                <pre>account_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>debit</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Debit in Company Currency
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>col_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>credit_in_account_currency</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Credit in Account Currency
+                
+            </td>
+            <td>
+                <pre>account_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>credit</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Credit in Company Currency
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>19</td>
+            <td ><code>reference</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Reference
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>reference_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Reference Type
+                
+            </td>
+            <td>
+                <pre>
+Sales Invoice
+Purchase Invoice
+Journal Entry
+Sales Order
+Purchase Order
+Expense Claim</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>reference_name</code></td>
+            <td >
+                Dynamic Link</td>
+            <td >
+                Reference Name
+                
+            </td>
+            <td>
+                <pre>reference_type</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>col_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>is_advance</code></td>
+            <td >
+                Select</td>
+            <td >
+                Is Advance
+                
+            </td>
+            <td>
+                <pre>No
+Yes</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>against_account</code></td>
+            <td >
+                Text</td>
+            <td class="text-muted" title="Hidden">
+                Against Account
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/journal_entry">Journal Entry</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/mode_of_payment.html b/erpnext/docs/current/models/accounts/mode_of_payment.html
new file mode 100644
index 0000000..3887a90
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/mode_of_payment.html
@@ -0,0 +1,141 @@
+<!-- title: Mode of Payment -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/mode_of_payment"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabMode of Payment</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>mode_of_payment</code></td>
+            <td >
+                Data</td>
+            <td >
+                Mode of Payment
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>accounts</code></td>
+            <td >
+                Table</td>
+            <td >
+                Accounts
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/mode_of_payment_account">Mode of Payment Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.accounts.doctype.mode_of_payment.mode_of_payment</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ModeofPayment</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice">Purchase Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pos_profile">POS Profile</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/payment_tool">Payment Tool</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/mode_of_payment_account.html b/erpnext/docs/current/models/accounts/mode_of_payment_account.html
new file mode 100644
index 0000000..10d5425
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/mode_of_payment_account.html
@@ -0,0 +1,106 @@
+<!-- title: Mode of Payment Account -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/mode_of_payment_account"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabMode of Payment Account</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>default_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Account
+                <p class="text-muted small">
+                    Default Bank / Cash account will be automatically updated in POS Invoice when this mode is selected.</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/mode_of_payment">Mode of Payment</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/monthly_distribution.html b/erpnext/docs/current/models/accounts/monthly_distribution.html
new file mode 100644
index 0000000..272bb64
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/monthly_distribution.html
@@ -0,0 +1,193 @@
+<!-- title: Monthly Distribution -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/monthly_distribution"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabMonthly Distribution</code></p>
+
+
+**Monthly Distribution** helps you distribute your budget across months if you have seasonality in your business.
+
+To distribute a budget using this distribution, set this **Monthly Distribution** in the **Cost Center**
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>distribution_id</code></td>
+            <td >
+                Data</td>
+            <td >
+                Distribution Name
+                <p class="text-muted small">
+                    Name of the Monthly Distribution</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>percentages</code></td>
+            <td >
+                Table</td>
+            <td >
+                Monthly Distribution Percentages
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/monthly_distribution_percentage">Monthly Distribution Percentage</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.accounts.doctype.monthly_distribution.monthly_distribution</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>MonthlyDistribution</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_months" href="#get_months" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_months</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sales_person">Sales Person</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sales_partner">Sales Partner</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/monthly_distribution_percentage.html b/erpnext/docs/current/models/accounts/monthly_distribution_percentage.html
new file mode 100644
index 0000000..da44dd1
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/monthly_distribution_percentage.html
@@ -0,0 +1,87 @@
+<!-- title: Monthly Distribution Percentage -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/monthly_distribution_percentage"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabMonthly Distribution Percentage</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>month</code></td>
+            <td >
+                Data</td>
+            <td >
+                Month
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>percentage_allocation</code></td>
+            <td >
+                Float</td>
+            <td >
+                Percentage Allocation
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/monthly_distribution">Monthly Distribution</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/party_account.html b/erpnext/docs/current/models/accounts/party_account.html
new file mode 100644
index 0000000..9fdb862
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/party_account.html
@@ -0,0 +1,138 @@
+<!-- title: Party Account -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/party_account"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabParty Account</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/supplier_type">Supplier Type</a>
+
+</li>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/customer_group">Customer Group</a>
+
+</li>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+</li>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier">Supplier</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/payment_reconciliation.html b/erpnext/docs/current/models/accounts/payment_reconciliation.html
new file mode 100644
index 0000000..a71d628
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/payment_reconciliation.html
@@ -0,0 +1,447 @@
+<!-- title: Payment Reconciliation -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/payment_reconciliation"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>party_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Party Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/doctype">DocType</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>party</code></td>
+            <td >
+                Dynamic Link</td>
+            <td >
+                Party
+                
+            </td>
+            <td>
+                <pre>party_type</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>receivable_payable_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Receivable / Payable Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>bank_cash_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Bank / Cash Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>from_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                From Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>to_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                To Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>minimum_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Minimum Amount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>maximum_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Maximum Amount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>get_unreconciled_entries</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Unreconciled Entries
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>12</td>
+            <td ><code>sec_break1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Unreconciled Payment Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>payments</code></td>
+            <td >
+                Table</td>
+            <td >
+                Payments
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/payment_reconciliation_payment">Payment Reconciliation Payment</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>reconcile</code></td>
+            <td >
+                Button</td>
+            <td >
+                Reconcile
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>15</td>
+            <td ><code>sec_break2</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Invoice/Journal Entry Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>invoices</code></td>
+            <td >
+                Table</td>
+            <td >
+                Invoices
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/payment_reconciliation_invoice">Payment Reconciliation Invoice</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.accounts.doctype.payment_reconciliation.payment_reconciliation</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>PaymentReconciliation</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="add_invoice_entries" href="#add_invoice_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>add_invoice_entries</b>
+        <i class="text-muted">(self, non_reconciled_invoices)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="add_payment_entries" href="#add_payment_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>add_payment_entries</b>
+        <i class="text-muted">(self, jv_entries)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_condition" href="#check_condition" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_condition</b>
+        <i class="text-muted">(self, dr_or_cr)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_mandatory_to_fetch" href="#check_mandatory_to_fetch" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_mandatory_to_fetch</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_invoice_entries" href="#get_invoice_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_invoice_entries</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_jv_entries" href="#get_jv_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_jv_entries</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_unreconciled_entries" href="#get_unreconciled_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_unreconciled_entries</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="reconcile" href="#reconcile" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>reconcile</b>
+        <i class="text-muted">(self, args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_invoice" href="#validate_invoice" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_invoice</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/payment_reconciliation_invoice.html b/erpnext/docs/current/models/accounts/payment_reconciliation_invoice.html
new file mode 100644
index 0000000..c4a6bd6
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/payment_reconciliation_invoice.html
@@ -0,0 +1,139 @@
+<!-- title: Payment Reconciliation Invoice -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/payment_reconciliation_invoice"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabPayment Reconciliation Invoice</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>invoice_type</code></td>
+            <td >
+                Data</td>
+            <td >
+                Invoice Type
+                
+            </td>
+            <td>
+                <pre>Sales Invoice
+Purchase Invoice
+Journal Entry</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>invoice_number</code></td>
+            <td >
+                Data</td>
+            <td >
+                Invoice Number
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>invoice_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Invoice Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>outstanding_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Outstanding Amount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/payment_reconciliation">Payment Reconciliation</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/payment_reconciliation_payment.html b/erpnext/docs/current/models/accounts/payment_reconciliation_payment.html
new file mode 100644
index 0000000..eed9870
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/payment_reconciliation_payment.html
@@ -0,0 +1,192 @@
+<!-- title: Payment Reconciliation Payment -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/payment_reconciliation_payment"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabPayment Reconciliation Payment</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>journal_entry</code></td>
+            <td >
+                Link</td>
+            <td >
+                Journal Entry
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/journal_entry">Journal Entry</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>posting_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Posting Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>is_advance</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Is Advance
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>voucher_detail_number</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Voucher Detail Number
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>invoice_number</code></td>
+            <td >
+                Select</td>
+            <td >
+                Invoice Number
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td class="danger" title="Mandatory"><code>allocated_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Allocated amount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>9</td>
+            <td ><code>sec_break1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>remark</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Remark
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/payment_reconciliation">Payment Reconciliation</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/payment_tool.html b/erpnext/docs/current/models/accounts/payment_tool.html
new file mode 100644
index 0000000..8e3f0e9
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/payment_tool.html
@@ -0,0 +1,473 @@
+<!-- title: Payment Tool -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/payment_tool"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>sec_break1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Find Invoices to Match
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>party_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Party Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/doctype">DocType</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>received_or_paid</code></td>
+            <td >
+                Select</td>
+            <td >
+                Received Or Paid
+                
+            </td>
+            <td>
+                <pre>Received
+Paid</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td class="danger" title="Mandatory"><code>party</code></td>
+            <td >
+                Dynamic Link</td>
+            <td >
+                Party
+                
+            </td>
+            <td>
+                <pre>party_type</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>party_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Party Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>party_account_currency</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Party Account Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>set_payment_amount</code></td>
+            <td >
+                Check</td>
+            <td >
+                Set Payment Amount = Outstanding Amount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>get_outstanding_vouchers</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Outstanding Vouchers
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>11</td>
+            <td ><code>sec_break3</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Set Matching Amounts
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>vouchers</code></td>
+            <td >
+                Table</td>
+            <td >
+                Against Vouchers
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/payment_tool_detail">Payment Tool Detail</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>13</td>
+            <td ><code>section_break_19</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Make Payment Entry
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>payment_mode</code></td>
+            <td >
+                Link</td>
+            <td >
+                Payment Mode
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/mode_of_payment">Mode of Payment</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>payment_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Payment Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>total_payment_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Payment Amount
+                
+            </td>
+            <td>
+                <pre>party_account_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>data_22</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>reference_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Reference Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>reference_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                Reference No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>make_journal_entry</code></td>
+            <td >
+                Button</td>
+            <td >
+                Make Journal Entry
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>21</td>
+            <td ><code>section_break_21</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>make_jv_help</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.accounts.doctype.payment_tool.payment_tool</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>PaymentTool</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="make_journal_entry" href="#make_journal_entry" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_journal_entry</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.doctype.payment_tool.payment_tool.get_against_voucher_amount</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.payment_tool.payment_tool.get_against_voucher_amount" href="#erpnext.accounts.doctype.payment_tool.payment_tool.get_against_voucher_amount" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.payment_tool.payment_tool.<b>get_against_voucher_amount</b>
+        <i class="text-muted">(against_voucher_type, against_voucher_no, party_account, company)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.payment_tool.payment_tool.get_orders_to_be_billed" href="#erpnext.accounts.doctype.payment_tool.payment_tool.get_orders_to_be_billed" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.payment_tool.payment_tool.<b>get_orders_to_be_billed</b>
+        <i class="text-muted">(party_type, party, party_account_currency, company_currency)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.doctype.payment_tool.payment_tool.get_outstanding_vouchers</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.payment_tool.payment_tool.get_outstanding_vouchers" href="#erpnext.accounts.doctype.payment_tool.payment_tool.get_outstanding_vouchers" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.payment_tool.payment_tool.<b>get_outstanding_vouchers</b>
+        <i class="text-muted">(args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/payment_tool_detail.html b/erpnext/docs/current/models/accounts/payment_tool_detail.html
new file mode 100644
index 0000000..621dcc8
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/payment_tool_detail.html
@@ -0,0 +1,152 @@
+<!-- title: Payment Tool Detail -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/payment_tool_detail"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabPayment Tool Detail</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>against_voucher_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Against Voucher Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/doctype">DocType</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>against_voucher_no</code></td>
+            <td >
+                Dynamic Link</td>
+            <td >
+                Against Voucher No
+                
+            </td>
+            <td>
+                <pre>against_voucher_type</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>column_break_3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>total_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Amount
+                
+            </td>
+            <td>
+                <pre>party_account_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>outstanding_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Outstanding Amount
+                
+            </td>
+            <td>
+                <pre>party_account_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td class="danger" title="Mandatory"><code>payment_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Payment Amount
+                
+            </td>
+            <td>
+                <pre>party_account_currency</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/payment_tool">Payment Tool</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/period_closing_voucher.html b/erpnext/docs/current/models/accounts/period_closing_voucher.html
new file mode 100644
index 0000000..55186d2
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/period_closing_voucher.html
@@ -0,0 +1,330 @@
+<!-- title: Period Closing Voucher -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/period_closing_voucher"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabPeriod Closing Voucher</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>transaction_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Transaction Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>posting_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Posting Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Closing Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/period_closing_voucher">Period Closing Voucher</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td class="danger" title="Mandatory"><code>closing_account_head</code></td>
+            <td >
+                Link</td>
+            <td >
+                Closing Account Head
+                <p class="text-muted small">
+                    The account head under Liability, in which Profit/Loss will be booked</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td class="danger" title="Mandatory"><code>remarks</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Remarks
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.accounts.doctype.period_closing_voucher.period_closing_voucher</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>PeriodClosingVoucher</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.accounts_controller.AccountsController</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_pl_balances" href="#get_pl_balances" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_pl_balances</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Get balance for pl accounts</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="make_gl_entries" href="#make_gl_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_gl_entries</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_account_head" href="#validate_account_head" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_account_head</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_posting_date" href="#validate_posting_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_posting_date</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/period_closing_voucher">Period Closing Voucher</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/pos_profile.html b/erpnext/docs/current/models/accounts/pos_profile.html
new file mode 100644
index 0000000..8417812
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/pos_profile.html
@@ -0,0 +1,662 @@
+<!-- title: POS Profile -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/pos_profile"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabPOS Profile</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>user</code></td>
+            <td >
+                Link</td>
+            <td >
+                Applicable for User
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/user">User</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>[Select]</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>update_stock</code></td>
+            <td >
+                Check</td>
+            <td >
+                Update Stock
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>column_break_4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td class="danger" title="Mandatory"><code>currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>mode_of_payment</code></td>
+            <td >
+                Link</td>
+            <td >
+                Mode of Payment
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/mode_of_payment">Mode of Payment</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>10</td>
+            <td ><code>section_break_16</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>print_format</code></td>
+            <td >
+                Link</td>
+            <td >
+                Print Format
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/print/print_format">Print Format</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>letter_head</code></td>
+            <td >
+                Link</td>
+            <td >
+                Letter Head
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/print/letter_head">Letter Head</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>select_print_heading</code></td>
+            <td >
+                Link</td>
+            <td >
+                Print Heading
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/print_heading">Print Heading</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>tc_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Terms and Conditions
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/terms_and_conditions">Terms and Conditions</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>territory</code></td>
+            <td >
+                Link</td>
+            <td >
+                Territory
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>selling_price_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Price List
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/price_list">Price List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>18</td>
+            <td ><code>section_break_19</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td class="danger" title="Mandatory"><code>write_off_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Write Off Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td class="danger" title="Mandatory"><code>write_off_cost_center</code></td>
+            <td >
+                Link</td>
+            <td >
+                Write Off Cost Center
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>taxes_and_charges</code></td>
+            <td >
+                Link</td>
+            <td >
+                Taxes and Charges
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_taxes_and_charges_template">Sales Taxes and Charges Template</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>column_break_23</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>cash_bank_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Cash/Bank Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>income_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Income Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>expense_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Expense Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>cost_center</code></td>
+            <td >
+                Link</td>
+            <td >
+                Cost Center
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.accounts.doctype.pos_profile.pos_profile</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>POSProfile</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_for_duplicate" href="#check_for_duplicate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_for_duplicate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_trash" href="#on_trash" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_trash</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_defaults" href="#set_defaults" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_defaults</b>
+        <i class="text-muted">(self, include_current_pos=True)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_all_link_fields" href="#validate_all_link_fields" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_all_link_fields</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.doctype.pos_profile.pos_profile.get_series</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.pos_profile.pos_profile.get_series" href="#erpnext.accounts.doctype.pos_profile.pos_profile.get_series" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.pos_profile.pos_profile.<b>get_series</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/pricing_rule.html b/erpnext/docs/current/models/accounts/pricing_rule.html
new file mode 100644
index 0000000..e581335
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/pricing_rule.html
@@ -0,0 +1,970 @@
+<!-- title: Pricing Rule -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/pricing_rule"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabPricing Rule</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>applicability_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>title</code></td>
+            <td >
+                Data</td>
+            <td >
+                Title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>apply_on</code></td>
+            <td >
+                Select</td>
+            <td >
+                Apply On
+                
+            </td>
+            <td>
+                <pre>
+Item Code
+Item Group
+Brand</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>brand</code></td>
+            <td >
+                Link</td>
+            <td >
+                Brand
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/brand">Brand</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>item_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/item_group">Item Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>column_break_7</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>priority</code></td>
+            <td >
+                Select</td>
+            <td >
+                Priority
+                <p class="text-muted small">
+                    Higher the number, higher the priority</p>
+            </td>
+            <td>
+                <pre>
+1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>disable</code></td>
+            <td >
+                Check</td>
+            <td >
+                Disable
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>10</td>
+            <td ><code>section_break_7</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>selling</code></td>
+            <td >
+                Check</td>
+            <td >
+                Selling
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>buying</code></td>
+            <td >
+                Check</td>
+            <td >
+                Buying
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>column_break_11</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>applicable_for</code></td>
+            <td >
+                Select</td>
+            <td >
+                Applicable For
+                
+            </td>
+            <td>
+                <pre>
+Customer
+Customer Group
+Territory
+Sales Partner
+Campaign
+Supplier
+Supplier Type</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>customer_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/customer_group">Customer Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>territory</code></td>
+            <td >
+                Link</td>
+            <td >
+                Territory
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>sales_partner</code></td>
+            <td >
+                Link</td>
+            <td >
+                Sales Partner
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sales_partner">Sales Partner</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>campaign</code></td>
+            <td >
+                Link</td>
+            <td >
+                Campaign
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/campaign">Campaign</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>supplier</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier">Supplier</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>supplier_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/supplier_type">Supplier Type</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>22</td>
+            <td ><code>section_break_19</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>min_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Min Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>column_break_21</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>max_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Max Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>26</td>
+            <td ><code>section_break_23</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>valid_from</code></td>
+            <td >
+                Date</td>
+            <td >
+                Valid From
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>valid_upto</code></td>
+            <td >
+                Date</td>
+            <td >
+                Valid Upto
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>31</td>
+            <td ><code>price_discount_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td class="danger" title="Mandatory"><code>price_or_discount</code></td>
+            <td >
+                Select</td>
+            <td >
+                Price or Discount
+                
+            </td>
+            <td>
+                <pre>
+Price
+Discount Percentage</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>col_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>price</code></td>
+            <td >
+                Float</td>
+            <td >
+                Price
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>discount_percentage</code></td>
+            <td >
+                Float</td>
+            <td >
+                Discount on Price List Rate (%)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td ><code>for_price_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                For Price List
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/price_list">Price List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>37</td>
+            <td ><code>help_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>Simple</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>38</td>
+            <td ><code>pricing_rule_help</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Pricing Rule Help
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.accounts.doctype.pricing_rule.pricing_rule</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>MultiplePricingRuleConflict</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>PricingRule</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="cleanup_fields_value" href="#cleanup_fields_value" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>cleanup_fields_value</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_applicable_for_selling_or_buying" href="#validate_applicable_for_selling_or_buying" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_applicable_for_selling_or_buying</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_mandatory" href="#validate_mandatory" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_mandatory</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_max_discount" href="#validate_max_discount" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_max_discount</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_min_max_qty" href="#validate_min_max_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_min_max_qty</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_price_or_discount" href="#validate_price_or_discount" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_price_or_discount</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.pricing_rule.pricing_rule.apply_internal_priority" href="#erpnext.accounts.doctype.pricing_rule.pricing_rule.apply_internal_priority" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.pricing_rule.pricing_rule.<b>apply_internal_priority</b>
+        <i class="text-muted">(pricing_rules, field_set, args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.doctype.pricing_rule.pricing_rule.apply_pricing_rule</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.pricing_rule.pricing_rule.apply_pricing_rule" href="#erpnext.accounts.doctype.pricing_rule.pricing_rule.apply_pricing_rule" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.pricing_rule.pricing_rule.<b>apply_pricing_rule</b>
+        <i class="text-muted">(args)</i>
+    </p>
+	<div class="docs-attr-desc"><p>args = {
+    "item<em>list": [{"doctype": "", "name": "", "item</em>code": "", "brand": "", "item<em>group": ""}, ...],
+    "customer": "something",
+    "customer</em>group": "something",
+    "territory": "something",
+    "supplier": "something",
+    "supplier<em>type": "something",
+    "currency": "something",
+    "conversion</em>rate": "something",
+    "price<em>list": "something",
+    "plc</em>conversion<em>rate": "something",
+    "company": "something",
+    "transaction</em>date": "something",
+    "campaign": "something",
+    "sales<em>partner": "something",
+    "ignore</em>pricing_rule": "something"
+}</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.pricing_rule.pricing_rule.filter_pricing_rules" href="#erpnext.accounts.doctype.pricing_rule.pricing_rule.filter_pricing_rules" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.pricing_rule.pricing_rule.<b>filter_pricing_rules</b>
+        <i class="text-muted">(args, pricing_rules)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.pricing_rule.pricing_rule.get_pricing_rule_for_item" href="#erpnext.accounts.doctype.pricing_rule.pricing_rule.get_pricing_rule_for_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.pricing_rule.pricing_rule.<b>get_pricing_rule_for_item</b>
+        <i class="text-muted">(args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.pricing_rule.pricing_rule.get_pricing_rules" href="#erpnext.accounts.doctype.pricing_rule.pricing_rule.get_pricing_rules" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.pricing_rule.pricing_rule.<b>get_pricing_rules</b>
+        <i class="text-muted">(args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.pricing_rule.pricing_rule.if_all_rules_same" href="#erpnext.accounts.doctype.pricing_rule.pricing_rule.if_all_rules_same" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.pricing_rule.pricing_rule.<b>if_all_rules_same</b>
+        <i class="text-muted">(pricing_rules, fields)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt_item">Purchase Receipt Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note_item">Delivery Note Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order_item">Sales Order Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation_item">Quotation Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation_item">Supplier Quotation Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order_item">Purchase Order Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice_item">Sales Invoice Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice_item">Purchase Invoice Item</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/purchase_invoice.html b/erpnext/docs/current/models/accounts/purchase_invoice.html
new file mode 100644
index 0000000..91112df
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/purchase_invoice.html
@@ -0,0 +1,1882 @@
+<!-- title: Purchase Invoice -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/purchase_invoice"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabPurchase Invoice</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>title</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>PINV-
+PINV-RET-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>supplier</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier">Supplier</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>supplier_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Supplier Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>address_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>contact_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Contact
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>contact_mobile</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Mobile No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>contact_email</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Contact Email
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td class="danger" title="Mandatory"><code>posting_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>bill_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                Supplier Invoice No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>bill_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Supplier Invoice Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice">Purchase Invoice</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>is_return</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is Return
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>return_against</code></td>
+            <td >
+                Link</td>
+            <td >
+                Return Against Purchase Invoice
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice">Purchase Invoice</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>17</td>
+            <td ><code>currency_and_price_list</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Currency and Price List
+                
+            </td>
+            <td>
+                <pre>icon-tag</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>conversion_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Exchange Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>column_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>buying_price_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Price List
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/price_list">Price List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>price_list_currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Price List Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>plc_conversion_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Price List Exchange Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>ignore_pricing_rule</code></td>
+            <td >
+                Check</td>
+            <td >
+                Ignore Pricing Rule
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>25</td>
+            <td ><code>items_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-shopping-cart</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice_item">Purchase Invoice Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>27</td>
+            <td ><code>section_break_26</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>base_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>base_net_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>column_break_28</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>net_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>33</td>
+            <td ><code>taxes_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>taxes_and_charges</code></td>
+            <td >
+                Link</td>
+            <td >
+                Taxes and Charges
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_taxes_and_charges_template">Purchase Taxes and Charges Template</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>taxes</code></td>
+            <td >
+                Table</td>
+            <td >
+                Purchase Taxes and Charges
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_taxes_and_charges">Purchase Taxes and Charges</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td ><code>other_charges_calculation</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Taxes and Charges Calculation
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>37</td>
+            <td ><code>totals</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>38</td>
+            <td ><code>base_taxes_and_charges_added</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Taxes and Charges Added (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td ><code>base_taxes_and_charges_deducted</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Taxes and Charges Deducted (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>40</td>
+            <td ><code>base_total_taxes_and_charges</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Taxes and Charges (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>41</td>
+            <td ><code>column_break_40</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>42</td>
+            <td ><code>taxes_and_charges_added</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Taxes and Charges Added
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>43</td>
+            <td ><code>taxes_and_charges_deducted</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Taxes and Charges Deducted
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>44</td>
+            <td ><code>total_taxes_and_charges</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Taxes and Charges
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>45</td>
+            <td ><code>section_break_44</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Additional Discount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>46</td>
+            <td ><code>apply_discount_on</code></td>
+            <td >
+                Select</td>
+            <td >
+                Apply Additional Discount On
+                
+            </td>
+            <td>
+                <pre>
+Grand Total
+Net Total</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>47</td>
+            <td ><code>column_break_46</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>48</td>
+            <td ><code>discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Additional Discount Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>49</td>
+            <td ><code>base_discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Additional Discount Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>50</td>
+            <td ><code>section_break_49</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>51</td>
+            <td ><code>base_grand_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Grand Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>52</td>
+            <td ><code>base_in_words</code></td>
+            <td >
+                Data</td>
+            <td >
+                In Words (Company Currency)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>53</td>
+            <td ><code>column_break8</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>54</td>
+            <td ><code>grand_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Grand Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>55</td>
+            <td ><code>in_words</code></td>
+            <td >
+                Data</td>
+            <td >
+                In Words
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>56</td>
+            <td ><code>total_advance</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Advance
+                
+            </td>
+            <td>
+                <pre>party_account_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>57</td>
+            <td ><code>outstanding_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Outstanding Amount
+                
+            </td>
+            <td>
+                <pre>party_account_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>58</td>
+            <td ><code>write_off</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Write Off
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>59</td>
+            <td ><code>write_off_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Write Off Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>60</td>
+            <td ><code>base_write_off_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Write Off Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>61</td>
+            <td ><code>column_break_61</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>62</td>
+            <td ><code>write_off_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Write Off Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>63</td>
+            <td ><code>write_off_cost_center</code></td>
+            <td >
+                Link</td>
+            <td >
+                Write Off Cost Center
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>64</td>
+            <td ><code>advances_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Advance Payments
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>65</td>
+            <td ><code>get_advances_paid</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Advances Paid
+                
+            </td>
+            <td>
+                <pre>get_advances</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>66</td>
+            <td ><code>advances</code></td>
+            <td >
+                Table</td>
+            <td >
+                Advances
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice_advance">Purchase Invoice Advance</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>67</td>
+            <td ><code>terms_section_break</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Terms and Conditions
+                
+            </td>
+            <td>
+                <pre>icon-legal</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>68</td>
+            <td ><code>tc_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Terms
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/terms_and_conditions">Terms and Conditions</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>69</td>
+            <td ><code>terms</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Terms and Conditions1
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>70</td>
+            <td ><code>contact_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Contact Details
+                
+            </td>
+            <td>
+                <pre>icon-bullhorn</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>71</td>
+            <td ><code>supplier_address</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier Address
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>72</td>
+            <td ><code>col_break23</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>73</td>
+            <td ><code>contact_person</code></td>
+            <td >
+                Link</td>
+            <td >
+                Contact Person
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/contact">Contact</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>74</td>
+            <td ><code>printing_settings</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Printing Settings
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>75</td>
+            <td ><code>letter_head</code></td>
+            <td >
+                Link</td>
+            <td >
+                Letter Head
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/print/letter_head">Letter Head</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>76</td>
+            <td ><code>select_print_heading</code></td>
+            <td >
+                Link</td>
+            <td >
+                Print Heading
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/print_heading">Print Heading</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>77</td>
+            <td ><code>more_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                More Information
+                
+            </td>
+            <td>
+                <pre>icon-file-text</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>78</td>
+            <td class="danger" title="Mandatory"><code>credit_to</code></td>
+            <td >
+                Link</td>
+            <td >
+                Credit To
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>79</td>
+            <td ><code>party_account_currency</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Party Account Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>80</td>
+            <td ><code>is_opening</code></td>
+            <td >
+                Select</td>
+            <td >
+                Is Opening
+                
+            </td>
+            <td>
+                <pre>No
+Yes</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>81</td>
+            <td ><code>due_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Due Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>82</td>
+            <td ><code>against_expense_account</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Against Expense Account
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>83</td>
+            <td ><code>column_break_63</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>84</td>
+            <td ><code>mode_of_payment</code></td>
+            <td >
+                Link</td>
+            <td >
+                Mode of Payment
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/mode_of_payment">Mode of Payment</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>85</td>
+            <td ><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>86</td>
+            <td ><code>remarks</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Remarks
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>87</td>
+            <td ><code>recurring_invoice</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Recurring Invoice
+                
+            </td>
+            <td>
+                <pre>icon-time</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>88</td>
+            <td ><code>is_recurring</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is Recurring
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>89</td>
+            <td ><code>recurring_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Recurring Type
+                <p class="text-muted small">
+                    Select the period when the invoice will be generated automatically</p>
+            </td>
+            <td>
+                <pre>Monthly
+Quarterly
+Half-yearly
+Yearly</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>90</td>
+            <td ><code>from_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                From Date
+                <p class="text-muted small">
+                    Start date of current invoice's period</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>91</td>
+            <td ><code>to_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                To Date
+                <p class="text-muted small">
+                    End date of current invoice's period</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>92</td>
+            <td ><code>repeat_on_day_of_month</code></td>
+            <td >
+                Int</td>
+            <td >
+                Repeat on Day of Month
+                <p class="text-muted small">
+                    The day of the month on which auto invoice will be generated e.g. 05, 28 etc</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>93</td>
+            <td ><code>end_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                End Date
+                <p class="text-muted small">
+                    The date on which recurring invoice will be stop</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>94</td>
+            <td ><code>column_break_82</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>95</td>
+            <td ><code>next_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Next Date
+                <p class="text-muted small">
+                    The date on which next invoice will be generated. It is generated on submit.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>96</td>
+            <td ><code>recurring_id</code></td>
+            <td >
+                Data</td>
+            <td >
+                Recurring Id
+                <p class="text-muted small">
+                    The unique id for tracking all recurring invoices. It is generated on submit.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>97</td>
+            <td ><code>notification_email_address</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Notification Email Address
+                <p class="text-muted small">
+                    Enter email id separated by commas, invoice will be mailed automatically on particular date</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>98</td>
+            <td ><code>recurring_print_format</code></td>
+            <td >
+                Link</td>
+            <td >
+                Recurring Print Format
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/print/print_format">Print Format</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.accounts.doctype.purchase_invoice.purchase_invoice</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>PurchaseInvoice</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.buying_controller.BuyingController</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="__init__" href="#__init__" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>__init__</b>
+        <i class="text-muted">(self, arg1, arg2=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_active_purchase_items" href="#check_active_purchase_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_active_purchase_items</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_conversion_rate" href="#check_conversion_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_conversion_rate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_for_stopped_or_closed_status" href="#check_for_stopped_or_closed_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_for_stopped_or_closed_status</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_prev_docstatus" href="#check_prev_docstatus" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_prev_docstatus</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="create_remarks" href="#create_remarks" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>create_remarks</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_advances" href="#get_advances" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_advances</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="make_gl_entries" href="#make_gl_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_gl_entries</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="po_required" href="#po_required" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>po_required</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="pr_required" href="#pr_required" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>pr_required</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_against_expense_account" href="#set_against_expense_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_against_expense_account</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_missing_values" href="#set_missing_values" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_missing_values</b>
+        <i class="text-muted">(self, for_validate=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_against_document_in_jv" href="#update_against_document_in_jv" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_against_document_in_jv</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Links invoice and advance voucher:
+    1. cancel advance voucher
+    2. split into multiple rows if partially adjusted, assign against voucher
+    3. submit advance voucher</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_project" href="#update_project" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_project</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_credit_to_acc" href="#validate_credit_to_acc" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_credit_to_acc</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_supplier_invoice" href="#validate_supplier_invoice" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_supplier_invoice</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_with_previous_doc" href="#validate_with_previous_doc" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_with_previous_doc</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_write_off_account" href="#validate_write_off_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_write_off_account</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.doctype.purchase_invoice.purchase_invoice.get_expense_account</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.purchase_invoice.purchase_invoice.get_expense_account" href="#erpnext.accounts.doctype.purchase_invoice.purchase_invoice.get_expense_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.purchase_invoice.purchase_invoice.<b>get_expense_account</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.doctype.purchase_invoice.purchase_invoice.make_debit_note</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.purchase_invoice.purchase_invoice.make_debit_note" href="#erpnext.accounts.doctype.purchase_invoice.purchase_invoice.make_debit_note" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.purchase_invoice.purchase_invoice.<b>make_debit_note</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice">Purchase Invoice</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/purchase_invoice_advance.html b/erpnext/docs/current/models/accounts/purchase_invoice_advance.html
new file mode 100644
index 0000000..d995db8
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/purchase_invoice_advance.html
@@ -0,0 +1,148 @@
+<!-- title: Purchase Invoice Advance -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/purchase_invoice_advance"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabPurchase Invoice Advance</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>journal_entry</code></td>
+            <td >
+                Link</td>
+            <td >
+                Journal Entry
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/journal_entry">Journal Entry</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>jv_detail_no</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Journal Entry Detail No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>remarks</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Remarks
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>advance_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Advance Amount
+                
+            </td>
+            <td>
+                <pre>party_account_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>allocated_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Allocated Amount
+                
+            </td>
+            <td>
+                <pre>party_account_currency</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice">Purchase Invoice</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/purchase_invoice_item.html b/erpnext/docs/current/models/accounts/purchase_invoice_item.html
new file mode 100644
index 0000000..7003e16
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/purchase_invoice_item.html
@@ -0,0 +1,750 @@
+<!-- title: Purchase Invoice Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/purchase_invoice_item"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabPurchase Invoice Item</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>4</td>
+            <td ><code>description_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>image</code></td>
+            <td >
+                Attach</td>
+            <td class="text-muted" title="Hidden">
+                Image
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>image_view</code></td>
+            <td >
+                Image</td>
+            <td >
+                Image View
+                
+            </td>
+            <td>
+                <pre>image</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>8</td>
+            <td ><code>quantity_and_rate</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Quantity and Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td class="danger" title="Mandatory"><code>qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>col_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>conversion_factor</code></td>
+            <td >
+                Float</td>
+            <td >
+                Conversion Factor
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>13</td>
+            <td ><code>sec_break1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>price_list_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Price List Rate
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>discount_percentage</code></td>
+            <td >
+                Percent</td>
+            <td >
+                Discount on Price List Rate (%)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>col_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>base_price_list_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Price List Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>18</td>
+            <td ><code>sec_break2</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td class="danger" title="Mandatory"><code>rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rate 
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td class="danger" title="Mandatory"><code>amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>col_break4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td class="danger" title="Mandatory"><code>base_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td class="danger" title="Mandatory"><code>base_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>pricing_rule</code></td>
+            <td >
+                Link</td>
+            <td >
+                Pricing Rule
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pricing_rule">Pricing Rule</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>25</td>
+            <td ><code>section_break_22</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>net_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Rate
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>net_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>column_break_25</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>base_net_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>base_net_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>31</td>
+            <td ><code>accounting</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Accounting
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>expense_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Expense Head
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>col_break5</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>project_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Project Name
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/project">Project</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>cost_center</code></td>
+            <td >
+                Link</td>
+            <td >
+                Cost Center
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>36</td>
+            <td ><code>reference</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Reference
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>37</td>
+            <td ><code>brand</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Brand
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>38</td>
+            <td ><code>item_group</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Item Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/item_group">Item Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td ><code>item_tax_rate</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Item Tax Rate
+                <p class="text-muted small">
+                    Tax detail table fetched from item master as a string and stored in this field.
+Used for Taxes and Charges</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>40</td>
+            <td ><code>item_tax_amount</code></td>
+            <td >
+                Currency</td>
+            <td class="text-muted" title="Hidden">
+                Item Tax Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>41</td>
+            <td ><code>purchase_order</code></td>
+            <td >
+                Link</td>
+            <td >
+                Purchase Order
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order">Purchase Order</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>42</td>
+            <td ><code>col_break6</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>43</td>
+            <td ><code>po_detail</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Purchase Order Item
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>44</td>
+            <td ><code>purchase_receipt</code></td>
+            <td >
+                Link</td>
+            <td >
+                Purchase Receipt
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt">Purchase Receipt</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>45</td>
+            <td ><code>page_break</code></td>
+            <td >
+                Check</td>
+            <td >
+                Page Break
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>46</td>
+            <td ><code>pr_detail</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                PR Detail
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>47</td>
+            <td ><code>valuation_rate</code></td>
+            <td >
+                Currency</td>
+            <td class="text-muted" title="Hidden">
+                Valuation Rate
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>48</td>
+            <td ><code>rm_supp_cost</code></td>
+            <td >
+                Currency</td>
+            <td class="text-muted" title="Hidden">
+                Raw Materials Supplied Cost
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice">Purchase Invoice</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/purchase_taxes_and_charges.html b/erpnext/docs/current/models/accounts/purchase_taxes_and_charges.html
new file mode 100644
index 0000000..b98cd16
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/purchase_taxes_and_charges.html
@@ -0,0 +1,387 @@
+<!-- title: Purchase Taxes and Charges -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/purchase_taxes_and_charges"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabPurchase Taxes and Charges</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>category</code></td>
+            <td >
+                Select</td>
+            <td >
+                Consider Tax or Charge for
+                
+            </td>
+            <td>
+                <pre>Valuation and Total
+Valuation
+Total</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>add_deduct_tax</code></td>
+            <td >
+                Select</td>
+            <td >
+                Add or Deduct
+                
+            </td>
+            <td>
+                <pre>Add
+Deduct</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>charge_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Type
+                
+            </td>
+            <td>
+                <pre>
+Actual
+On Net Total
+On Previous Row Amount
+On Previous Row Total</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>row_id</code></td>
+            <td >
+                Data</td>
+            <td >
+                Reference Row #
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>included_in_print_rate</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is this Tax included in Basic Rate?
+                <p class="text-muted small">
+                    If checked, the tax amount will be considered as already included in the Print Rate / Print Amount</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>account_head</code></td>
+            <td >
+                Link</td>
+            <td >
+                Account Head
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>cost_center</code></td>
+            <td >
+                Link</td>
+            <td >
+                Cost Center
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td class="danger" title="Mandatory"><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>10</td>
+            <td ><code>section_break_10</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>12</td>
+            <td ><code>section_break_9</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>tax_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>tax_amount_after_discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Tax Amount After Discount Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>column_break_14</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>base_tax_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>base_total</code></td>
+            <td >
+                Currency</td>
+            <td class="text-muted" title="Hidden">
+                Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>base_tax_amount_after_discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Tax Amount After Discount Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>item_wise_tax_detail</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Item Wise Tax Detail 
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>parenttype</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Parenttype
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt">Purchase Receipt</a>
+
+</li>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation">Supplier Quotation</a>
+
+</li>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order">Purchase Order</a>
+
+</li>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_taxes_and_charges_template">Purchase Taxes and Charges Template</a>
+
+</li>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice">Purchase Invoice</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/purchase_taxes_and_charges_template.html b/erpnext/docs/current/models/accounts/purchase_taxes_and_charges_template.html
new file mode 100644
index 0000000..8bde570
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/purchase_taxes_and_charges_template.html
@@ -0,0 +1,258 @@
+<!-- title: Purchase Taxes and Charges Template -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/purchase_taxes_and_charges_template"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabPurchase Taxes and Charges Template</code></p>
+
+
+Standard tax template that can be applied to all Purchase Transactions. This template can contain list of tax heads and also other expense heads like "Shipping", "Insurance", "Handling" etc.
+
+#### Note
+
+The tax rate you define here will be the standard tax rate for all **Items**. If there are **Items** that have different rates, they must be added in the **Item Tax** table in the **Item** master.
+
+#### Description of Columns
+
+1. Calculation Type: 
+    - This can be on **Net Total** (that is the sum of basic amount).
+    - **On Previous Row Total / Amount** (for cumulative taxes or charges). If you select this option, the tax will be applied as a percentage of the previous row (in the tax table) amount or total.
+    - **Actual** (as mentioned).
+2. Account Head: The Account ledger under which this tax will be booked
+3. Cost Center: If the tax / charge is an income (like shipping) or expense it needs to be booked against a Cost Center.
+4. Description: Description of the tax (that will be printed in invoices / quotes).
+5. Rate: Tax rate.
+6. Amount: Tax amount.
+7. Total: Cumulative total to this point.
+8. Enter Row: If based on "Previous Row Total" you can select the row number which will be taken as a base for this calculation (default is the previous row).
+9. Consider Tax or Charge for: In this section you can specify if the tax / charge is only for valuation (not a part of total) or only for total (does not add value to the item) or for both.
+10. Add or Deduct: Whether you want to add or deduct the tax.
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>title</code></td>
+            <td >
+                Data</td>
+            <td >
+                Title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>is_default</code></td>
+            <td >
+                Check</td>
+            <td >
+                Default
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>disabled</code></td>
+            <td >
+                Check</td>
+            <td >
+                Disabled
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>column_break4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>6</td>
+            <td ><code>section_break6</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>taxes</code></td>
+            <td >
+                Table</td>
+            <td >
+                Purchase Taxes and Charges
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_taxes_and_charges">Purchase Taxes and Charges</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.accounts.doctype.purchase_taxes_and_charges_template.purchase_taxes_and_charges_template</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>PurchaseTaxesandChargesTemplate</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt">Purchase Receipt</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation">Supplier Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier">Supplier</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order">Purchase Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/tax_rule">Tax Rule</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice">Purchase Invoice</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/sales_invoice.html b/erpnext/docs/current/models/accounts/sales_invoice.html
new file mode 100644
index 0000000..7096a08
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/sales_invoice.html
@@ -0,0 +1,2716 @@
+<!-- title: Sales Invoice -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/sales_invoice"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabSales Invoice</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>customer_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-user</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>title</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>SINV-
+SINV-RET-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>customer_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Customer Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>address_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>contact_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Contact
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>contact_mobile</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Mobile No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>contact_email</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Contact Email
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>is_pos</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is POS
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>is_return</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is Return
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td class="danger" title="Mandatory"><code>posting_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>due_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Payment Due Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>return_against</code></td>
+            <td >
+                Link</td>
+            <td >
+                Return Against Sales Invoice
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>shipping_address_name</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Shipping Address Name
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>shipping_address</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Shipping Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>20</td>
+            <td ><code>currency_and_price_list</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Currency and Price List
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td class="danger" title="Mandatory"><code>currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td class="danger" title="Mandatory"><code>conversion_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Exchange Rate
+                <p class="text-muted small">
+                    Rate at which Customer Currency is converted to customer's base currency</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>column_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td class="danger" title="Mandatory"><code>selling_price_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Price List
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/price_list">Price List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td class="danger" title="Mandatory"><code>price_list_currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Price List Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td class="danger" title="Mandatory"><code>plc_conversion_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Price List Exchange Rate
+                <p class="text-muted small">
+                    Rate at which Price list currency is converted to customer's base currency</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>ignore_pricing_rule</code></td>
+            <td >
+                Check</td>
+            <td >
+                Ignore Pricing Rule
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>28</td>
+            <td ><code>items_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-shopping-cart</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>update_stock</code></td>
+            <td >
+                Check</td>
+            <td >
+                Update Stock
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td class="danger" title="Mandatory"><code>items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice_item">Sales Invoice Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>31</td>
+            <td ><code>packing_list</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Packing List
+                
+            </td>
+            <td>
+                <pre>icon-suitcase</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>packed_items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Packed Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/packed_item">Packed Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>product_bundle_help</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Product Bundle Help
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>34</td>
+            <td ><code>section_break_30</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>base_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td class="danger" title="Mandatory"><code>base_net_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>37</td>
+            <td ><code>column_break_32</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>38</td>
+            <td ><code>total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td ><code>net_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>40</td>
+            <td ><code>taxes_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>41</td>
+            <td ><code>taxes_and_charges</code></td>
+            <td >
+                Link</td>
+            <td >
+                Taxes and Charges
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_taxes_and_charges_template">Sales Taxes and Charges Template</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>42</td>
+            <td ><code>column_break_38</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>43</td>
+            <td ><code>shipping_rule</code></td>
+            <td >
+                Link</td>
+            <td >
+                Shipping Rule
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/shipping_rule">Shipping Rule</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>44</td>
+            <td ><code>section_break_40</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>45</td>
+            <td ><code>taxes</code></td>
+            <td >
+                Table</td>
+            <td >
+                Sales Taxes and Charges
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_taxes_and_charges">Sales Taxes and Charges</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>46</td>
+            <td ><code>other_charges_calculation</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Taxes and Charges Calculation
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>47</td>
+            <td ><code>section_break_43</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>48</td>
+            <td ><code>base_total_taxes_and_charges</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Taxes and Charges (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>49</td>
+            <td ><code>column_break_47</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>50</td>
+            <td ><code>total_taxes_and_charges</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Taxes and Charges
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>51</td>
+            <td ><code>section_break_49</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Additional Discount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>52</td>
+            <td ><code>apply_discount_on</code></td>
+            <td >
+                Select</td>
+            <td >
+                Apply Additional Discount On
+                
+            </td>
+            <td>
+                <pre>
+Grand Total
+Net Total</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>53</td>
+            <td ><code>column_break_51</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>54</td>
+            <td ><code>discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Additional Discount Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>55</td>
+            <td ><code>base_discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Additional Discount Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>56</td>
+            <td ><code>totals</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>57</td>
+            <td class="danger" title="Mandatory"><code>base_grand_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Grand Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>58</td>
+            <td ><code>base_rounded_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rounded Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>59</td>
+            <td ><code>base_in_words</code></td>
+            <td >
+                Data</td>
+            <td >
+                In Words (Company Currency)
+                <p class="text-muted small">
+                    In Words will be visible once you save the Sales Invoice.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>60</td>
+            <td ><code>column_break5</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>61</td>
+            <td class="danger" title="Mandatory"><code>grand_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Grand Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>62</td>
+            <td ><code>rounded_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rounded Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>63</td>
+            <td ><code>in_words</code></td>
+            <td >
+                Data</td>
+            <td >
+                In Words
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>64</td>
+            <td ><code>total_advance</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Advance
+                
+            </td>
+            <td>
+                <pre>party_account_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>65</td>
+            <td ><code>outstanding_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Outstanding Amount
+                
+            </td>
+            <td>
+                <pre>party_account_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>66</td>
+            <td ><code>advances_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Advance Payments
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>67</td>
+            <td ><code>get_advances_received</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Advances Received
+                
+            </td>
+            <td>
+                <pre>get_advances</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>68</td>
+            <td ><code>advances</code></td>
+            <td >
+                Table</td>
+            <td >
+                Advances
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice_advance">Sales Invoice Advance</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>69</td>
+            <td ><code>payments_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Payments
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>70</td>
+            <td ><code>mode_of_payment</code></td>
+            <td >
+                Link</td>
+            <td >
+                Mode of Payment
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/mode_of_payment">Mode of Payment</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>71</td>
+            <td ><code>cash_bank_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Cash/Bank Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>72</td>
+            <td ><code>column_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>73</td>
+            <td ><code>paid_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Paid Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>74</td>
+            <td ><code>base_paid_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Paid Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>75</td>
+            <td ><code>column_break4</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Write Off
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>76</td>
+            <td ><code>write_off_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Write Off Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>77</td>
+            <td ><code>base_write_off_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Write Off Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>78</td>
+            <td ><code>write_off_outstanding_amount_automatically</code></td>
+            <td >
+                Check</td>
+            <td >
+                Write Off Outstanding Amount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>79</td>
+            <td ><code>column_break_74</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>80</td>
+            <td ><code>write_off_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Write Off Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>81</td>
+            <td ><code>write_off_cost_center</code></td>
+            <td >
+                Link</td>
+            <td >
+                Write Off Cost Center
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>82</td>
+            <td ><code>terms_section_break</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Terms
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>83</td>
+            <td ><code>tc_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Terms
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/terms_and_conditions">Terms and Conditions</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>84</td>
+            <td ><code>terms</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Terms and Conditions Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>85</td>
+            <td ><code>edit_printing_settings</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Printing Settings
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>86</td>
+            <td ><code>letter_head</code></td>
+            <td >
+                Link</td>
+            <td >
+                Letter Head
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/print/letter_head">Letter Head</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>87</td>
+            <td ><code>column_break_84</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>88</td>
+            <td ><code>select_print_heading</code></td>
+            <td >
+                Link</td>
+            <td >
+                Print Heading
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/print_heading">Print Heading</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>89</td>
+            <td ><code>contact_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                More Information
+                
+            </td>
+            <td>
+                <pre>icon-bullhorn</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>90</td>
+            <td ><code>project_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Project Name
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/project">Project</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>91</td>
+            <td class="danger" title="Mandatory"><code>territory</code></td>
+            <td >
+                Link</td>
+            <td >
+                Territory
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>92</td>
+            <td ><code>customer_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/customer_group">Customer Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>93</td>
+            <td ><code>col_break23</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>94</td>
+            <td ><code>customer_address</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer Address
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>95</td>
+            <td ><code>contact_person</code></td>
+            <td >
+                Link</td>
+            <td >
+                Contact Person
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/contact">Contact</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>96</td>
+            <td ><code>campaign</code></td>
+            <td >
+                Link</td>
+            <td >
+                Campaign
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/campaign">Campaign</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>97</td>
+            <td ><code>source</code></td>
+            <td >
+                Select</td>
+            <td >
+                Source
+                
+            </td>
+            <td>
+                <pre>
+Existing Customer
+Reference
+Advertisement
+Cold Calling
+Exhibition
+Supplier Reference
+Mass Mailing
+Customer's Vendor
+Campaign</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>98</td>
+            <td ><code>more_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Accounting Details
+                
+            </td>
+            <td>
+                <pre>icon-file-text</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>99</td>
+            <td class="danger" title="Mandatory"><code>debit_to</code></td>
+            <td >
+                Link</td>
+            <td >
+                Debit To
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>100</td>
+            <td ><code>party_account_currency</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Party Account Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>101</td>
+            <td ><code>is_opening</code></td>
+            <td >
+                Select</td>
+            <td >
+                Is Opening Entry
+                
+            </td>
+            <td>
+                <pre>No
+Yes</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>102</td>
+            <td ><code>c_form_applicable</code></td>
+            <td >
+                Select</td>
+            <td >
+                C-Form Applicable
+                
+            </td>
+            <td>
+                <pre>No
+Yes</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>103</td>
+            <td ><code>c_form_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                C-Form No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/c_form">C-Form</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>104</td>
+            <td ><code>column_break8</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>105</td>
+            <td ><code>posting_time</code></td>
+            <td >
+                Time</td>
+            <td >
+                Posting Time
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>106</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>107</td>
+            <td ><code>remarks</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Remarks
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>108</td>
+            <td ><code>sales_team_section_break</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Commission
+                
+            </td>
+            <td>
+                <pre>icon-group</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>109</td>
+            <td ><code>sales_partner</code></td>
+            <td >
+                Link</td>
+            <td >
+                Sales Partner
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sales_partner">Sales Partner</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>110</td>
+            <td ><code>column_break10</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>111</td>
+            <td ><code>commission_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Commission Rate (%)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>112</td>
+            <td ><code>total_commission</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Commission
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>113</td>
+            <td ><code>section_break2</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Sales Team
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>114</td>
+            <td ><code>sales_team</code></td>
+            <td >
+                Table</td>
+            <td >
+                Sales Team1
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_team">Sales Team</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>115</td>
+            <td ><code>recurring_invoice</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Recurring
+                
+            </td>
+            <td>
+                <pre>icon-time</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>116</td>
+            <td ><code>column_break11</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>117</td>
+            <td ><code>is_recurring</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is Recurring
+                <p class="text-muted small">
+                    Check if recurring invoice, uncheck to stop recurring or put proper End Date</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>118</td>
+            <td ><code>recurring_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Recurring Type
+                <p class="text-muted small">
+                    Select the period when the invoice will be generated automatically</p>
+            </td>
+            <td>
+                <pre>
+Monthly
+Quarterly
+Half-yearly
+Yearly</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>119</td>
+            <td ><code>from_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                From Date
+                <p class="text-muted small">
+                    Start date of current invoice's period</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>120</td>
+            <td ><code>to_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                To Date
+                <p class="text-muted small">
+                    End date of current invoice's period</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>121</td>
+            <td ><code>repeat_on_day_of_month</code></td>
+            <td >
+                Int</td>
+            <td >
+                Repeat on Day of Month
+                <p class="text-muted small">
+                    The day of the month on which auto invoice will be generated e.g. 05, 28 etc </p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>122</td>
+            <td ><code>end_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                End Date
+                <p class="text-muted small">
+                    The date on which recurring invoice will be stop</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>123</td>
+            <td ><code>column_break12</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>124</td>
+            <td ><code>next_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Next Date
+                <p class="text-muted small">
+                    The date on which next invoice will be generated. It is generated on submit.
+</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>125</td>
+            <td ><code>recurring_id</code></td>
+            <td >
+                Data</td>
+            <td >
+                Recurring Id
+                <p class="text-muted small">
+                    The unique id for tracking all recurring invoices. It is generated on submit.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>126</td>
+            <td ><code>notification_email_address</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Notification Email Address
+                <p class="text-muted small">
+                    Enter email id separated by commas, invoice will be mailed automatically on particular date</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>127</td>
+            <td ><code>recurring_print_format</code></td>
+            <td >
+                Link</td>
+            <td >
+                Recurring Print Format
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/print/print_format">Print Format</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>128</td>
+            <td ><code>against_income_account</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Against Income Account
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.accounts.doctype.sales_invoice.sales_invoice</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SalesInvoice</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.selling_controller.SellingController</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="__init__" href="#__init__" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>__init__</b>
+        <i class="text-muted">(self, arg1, arg2=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="add_remarks" href="#add_remarks" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>add_remarks</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="before_cancel" href="#before_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>before_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_credit_limit" href="#check_credit_limit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_credit_limit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_prev_docstatus" href="#check_prev_docstatus" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_prev_docstatus</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_advances" href="#get_advances" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_advances</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_company_abbr" href="#get_company_abbr" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_company_abbr</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_gl_entries" href="#get_gl_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_gl_entries</b>
+        <i class="text-muted">(self, warehouse_account=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_warehouse" href="#get_warehouse" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_warehouse</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="make_customer_gl_entry" href="#make_customer_gl_entry" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_customer_gl_entry</b>
+        <i class="text-muted">(self, gl_entries)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="make_gl_entries" href="#make_gl_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_gl_entries</b>
+        <i class="text-muted">(self, repost_future_gle=True)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="make_item_gl_entries" href="#make_item_gl_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_item_gl_entries</b>
+        <i class="text-muted">(self, gl_entries)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="make_pos_gl_entries" href="#make_pos_gl_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_pos_gl_entries</b>
+        <i class="text-muted">(self, gl_entries)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="make_tax_gl_entries" href="#make_tax_gl_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_tax_gl_entries</b>
+        <i class="text-muted">(self, gl_entries)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="make_write_off_gl_entry" href="#make_write_off_gl_entry" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_write_off_gl_entry</b>
+        <i class="text-muted">(self, gl_entries)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_against_income_account" href="#set_against_income_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_against_income_account</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Set against account for debit to account</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_indicator" href="#set_indicator" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_indicator</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Set indicator for portal</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_missing_values" href="#set_missing_values" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_missing_values</b>
+        <i class="text-muted">(self, for_validate=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_pos_fields" href="#set_pos_fields" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_pos_fields</b>
+        <i class="text-muted">(self, for_validate=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Set retail related fields from POS Profiles</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="so_dn_required" href="#so_dn_required" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>so_dn_required</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>check in manage account if sales order / delivery note required or not.</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_against_document_in_jv" href="#update_against_document_in_jv" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_against_document_in_jv</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Links invoice and advance voucher:
+    1. cancel advance voucher
+    2. split into multiple rows if partially adjusted, assign against voucher
+    3. submit advance voucher</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_current_stock" href="#update_current_stock" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_current_stock</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_packing_list" href="#update_packing_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_packing_list</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_status_updater_args" href="#update_status_updater_args" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_status_updater_args</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_time_log_batch" href="#update_time_log_batch" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_time_log_batch</b>
+        <i class="text-muted">(self, sales_invoice)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_c_form" href="#validate_c_form" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_c_form</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Blank C-form no if C-form applicable marked as 'No'</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_c_form_on_cancel" href="#validate_c_form_on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_c_form_on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Display message if C-Form no exists on cancellation of Sales Invoice</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_debit_to_acc" href="#validate_debit_to_acc" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_debit_to_acc</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_delivery_note" href="#validate_delivery_note" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_delivery_note</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_fixed_asset_account" href="#validate_fixed_asset_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_fixed_asset_account</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Validate Fixed Asset and whether Income Account Entered Exists</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_item_code" href="#validate_item_code" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_item_code</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_pos" href="#validate_pos" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_pos</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_proj_cust" href="#validate_proj_cust" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_proj_cust</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>check for does customer belong to same project as entered..</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_time_logs_are_submitted" href="#validate_time_logs_are_submitted" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_time_logs_are_submitted</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_warehouse" href="#validate_warehouse" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_warehouse</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_with_previous_doc" href="#validate_with_previous_doc" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_with_previous_doc</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_write_off_account" href="#validate_write_off_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_write_off_account</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.doctype.sales_invoice.sales_invoice.get_bank_cash_account</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.sales_invoice.sales_invoice.get_bank_cash_account" href="#erpnext.accounts.doctype.sales_invoice.sales_invoice.get_bank_cash_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.sales_invoice.sales_invoice.<b>get_bank_cash_account</b>
+        <i class="text-muted">(mode_of_payment, company)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.sales_invoice.sales_invoice.get_list_context" href="#erpnext.accounts.doctype.sales_invoice.sales_invoice.get_list_context" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.sales_invoice.sales_invoice.<b>get_list_context</b>
+        <i class="text-muted">(context=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.doctype.sales_invoice.sales_invoice.make_delivery_note</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.sales_invoice.sales_invoice.make_delivery_note" href="#erpnext.accounts.doctype.sales_invoice.sales_invoice.make_delivery_note" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.sales_invoice.sales_invoice.<b>make_delivery_note</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.doctype.sales_invoice.sales_invoice.make_sales_return</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.sales_invoice.sales_invoice.make_sales_return" href="#erpnext.accounts.doctype.sales_invoice.sales_invoice.make_sales_return" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.sales_invoice.sales_invoice.<b>make_sales_return</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry">Stock Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note_item">Delivery Note Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/time_log_batch">Time Log Batch</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/time_log">Time Log</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/c_form_invoice_detail">C-Form Invoice Detail</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/sales_invoice_advance.html b/erpnext/docs/current/models/accounts/sales_invoice_advance.html
new file mode 100644
index 0000000..4e407f9
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/sales_invoice_advance.html
@@ -0,0 +1,148 @@
+<!-- title: Sales Invoice Advance -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/sales_invoice_advance"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabSales Invoice Advance</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>journal_entry</code></td>
+            <td >
+                Link</td>
+            <td >
+                Journal Entry
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/journal_entry">Journal Entry</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>remarks</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Remarks
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>jv_detail_no</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Journal Entry Detail No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>advance_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Advance amount
+                
+            </td>
+            <td>
+                <pre>party_account_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>allocated_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Allocated amount
+                
+            </td>
+            <td>
+                <pre>party_account_currency</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/sales_invoice_item.html b/erpnext/docs/current/models/accounts/sales_invoice_item.html
new file mode 100644
index 0000000..94a8ea8
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/sales_invoice_item.html
@@ -0,0 +1,898 @@
+<!-- title: Sales Invoice Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/sales_invoice_item"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabSales Invoice Item</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>barcode</code></td>
+            <td >
+                Data</td>
+            <td >
+                Barcode
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>customer_item_code</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Customer's Item Code
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>6</td>
+            <td ><code>section_break_6</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Edit Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>column_break_8</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>image_view</code></td>
+            <td >
+                Image</td>
+            <td >
+                Image View
+                
+            </td>
+            <td>
+                <pre>image</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>image</code></td>
+            <td >
+                Attach</td>
+            <td class="text-muted" title="Hidden">
+                Image
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>11</td>
+            <td ><code>quantity_and_rate</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Quantity
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>price_list_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Price List Rate
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>discount_percentage</code></td>
+            <td >
+                Percent</td>
+            <td >
+                Discount on Price List Rate (%)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>col_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>stock_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>base_price_list_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Price List Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>18</td>
+            <td ><code>section_break1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td class="danger" title="Mandatory"><code>rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rate
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td class="danger" title="Mandatory"><code>amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>col_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td class="danger" title="Mandatory"><code>base_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td class="danger" title="Mandatory"><code>base_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>pricing_rule</code></td>
+            <td >
+                Link</td>
+            <td >
+                Pricing Rule
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pricing_rule">Pricing Rule</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>25</td>
+            <td ><code>section_break_21</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>net_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Rate
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>net_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>column_break_24</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>base_net_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>base_net_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>31</td>
+            <td ><code>drop_ship</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Drop Ship
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>delivered_by_supplier</code></td>
+            <td >
+                Check</td>
+            <td >
+                Delivered By Supplier
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>33</td>
+            <td ><code>accounting</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Accounting Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td class="danger" title="Mandatory"><code>income_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Income Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>expense_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Expense Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td ><code>col_break4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>37</td>
+            <td class="danger" title="Mandatory"><code>cost_center</code></td>
+            <td >
+                Link</td>
+            <td >
+                Cost Center
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>38</td>
+            <td ><code>warehouse_and_reference</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Stock Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td ><code>warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>40</td>
+            <td ><code>target_warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Target Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>41</td>
+            <td ><code>serial_no</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Serial No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>42</td>
+            <td ><code>batch_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                Batch No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/batch">Batch</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>43</td>
+            <td ><code>item_group</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Item Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/item_group">Item Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>44</td>
+            <td ><code>brand</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Brand Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>45</td>
+            <td ><code>item_tax_rate</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Item Tax Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>46</td>
+            <td ><code>col_break5</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>47</td>
+            <td ><code>actual_batch_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Available Batch Qty at Warehouse
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>48</td>
+            <td ><code>actual_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Available Qty at Warehouse
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>49</td>
+            <td ><code>edit_references</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                References
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>50</td>
+            <td ><code>time_log_batch</code></td>
+            <td >
+                Link</td>
+            <td >
+                Time Log Batch
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/time_log_batch">Time Log Batch</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>51</td>
+            <td ><code>sales_order</code></td>
+            <td >
+                Link</td>
+            <td >
+                Sales Order
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>52</td>
+            <td ><code>so_detail</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Sales Order Item
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>53</td>
+            <td ><code>column_break_50</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>54</td>
+            <td ><code>delivery_note</code></td>
+            <td >
+                Link</td>
+            <td >
+                Delivery Note
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>55</td>
+            <td ><code>dn_detail</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Delivery Note Item
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>56</td>
+            <td ><code>delivered_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Delivered Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>57</td>
+            <td ><code>section_break_54</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>58</td>
+            <td ><code>page_break</code></td>
+            <td >
+                Check</td>
+            <td >
+                Page Break
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/sales_taxes_and_charges.html b/erpnext/docs/current/models/accounts/sales_taxes_and_charges.html
new file mode 100644
index 0000000..5948320
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/sales_taxes_and_charges.html
@@ -0,0 +1,356 @@
+<!-- title: Sales Taxes and Charges -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/sales_taxes_and_charges"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabSales Taxes and Charges</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>charge_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Type
+                
+            </td>
+            <td>
+                <pre>
+Actual
+On Net Total
+On Previous Row Amount
+On Previous Row Total</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>row_id</code></td>
+            <td >
+                Data</td>
+            <td >
+                Reference Row #
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>account_head</code></td>
+            <td >
+                Link</td>
+            <td >
+                Account Head
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>cost_center</code></td>
+            <td >
+                Link</td>
+            <td >
+                Cost Center
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>col_break_1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td class="danger" title="Mandatory"><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>included_in_print_rate</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is this Tax included in Basic Rate?
+                <p class="text-muted small">
+                    If checked, the tax amount will be considered as already included in the Print Rate / Print Amount</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>8</td>
+            <td ><code>section_break_8</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>10</td>
+            <td ><code>section_break_9</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>tax_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>tax_amount_after_discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Tax Amount After Discount Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>column_break_13</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>base_tax_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>base_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>base_tax_amount_after_discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Tax Amount After Discount Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>item_wise_tax_detail</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Item Wise Tax Detail
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>parenttype</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Parenttype
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+</li>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+</li>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation">Quotation</a>
+
+</li>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_taxes_and_charges_template">Sales Taxes and Charges Template</a>
+
+</li>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/sales_taxes_and_charges_template.html b/erpnext/docs/current/models/accounts/sales_taxes_and_charges_template.html
new file mode 100644
index 0000000..eaeffee
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/sales_taxes_and_charges_template.html
@@ -0,0 +1,281 @@
+<!-- title: Sales Taxes and Charges Template -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/sales_taxes_and_charges_template"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabSales Taxes and Charges Template</code></p>
+
+
+Standard tax template that can be applied to all Sales Transactions. This template can contain list of tax heads and also other expense / income heads like "Shipping", "Insurance", "Handling" etc.
+
+#### Note
+
+The tax rate you define here will be the standard tax rate for all **Items**. If there are **Items** that have different rates, they must be added in the **Item Tax** table in the **Item** master.
+
+#### Description of Columns
+
+1. Calculation Type: 
+    - This can be on **Net Total** (that is the sum of basic amount).
+    - **On Previous Row Total / Amount** (for cumulative taxes or charges). If you select this option, the tax will be applied as a percentage of the previous row (in the tax table) amount or total.
+    - **Actual** (as mentioned).
+2. Account Head: The Account ledger under which this tax will be booked
+3. Cost Center: If the tax / charge is an income (like shipping) or expense it needs to be booked against a Cost Center.
+4. Description: Description of the tax (that will be printed in invoices / quotes).
+5. Rate: Tax rate.
+6. Amount: Tax amount.
+7. Total: Cumulative total to this point.
+8. Enter Row: If based on "Previous Row Total" you can select the row number which will be taken as a base for this calculation (default is the previous row).
+9. Is this Tax included in Basic Rate?: If you check this, it means that this tax will not be shown below the item table, but will be included in the Basic Rate in your main item table. This is useful where you want give a flat price (inclusive of all taxes) price to customers.
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>title</code></td>
+            <td >
+                Data</td>
+            <td >
+                Title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>is_default</code></td>
+            <td >
+                Check</td>
+            <td >
+                Default
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>disabled</code></td>
+            <td >
+                Check</td>
+            <td >
+                Disabled
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>column_break_3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>6</td>
+            <td ><code>section_break_5</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>taxes</code></td>
+            <td >
+                Table</td>
+            <td >
+                Sales Taxes and Charges
+                <p class="text-muted small">
+                    * Will be calculated in the transaction.</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_taxes_and_charges">Sales Taxes and Charges</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.accounts.doctype.sales_taxes_and_charges_template.sales_taxes_and_charges_template</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SalesTaxesandChargesTemplate</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.sales_taxes_and_charges_template.sales_taxes_and_charges_template.valdiate_taxes_and_charges_template" href="#erpnext.accounts.doctype.sales_taxes_and_charges_template.sales_taxes_and_charges_template.valdiate_taxes_and_charges_template" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.sales_taxes_and_charges_template.sales_taxes_and_charges_template.<b>valdiate_taxes_and_charges_template</b>
+        <i class="text-muted">(doc)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation">Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/tax_rule">Tax Rule</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pos_profile">POS Profile</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/shipping_rule.html b/erpnext/docs/current/models/accounts/shipping_rule.html
new file mode 100644
index 0000000..ab2ff4a
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/shipping_rule.html
@@ -0,0 +1,414 @@
+<!-- title: Shipping Rule -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/shipping_rule"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabShipping Rule</code></p>
+
+
+Specify conditions to calculate shipping amount
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>label</code></td>
+            <td >
+                Data</td>
+            <td >
+                Shipping Rule Label
+                <p class="text-muted small">
+                    example: Next Day Shipping</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>disabled</code></td>
+            <td >
+                Check</td>
+            <td >
+                Disabled
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>calculate_based_on</code></td>
+            <td >
+                Select</td>
+            <td class="text-muted" title="Hidden">
+                Calculate Based On
+                
+            </td>
+            <td>
+                <pre>Net Total
+Net Weight</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>4</td>
+            <td ><code>rule_conditions_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Shipping Rule Conditions
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>conditions</code></td>
+            <td >
+                Table</td>
+            <td >
+                Shipping Rule Conditions
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/shipping_rule_condition">Shipping Rule Condition</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>6</td>
+            <td ><code>section_break_6</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Valid for Countries
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>worldwide_shipping</code></td>
+            <td >
+                Check</td>
+            <td >
+                Worldwide Shipping
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>countries</code></td>
+            <td >
+                Table</td>
+            <td >
+                Valid for Countries
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/shipping_rule_country">Shipping Rule Country</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>9</td>
+            <td ><code>section_break_10</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>column_break_12</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td class="danger" title="Mandatory"><code>account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Shipping Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td class="danger" title="Mandatory"><code>cost_center</code></td>
+            <td >
+                Link</td>
+            <td >
+                Cost Center
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.accounts.doctype.shipping_rule.shipping_rule</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>FromGreaterThanToError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ManyBlankToValuesError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>OverlappingConditionError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ShippingRule</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="sort_shipping_rule_conditions" href="#sort_shipping_rule_conditions" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>sort_shipping_rule_conditions</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Sort Shipping Rule Conditions based on increasing From Value</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_from_to_values" href="#validate_from_to_values" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_from_to_values</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_overlapping_shipping_rule_conditions" href="#validate_overlapping_shipping_rule_conditions" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_overlapping_shipping_rule_conditions</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation">Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/shipping_rule_condition.html b/erpnext/docs/current/models/accounts/shipping_rule_condition.html
new file mode 100644
index 0000000..7cb37e4
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/shipping_rule_condition.html
@@ -0,0 +1,101 @@
+<!-- title: Shipping Rule Condition -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/shipping_rule_condition"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabShipping Rule Condition</code></p>
+
+
+A condition for a Shipping Rule
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>from_value</code></td>
+            <td >
+                Float</td>
+            <td >
+                From Value
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>to_value</code></td>
+            <td >
+                Float</td>
+            <td >
+                To Value
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>shipping_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Shipping Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/shipping_rule">Shipping Rule</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/shipping_rule_country.html b/erpnext/docs/current/models/accounts/shipping_rule_country.html
new file mode 100644
index 0000000..b428cb2
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/shipping_rule_country.html
@@ -0,0 +1,84 @@
+<!-- title: Shipping Rule Country -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/shipping_rule_country"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabShipping Rule Country</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>country</code></td>
+            <td >
+                Link</td>
+            <td >
+                Country
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/country">Country</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/shipping_rule">Shipping Rule</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/tax_rule.html b/erpnext/docs/current/models/accounts/tax_rule.html
new file mode 100644
index 0000000..8c40c5b
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/tax_rule.html
@@ -0,0 +1,608 @@
+<!-- title: Tax Rule -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/tax_rule"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabTax Rule</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>tax_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Tax Type
+                
+            </td>
+            <td>
+                <pre>Sales
+Purchase</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>use_for_shopping_cart</code></td>
+            <td >
+                Check</td>
+            <td >
+                Use for Shopping Cart
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>column_break_1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>sales_tax_template</code></td>
+            <td >
+                Link</td>
+            <td >
+                Sales Tax Template
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_taxes_and_charges_template">Sales Taxes and Charges Template</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>purchase_tax_template</code></td>
+            <td >
+                Link</td>
+            <td >
+                Purchase Tax Template
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_taxes_and_charges_template">Purchase Taxes and Charges Template</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>6</td>
+            <td ><code>filters</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Filters
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>supplier</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier">Supplier</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>billing_city</code></td>
+            <td >
+                Data</td>
+            <td >
+                Billing City
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>billing_state</code></td>
+            <td >
+                Data</td>
+            <td >
+                Billing State
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>billing_country</code></td>
+            <td >
+                Link</td>
+            <td >
+                Billing Country
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/country">Country</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>column_break_2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>customer_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/customer_group">Customer Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>supplier_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/supplier_type">Supplier Type</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>shipping_city</code></td>
+            <td >
+                Data</td>
+            <td >
+                Shipping City
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>shipping_state</code></td>
+            <td >
+                Data</td>
+            <td >
+                Shipping State
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>shipping_country</code></td>
+            <td >
+                Link</td>
+            <td >
+                Shipping Country
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/country">Country</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>18</td>
+            <td ><code>section_break_4</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Validity
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>from_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                From Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>column_break_7</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>to_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                To Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>22</td>
+            <td ><code>section_break_6</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>priority</code></td>
+            <td >
+                Int</td>
+            <td >
+                Priority
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>column_break_20</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.accounts.doctype.tax_rule.tax_rule</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ConflictingTaxRule</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>IncorrectCustomerGroup</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>IncorrectSupplierType</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>TaxRule</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="__setup__" href="#__setup__" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>__setup__</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_date" href="#validate_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_date</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_filters" href="#validate_filters" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_filters</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_tax_template" href="#validate_tax_template" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_tax_template</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.accounts.doctype.tax_rule.tax_rule.get_party_details</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.tax_rule.tax_rule.get_party_details" href="#erpnext.accounts.doctype.tax_rule.tax_rule.get_party_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.tax_rule.tax_rule.<b>get_party_details</b>
+        <i class="text-muted">(party, party_type, args=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.accounts.doctype.tax_rule.tax_rule.get_tax_template" href="#erpnext.accounts.doctype.tax_rule.tax_rule.get_tax_template" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.accounts.doctype.tax_rule.tax_rule.<b>get_tax_template</b>
+        <i class="text-muted">(posting_date, args)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Get matching tax rule</p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/buying/buying_settings.html b/erpnext/docs/current/models/buying/buying_settings.html
new file mode 100644
index 0000000..3fe5e2a
--- /dev/null
+++ b/erpnext/docs/current/models/buying/buying_settings.html
@@ -0,0 +1,210 @@
+<!-- title: Buying Settings -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/buying/doctype/buying_settings"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+Settings for Buying Module
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>supp_master_name</code></td>
+            <td >
+                Select</td>
+            <td >
+                Supplier Naming By
+                
+            </td>
+            <td>
+                <pre>Supplier Name
+Naming Series</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>supplier_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Supplier Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/supplier_type">Supplier Type</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>buying_price_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Buying Price List
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/price_list">Price List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>column_break_3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>po_required</code></td>
+            <td >
+                Select</td>
+            <td >
+                Purchase Order Required
+                
+            </td>
+            <td>
+                <pre>No
+Yes</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>pr_required</code></td>
+            <td >
+                Select</td>
+            <td >
+                Purchase Receipt Required
+                
+            </td>
+            <td>
+                <pre>No
+Yes</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>maintain_same_rate</code></td>
+            <td >
+                Check</td>
+            <td >
+                Maintain same rate throughout purchase cycle
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>allow_multiple_items</code></td>
+            <td >
+                Check</td>
+            <td >
+                Allow Item to be added multiple times in a transaction
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.buying.doctype.buying_settings.buying_settings</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>BuyingSettings</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/buying/index.html b/erpnext/docs/current/models/buying/index.html
new file mode 100644
index 0000000..9d7d3e4
--- /dev/null
+++ b/erpnext/docs/current/models/buying/index.html
@@ -0,0 +1,19 @@
+<!-- title: Module buying -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/buying"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>DocTypes for buying</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/buying/index.txt b/erpnext/docs/current/models/buying/index.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/erpnext/docs/current/models/buying/index.txt
diff --git a/erpnext/docs/current/models/buying/purchase_common.html b/erpnext/docs/current/models/buying/purchase_common.html
new file mode 100644
index 0000000..1bd8606
--- /dev/null
+++ b/erpnext/docs/current/models/buying/purchase_common.html
@@ -0,0 +1,129 @@
+<!-- title: Purchase Common -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/buying/doctype/purchase_common"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.buying.doctype.purchase_common.purchase_common</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>PurchaseCommon</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.buying_controller.BuyingController</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_docstatus" href="#check_docstatus" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_docstatus</b>
+        <i class="text-muted">(self, check, doctype, docname, detail_doctype=)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_for_stopped_or_closed_status" href="#check_for_stopped_or_closed_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_for_stopped_or_closed_status</b>
+        <i class="text-muted">(self, doctype, docname)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_last_purchase_rate" href="#update_last_purchase_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_last_purchase_rate</b>
+        <i class="text-muted">(self, obj, is_submit)</i>
+    </p>
+	<div class="docs-attr-desc"><p>updates last<em>purchase</em>rate in item table for each item</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_for_items" href="#validate_for_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_for_items</b>
+        <i class="text-muted">(self, obj)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/buying/purchase_order.html b/erpnext/docs/current/models/buying/purchase_order.html
new file mode 100644
index 0000000..8c79a78
--- /dev/null
+++ b/erpnext/docs/current/models/buying/purchase_order.html
@@ -0,0 +1,1900 @@
+<!-- title: Purchase Order -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/buying/doctype/purchase_order"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabPurchase Order</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>supplier_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-user</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>title</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>PO-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>supplier</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier">Supplier</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>is_subcontracted</code></td>
+            <td >
+                Select</td>
+            <td >
+                Supply Raw Materials
+                
+            </td>
+            <td>
+                <pre>No
+Yes</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>supplier_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Supplier Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>address_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>contact_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Contact
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>contact_mobile</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Mobile No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>contact_email</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Contact Email
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td class="danger" title="Mandatory"><code>transaction_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order">Purchase Order</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>15</td>
+            <td ><code>drop_ship</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Drop Ship
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>customer_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Customer Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>delivered_by_supplier</code></td>
+            <td >
+                Check</td>
+            <td >
+                To be delivered to customer
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>column_break_19</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>customer_address</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer Address
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>customer_contact_person</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer Contact
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/contact">Contact</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>customer_address_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Customer Address Display
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>customer_contact_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Customer Contact
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>customer_contact_mobile</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Customer Mobile No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>customer_contact_email</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Customer Contact Email
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>26</td>
+            <td ><code>currency_and_price_list</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Currency and Price List
+                
+            </td>
+            <td>
+                <pre>icon-tag</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td class="danger" title="Mandatory"><code>currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td class="danger" title="Mandatory"><code>conversion_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Exchange Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>cb_price_list</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>buying_price_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Price List
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/price_list">Price List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>price_list_currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Price List Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>plc_conversion_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Price List Exchange Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>ignore_pricing_rule</code></td>
+            <td >
+                Check</td>
+            <td >
+                Ignore Pricing Rule
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>34</td>
+            <td ><code>items_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-shopping-cart</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order_item">Purchase Order Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td ><code>get_last_purchase_rate</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Last Purchase Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>37</td>
+            <td ><code>sb_last_purchase</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>38</td>
+            <td ><code>base_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td ><code>base_net_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>40</td>
+            <td ><code>column_break_26</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>41</td>
+            <td ><code>total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>42</td>
+            <td ><code>net_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>43</td>
+            <td ><code>taxes_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>44</td>
+            <td ><code>taxes_and_charges</code></td>
+            <td >
+                Link</td>
+            <td >
+                Taxes and Charges
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_taxes_and_charges_template">Purchase Taxes and Charges Template</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>45</td>
+            <td ><code>taxes</code></td>
+            <td >
+                Table</td>
+            <td >
+                Purchase Taxes and Charges
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_taxes_and_charges">Purchase Taxes and Charges</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>46</td>
+            <td ><code>other_charges_calculation</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Taxes and Charges Calculation
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>47</td>
+            <td ><code>totals</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>48</td>
+            <td ><code>base_taxes_and_charges_added</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Taxes and Charges Added (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>49</td>
+            <td ><code>base_taxes_and_charges_deducted</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Taxes and Charges Deducted (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>50</td>
+            <td ><code>base_total_taxes_and_charges</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Taxes and Charges (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>51</td>
+            <td ><code>column_break_39</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>52</td>
+            <td ><code>taxes_and_charges_added</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Taxes and Charges Added
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>53</td>
+            <td ><code>taxes_and_charges_deducted</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Taxes and Charges Deducted
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>54</td>
+            <td ><code>total_taxes_and_charges</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Taxes and Charges
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>55</td>
+            <td ><code>discount_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Additional Discount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>56</td>
+            <td ><code>apply_discount_on</code></td>
+            <td >
+                Select</td>
+            <td >
+                Apply Additional Discount On
+                
+            </td>
+            <td>
+                <pre>
+Grand Total
+Net Total</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>57</td>
+            <td ><code>column_break_45</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>58</td>
+            <td ><code>discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Additional Discount Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>59</td>
+            <td ><code>base_discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Additional Discount Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>60</td>
+            <td ><code>totals_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>61</td>
+            <td ><code>base_grand_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Grand Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>62</td>
+            <td ><code>base_in_words</code></td>
+            <td >
+                Data</td>
+            <td >
+                In Words (Company Currency)
+                <p class="text-muted small">
+                    In Words will be visible once you save the Purchase Order.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>63</td>
+            <td ><code>base_rounded_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rounded Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>64</td>
+            <td ><code>advance_paid</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Advance Paid
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>65</td>
+            <td ><code>column_break4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>66</td>
+            <td ><code>grand_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Grand Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>67</td>
+            <td ><code>in_words</code></td>
+            <td >
+                Data</td>
+            <td >
+                In Words
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>68</td>
+            <td ><code>terms_section_break</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Terms and Conditions
+                
+            </td>
+            <td>
+                <pre>icon-legal</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>69</td>
+            <td ><code>tc_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Terms
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/terms_and_conditions">Terms and Conditions</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>70</td>
+            <td ><code>terms</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Terms and Conditions
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>71</td>
+            <td ><code>contact_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Contact Details
+                
+            </td>
+            <td>
+                <pre>icon-bullhorn</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>72</td>
+            <td ><code>supplier_address</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier Address
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>73</td>
+            <td ><code>cb_contact</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>74</td>
+            <td ><code>contact_person</code></td>
+            <td >
+                Link</td>
+            <td >
+                Contact Person
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/contact">Contact</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>75</td>
+            <td ><code>more_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                More Information
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>76</td>
+            <td class="danger" title="Mandatory"><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>
+Draft
+To Receive and Bill
+To Bill
+To Receive
+Completed
+Stopped
+Cancelled
+Closed
+Delivered</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>77</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>78</td>
+            <td ><code>ref_sq</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Ref SQ
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>79</td>
+            <td ><code>column_break_74</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>80</td>
+            <td ><code>per_received</code></td>
+            <td >
+                Percent</td>
+            <td >
+                % Received
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>81</td>
+            <td ><code>per_billed</code></td>
+            <td >
+                Percent</td>
+            <td >
+                % Billed
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>82</td>
+            <td ><code>column_break5</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Printing Settings
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>83</td>
+            <td ><code>letter_head</code></td>
+            <td >
+                Link</td>
+            <td >
+                Letter Head
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/print/letter_head">Letter Head</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>84</td>
+            <td ><code>select_print_heading</code></td>
+            <td >
+                Link</td>
+            <td >
+                Print Heading
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/print_heading">Print Heading</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>85</td>
+            <td ><code>raw_material_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Raw Materials Supplied
+                
+            </td>
+            <td>
+                <pre>icon-truck</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>86</td>
+            <td ><code>supplied_items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Supplied Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order_item_supplied">Purchase Order Item Supplied</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>87</td>
+            <td ><code>recurring_order</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Recurring
+                
+            </td>
+            <td>
+                <pre>icon-time</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>88</td>
+            <td ><code>column_break</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>89</td>
+            <td ><code>is_recurring</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is Recurring
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>90</td>
+            <td ><code>recurring_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Recurring Type
+                
+            </td>
+            <td>
+                <pre>Monthly
+Quarterly
+Half-yearly
+Yearly</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>91</td>
+            <td ><code>from_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                From Date
+                <p class="text-muted small">
+                    Start date of current order's period</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>92</td>
+            <td ><code>to_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                To Date
+                <p class="text-muted small">
+                    End date of current order's period</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>93</td>
+            <td ><code>repeat_on_day_of_month</code></td>
+            <td >
+                Int</td>
+            <td >
+                Repeat on Day of Month
+                <p class="text-muted small">
+                    The day of the month on which auto order will be generated e.g. 05, 28 etc</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>94</td>
+            <td ><code>end_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                End Date
+                <p class="text-muted small">
+                    The date on which recurring order will be stop</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>95</td>
+            <td ><code>column_break83</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>96</td>
+            <td ><code>next_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Next Date
+                <p class="text-muted small">
+                    The date on which next invoice will be generated. It is generated on submit.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>97</td>
+            <td ><code>recurring_id</code></td>
+            <td >
+                Data</td>
+            <td >
+                Recurring Id
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>98</td>
+            <td ><code>notification_email_address</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Notification Email Address
+                <p class="text-muted small">
+                    Enter email id separated by commas, order will be mailed automatically on particular date</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>99</td>
+            <td ><code>recurring_print_format</code></td>
+            <td >
+                Link</td>
+            <td >
+                Recurring Print Format
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/print/print_format">Print Format</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.buying.doctype.purchase_order.purchase_order</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>PurchaseOrder</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.buying_controller.BuyingController</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="__init__" href="#__init__" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>__init__</b>
+        <i class="text-muted">(self, arg1, arg2=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="before_recurring" href="#before_recurring" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>before_recurring</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_for_stopped_or_closed_status" href="#check_for_stopped_or_closed_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_for_stopped_or_closed_status</b>
+        <i class="text-muted">(self, pc_obj)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_modified_date" href="#check_modified_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_modified_date</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_last_purchase_rate" href="#get_last_purchase_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_last_purchase_rate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>get last purchase rates for all items</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_schedule_dates" href="#get_schedule_dates" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_schedule_dates</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_delivered_qty_in_sales_order" href="#update_delivered_qty_in_sales_order" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_delivered_qty_in_sales_order</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Update delivered qty in Sales Order for drop ship</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_ordered_qty" href="#update_ordered_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_ordered_qty</b>
+        <i class="text-muted">(self, po_item_rows=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p>update requested qty (before ordered_qty is updated)</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_requested_qty" href="#update_requested_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_requested_qty</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_status" href="#update_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_status</b>
+        <i class="text-muted">(self, status)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_status_updater" href="#update_status_updater" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_status_updater</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_minimum_order_qty" href="#validate_minimum_order_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_minimum_order_qty</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_with_previous_doc" href="#validate_with_previous_doc" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_with_previous_doc</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_invoice</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_invoice" href="#erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_invoice" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.buying.doctype.purchase_order.purchase_order.<b>make_purchase_invoice</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_receipt</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_receipt" href="#erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_receipt" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.buying.doctype.purchase_order.purchase_order.<b>make_purchase_receipt</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.buying.doctype.purchase_order.purchase_order.make_stock_entry</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.buying.doctype.purchase_order.purchase_order.make_stock_entry" href="#erpnext.buying.doctype.purchase_order.purchase_order.make_stock_entry" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.buying.doctype.purchase_order.purchase_order.<b>make_stock_entry</b>
+        <i class="text-muted">(purchase_order, item_code)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.buying.doctype.purchase_order.purchase_order.set_missing_values" href="#erpnext.buying.doctype.purchase_order.purchase_order.set_missing_values" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.buying.doctype.purchase_order.purchase_order.<b>set_missing_values</b>
+        <i class="text-muted">(source, target)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.buying.doctype.purchase_order.purchase_order.stop_or_unstop_purchase_orders</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.buying.doctype.purchase_order.purchase_order.stop_or_unstop_purchase_orders" href="#erpnext.buying.doctype.purchase_order.purchase_order.stop_or_unstop_purchase_orders" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.buying.doctype.purchase_order.purchase_order.<b>stop_or_unstop_purchase_orders</b>
+        <i class="text-muted">(names, status)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.buying.doctype.purchase_order.purchase_order.update_status</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.buying.doctype.purchase_order.purchase_order.update_status" href="#erpnext.buying.doctype.purchase_order.purchase_order.update_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.buying.doctype.purchase_order.purchase_order.<b>update_status</b>
+        <i class="text-muted">(status, name)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry">Stock Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt_item">Purchase Receipt Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order">Purchase Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice_item">Purchase Invoice Item</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/buying/purchase_order_item.html b/erpnext/docs/current/models/buying/purchase_order_item.html
new file mode 100644
index 0000000..0826527
--- /dev/null
+++ b/erpnext/docs/current/models/buying/purchase_order_item.html
@@ -0,0 +1,823 @@
+<!-- title: Purchase Order Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/buying/doctype/purchase_order_item"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabPurchase Order Item</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>supplier_part_no</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Supplier Part Number
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>column_break_4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>schedule_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Reqd By Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>6</td>
+            <td ><code>section_break_5</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>image</code></td>
+            <td >
+                Attach</td>
+            <td class="text-muted" title="Hidden">
+                Image
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>image_view</code></td>
+            <td >
+                Image</td>
+            <td >
+                Image View
+                
+            </td>
+            <td>
+                <pre>image</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>11</td>
+            <td ><code>quantity_and_rate</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Quantity and Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td class="danger" title="Mandatory"><code>qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Quantity
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td class="danger" title="Mandatory"><code>stock_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                Stock UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>col_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td class="danger" title="Mandatory"><code>uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td class="danger" title="Mandatory"><code>conversion_factor</code></td>
+            <td >
+                Float</td>
+            <td >
+                UOM Conversion Factor
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>17</td>
+            <td ><code>sec_break1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>price_list_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Price List Rate
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>discount_percentage</code></td>
+            <td >
+                Percent</td>
+            <td >
+                Discount on Price List Rate (%)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>col_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>base_price_list_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Price List Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>22</td>
+            <td ><code>sec_break2</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rate 
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>col_break4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td class="danger" title="Mandatory"><code>base_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td class="danger" title="Mandatory"><code>base_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>pricing_rule</code></td>
+            <td >
+                Link</td>
+            <td >
+                Pricing Rule
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pricing_rule">Pricing Rule</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>29</td>
+            <td ><code>section_break_29</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>net_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Rate
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>net_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>column_break_32</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>base_net_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>base_net_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>35</td>
+            <td ><code>warehouse_and_reference</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Warehouse and Reference
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td ><code>warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>37</td>
+            <td ><code>project_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Project Name
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/project">Project</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>38</td>
+            <td ><code>prevdoc_doctype</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Reference Document Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/doctype">DocType</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td ><code>prevdoc_docname</code></td>
+            <td >
+                Dynamic Link</td>
+            <td >
+                Reference Name
+                
+            </td>
+            <td>
+                <pre>prevdoc_doctype</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>40</td>
+            <td ><code>prevdoc_detail_docname</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Material Request Detail No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>41</td>
+            <td ><code>supplier_quotation</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier Quotation
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation">Supplier Quotation</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>42</td>
+            <td ><code>supplier_quotation_item</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Supplier Quotation Item
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation_item">Supplier Quotation Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>43</td>
+            <td ><code>col_break5</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>44</td>
+            <td ><code>item_group</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Item Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/item_group">Item Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>45</td>
+            <td ><code>brand</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Brand
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/brand">Brand</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>46</td>
+            <td ><code>bom</code></td>
+            <td >
+                Link</td>
+            <td >
+                BOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom">BOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>47</td>
+            <td ><code>stock_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Qty as per Stock UOM
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>48</td>
+            <td ><code>received_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Received Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>49</td>
+            <td ><code>returned_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Returned Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>50</td>
+            <td ><code>billed_amt</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Billed Amt
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>51</td>
+            <td ><code>item_tax_rate</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Item Tax Rate
+                <p class="text-muted small">
+                    Tax detail table fetched from item master as a string and stored in this field.
+Used for Taxes and Charges</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>52</td>
+            <td ><code>page_break</code></td>
+            <td >
+                Check</td>
+            <td >
+                Page Break
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order">Purchase Order</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/buying/purchase_order_item_supplied.html b/erpnext/docs/current/models/buying/purchase_order_item_supplied.html
new file mode 100644
index 0000000..7e4fd01
--- /dev/null
+++ b/erpnext/docs/current/models/buying/purchase_order_item_supplied.html
@@ -0,0 +1,184 @@
+<!-- title: Purchase Order Item Supplied -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/buying/doctype/purchase_order_item_supplied"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabPurchase Order Item Supplied</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>main_item_code</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>rm_item_code</code></td>
+            <td >
+                Data</td>
+            <td >
+                Raw Material Item Code
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>required_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Supplied Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rate
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>bom_detail_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                BOM Detail No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>reference_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Reference Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>conversion_factor</code></td>
+            <td >
+                Float</td>
+            <td class="text-muted" title="Hidden">
+                Conversion Factor
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>stock_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                Stock Uom
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order">Purchase Order</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/buying/purchase_receipt_item_supplied.html b/erpnext/docs/current/models/buying/purchase_receipt_item_supplied.html
new file mode 100644
index 0000000..6ce77ae
--- /dev/null
+++ b/erpnext/docs/current/models/buying/purchase_receipt_item_supplied.html
@@ -0,0 +1,265 @@
+<!-- title: Purchase Receipt Item Supplied -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/buying/doctype/purchase_receipt_item_supplied"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabPurchase Receipt Item Supplied</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>main_item_code</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>rm_item_code</code></td>
+            <td >
+                Data</td>
+            <td >
+                Raw Material Item Code
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>batch_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                Batch No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/batch">Batch</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>serial_no</code></td>
+            <td >
+                Text</td>
+            <td >
+                Serial No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>required_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Required Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td class="danger" title="Mandatory"><code>consumed_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Consumed Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>stock_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                Stock Uom
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rate
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>conversion_factor</code></td>
+            <td >
+                Float</td>
+            <td class="text-muted" title="Hidden">
+                Conversion Factor
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>current_stock</code></td>
+            <td >
+                Float</td>
+            <td class="text-muted" title="Hidden">
+                Current Stock
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>reference_name</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Reference Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>bom_detail_no</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                BOM Detail No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt">Purchase Receipt</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/buying/quality_inspection.html b/erpnext/docs/current/models/buying/quality_inspection.html
new file mode 100644
index 0000000..e1c1d75
--- /dev/null
+++ b/erpnext/docs/current/models/buying/quality_inspection.html
@@ -0,0 +1,511 @@
+<!-- title: Quality Inspection -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/buying/doctype/quality_inspection"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabQuality Inspection</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>QI-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>report_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Report Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>column_break_4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>inspection_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Inspection Type
+                
+            </td>
+            <td>
+                <pre>
+Incoming
+Outgoing
+In Process</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>purchase_receipt_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                Purchase Receipt No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt">Purchase Receipt</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>delivery_note_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                Delivery Note No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>7</td>
+            <td ><code>section_break_7</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td class="danger" title="Mandatory"><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>item_serial_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Serial No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/serial_no">Serial No</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>batch_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                Batch No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/batch">Batch</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td class="danger" title="Mandatory"><code>sample_size</code></td>
+            <td >
+                Float</td>
+            <td >
+                Sample Size
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>description</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>15</td>
+            <td ><code>section_break_14</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td class="danger" title="Mandatory"><code>inspected_by</code></td>
+            <td >
+                Link</td>
+            <td >
+                Inspected By
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/user">User</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>verified_by</code></td>
+            <td >
+                Data</td>
+            <td >
+                Verified By
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>column_break_17</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>remarks</code></td>
+            <td >
+                Text</td>
+            <td >
+                Remarks
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/quality_inspection">Quality Inspection</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>21</td>
+            <td ><code>specification_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>Simple</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>get_specification_details</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Specification Details
+                
+            </td>
+            <td>
+                <pre>get_item_specification_details</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>readings</code></td>
+            <td >
+                Table</td>
+            <td >
+                Readings
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/quality_inspection_reading">Quality Inspection Reading</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.buying.doctype.quality_inspection.quality_inspection</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>QualityInspection</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_item_specification_details" href="#get_item_specification_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_item_specification_details</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.buying.doctype.quality_inspection.quality_inspection.item_query" href="#erpnext.buying.doctype.quality_inspection.quality_inspection.item_query" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.buying.doctype.quality_inspection.quality_inspection.<b>item_query</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt_item">Purchase Receipt Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/quality_inspection">Quality Inspection</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/buying/quality_inspection_reading.html b/erpnext/docs/current/models/buying/quality_inspection_reading.html
new file mode 100644
index 0000000..19888b9
--- /dev/null
+++ b/erpnext/docs/current/models/buying/quality_inspection_reading.html
@@ -0,0 +1,222 @@
+<!-- title: Quality Inspection Reading -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/buying/doctype/quality_inspection_reading"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabQuality Inspection Reading</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>specification</code></td>
+            <td >
+                Data</td>
+            <td >
+                Parameter
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>value</code></td>
+            <td >
+                Data</td>
+            <td >
+                Acceptance Criteria
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>reading_1</code></td>
+            <td >
+                Data</td>
+            <td >
+                Reading 1
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>reading_2</code></td>
+            <td >
+                Data</td>
+            <td >
+                Reading 2
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>reading_3</code></td>
+            <td >
+                Data</td>
+            <td >
+                Reading 3
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>reading_4</code></td>
+            <td >
+                Data</td>
+            <td >
+                Reading 4
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>reading_5</code></td>
+            <td >
+                Data</td>
+            <td >
+                Reading 5
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>reading_6</code></td>
+            <td >
+                Data</td>
+            <td >
+                Reading 6
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>reading_7</code></td>
+            <td >
+                Data</td>
+            <td >
+                Reading 7
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>reading_8</code></td>
+            <td >
+                Data</td>
+            <td >
+                Reading 8
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>reading_9</code></td>
+            <td >
+                Data</td>
+            <td >
+                Reading 9
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>reading_10</code></td>
+            <td >
+                Data</td>
+            <td >
+                Reading 10
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>Accepted
+Rejected</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/quality_inspection">Quality Inspection</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/buying/supplier.html b/erpnext/docs/current/models/buying/supplier.html
new file mode 100644
index 0000000..36cd297
--- /dev/null
+++ b/erpnext/docs/current/models/buying/supplier.html
@@ -0,0 +1,711 @@
+<!-- title: Supplier -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/buying/doctype/supplier"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabSupplier</code></p>
+
+
+Supplier of Goods or Services.
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>basic_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-user</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>SUPP-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>supplier_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Supplier Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>supplier_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/supplier_type">Supplier Type</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>is_frozen</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is Frozen
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>7</td>
+            <td ><code>section_break_7</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>default_currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Billing Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>default_price_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Price List
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/price_list">Price List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>column_break_10</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>default_taxes_and_charges</code></td>
+            <td >
+                Link</td>
+            <td >
+                Taxes and Charges
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_taxes_and_charges_template">Purchase Taxes and Charges Template</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>credit_days</code></td>
+            <td >
+                Int</td>
+            <td >
+                Credit Days
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>13</td>
+            <td ><code>address_contacts</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Address and Contacts
+                
+            </td>
+            <td>
+                <pre>icon-map-marker</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>address_html</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Address HTML
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>contact_html</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Contact HTML
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>17</td>
+            <td ><code>default_payable_accounts</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Default Payable Accounts
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>accounts</code></td>
+            <td >
+                Table</td>
+            <td >
+                Accounts
+                <p class="text-muted small">
+                    Mention if non-standard receivable account</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/party_account">Party Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>19</td>
+            <td ><code>column_break2</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Supplier Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>website</code></td>
+            <td >
+                Data</td>
+            <td >
+                Website
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>supplier_details</code></td>
+            <td >
+                Text</td>
+            <td >
+                Supplier Details
+                <p class="text-muted small">
+                    Statutory info and other general information about your Supplier</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>communications</code></td>
+            <td >
+                Table</td>
+            <td class="text-muted" title="Hidden">
+                Communications
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/communication">Communication</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.buying.doctype.supplier.supplier</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Supplier</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.utilities.transaction_base.TransactionBase</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="after_rename" href="#after_rename" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>after_rename</b>
+        <i class="text-muted">(self, olddn, newdn, merge=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="autoname" href="#autoname" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>autoname</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="delete_supplier_address" href="#delete_supplier_address" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>delete_supplier_address</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="delete_supplier_contact" href="#delete_supplier_contact" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>delete_supplier_contact</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_contacts" href="#get_contacts" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_contacts</b>
+        <i class="text-muted">(self, nm)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_feed" href="#get_feed" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_feed</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_trash" href="#on_trash" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_trash</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="onload" href="#onload" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>onload</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Load address and contacts in <code>__onload</code></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_address" href="#update_address" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_address</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_contact" href="#update_contact" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_contact</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_supplier_address" href="#update_supplier_address" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_supplier_address</b>
+        <i class="text-muted">(self, newdn, set_field)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.buying.doctype.supplier.supplier.get_dashboard_info</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.buying.doctype.supplier.supplier.get_dashboard_info" href="#erpnext.buying.doctype.supplier.supplier.get_dashboard_info" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.buying.doctype.supplier.supplier.<b>get_dashboard_info</b>
+        <i class="text-muted">(supplier)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/contact">Contact</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry">Stock Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/serial_no">Serial No</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt">Purchase Receipt</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/landed_cost_purchase_receipt">Landed Cost Purchase Receipt</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item_supplier">Item Supplier</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sms_center">SMS Center</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order_item">Sales Order Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation">Supplier Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order">Purchase Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/tax_rule">Tax Rule</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice">Purchase Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pricing_rule">Pricing Rule</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/buying/supplier_quotation.html b/erpnext/docs/current/models/buying/supplier_quotation.html
new file mode 100644
index 0000000..a9b2676
--- /dev/null
+++ b/erpnext/docs/current/models/buying/supplier_quotation.html
@@ -0,0 +1,1197 @@
+<!-- title: Supplier Quotation -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/buying/doctype/supplier_quotation"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabSupplier Quotation</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>supplier_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-user</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>title</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>SQTN-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>supplier</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier">Supplier</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>supplier_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>address_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>contact_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Contact
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>contact_mobile</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Mobile No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>contact_email</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Contact Email
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td class="danger" title="Mandatory"><code>transaction_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation">Supplier Quotation</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>14</td>
+            <td ><code>currency_and_price_list</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Currency and Price List
+                
+            </td>
+            <td>
+                <pre>icon-tag</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td class="danger" title="Mandatory"><code>currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td class="danger" title="Mandatory"><code>conversion_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Exchange Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>cb_price_list</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>buying_price_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Price List
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/price_list">Price List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>price_list_currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Price List Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>plc_conversion_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Price List Exchange Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>ignore_pricing_rule</code></td>
+            <td >
+                Check</td>
+            <td >
+                Ignore Pricing Rule
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>22</td>
+            <td ><code>items_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-shopping-cart</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation_item">Supplier Quotation Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>24</td>
+            <td ><code>section_break_22</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>base_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>base_net_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>column_break_24</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>net_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>30</td>
+            <td ><code>taxes_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Taxes and Charges
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>taxes_and_charges</code></td>
+            <td >
+                Link</td>
+            <td >
+                Taxes and Charges
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_taxes_and_charges_template">Purchase Taxes and Charges Template</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>taxes</code></td>
+            <td >
+                Table</td>
+            <td >
+                Purchase Taxes and Charges
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_taxes_and_charges">Purchase Taxes and Charges</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>other_charges_calculation</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Taxes and Charges Calculation
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>34</td>
+            <td ><code>totals</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>base_taxes_and_charges_added</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Taxes and Charges Added (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td ><code>base_taxes_and_charges_deducted</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Taxes and Charges Deducted (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>37</td>
+            <td ><code>base_total_taxes_and_charges</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Taxes and Charges (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>38</td>
+            <td ><code>column_break_37</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td ><code>taxes_and_charges_added</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Taxes and Charges Added
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>40</td>
+            <td ><code>taxes_and_charges_deducted</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Taxes and Charges Deducted
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>41</td>
+            <td ><code>total_taxes_and_charges</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Taxes and Charges
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>42</td>
+            <td ><code>section_break_41</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Additional Discount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>43</td>
+            <td ><code>apply_discount_on</code></td>
+            <td >
+                Select</td>
+            <td >
+                Apply Additional Discount On
+                
+            </td>
+            <td>
+                <pre>
+Grand Total
+Net Total</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>44</td>
+            <td ><code>column_break_43</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>45</td>
+            <td ><code>discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Additional Discount Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>46</td>
+            <td ><code>base_discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Additional Discount Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>47</td>
+            <td ><code>section_break_46</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>48</td>
+            <td ><code>base_grand_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Grand Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>49</td>
+            <td ><code>base_in_words</code></td>
+            <td >
+                Data</td>
+            <td >
+                In Words (Company Currency)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>50</td>
+            <td ><code>base_rounded_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rounded Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>51</td>
+            <td ><code>column_break4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>52</td>
+            <td ><code>grand_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Grand Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>53</td>
+            <td ><code>in_words</code></td>
+            <td >
+                Data</td>
+            <td >
+                In Words
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>54</td>
+            <td ><code>terms_section_break</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Terms and Conditions
+                
+            </td>
+            <td>
+                <pre>icon-legal</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>55</td>
+            <td ><code>tc_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Terms
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/terms_and_conditions">Terms and Conditions</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>56</td>
+            <td ><code>terms</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Terms and Conditions
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>57</td>
+            <td ><code>contact_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Contact Details
+                
+            </td>
+            <td>
+                <pre>icon-bullhorn</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>58</td>
+            <td ><code>supplier_address</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier Address
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>59</td>
+            <td ><code>contact_person</code></td>
+            <td >
+                Link</td>
+            <td >
+                Contact Person
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/contact">Contact</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>60</td>
+            <td ><code>printing_settings</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Printing Settings
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>61</td>
+            <td ><code>select_print_heading</code></td>
+            <td >
+                Link</td>
+            <td >
+                Print Heading
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/print_heading">Print Heading</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>62</td>
+            <td ><code>letter_head</code></td>
+            <td >
+                Link</td>
+            <td >
+                Letter Head
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/print/letter_head">Letter Head</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>63</td>
+            <td ><code>more_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                More Information
+                
+            </td>
+            <td>
+                <pre>icon-file-text</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>64</td>
+            <td class="danger" title="Mandatory"><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>
+Draft
+Submitted
+Stopped
+Cancelled</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>65</td>
+            <td ><code>is_subcontracted</code></td>
+            <td >
+                Select</td>
+            <td >
+                Is Subcontracted
+                
+            </td>
+            <td>
+                <pre>
+Yes
+No</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>66</td>
+            <td ><code>column_break_57</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>67</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.buying.doctype.supplier_quotation.supplier_quotation</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SupplierQuotation</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.buying_controller.BuyingController</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_trash" href="#on_trash" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_trash</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_common" href="#validate_common" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_common</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_with_previous_doc" href="#validate_with_previous_doc" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_with_previous_doc</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.buying.doctype.supplier_quotation.supplier_quotation.make_purchase_order</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.buying.doctype.supplier_quotation.supplier_quotation.make_purchase_order" href="#erpnext.buying.doctype.supplier_quotation.supplier_quotation.make_purchase_order" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.buying.doctype.supplier_quotation.supplier_quotation.<b>make_purchase_order</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation">Supplier Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order_item">Purchase Order Item</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/buying/supplier_quotation_item.html b/erpnext/docs/current/models/buying/supplier_quotation_item.html
new file mode 100644
index 0000000..c29c333
--- /dev/null
+++ b/erpnext/docs/current/models/buying/supplier_quotation_item.html
@@ -0,0 +1,637 @@
+<!-- title: Supplier Quotation Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/buying/doctype/supplier_quotation_item"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabSupplier Quotation Item</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>supplier_part_no</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Supplier Part Number
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>column_break_3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>5</td>
+            <td ><code>section_break_5</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td class="danger" title="Mandatory"><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>image</code></td>
+            <td >
+                Attach</td>
+            <td class="text-muted" title="Hidden">
+                Image
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>image_view</code></td>
+            <td >
+                Image</td>
+            <td >
+                Image View
+                
+            </td>
+            <td>
+                <pre>image</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>10</td>
+            <td ><code>quantity_and_rate</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Quantity and Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td class="danger" title="Mandatory"><code>qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Quantity
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>price_list_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Price List Rate
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>discount_percentage</code></td>
+            <td >
+                Percent</td>
+            <td >
+                Discount on Price List Rate (%)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>col_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td class="danger" title="Mandatory"><code>uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>base_price_list_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Price List Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>17</td>
+            <td ><code>sec_break1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rate 
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>col_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td class="danger" title="Mandatory"><code>base_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td class="danger" title="Mandatory"><code>base_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>pricing_rule</code></td>
+            <td >
+                Link</td>
+            <td >
+                Pricing Rule
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pricing_rule">Pricing Rule</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>24</td>
+            <td ><code>section_break_24</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>net_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>net_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>column_break_27</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>base_net_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>base_net_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>30</td>
+            <td ><code>warehouse_and_reference</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Warehouse and Reference
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>project_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Project Name
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/project">Project</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>prevdoc_doctype</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Prevdoc DocType
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>prevdoc_docname</code></td>
+            <td >
+                Link</td>
+            <td >
+                Material Request No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/material_request">Material Request</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>col_break4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td ><code>prevdoc_detail_docname</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Material Request Detail No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>37</td>
+            <td ><code>brand</code></td>
+            <td >
+                Link</td>
+            <td >
+                Brand
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/brand">Brand</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>38</td>
+            <td ><code>item_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/item_group">Item Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td ><code>item_tax_rate</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Item Tax Rate
+                <p class="text-muted small">
+                    Tax detail table fetched from item master as a string and stored in this field.
+Used for Taxes and Charges</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>40</td>
+            <td ><code>page_break</code></td>
+            <td >
+                Check</td>
+            <td >
+                Page Break
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation">Supplier Quotation</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/contacts/index.html b/erpnext/docs/current/models/contacts/index.html
new file mode 100644
index 0000000..6cb1714
--- /dev/null
+++ b/erpnext/docs/current/models/contacts/index.html
@@ -0,0 +1,19 @@
+<!-- title: Module contacts -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/contacts"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>DocTypes for contacts</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/contacts/index.txt b/erpnext/docs/current/models/contacts/index.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/erpnext/docs/current/models/contacts/index.txt
diff --git a/erpnext/docs/current/models/crm/index.html b/erpnext/docs/current/models/crm/index.html
new file mode 100644
index 0000000..fa2c424
--- /dev/null
+++ b/erpnext/docs/current/models/crm/index.html
@@ -0,0 +1,19 @@
+<!-- title: Module crm -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/crm"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>DocTypes for crm</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/crm/index.txt b/erpnext/docs/current/models/crm/index.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/erpnext/docs/current/models/crm/index.txt
diff --git a/erpnext/docs/current/models/crm/lead.html b/erpnext/docs/current/models/crm/lead.html
new file mode 100644
index 0000000..5f128a9
--- /dev/null
+++ b/erpnext/docs/current/models/crm/lead.html
@@ -0,0 +1,855 @@
+<!-- title: Lead -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/crm/doctype/lead"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabLead</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>lead_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-user</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>LEAD-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>lead_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Person Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>company_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Organization Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>email_id</code></td>
+            <td >
+                Data</td>
+            <td >
+                Email Id
+                
+            </td>
+            <td>
+                <pre>Email</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>col_break123</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>Lead
+Open
+Replied
+Opportunity
+Interested
+Converted
+Do Not Contact</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>source</code></td>
+            <td >
+                Select</td>
+            <td >
+                Source
+                
+            </td>
+            <td>
+                <pre>
+Advertisement
+Blog Post
+Campaign
+Call
+Customer
+Exhibition
+Supplier
+Website
+Email</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                From Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>campaign_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Campaign Name
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/campaign">Campaign</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>11</td>
+            <td ><code>section_break_12</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>lead_owner</code></td>
+            <td >
+                Link</td>
+            <td >
+                Lead Owner
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/user">User</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>column_break_14</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>contact_by</code></td>
+            <td >
+                Link</td>
+            <td >
+                Next Contact By
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/user">User</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>contact_date</code></td>
+            <td >
+                Datetime</td>
+            <td >
+                Next Contact Date
+                <p class="text-muted small">
+                    Add to calendar on this date</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>16</td>
+            <td ><code>contact_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Address & Contact
+                
+            </td>
+            <td>
+                <pre>icon-map-marker</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>address_desc</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Address Desc
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>address_html</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Address HTML
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>column_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>phone</code></td>
+            <td >
+                Data</td>
+            <td >
+                Phone
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>mobile_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                Mobile No.
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>fax</code></td>
+            <td >
+                Data</td>
+            <td >
+                Fax
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>website</code></td>
+            <td >
+                Data</td>
+            <td >
+                Website
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>territory</code></td>
+            <td >
+                Link</td>
+            <td >
+                Territory
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>25</td>
+            <td ><code>more_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                More Information
+                
+            </td>
+            <td>
+                <pre>icon-file-text</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Lead Type
+                
+            </td>
+            <td>
+                <pre>
+Client
+Channel Partner
+Consultant</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>market_segment</code></td>
+            <td >
+                Select</td>
+            <td >
+                Market Segment
+                
+            </td>
+            <td>
+                <pre>
+Lower Income
+Middle Income
+Upper Income</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>industry</code></td>
+            <td >
+                Link</td>
+            <td >
+                Industry
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/industry_type">Industry Type</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>request_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Request Type
+                
+            </td>
+            <td>
+                <pre>
+Product Enquiry
+Request for Information
+Suggestions
+Other</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>column_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>unsubscribed</code></td>
+            <td >
+                Check</td>
+            <td >
+                Unsubscribed
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>blog_subscriber</code></td>
+            <td >
+                Check</td>
+            <td >
+                Blog Subscriber
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.crm.doctype.lead.lead</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Lead</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.selling_controller.SellingController</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="add_calendar_event" href="#add_calendar_event" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>add_calendar_event</b>
+        <i class="text-muted">(self, opts=None, force=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_email_id_is_unique" href="#check_email_id_is_unique" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_email_id_is_unique</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_feed" href="#get_feed" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_feed</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="has_customer" href="#has_customer" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>has_customer</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="has_opportunity" href="#has_opportunity" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>has_opportunity</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_trash" href="#on_trash" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_trash</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="onload" href="#onload" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>onload</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.crm.doctype.lead.lead._make_customer" href="#erpnext.crm.doctype.lead.lead._make_customer" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.crm.doctype.lead.lead.<b>_make_customer</b>
+        <i class="text-muted">(source_name, target_doc=None, ignore_permissions=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.crm.doctype.lead.lead.get_lead_details</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.crm.doctype.lead.lead.get_lead_details" href="#erpnext.crm.doctype.lead.lead.get_lead_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.crm.doctype.lead.lead.<b>get_lead_details</b>
+        <i class="text-muted">(lead)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.crm.doctype.lead.lead.make_customer</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.crm.doctype.lead.lead.make_customer" href="#erpnext.crm.doctype.lead.lead.make_customer" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.crm.doctype.lead.lead.<b>make_customer</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.crm.doctype.lead.lead.make_opportunity</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.crm.doctype.lead.lead.make_opportunity" href="#erpnext.crm.doctype.lead.lead.make_opportunity" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.crm.doctype.lead.lead.<b>make_opportunity</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.crm.doctype.lead.lead.make_quotation</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.crm.doctype.lead.lead.make_quotation" href="#erpnext.crm.doctype.lead.lead.make_quotation" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.crm.doctype.lead.lead.<b>make_quotation</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/issue">Issue</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation">Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/opportunity">Opportunity</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/crm/newsletter.html b/erpnext/docs/current/models/crm/newsletter.html
new file mode 100644
index 0000000..4797092
--- /dev/null
+++ b/erpnext/docs/current/models/crm/newsletter.html
@@ -0,0 +1,383 @@
+<!-- title: Newsletter -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/crm/doctype/newsletter"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabNewsletter</code></p>
+
+
+Create and Send Newsletters
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>newsletter_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Newsletter List
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/newsletter_list">Newsletter List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>subject</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Subject
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>send_from</code></td>
+            <td >
+                Data</td>
+            <td >
+                Sender
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>email_sent</code></td>
+            <td >
+                Check</td>
+            <td >
+                Email Sent?
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>5</td>
+            <td ><code>newsletter_content</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td class="danger" title="Mandatory"><code>message</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Message
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>7</td>
+            <td ><code>test_the_newsletter</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>test_email_id</code></td>
+            <td >
+                Data</td>
+            <td >
+                Test Email Id
+                <p class="text-muted small">
+                    A Lead with this email id should exist</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>test_send</code></td>
+            <td >
+                Button</td>
+            <td >
+                Test
+                
+            </td>
+            <td>
+                <pre>test_send</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.crm.doctype.newsletter.newsletter</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Newsletter</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_recipients" href="#get_recipients" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_recipients</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Get recipients from Newsletter List</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="onload" href="#onload" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>onload</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="send_bulk" href="#send_bulk" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>send_bulk</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="send_emails" href="#send_emails" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>send_emails</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>send emails to leads and customers</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="test_send" href="#test_send" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>test_send</b>
+        <i class="text-muted">(self, doctype=Lead)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_send" href="#validate_send" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_send</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.crm.doctype.newsletter.newsletter.confirm_subscription</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.crm.doctype.newsletter.newsletter.confirm_subscription" href="#erpnext.crm.doctype.newsletter.newsletter.confirm_subscription" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.crm.doctype.newsletter.newsletter.<b>confirm_subscription</b>
+        <i class="text-muted">(email)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.crm.doctype.newsletter.newsletter.create_lead" href="#erpnext.crm.doctype.newsletter.newsletter.create_lead" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.crm.doctype.newsletter.newsletter.<b>create_lead</b>
+        <i class="text-muted">(email_id)</i>
+    </p>
+	<div class="docs-attr-desc"><p>create a lead if it does not exist</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.crm.doctype.newsletter.newsletter.get_lead_options</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.crm.doctype.newsletter.newsletter.get_lead_options" href="#erpnext.crm.doctype.newsletter.newsletter.get_lead_options" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.crm.doctype.newsletter.newsletter.<b>get_lead_options</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.crm.doctype.newsletter.newsletter.return_unsubscribed_page" href="#erpnext.crm.doctype.newsletter.newsletter.return_unsubscribed_page" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.crm.doctype.newsletter.newsletter.<b>return_unsubscribed_page</b>
+        <i class="text-muted">(email)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.crm.doctype.newsletter.newsletter.subscribe</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.crm.doctype.newsletter.newsletter.subscribe" href="#erpnext.crm.doctype.newsletter.newsletter.subscribe" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.crm.doctype.newsletter.newsletter.<b>subscribe</b>
+        <i class="text-muted">(email)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.crm.doctype.newsletter.newsletter.unsubscribe</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.crm.doctype.newsletter.newsletter.unsubscribe" href="#erpnext.crm.doctype.newsletter.newsletter.unsubscribe" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.crm.doctype.newsletter.newsletter.<b>unsubscribe</b>
+        <i class="text-muted">(email, name)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/crm/newsletter_list.html b/erpnext/docs/current/models/crm/newsletter_list.html
new file mode 100644
index 0000000..c755e0f
--- /dev/null
+++ b/erpnext/docs/current/models/crm/newsletter_list.html
@@ -0,0 +1,224 @@
+<!-- title: Newsletter List -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/crm/doctype/newsletter_list"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabNewsletter List</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>title</code></td>
+            <td >
+                Data</td>
+            <td >
+                Title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>total_subscribers</code></td>
+            <td >
+                Int</td>
+            <td >
+                Total Subscribers
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.crm.doctype.newsletter_list.newsletter_list</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>NewsletterList</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_total_subscribers" href="#get_total_subscribers" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_total_subscribers</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="import_from" href="#import_from" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>import_from</b>
+        <i class="text-muted">(self, doctype)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Extract email ids from given doctype and add them to the current list</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_trash" href="#on_trash" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_trash</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="onload" href="#onload" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>onload</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_total_subscribers" href="#update_total_subscribers" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_total_subscribers</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.crm.doctype.newsletter_list.newsletter_list.add_subscribers</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.crm.doctype.newsletter_list.newsletter_list.add_subscribers" href="#erpnext.crm.doctype.newsletter_list.newsletter_list.add_subscribers" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.crm.doctype.newsletter_list.newsletter_list.<b>add_subscribers</b>
+        <i class="text-muted">(name, email_list)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.crm.doctype.newsletter_list.newsletter_list.import_from</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.crm.doctype.newsletter_list.newsletter_list.import_from" href="#erpnext.crm.doctype.newsletter_list.newsletter_list.import_from" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.crm.doctype.newsletter_list.newsletter_list.<b>import_from</b>
+        <i class="text-muted">(name, doctype)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/newsletter_list_subscriber">Newsletter List Subscriber</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/newsletter">Newsletter</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/crm/newsletter_list_subscriber.html b/erpnext/docs/current/models/crm/newsletter_list_subscriber.html
new file mode 100644
index 0000000..d08192b
--- /dev/null
+++ b/erpnext/docs/current/models/crm/newsletter_list_subscriber.html
@@ -0,0 +1,136 @@
+<!-- title: Newsletter List Subscriber -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/crm/doctype/newsletter_list_subscriber"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabNewsletter List Subscriber</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>newsletter_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Newsletter List
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/newsletter_list">Newsletter List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>email</code></td>
+            <td >
+                Data</td>
+            <td >
+                Email
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>unsubscribed</code></td>
+            <td >
+                Check</td>
+            <td >
+                Unsubscribed
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.crm.doctype.newsletter_list_subscriber.newsletter_list_subscriber</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>NewsletterListSubscriber</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.crm.doctype.newsletter_list_subscriber.newsletter_list_subscriber.after_doctype_insert" href="#erpnext.crm.doctype.newsletter_list_subscriber.newsletter_list_subscriber.after_doctype_insert" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.crm.doctype.newsletter_list_subscriber.newsletter_list_subscriber.<b>after_doctype_insert</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/crm/opportunity.html b/erpnext/docs/current/models/crm/opportunity.html
new file mode 100644
index 0000000..9ae33be
--- /dev/null
+++ b/erpnext/docs/current/models/crm/opportunity.html
@@ -0,0 +1,913 @@
+<!-- title: Opportunity -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/crm/doctype/opportunity"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabOpportunity</code></p>
+
+
+Potential Sales Deal
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>from_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-user</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>OPTY-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>enquiry_from</code></td>
+            <td >
+                Select</td>
+            <td >
+                Opportunity From
+                
+            </td>
+            <td>
+                <pre>
+Lead
+Customer</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>lead</code></td>
+            <td >
+                Link</td>
+            <td >
+                Lead
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/lead">Lead</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>customer_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Customer / Lead Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>title</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td class="danger" title="Mandatory"><code>enquiry_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Opportunity Type
+                
+            </td>
+            <td>
+                <pre>Sales
+Maintenance</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td class="danger" title="Mandatory"><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>Open
+Quotation
+Lost
+Replied
+Closed</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>order_lost_reason</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Lost Reason
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>with_items</code></td>
+            <td >
+                Check</td>
+            <td >
+                With Items
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>13</td>
+            <td ><code>items_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-shopping-cart</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/opportunity_item">Opportunity Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>15</td>
+            <td ><code>contact_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Contact Info
+                
+            </td>
+            <td>
+                <pre>icon-bullhorn</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>customer_address</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer / Lead Address
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>address_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>territory</code></td>
+            <td >
+                Link</td>
+            <td >
+                Territory
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>customer_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/customer_group">Customer Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>column_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>contact_person</code></td>
+            <td >
+                Link</td>
+            <td >
+                Contact Person
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/contact">Contact</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>contact_display</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Contact
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>contact_email</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Contact Email
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>contact_mobile</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Contact Mobile No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>25</td>
+            <td ><code>more_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Source
+                
+            </td>
+            <td>
+                <pre>icon-file-text</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>source</code></td>
+            <td >
+                Select</td>
+            <td >
+                Source
+                
+            </td>
+            <td>
+                <pre>
+Existing Customer
+Reference
+Advertisement
+Cold Calling
+Exhibition
+Supplier Reference
+Mass Mailing
+Customer's Vendor
+Campaign
+Walk In</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>campaign</code></td>
+            <td >
+                Link</td>
+            <td >
+                Campaign
+                <p class="text-muted small">
+                    Enter name of campaign if source of enquiry is campaign</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/campaign">Campaign</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td class="danger" title="Mandatory"><code>transaction_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Opportunity Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>32</td>
+            <td ><code>next_contact</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Next Contact
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>contact_by</code></td>
+            <td >
+                Link</td>
+            <td >
+                Next Contact By
+                <p class="text-muted small">
+                    Your sales person who will contact the customer in future</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/user">User</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>contact_date</code></td>
+            <td >
+                Datetime</td>
+            <td >
+                Next Contact Date
+                <p class="text-muted small">
+                    Your sales person will get a reminder on this date to contact the customer</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>column_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td ><code>to_discuss</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                To Discuss
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>37</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/opportunity">Opportunity</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.crm.doctype.opportunity.opportunity</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Opportunity</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.utilities.transaction_base.TransactionBase</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="add_calendar_event" href="#add_calendar_event" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>add_calendar_event</b>
+        <i class="text-muted">(self, opts=None, force=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="after_insert" href="#after_insert" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>after_insert</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="declare_enquiry_lost" href="#declare_enquiry_lost" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>declare_enquiry_lost</b>
+        <i class="text-muted">(self, arg)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_cust_address" href="#get_cust_address" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_cust_address</b>
+        <i class="text-muted">(self, name)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="has_ordered_quotation" href="#has_ordered_quotation" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>has_ordered_quotation</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="has_quotation" href="#has_quotation" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>has_quotation</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="make_new_lead_if_required" href="#make_new_lead_if_required" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_new_lead_if_required</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Set lead against new opportunity</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_trash" href="#on_trash" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_trash</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_cust_name" href="#validate_cust_name" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_cust_name</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_item_details" href="#validate_item_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_item_details</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_lead_cust" href="#validate_lead_cust" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_lead_cust</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.crm.doctype.opportunity.opportunity.get_item_details</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.crm.doctype.opportunity.opportunity.get_item_details" href="#erpnext.crm.doctype.opportunity.opportunity.get_item_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.crm.doctype.opportunity.opportunity.<b>get_item_details</b>
+        <i class="text-muted">(item_code)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.crm.doctype.opportunity.opportunity.make_quotation</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.crm.doctype.opportunity.opportunity.make_quotation" href="#erpnext.crm.doctype.opportunity.opportunity.make_quotation" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.crm.doctype.opportunity.opportunity.<b>make_quotation</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.crm.doctype.opportunity.opportunity.set_multiple_status</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.crm.doctype.opportunity.opportunity.set_multiple_status" href="#erpnext.crm.doctype.opportunity.opportunity.set_multiple_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.crm.doctype.opportunity.opportunity.<b>set_multiple_status</b>
+        <i class="text-muted">(names, status)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/opportunity">Opportunity</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/crm/opportunity_item.html b/erpnext/docs/current/models/crm/opportunity_item.html
new file mode 100644
index 0000000..5c1ad10
--- /dev/null
+++ b/erpnext/docs/current/models/crm/opportunity_item.html
@@ -0,0 +1,259 @@
+<!-- title: Opportunity Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/crm/doctype/opportunity_item"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabOpportunity Item</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>item_group</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Item Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/item_group">Item Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>brand</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Brand
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/brand">Brand</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>6</td>
+            <td ><code>section_break_6</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>column_break_8</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>image</code></td>
+            <td >
+                Attach</td>
+            <td class="text-muted" title="Hidden">
+                Image
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>image_view</code></td>
+            <td >
+                Image</td>
+            <td >
+                Image View
+                
+            </td>
+            <td>
+                <pre>image</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>basic_rate</code></td>
+            <td >
+                Currency</td>
+            <td class="text-muted" title="Hidden">
+                Basic Rate
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/opportunity">Opportunity</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/appraisal.html b/erpnext/docs/current/models/hr/appraisal.html
new file mode 100644
index 0000000..94c11c8
--- /dev/null
+++ b/erpnext/docs/current/models/hr/appraisal.html
@@ -0,0 +1,498 @@
+<!-- title: Appraisal -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/appraisal"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabAppraisal</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>employee_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>kra_template</code></td>
+            <td >
+                Link</td>
+            <td >
+                Appraisal Template
+                <p class="text-muted small">
+                    Select template from which you want to get the Goals</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/appraisal_template">Appraisal Template</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>employee</code></td>
+            <td >
+                Link</td>
+            <td >
+                For Employee
+                <p class="text-muted small">
+                    Select the Employee for whom you are creating the Appraisal.</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>employee_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                For Employee Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td class="danger" title="Mandatory"><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>
+Draft
+Submitted
+Completed
+Cancelled</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>start_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Start Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td class="danger" title="Mandatory"><code>end_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                End Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>9</td>
+            <td ><code>section_break0</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Goals
+                
+            </td>
+            <td>
+                <pre>Simple</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>goals</code></td>
+            <td >
+                Table</td>
+            <td >
+                Goals
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/appraisal_goal">Appraisal Goal</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>calculate_total_score</code></td>
+            <td >
+                Button</td>
+            <td >
+                Calculate Total Score
+                
+            </td>
+            <td>
+                <pre>calculate_total</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>total_score</code></td>
+            <td >
+                Float</td>
+            <td >
+                Total Score (Out of 5)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>13</td>
+            <td ><code>section_break1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>remarks</code></td>
+            <td >
+                Text</td>
+            <td >
+                Remarks
+                <p class="text-muted small">
+                    Any other remarks, noteworthy effort that should go in the records.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>15</td>
+            <td ><code>other_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>column_break_17</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/appraisal">Appraisal</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.appraisal.appraisal</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Appraisal</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_total" href="#calculate_total" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_total</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_employee_name" href="#get_employee_name" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_employee_name</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_dates" href="#validate_dates" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_dates</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_existing_appraisal" href="#validate_existing_appraisal" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_existing_appraisal</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.hr.doctype.appraisal.appraisal.fetch_appraisal_template</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.appraisal.appraisal.fetch_appraisal_template" href="#erpnext.hr.doctype.appraisal.appraisal.fetch_appraisal_template" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.appraisal.appraisal.<b>fetch_appraisal_template</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/appraisal">Appraisal</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/appraisal_goal.html b/erpnext/docs/current/models/hr/appraisal_goal.html
new file mode 100644
index 0000000..9803773
--- /dev/null
+++ b/erpnext/docs/current/models/hr/appraisal_goal.html
@@ -0,0 +1,148 @@
+<!-- title: Appraisal Goal -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/appraisal_goal"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabAppraisal Goal</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>kra</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Goal
+                <p class="text-muted small">
+                    Key Responsibility Area</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>2</td>
+            <td ><code>section_break_2</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>per_weightage</code></td>
+            <td >
+                Float</td>
+            <td >
+                Weightage (%)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>column_break_4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>score</code></td>
+            <td >
+                Float</td>
+            <td >
+                Score (0-5)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>6</td>
+            <td ><code>section_break_6</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>score_earned</code></td>
+            <td >
+                Float</td>
+            <td >
+                Score Earned
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/appraisal">Appraisal</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/appraisal_template.html b/erpnext/docs/current/models/hr/appraisal_template.html
new file mode 100644
index 0000000..5bb6d5b
--- /dev/null
+++ b/erpnext/docs/current/models/hr/appraisal_template.html
@@ -0,0 +1,160 @@
+<!-- title: Appraisal Template -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/appraisal_template"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabAppraisal Template</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>kra_title</code></td>
+            <td >
+                Data</td>
+            <td >
+                Appraisal Template Title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>description</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>goals</code></td>
+            <td >
+                Table</td>
+            <td >
+                Goals
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/appraisal_template_goal">Appraisal Template Goal</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.appraisal_template.appraisal_template</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>AppraisalTemplate</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_total_points" href="#check_total_points" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_total_points</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/appraisal">Appraisal</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/appraisal_template_goal.html b/erpnext/docs/current/models/hr/appraisal_template_goal.html
new file mode 100644
index 0000000..4320132
--- /dev/null
+++ b/erpnext/docs/current/models/hr/appraisal_template_goal.html
@@ -0,0 +1,88 @@
+<!-- title: Appraisal Template Goal -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/appraisal_template_goal"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabAppraisal Template Goal</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>kra</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                KRA
+                <p class="text-muted small">
+                    Key Performance Area</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>per_weightage</code></td>
+            <td >
+                Float</td>
+            <td >
+                Weightage (%)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/appraisal_template">Appraisal Template</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/attendance.html b/erpnext/docs/current/models/hr/attendance.html
new file mode 100644
index 0000000..5e9924b
--- /dev/null
+++ b/erpnext/docs/current/models/hr/attendance.html
@@ -0,0 +1,357 @@
+<!-- title: Attendance -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/attendance"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabAttendance</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>attendance_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>Simple</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>ATT-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>employee</code></td>
+            <td >
+                Link</td>
+            <td >
+                Employee
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>employee_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Employee Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>
+Present
+Absent
+Half Day</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>leave_type</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Leave Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_type">Leave Type</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td class="danger" title="Mandatory"><code>att_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Attendance Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/attendance">Attendance</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.attendance.attendance</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Attendance</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_leave_record" href="#check_leave_record" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_leave_record</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_att_date" href="#validate_att_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_att_date</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_duplicate_record" href="#validate_duplicate_record" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_duplicate_record</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_employee" href="#validate_employee" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_employee</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/attendance">Attendance</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/branch.html b/erpnext/docs/current/models/hr/branch.html
new file mode 100644
index 0000000..ef623ee
--- /dev/null
+++ b/erpnext/docs/current/models/hr/branch.html
@@ -0,0 +1,141 @@
+<!-- title: Branch -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/branch"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabBranch</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>branch</code></td>
+            <td >
+                Data</td>
+            <td >
+                Branch
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.branch.branch</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Branch</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_structure">Salary Structure</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_slip">Salary Slip</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/process_payroll">Process Payroll</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_control_panel">Leave Control Panel</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee_internal_work_history">Employee Internal Work History</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sms_center">SMS Center</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/deduction_type.html b/erpnext/docs/current/models/hr/deduction_type.html
new file mode 100644
index 0000000..f040d37
--- /dev/null
+++ b/erpnext/docs/current/models/hr/deduction_type.html
@@ -0,0 +1,118 @@
+<!-- title: Deduction Type -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/deduction_type"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabDeduction Type</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>deduction_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>description</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.deduction_type.deduction_type</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>DeductionType</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_structure_deduction">Salary Structure Deduction</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_slip_deduction">Salary Slip Deduction</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/department.html b/erpnext/docs/current/models/hr/department.html
new file mode 100644
index 0000000..df02796
--- /dev/null
+++ b/erpnext/docs/current/models/hr/department.html
@@ -0,0 +1,163 @@
+<!-- title: Department -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/department"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabDepartment</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>department_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Department
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>leave_block_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Leave Block List
+                <p class="text-muted small">
+                    Days for which Holidays are blocked for this department.</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_block_list">Leave Block List</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.department.department</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Department</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_structure">Salary Structure</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_slip">Salary Slip</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/process_payroll">Process Payroll</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_control_panel">Leave Control Panel</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee_internal_work_history">Employee Internal Work History</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sms_center">SMS Center</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/designation.html b/erpnext/docs/current/models/hr/designation.html
new file mode 100644
index 0000000..ee160c3
--- /dev/null
+++ b/erpnext/docs/current/models/hr/designation.html
@@ -0,0 +1,148 @@
+<!-- title: Designation -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/designation"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabDesignation</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>designation_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Designation
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.designation.designation</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Designation</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_structure">Salary Structure</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_slip">Salary Slip</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/process_payroll">Process Payroll</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/offer_letter">Offer Letter</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_control_panel">Leave Control Panel</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee_internal_work_history">Employee Internal Work History</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/authorization_rule">Authorization Rule</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/earning_type.html b/erpnext/docs/current/models/hr/earning_type.html
new file mode 100644
index 0000000..43ea4aa
--- /dev/null
+++ b/erpnext/docs/current/models/hr/earning_type.html
@@ -0,0 +1,118 @@
+<!-- title: Earning Type -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/earning_type"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabEarning Type</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>earning_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>description</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.earning_type.earning_type</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>EarningType</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_structure_earning">Salary Structure Earning</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_slip_earning">Salary Slip Earning</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/employee.html b/erpnext/docs/current/models/hr/employee.html
new file mode 100644
index 0000000..6815b27
--- /dev/null
+++ b/erpnext/docs/current/models/hr/employee.html
@@ -0,0 +1,1660 @@
+<!-- title: Employee -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/employee"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabEmployee</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>basic_information</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>employee</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Employee
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>EMP/</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>salutation</code></td>
+            <td >
+                Select</td>
+            <td >
+                Salutation
+                
+            </td>
+            <td>
+                <pre>
+Mr
+Ms</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td class="danger" title="Mandatory"><code>employee_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Full Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>image</code></td>
+            <td >
+                Attach</td>
+            <td >
+                Image
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>image_view</code></td>
+            <td >
+                Image</td>
+            <td >
+                Image View
+                
+            </td>
+            <td>
+                <pre>image</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>user_id</code></td>
+            <td >
+                Link</td>
+            <td >
+                User ID
+                <p class="text-muted small">
+                    System User (login) ID. If set, it will become default for all HR forms.</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/user">User</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>employee_number</code></td>
+            <td >
+                Data</td>
+            <td >
+                Employee Number
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td class="danger" title="Mandatory"><code>date_of_joining</code></td>
+            <td >
+                Date</td>
+            <td >
+                Date of Joining
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td class="danger" title="Mandatory"><code>date_of_birth</code></td>
+            <td >
+                Date</td>
+            <td >
+                Date of Birth
+                <p class="text-muted small">
+                    You can enter any date manually</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td class="danger" title="Mandatory"><code>gender</code></td>
+            <td >
+                Select</td>
+            <td >
+                Gender
+                
+            </td>
+            <td>
+                <pre>
+Male
+Female</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>16</td>
+            <td ><code>employment_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Employment Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>col_break_21</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td class="danger" title="Mandatory"><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>
+Active
+Left</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>employment_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Employment Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employment_type">Employment Type</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>holiday_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Holiday List
+                <p class="text-muted small">
+                    Applicable Holiday List</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/holiday_list">Holiday List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>col_break_22</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>scheduled_confirmation_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Offer Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>final_confirmation_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Confirmation Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>contract_end_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Contract End Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>date_of_retirement</code></td>
+            <td >
+                Date</td>
+            <td >
+                Date Of Retirement
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>26</td>
+            <td ><code>job_profile</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Job Profile
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>column_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>branch</code></td>
+            <td >
+                Link</td>
+            <td >
+                Branch
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/branch">Branch</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>department</code></td>
+            <td >
+                Link</td>
+            <td >
+                Department
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/department">Department</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>designation</code></td>
+            <td >
+                Link</td>
+            <td >
+                Designation
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/designation">Designation</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>company_email</code></td>
+            <td >
+                Data</td>
+            <td >
+                Company Email
+                <p class="text-muted small">
+                    Provide email id registered in company</p>
+            </td>
+            <td>
+                <pre>Email</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>notice_number_of_days</code></td>
+            <td >
+                Int</td>
+            <td >
+                Notice (days)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>salary_information</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                Salary Information
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>salary_mode</code></td>
+            <td >
+                Select</td>
+            <td >
+                Salary Mode
+                
+            </td>
+            <td>
+                <pre>
+Bank
+Cash
+Cheque</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>bank_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Bank Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td ><code>bank_ac_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                Bank A/C No.
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>37</td>
+            <td ><code>organization_profile</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Organization Profile
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>38</td>
+            <td ><code>reports_to</code></td>
+            <td >
+                Link</td>
+            <td >
+                Reports to
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td ><code>leave_approvers</code></td>
+            <td >
+                Table</td>
+            <td >
+                Leave Approvers
+                <p class="text-muted small">
+                    The first Leave Approver in the list will be set as the default Leave Approver</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee_leave_approver">Employee Leave Approver</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>40</td>
+            <td ><code>contact_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Contact Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>41</td>
+            <td ><code>column_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>42</td>
+            <td ><code>cell_number</code></td>
+            <td >
+                Data</td>
+            <td >
+                Cell Number
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>43</td>
+            <td ><code>personal_email</code></td>
+            <td >
+                Data</td>
+            <td >
+                Personal Email
+                
+            </td>
+            <td>
+                <pre>Email</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>44</td>
+            <td ><code>unsubscribed</code></td>
+            <td >
+                Check</td>
+            <td >
+                Unsubscribed
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>45</td>
+            <td ><code>emergency_contact_details</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Emergency Contact Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>46</td>
+            <td ><code>person_to_be_contacted</code></td>
+            <td >
+                Data</td>
+            <td >
+                Emergency Contact
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>47</td>
+            <td ><code>relation</code></td>
+            <td >
+                Data</td>
+            <td >
+                Relation
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>48</td>
+            <td ><code>emergency_phone_number</code></td>
+            <td >
+                Data</td>
+            <td >
+                Emergency Phone
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>49</td>
+            <td ><code>column_break4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>50</td>
+            <td ><code>permanent_accommodation_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Permanent Address Is
+                
+            </td>
+            <td>
+                <pre>
+Rented
+Owned</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>51</td>
+            <td ><code>permanent_address</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Permanent Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>52</td>
+            <td ><code>current_accommodation_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Current Address Is
+                
+            </td>
+            <td>
+                <pre>
+Rented
+Owned</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>53</td>
+            <td ><code>current_address</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Current Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>54</td>
+            <td ><code>sb53</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>55</td>
+            <td ><code>bio</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Bio
+                <p class="text-muted small">
+                    Short biography for website and other publications.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>56</td>
+            <td ><code>personal_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Personal Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>57</td>
+            <td ><code>column_break5</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>58</td>
+            <td ><code>passport_number</code></td>
+            <td >
+                Data</td>
+            <td >
+                Passport Number
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>59</td>
+            <td ><code>date_of_issue</code></td>
+            <td >
+                Date</td>
+            <td >
+                Date of Issue
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>60</td>
+            <td ><code>valid_upto</code></td>
+            <td >
+                Date</td>
+            <td >
+                Valid Upto
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>61</td>
+            <td ><code>place_of_issue</code></td>
+            <td >
+                Data</td>
+            <td >
+                Place of Issue
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>62</td>
+            <td ><code>column_break6</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>63</td>
+            <td ><code>marital_status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Marital Status
+                
+            </td>
+            <td>
+                <pre>
+Single
+Married
+Divorced
+Widowed</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>64</td>
+            <td ><code>blood_group</code></td>
+            <td >
+                Select</td>
+            <td >
+                Blood Group
+                
+            </td>
+            <td>
+                <pre>
+A+
+A-
+B+
+B-
+AB+
+AB-
+O+
+O-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>65</td>
+            <td ><code>family_background</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Family Background
+                <p class="text-muted small">
+                    Here you can maintain family details like name and occupation of parent, spouse and children</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>66</td>
+            <td ><code>health_details</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Health Details
+                <p class="text-muted small">
+                    Here you can maintain height, weight, allergies, medical concerns etc</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>67</td>
+            <td ><code>educational_qualification</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Educational Qualification
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>68</td>
+            <td ><code>education</code></td>
+            <td >
+                Table</td>
+            <td >
+                Education
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee_education">Employee Education</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>69</td>
+            <td ><code>previous_work_experience</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Previous Work Experience
+                
+            </td>
+            <td>
+                <pre>Simple</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>70</td>
+            <td ><code>external_work_history</code></td>
+            <td >
+                Table</td>
+            <td >
+                External Work History
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee_external_work_history">Employee External Work History</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>71</td>
+            <td ><code>history_in_company</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                History In Company
+                
+            </td>
+            <td>
+                <pre>Simple</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>72</td>
+            <td ><code>internal_work_history</code></td>
+            <td >
+                Table</td>
+            <td >
+                Internal Work History
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee_internal_work_history">Employee Internal Work History</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>73</td>
+            <td ><code>exit</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Exit
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>74</td>
+            <td ><code>column_break7</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>75</td>
+            <td ><code>resignation_letter_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Resignation Letter Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>76</td>
+            <td ><code>relieving_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Relieving Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>77</td>
+            <td ><code>reason_for_leaving</code></td>
+            <td >
+                Data</td>
+            <td >
+                Reason for Leaving
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>78</td>
+            <td ><code>leave_encashed</code></td>
+            <td >
+                Select</td>
+            <td >
+                Leave Encashed?
+                
+            </td>
+            <td>
+                <pre>
+Yes
+No</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>79</td>
+            <td ><code>encashment_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Encashment Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>80</td>
+            <td ><code>exit_interview_details</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                Exit Interview Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>81</td>
+            <td ><code>held_on</code></td>
+            <td >
+                Date</td>
+            <td >
+                Held On
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>82</td>
+            <td ><code>reason_for_resignation</code></td>
+            <td >
+                Select</td>
+            <td >
+                Reason for Resignation
+                
+            </td>
+            <td>
+                <pre>
+Better Prospects
+Health Concerns</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>83</td>
+            <td ><code>new_workplace</code></td>
+            <td >
+                Data</td>
+            <td >
+                New Workplace
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>84</td>
+            <td ><code>feedback</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Feedback
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.employee.employee</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Employee</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="autoname" href="#autoname" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>autoname</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_trash" href="#on_trash" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_trash</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="onload" href="#onload" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>onload</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_user" href="#update_user" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_user</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_user_permissions" href="#update_user_permissions" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_user_permissions</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_date" href="#validate_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_date</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_duplicate_user_id" href="#validate_duplicate_user_id" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_duplicate_user_id</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_email" href="#validate_email" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_email</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_employee_leave_approver" href="#validate_employee_leave_approver" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_employee_leave_approver</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_for_enabled_user_id" href="#validate_for_enabled_user_id" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_for_enabled_user_id</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_reports_to" href="#validate_reports_to" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_reports_to</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_status" href="#validate_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_status</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>EmployeeUserDisabledError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.employee.employee.get_employees_who_are_born_today" href="#erpnext.hr.doctype.employee.employee.get_employees_who_are_born_today" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.employee.employee.<b>get_employees_who_are_born_today</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p>Get Employee properties whose birthday is today.</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.hr.doctype.employee.employee.get_retirement_date</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.employee.employee.get_retirement_date" href="#erpnext.hr.doctype.employee.employee.get_retirement_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.employee.employee.<b>get_retirement_date</b>
+        <i class="text-muted">(date_of_birth=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.hr.doctype.employee.employee.make_salary_structure</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.employee.employee.make_salary_structure" href="#erpnext.hr.doctype.employee.employee.make_salary_structure" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.employee.employee.<b>make_salary_structure</b>
+        <i class="text-muted">(source_name, target=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.employee.employee.send_birthday_reminders" href="#erpnext.hr.doctype.employee.employee.send_birthday_reminders" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.employee.employee.<b>send_birthday_reminders</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p>Send Employee birthday reminders if no 'Stop Birthday Reminders' is not set.</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.employee.employee.update_user_permissions" href="#erpnext.hr.doctype.employee.employee.update_user_permissions" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.employee.employee.<b>update_user_permissions</b>
+        <i class="text-muted">(doc, method)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.employee.employee.validate_employee_role" href="#erpnext.hr.doctype.employee.employee.validate_employee_role" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.employee.employee.<b>validate_employee_role</b>
+        <i class="text-muted">(doc, method)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_structure">Salary Structure</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_slip">Salary Slip</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_application">Leave Application</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_allocation">Leave Allocation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/expense_claim">Expense Claim</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/attendance">Attendance</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/appraisal">Appraisal</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sales_person">Sales Person</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/authorization_rule">Authorization Rule</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/time_log">Time Log</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/activity_cost">Activity Cost</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/employee_education.html b/erpnext/docs/current/models/hr/employee_education.html
new file mode 100644
index 0000000..df660a4
--- /dev/null
+++ b/erpnext/docs/current/models/hr/employee_education.html
@@ -0,0 +1,139 @@
+<!-- title: Employee Education -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/employee_education"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabEmployee Education</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>school_univ</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                School/University
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>qualification</code></td>
+            <td >
+                Data</td>
+            <td >
+                Qualification
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>level</code></td>
+            <td >
+                Select</td>
+            <td >
+                Level
+                
+            </td>
+            <td>
+                <pre>Graduate
+Post Graduate
+Under Graduate</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>year_of_passing</code></td>
+            <td >
+                Int</td>
+            <td >
+                Year of Passing
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>class_per</code></td>
+            <td >
+                Data</td>
+            <td >
+                Class / Percentage
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>maj_opt_subj</code></td>
+            <td >
+                Text</td>
+            <td >
+                Major/Optional Subjects
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/employee_external_work_history.html b/erpnext/docs/current/models/hr/employee_external_work_history.html
new file mode 100644
index 0000000..3fddaa7
--- /dev/null
+++ b/erpnext/docs/current/models/hr/employee_external_work_history.html
@@ -0,0 +1,137 @@
+<!-- title: Employee External Work History -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/employee_external_work_history"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabEmployee External Work History</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>company_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Company
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>designation</code></td>
+            <td >
+                Data</td>
+            <td >
+                Designation
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>salary</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Salary
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>address</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>contact</code></td>
+            <td >
+                Data</td>
+            <td >
+                Contact
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>total_experience</code></td>
+            <td >
+                Data</td>
+            <td >
+                Total Experience
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/employee_internal_work_history.html b/erpnext/docs/current/models/hr/employee_internal_work_history.html
new file mode 100644
index 0000000..5f9ed1e
--- /dev/null
+++ b/erpnext/docs/current/models/hr/employee_internal_work_history.html
@@ -0,0 +1,150 @@
+<!-- title: Employee Internal Work History -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/employee_internal_work_history"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabEmployee Internal Work History</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>branch</code></td>
+            <td >
+                Link</td>
+            <td >
+                Branch
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/branch">Branch</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>department</code></td>
+            <td >
+                Link</td>
+            <td >
+                Department
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/department">Department</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>designation</code></td>
+            <td >
+                Link</td>
+            <td >
+                Designation
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/designation">Designation</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>from_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                From Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>to_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                To Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/employee_leave_approver.html b/erpnext/docs/current/models/hr/employee_leave_approver.html
new file mode 100644
index 0000000..422417f
--- /dev/null
+++ b/erpnext/docs/current/models/hr/employee_leave_approver.html
@@ -0,0 +1,84 @@
+<!-- title: Employee Leave Approver -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/employee_leave_approver"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabEmployee Leave Approver</code></p>
+
+
+Users who can approve a specific employee's leave applications
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>leave_approver</code></td>
+            <td >
+                Link</td>
+            <td >
+                Leave Approver
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/user">User</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/employment_type.html b/erpnext/docs/current/models/hr/employment_type.html
new file mode 100644
index 0000000..84cbb5a
--- /dev/null
+++ b/erpnext/docs/current/models/hr/employment_type.html
@@ -0,0 +1,106 @@
+<!-- title: Employment Type -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/employment_type"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabEmployment Type</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>employee_type_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Employment Type
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.employment_type.employment_type</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>EmploymentType</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_control_panel">Leave Control Panel</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/expense_claim.html b/erpnext/docs/current/models/hr/expense_claim.html
new file mode 100644
index 0000000..dbcc6ad
--- /dev/null
+++ b/erpnext/docs/current/models/hr/expense_claim.html
@@ -0,0 +1,597 @@
+<!-- title: Expense Claim -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/expense_claim"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabExpense Claim</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>EXP</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>approval_status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Approval Status
+                
+            </td>
+            <td>
+                <pre>Draft
+Approved
+Rejected</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>exp_approver</code></td>
+            <td >
+                Link</td>
+            <td >
+                Approver
+                <p class="text-muted small">
+                    A user with "Expense Approver" role</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/user">User</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>total_claimed_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Claimed Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>total_sanctioned_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Sanctioned Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>7</td>
+            <td ><code>expense_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td class="danger" title="Mandatory"><code>expenses</code></td>
+            <td >
+                Table</td>
+            <td >
+                Expenses
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/expense_claim_detail">Expense Claim Detail</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>9</td>
+            <td ><code>sb1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>Simple</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td class="danger" title="Mandatory"><code>posting_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Posting Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td class="danger" title="Mandatory"><code>employee</code></td>
+            <td >
+                Link</td>
+            <td >
+                From Employee
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>employee_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Employee Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>cb1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>total_amount_reimbursed</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Amount Reimbursed
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>remark</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Remark
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>project</code></td>
+            <td >
+                Link</td>
+            <td >
+                Project
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/project">Project</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>task</code></td>
+            <td >
+                Link</td>
+            <td >
+                Task
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/task">Task</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>title</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>email_id</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Employees Email Id
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/expense_claim">Expense Claim</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.expense_claim.expense_claim</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ExpenseClaim</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_total_amount" href="#calculate_total_amount" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_total_amount</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_feed" href="#get_feed" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_feed</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_task" href="#update_task" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_task</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_task_and_project" href="#update_task_and_project" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_task_and_project</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_expense_approver" href="#validate_expense_approver" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_expense_approver</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_sanctioned_amount" href="#validate_sanctioned_amount" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_sanctioned_amount</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>InvalidExpenseApproverError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.hr.doctype.expense_claim.expense_claim.get_expense_approver</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.expense_claim.expense_claim.get_expense_approver" href="#erpnext.hr.doctype.expense_claim.expense_claim.get_expense_approver" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.expense_claim.expense_claim.<b>get_expense_approver</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/expense_claim">Expense Claim</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/expense_claim_detail.html b/erpnext/docs/current/models/hr/expense_claim_detail.html
new file mode 100644
index 0000000..ff3920f
--- /dev/null
+++ b/erpnext/docs/current/models/hr/expense_claim_detail.html
@@ -0,0 +1,205 @@
+<!-- title: Expense Claim Detail -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/expense_claim_detail"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabExpense Claim Detail</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>expense_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Expense Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>column_break_2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>expense_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Expense Claim Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/expense_claim_type">Expense Claim Type</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>default_account</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Default Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>5</td>
+            <td ><code>section_break_4</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>7</td>
+            <td ><code>section_break_6</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td class="danger" title="Mandatory"><code>claim_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Claim Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>column_break_8</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>sanctioned_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Sanctioned Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/expense_claim">Expense Claim</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/expense_claim_type.html b/erpnext/docs/current/models/hr/expense_claim_type.html
new file mode 100644
index 0000000..53b2f31
--- /dev/null
+++ b/erpnext/docs/current/models/hr/expense_claim_type.html
@@ -0,0 +1,132 @@
+<!-- title: Expense Claim Type -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/expense_claim_type"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabExpense Claim Type</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>expense_type</code></td>
+            <td >
+                Data</td>
+            <td >
+                Expense Claim Type
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>default_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>description</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.expense_claim_type.expense_claim_type</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ExpenseClaimType</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/expense_claim_detail">Expense Claim Detail</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/holiday.html b/erpnext/docs/current/models/hr/holiday.html
new file mode 100644
index 0000000..e1256b3
--- /dev/null
+++ b/erpnext/docs/current/models/hr/holiday.html
@@ -0,0 +1,87 @@
+<!-- title: Holiday -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/holiday"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabHoliday</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>holiday_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/holiday_list">Holiday List</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/holiday_list.html b/erpnext/docs/current/models/hr/holiday_list.html
new file mode 100644
index 0000000..07ed720
--- /dev/null
+++ b/erpnext/docs/current/models/hr/holiday_list.html
@@ -0,0 +1,348 @@
+<!-- title: Holiday List -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/holiday_list"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabHoliday List</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>holiday_list_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Holiday List Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>is_default</code></td>
+            <td >
+                Check</td>
+            <td >
+                Default
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>weekly_off</code></td>
+            <td >
+                Select</td>
+            <td >
+                Weekly Off
+                
+            </td>
+            <td>
+                <pre>
+Sunday
+Monday
+Tuesday
+Wednesday
+Thursday
+Friday
+Saturday</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>get_weekly_off_dates</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Weekly Off Dates
+                
+            </td>
+            <td>
+                <pre>get_weekly_off_dates</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>holidays</code></td>
+            <td >
+                Table</td>
+            <td >
+                Holidays
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/holiday">Holiday</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>clear_table</code></td>
+            <td >
+                Button</td>
+            <td >
+                Clear Table
+                
+            </td>
+            <td>
+                <pre>clear_table</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.holiday_list.holiday_list</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>HolidayList</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="clear_table" href="#clear_table" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>clear_table</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_weekly_off_date_list" href="#get_weekly_off_date_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_weekly_off_date_list</b>
+        <i class="text-muted">(self, year_start_date, year_end_date)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_weekly_off_dates" href="#get_weekly_off_dates" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_weekly_off_dates</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_default_holiday_list" href="#update_default_holiday_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_default_holiday_list</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_days" href="#validate_days" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_days</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_values" href="#validate_values" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_values</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.hr.doctype.holiday_list.holiday_list.get_events</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.holiday_list.holiday_list.get_events" href="#erpnext.hr.doctype.holiday_list.holiday_list.get_events" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.holiday_list.holiday_list.<b>get_events</b>
+        <i class="text-muted">(start, end, filters=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.holiday_list.holiday_list.get_fy_start_end_dates" href="#erpnext.hr.doctype.holiday_list.holiday_list.get_fy_start_end_dates" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.holiday_list.holiday_list.<b>get_fy_start_end_dates</b>
+        <i class="text-muted">(fiscal_year)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/workstation">Workstation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/hr_settings.html b/erpnext/docs/current/models/hr/hr_settings.html
new file mode 100644
index 0000000..76848ac
--- /dev/null
+++ b/erpnext/docs/current/models/hr/hr_settings.html
@@ -0,0 +1,153 @@
+<!-- title: HR Settings -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/hr_settings"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>employee_settings</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Employee Settings
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>emp_created_by</code></td>
+            <td >
+                Select</td>
+            <td >
+                Employee Records to be created by
+                <p class="text-muted small">
+                    Employee record is created using selected field. </p>
+            </td>
+            <td>
+                <pre>Naming Series
+Employee Number</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>stop_birthday_reminders</code></td>
+            <td >
+                Check</td>
+            <td >
+                Stop Birthday Reminders
+                <p class="text-muted small">
+                    Don't send Employee Birthday Reminders</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>4</td>
+            <td ><code>payroll_settings</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Payroll Settings
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>include_holidays_in_total_working_days</code></td>
+            <td >
+                Check</td>
+            <td >
+                Include holidays in Total no. of Working Days
+                <p class="text-muted small">
+                    If checked, Total no. of Working Days will include holidays, and this will reduce the value of Salary Per Day</p>
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.hr_settings.hr_settings</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>HRSettings</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/index.html b/erpnext/docs/current/models/hr/index.html
new file mode 100644
index 0000000..c7d4242
--- /dev/null
+++ b/erpnext/docs/current/models/hr/index.html
@@ -0,0 +1,19 @@
+<!-- title: Module hr -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>DocTypes for hr</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/index.txt b/erpnext/docs/current/models/hr/index.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/erpnext/docs/current/models/hr/index.txt
diff --git a/erpnext/docs/current/models/hr/job_applicant.html b/erpnext/docs/current/models/hr/job_applicant.html
new file mode 100644
index 0000000..1acbfdf
--- /dev/null
+++ b/erpnext/docs/current/models/hr/job_applicant.html
@@ -0,0 +1,264 @@
+<!-- title: Job Applicant -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/job_applicant"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabJob Applicant</code></p>
+
+
+Applicant for a Job
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>applicant_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Applicant Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>email_id</code></td>
+            <td >
+                Data</td>
+            <td >
+                Email Id
+                
+            </td>
+            <td>
+                <pre>Email</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>Open
+Replied
+Rejected
+Hold</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>column_break_3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>job_opening</code></td>
+            <td >
+                Link</td>
+            <td >
+                Job Opening
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/job_opening">Job Opening</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>6</td>
+            <td ><code>section_break_5</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>thread_html</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Thread HTML
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>communications</code></td>
+            <td >
+                Table</td>
+            <td class="text-muted" title="Hidden">
+                Communications
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/communication">Communication</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.job_applicant.job_applicant</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>JobApplicant</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="autoname" href="#autoname" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>autoname</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_email_id_is_unique" href="#check_email_id_is_unique" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_email_id_is_unique</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="onload" href="#onload" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>onload</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/offer_letter">Offer Letter</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/job_opening.html b/erpnext/docs/current/models/hr/job_opening.html
new file mode 100644
index 0000000..900df46
--- /dev/null
+++ b/erpnext/docs/current/models/hr/job_opening.html
@@ -0,0 +1,127 @@
+<!-- title: Job Opening -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/job_opening"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabJob Opening</code></p>
+
+
+Description of a Job Opening
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>job_title</code></td>
+            <td >
+                Data</td>
+            <td >
+                Job Title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>Open
+Closed</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                <p class="text-muted small">
+                    Job profile, qualifications required etc.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.job_opening.job_opening</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>JobOpening</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/job_applicant">Job Applicant</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/leave_allocation.html b/erpnext/docs/current/models/hr/leave_allocation.html
new file mode 100644
index 0000000..c21ed14
--- /dev/null
+++ b/erpnext/docs/current/models/hr/leave_allocation.html
@@ -0,0 +1,476 @@
+<!-- title: Leave Allocation -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/leave_allocation"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabLeave Allocation</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>employee</code></td>
+            <td >
+                Link</td>
+            <td >
+                Employee
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>employee_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Employee Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>description</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>6</td>
+            <td ><code>section_break_6</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>leave_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Leave Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_type">Leave Type</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td class="danger" title="Mandatory"><code>from_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                From Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td class="danger" title="Mandatory"><code>to_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                To Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>column_break_10</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>new_leaves_allocated</code></td>
+            <td >
+                Float</td>
+            <td >
+                New Leaves Allocated
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>carry_forward</code></td>
+            <td >
+                Check</td>
+            <td >
+                Add unused leaves from previous allocations
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>carry_forwarded_leaves</code></td>
+            <td >
+                Float</td>
+            <td >
+                Unused leaves
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td class="danger" title="Mandatory"><code>total_leaves_allocated</code></td>
+            <td >
+                Float</td>
+            <td >
+                Total Leaves Allocated
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_allocation">Leave Allocation</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.leave_allocation.leave_allocation</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>LeaveAllocation</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="allow_carry_forward" href="#allow_carry_forward" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>allow_carry_forward</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>check whether carry forward is allowed or not for this leave type</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_existing_leave_allocation" href="#check_existing_leave_allocation" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_existing_leave_allocation</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>check whether leave for same type is already allocated or not</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_carry_forwarded_leaves" href="#get_carry_forwarded_leaves" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_carry_forwarded_leaves</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_leave_bal" href="#get_leave_bal" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_leave_bal</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_leaves_allocated" href="#get_leaves_allocated" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_leaves_allocated</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_leaves_applied" href="#get_leaves_applied" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_leaves_applied</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_total_allocated_leaves" href="#get_total_allocated_leaves" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_total_allocated_leaves</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update_after_submit" href="#on_update_after_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update_after_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_new_leaves_allocated_value" href="#validate_new_leaves_allocated_value" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_new_leaves_allocated_value</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>validate that leave allocation is in multiples of 0.5</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_period" href="#validate_period" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_period</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_total_leaves_allocated" href="#validate_total_leaves_allocated" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_total_leaves_allocated</b>
+        <i class="text-muted">(self, leave_det)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_allocation">Leave Allocation</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/leave_application.html b/erpnext/docs/current/models/hr/leave_application.html
new file mode 100644
index 0000000..09eb227
--- /dev/null
+++ b/erpnext/docs/current/models/hr/leave_application.html
@@ -0,0 +1,920 @@
+<!-- title: Leave Application -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/leave_application"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabLeave Application</code></p>
+
+
+Apply / Approve Leaves
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>Open
+Approved
+Rejected</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>column_break_12</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>leave_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Leave Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_type">Leave Type</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>leave_balance</code></td>
+            <td >
+                Float</td>
+            <td >
+                Leave Balance Before Application
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>5</td>
+            <td ><code>section_break_5</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td class="danger" title="Mandatory"><code>from_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                From Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>to_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                To Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>half_day</code></td>
+            <td >
+                Check</td>
+            <td >
+                Half Day
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>total_leave_days</code></td>
+            <td >
+                Float</td>
+            <td >
+                Total Leave Days
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>description</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Reason
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>12</td>
+            <td ><code>section_break_7</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td class="danger" title="Mandatory"><code>employee</code></td>
+            <td >
+                Link</td>
+            <td >
+                Employee
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>employee_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Employee Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>column_break_15</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>leave_approver</code></td>
+            <td >
+                Link</td>
+            <td >
+                Leave Approver
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/user">User</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>leave_approver_name</code></td>
+            <td >
+                Read Only</td>
+            <td >
+                Leave Approver Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>18</td>
+            <td ><code>sb10</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td class="danger" title="Mandatory"><code>posting_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Posting Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>follow_via_email</code></td>
+            <td >
+                Check</td>
+            <td >
+                Follow via Email
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>column_break_17</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>letter_head</code></td>
+            <td >
+                Link</td>
+            <td >
+                Letter Head
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/print/letter_head">Letter Head</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_application">Leave Application</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.leave_application.leave_application</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>InvalidLeaveApproverError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>LeaveApplication</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_feed" href="#get_feed" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_feed</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_holidays" href="#get_holidays" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_holidays</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_total_leave_days" href="#get_total_leave_days" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_total_leave_days</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="notify" href="#notify" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>notify</b>
+        <i class="text-muted">(self, args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="notify_employee" href="#notify_employee" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>notify_employee</b>
+        <i class="text-muted">(self, status)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="notify_leave_approver" href="#notify_leave_approver" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>notify_leave_approver</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="show_block_day_warning" href="#show_block_day_warning" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>show_block_day_warning</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_balance_leaves" href="#validate_balance_leaves" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_balance_leaves</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_block_days" href="#validate_block_days" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_block_days</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_leave_approver" href="#validate_leave_approver" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_leave_approver</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_leave_overlap" href="#validate_leave_overlap" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_leave_overlap</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_max_days" href="#validate_max_days" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_max_days</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_to_date" href="#validate_to_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_to_date</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>LeaveApproverIdentityError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>LeaveDayBlockedError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>OverlapError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.leave_application.leave_application.add_block_dates" href="#erpnext.hr.doctype.leave_application.leave_application.add_block_dates" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.leave_application.leave_application.<b>add_block_dates</b>
+        <i class="text-muted">(events, start, end, employee, company)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.leave_application.leave_application.add_department_leaves" href="#erpnext.hr.doctype.leave_application.leave_application.add_department_leaves" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.leave_application.leave_application.<b>add_department_leaves</b>
+        <i class="text-muted">(events, start, end, employee, company)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.leave_application.leave_application.add_holidays" href="#erpnext.hr.doctype.leave_application.leave_application.add_holidays" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.leave_application.leave_application.<b>add_holidays</b>
+        <i class="text-muted">(events, start, end, employee, company)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.leave_application.leave_application.add_leaves" href="#erpnext.hr.doctype.leave_application.leave_application.add_leaves" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.leave_application.leave_application.<b>add_leaves</b>
+        <i class="text-muted">(events, start, end, match_conditions=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.hr.doctype.leave_application.leave_application.get_approvers</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.leave_application.leave_application.get_approvers" href="#erpnext.hr.doctype.leave_application.leave_application.get_approvers" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.leave_application.leave_application.<b>get_approvers</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.hr.doctype.leave_application.leave_application.get_events</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.leave_application.leave_application.get_events" href="#erpnext.hr.doctype.leave_application.leave_application.get_events" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.leave_application.leave_application.<b>get_events</b>
+        <i class="text-muted">(start, end)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.leave_application.leave_application.get_holidays" href="#erpnext.hr.doctype.leave_application.leave_application.get_holidays" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.leave_application.leave_application.<b>get_holidays</b>
+        <i class="text-muted">(leave_app)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.hr.doctype.leave_application.leave_application.get_leave_balance</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.leave_application.leave_application.get_leave_balance" href="#erpnext.hr.doctype.leave_application.leave_application.get_leave_balance" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.leave_application.leave_application.<b>get_leave_balance</b>
+        <i class="text-muted">(employee, leave_type, from_date, to_date)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.hr.doctype.leave_application.leave_application.get_total_leave_days</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.leave_application.leave_application.get_total_leave_days" href="#erpnext.hr.doctype.leave_application.leave_application.get_total_leave_days" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.leave_application.leave_application.<b>get_total_leave_days</b>
+        <i class="text-muted">(leave_app)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.leave_application.leave_application.is_lwp" href="#erpnext.hr.doctype.leave_application.leave_application.is_lwp" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.leave_application.leave_application.<b>is_lwp</b>
+        <i class="text-muted">(leave_type)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_application">Leave Application</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/leave_block_list.html b/erpnext/docs/current/models/hr/leave_block_list.html
new file mode 100644
index 0000000..7648d0b
--- /dev/null
+++ b/erpnext/docs/current/models/hr/leave_block_list.html
@@ -0,0 +1,286 @@
+<!-- title: Leave Block List -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/leave_block_list"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabLeave Block List</code></p>
+
+
+Block Holidays on important days.
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>leave_block_list_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Leave Block List Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>applies_to_all_departments</code></td>
+            <td >
+                Check</td>
+            <td >
+                Applies to Company
+                <p class="text-muted small">
+                    If not checked, the list will have to be added to each Department where it has to be applied.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>5</td>
+            <td ><code>block_days</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Block Days
+                <p class="text-muted small">
+                    Stop users from making Leave Applications on following days.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>leave_block_list_dates</code></td>
+            <td >
+                Table</td>
+            <td >
+                Leave Block List Dates
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_block_list_date">Leave Block List Date</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>7</td>
+            <td ><code>allow_list</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Allow Users
+                <p class="text-muted small">
+                    Allow the following users to approve Leave Applications for block days.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>leave_block_list_allowed</code></td>
+            <td >
+                Table</td>
+            <td >
+                Leave Block List Allowed
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_block_list_allow">Leave Block List Allow</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.leave_block_list.leave_block_list</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>LeaveBlockList</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.hr.doctype.leave_block_list.leave_block_list.get_applicable_block_dates</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.leave_block_list.leave_block_list.get_applicable_block_dates" href="#erpnext.hr.doctype.leave_block_list.leave_block_list.get_applicable_block_dates" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.leave_block_list.leave_block_list.<b>get_applicable_block_dates</b>
+        <i class="text-muted">(from_date, to_date, employee=None, company=None, all_lists=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.leave_block_list.leave_block_list.get_applicable_block_lists" href="#erpnext.hr.doctype.leave_block_list.leave_block_list.get_applicable_block_lists" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.leave_block_list.leave_block_list.<b>get_applicable_block_lists</b>
+        <i class="text-muted">(employee=None, company=None, all_lists=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.leave_block_list.leave_block_list.is_user_in_allow_list" href="#erpnext.hr.doctype.leave_block_list.leave_block_list.is_user_in_allow_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.leave_block_list.leave_block_list.<b>is_user_in_allow_list</b>
+        <i class="text-muted">(block_list)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/department">Department</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/leave_block_list_allow.html b/erpnext/docs/current/models/hr/leave_block_list_allow.html
new file mode 100644
index 0000000..54ed219
--- /dev/null
+++ b/erpnext/docs/current/models/hr/leave_block_list_allow.html
@@ -0,0 +1,84 @@
+<!-- title: Leave Block List Allow -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/leave_block_list_allow"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabLeave Block List Allow</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>allow_user</code></td>
+            <td >
+                Link</td>
+            <td >
+                Allow User
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/user">User</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_block_list">Leave Block List</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/leave_block_list_date.html b/erpnext/docs/current/models/hr/leave_block_list_date.html
new file mode 100644
index 0000000..96bb019
--- /dev/null
+++ b/erpnext/docs/current/models/hr/leave_block_list_date.html
@@ -0,0 +1,87 @@
+<!-- title: Leave Block List Date -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/leave_block_list_date"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabLeave Block List Date</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>block_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Block Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>reason</code></td>
+            <td >
+                Text</td>
+            <td >
+                Reason
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_block_list">Leave Block List</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/leave_control_panel.html b/erpnext/docs/current/models/hr/leave_control_panel.html
new file mode 100644
index 0000000..4ecb86f
--- /dev/null
+++ b/erpnext/docs/current/models/hr/leave_control_panel.html
@@ -0,0 +1,325 @@
+<!-- title: Leave Control Panel -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/leave_control_panel"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>employee_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Employee Type
+                <p class="text-muted small">
+                    Leave blank if considered for all employee types</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employment_type">Employment Type</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>branch</code></td>
+            <td >
+                Link</td>
+            <td >
+                Branch
+                <p class="text-muted small">
+                    Leave blank if considered for all branches</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/branch">Branch</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>department</code></td>
+            <td >
+                Link</td>
+            <td >
+                Department
+                <p class="text-muted small">
+                    Leave blank if considered for all departments</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/department">Department</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>designation</code></td>
+            <td >
+                Link</td>
+            <td >
+                Designation
+                <p class="text-muted small">
+                    Leave blank if considered for all designations</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/designation">Designation</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>from_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                From Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td class="danger" title="Mandatory"><code>to_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                To Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td class="danger" title="Mandatory"><code>leave_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Leave Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_type">Leave Type</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>carry_forward</code></td>
+            <td >
+                Check</td>
+            <td >
+                Carry Forward
+                <p class="text-muted small">
+                    Please select Carry Forward if you also want to include previous fiscal year's balance leaves to this fiscal year</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td class="danger" title="Mandatory"><code>no_of_days</code></td>
+            <td >
+                Float</td>
+            <td >
+                New Leaves Allocated (In Days)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>allocate</code></td>
+            <td >
+                Button</td>
+            <td >
+                Allocate
+                
+            </td>
+            <td>
+                <pre>allocate_leave</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.leave_control_panel.leave_control_panel</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>LeaveControlPanel</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="allocate_leave" href="#allocate_leave" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>allocate_leave</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_employees" href="#get_employees" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_employees</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="to_date_validation" href="#to_date_validation" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>to_date_validation</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_values" href="#validate_values" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_values</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/leave_type.html b/erpnext/docs/current/models/hr/leave_type.html
new file mode 100644
index 0000000..8b0d1f0
--- /dev/null
+++ b/erpnext/docs/current/models/hr/leave_type.html
@@ -0,0 +1,192 @@
+<!-- title: Leave Type -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/leave_type"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabLeave Type</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>leave_type_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Leave Type Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>max_days_allowed</code></td>
+            <td >
+                Data</td>
+            <td >
+                Max Days Leave Allowed
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>is_carry_forward</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is Carry Forward
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>is_encash</code></td>
+            <td >
+                Check</td>
+            <td class="text-muted" title="Hidden">
+                Is Encash
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>is_lwp</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is Leave Without Pay
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>allow_negative</code></td>
+            <td >
+                Check</td>
+            <td >
+                Allow Negative Balance
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>include_holiday</code></td>
+            <td >
+                Check</td>
+            <td >
+                Include holidays within leaves as leaves
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.leave_type.leave_type</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>LeaveType</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_control_panel">Leave Control Panel</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_application">Leave Application</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_allocation">Leave Allocation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/attendance">Attendance</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/offer_letter.html b/erpnext/docs/current/models/hr/offer_letter.html
new file mode 100644
index 0000000..b24246b
--- /dev/null
+++ b/erpnext/docs/current/models/hr/offer_letter.html
@@ -0,0 +1,303 @@
+<!-- title: Offer Letter -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/offer_letter"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabOffer Letter</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>job_applicant</code></td>
+            <td >
+                Link</td>
+            <td >
+                Job Applicant
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/job_applicant">Job Applicant</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>applicant_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Applicant Name
+                
+            </td>
+            <td>
+                <pre>job_applicant.applicant_name</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>column_break_3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>Awaiting Response
+Accepted
+Rejected</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>offer_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Offer Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td class="danger" title="Mandatory"><code>designation</code></td>
+            <td >
+                Link</td>
+            <td >
+                Designation
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/designation">Designation</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>8</td>
+            <td ><code>section_break_4</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>offer_terms</code></td>
+            <td >
+                Table</td>
+            <td >
+                Offer Letter Terms
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/offer_letter_term">Offer Letter Term</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>10</td>
+            <td ><code>section_break_14</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>select_terms</code></td>
+            <td >
+                Link</td>
+            <td >
+                Select Terms and Conditions
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/terms_and_conditions">Terms and Conditions</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>terms</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Terms and Conditions
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/offer_letter">Offer Letter</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.offer_letter.offer_letter</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>OfferLetter</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/offer_letter">Offer Letter</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/offer_letter_term.html b/erpnext/docs/current/models/hr/offer_letter_term.html
new file mode 100644
index 0000000..3f2bec0
--- /dev/null
+++ b/erpnext/docs/current/models/hr/offer_letter_term.html
@@ -0,0 +1,108 @@
+<!-- title: Offer Letter Term -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/offer_letter_term"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabOffer Letter Term</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>offer_term</code></td>
+            <td >
+                Link</td>
+            <td >
+                Offer Term
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/offer_term">Offer Term</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>column_break_2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>value</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Value / Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/offer_letter">Offer Letter</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/offer_term.html b/erpnext/docs/current/models/hr/offer_term.html
new file mode 100644
index 0000000..f7d6011
--- /dev/null
+++ b/erpnext/docs/current/models/hr/offer_term.html
@@ -0,0 +1,99 @@
+<!-- title: Offer Term -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/offer_term"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabOffer Term</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>offer_term</code></td>
+            <td >
+                Data</td>
+            <td >
+                Offer Term
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.offer_term.offer_term</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>OfferTerm</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/offer_letter_term">Offer Letter Term</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/process_payroll.html b/erpnext/docs/current/models/hr/process_payroll.html
new file mode 100644
index 0000000..973d25b
--- /dev/null
+++ b/erpnext/docs/current/models/hr/process_payroll.html
@@ -0,0 +1,572 @@
+<!-- title: Process Payroll -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/process_payroll"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>section_break0</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Select Employees
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>branch</code></td>
+            <td >
+                Link</td>
+            <td >
+                Branch
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/branch">Branch</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>send_email</code></td>
+            <td >
+                Check</td>
+            <td >
+                Send Email
+                <p class="text-muted small">
+                    Check if you want to send salary slip in mail to each employee while submitting salary slip</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>department</code></td>
+            <td >
+                Link</td>
+            <td >
+                Department
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/department">Department</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>designation</code></td>
+            <td >
+                Link</td>
+            <td >
+                Designation
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/designation">Designation</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>9</td>
+            <td ><code>select_payroll_year_and_month</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Select Payroll Year and Month
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>column_break_11</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td class="danger" title="Mandatory"><code>month</code></td>
+            <td >
+                Select</td>
+            <td >
+                Month
+                
+            </td>
+            <td>
+                <pre>
+01
+02
+03
+04
+05
+06
+07
+08
+09
+10
+11
+12</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>13</td>
+            <td ><code>process_payroll</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Process Payroll
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>column_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>create_salary_slip</code></td>
+            <td >
+                Button</td>
+            <td >
+                Create Salary Slip
+                <p class="text-muted small">
+                    Creates salary slip for above mentioned criteria.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>column_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>submit_salary_slip</code></td>
+            <td >
+                Button</td>
+            <td >
+                Submit Salary Slip
+                <p class="text-muted small">
+                    Submit all salary slips for the above selected criteria</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>column_break4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>make_bank_entry</code></td>
+            <td >
+                Button</td>
+            <td >
+                Make Bank Entry
+                <p class="text-muted small">
+                    Create Bank Entry for the total salary paid for the above selected criteria</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>20</td>
+            <td ><code>section_break2</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>activity_log</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Activity Log
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.process_payroll.process_payroll</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ProcessPayroll</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_mandatory" href="#check_mandatory" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_mandatory</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="create_log" href="#create_log" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>create_log</b>
+        <i class="text-muted">(self, ss_list)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="create_sal_slip" href="#create_sal_slip" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>create_sal_slip</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Creates salary slip for selected employees if already not created</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="create_submit_log" href="#create_submit_log" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>create_submit_log</b>
+        <i class="text-muted">(self, all_ss, not_submitted_ss)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="format_as_links" href="#format_as_links" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>format_as_links</b>
+        <i class="text-muted">(self, ss_list)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_emp_list" href="#get_emp_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_emp_list</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Returns list of active employees based on selected criteria
+and for which salary structure exists</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_filter_condition" href="#get_filter_condition" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_filter_condition</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_joining_releiving_condition" href="#get_joining_releiving_condition" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_joining_releiving_condition</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_month_details" href="#get_month_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_month_details</b>
+        <i class="text-muted">(self, year, month)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_sal_slip_list" href="#get_sal_slip_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_sal_slip_list</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Returns list of salary slips based on selected criteria
+which are not submitted</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_total_salary" href="#get_total_salary" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_total_salary</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Get total salary amount from submitted salary slip based on selected criteria</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="make_journal_entry" href="#make_journal_entry" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_journal_entry</b>
+        <i class="text-muted">(self, salary_account=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="submit_salary_slip" href="#submit_salary_slip" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>submit_salary_slip</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Submit all salary slips based on selected criteria</p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/salary_slip.html b/erpnext/docs/current/models/hr/salary_slip.html
new file mode 100644
index 0000000..2372002
--- /dev/null
+++ b/erpnext/docs/current/models/hr/salary_slip.html
@@ -0,0 +1,849 @@
+<!-- title: Salary Slip -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/salary_slip"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabSalary Slip</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>employee</code></td>
+            <td >
+                Link</td>
+            <td >
+                Employee
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>employee_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Employee Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>department</code></td>
+            <td >
+                Link</td>
+            <td >
+                Department
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/department">Department</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>designation</code></td>
+            <td >
+                Link</td>
+            <td >
+                Designation
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/designation">Designation</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>branch</code></td>
+            <td >
+                Link</td>
+            <td >
+                Branch
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/branch">Branch</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>letter_head</code></td>
+            <td >
+                Link</td>
+            <td >
+                Letter Head
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/print/letter_head">Letter Head</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td class="danger" title="Mandatory"><code>month</code></td>
+            <td >
+                Select</td>
+            <td >
+                Month
+                
+            </td>
+            <td>
+                <pre>
+01
+02
+03
+04
+05
+06
+07
+08
+09
+10
+11
+12</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td class="danger" title="Mandatory"><code>total_days_in_month</code></td>
+            <td >
+                Float</td>
+            <td >
+                Working Days
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>leave_without_pay</code></td>
+            <td >
+                Float</td>
+            <td >
+                Leave Without Pay
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td class="danger" title="Mandatory"><code>payment_days</code></td>
+            <td >
+                Float</td>
+            <td >
+                Payment Days
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>bank_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Bank Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>bank_account_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                Bank Account No.
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>email_check</code></td>
+            <td >
+                Check</td>
+            <td >
+                Email
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_slip">Salary Slip</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>19</td>
+            <td ><code>earning_deduction</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Earning & Deduction
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>earning</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                Earning
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>html_21</code></td>
+            <td >
+                HTML</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>earnings</code></td>
+            <td >
+                Table</td>
+            <td >
+                Earnings
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_slip_earning">Salary Slip Earning</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>deduction</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                Deduction
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>html_24</code></td>
+            <td >
+                HTML</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>deductions</code></td>
+            <td >
+                Table</td>
+            <td >
+                Deductions
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_slip_deduction">Salary Slip Deduction</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>26</td>
+            <td ><code>totals</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>column_break_25</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>column_break_26</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>arrear_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Arrear Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>leave_encashment_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Leave Encashment Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>gross_pay</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Gross Pay
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>total_deduction</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Deduction
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>net_pay</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Pay
+                <p class="text-muted small">
+                    Gross Pay + Arrear Amount +Encashment Amount - Total Deduction</p>
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>rounded_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rounded Total
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>total_in_words</code></td>
+            <td >
+                Data</td>
+            <td >
+                Total in words
+                <p class="text-muted small">
+                    Net Pay (in words) will be visible once you save the Salary Slip.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.salary_slip.salary_slip</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SalarySlip</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.utilities.transaction_base.TransactionBase</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="autoname" href="#autoname" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>autoname</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_ded_total" href="#calculate_ded_total" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_ded_total</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_earning_total" href="#calculate_earning_total" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_earning_total</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_lwp" href="#calculate_lwp" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_lwp</b>
+        <i class="text-muted">(self, holidays, m)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_net_pay" href="#calculate_net_pay" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_net_pay</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_existing" href="#check_existing" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_existing</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_sal_struct" href="#check_sal_struct" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_sal_struct</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_emp_and_leave_details" href="#get_emp_and_leave_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_emp_and_leave_details</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_holidays_for_employee" href="#get_holidays_for_employee" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_holidays_for_employee</b>
+        <i class="text-muted">(self, m)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_leave_details" href="#get_leave_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_leave_details</b>
+        <i class="text-muted">(self, lwp=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_payment_days" href="#get_payment_days" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_payment_days</b>
+        <i class="text-muted">(self, m)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="pull_emp_details" href="#pull_emp_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>pull_emp_details</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="pull_sal_struct" href="#pull_sal_struct" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>pull_sal_struct</b>
+        <i class="text-muted">(self, struct)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="send_mail_funct" href="#send_mail_funct" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>send_mail_funct</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_slip">Salary Slip</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/salary_slip_deduction.html b/erpnext/docs/current/models/hr/salary_slip_deduction.html
new file mode 100644
index 0000000..a8b7ce0
--- /dev/null
+++ b/erpnext/docs/current/models/hr/salary_slip_deduction.html
@@ -0,0 +1,124 @@
+<!-- title: Salary Slip Deduction -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/salary_slip_deduction"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabSalary Slip Deduction</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>d_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/deduction_type">Deduction Type</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>d_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Default Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>d_depends_on_lwp</code></td>
+            <td >
+                Check</td>
+            <td >
+                Depends on Leave Without Pay
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>d_modified_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_slip">Salary Slip</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/salary_slip_earning.html b/erpnext/docs/current/models/hr/salary_slip_earning.html
new file mode 100644
index 0000000..0daec07
--- /dev/null
+++ b/erpnext/docs/current/models/hr/salary_slip_earning.html
@@ -0,0 +1,124 @@
+<!-- title: Salary Slip Earning -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/salary_slip_earning"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabSalary Slip Earning</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>e_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/earning_type">Earning Type</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>e_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Default Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>e_depends_on_lwp</code></td>
+            <td >
+                Check</td>
+            <td >
+                Depends on Leave Without Pay
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>e_modified_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_slip">Salary Slip</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/salary_structure.html b/erpnext/docs/current/models/hr/salary_structure.html
new file mode 100644
index 0000000..963207c
--- /dev/null
+++ b/erpnext/docs/current/models/hr/salary_structure.html
@@ -0,0 +1,601 @@
+<!-- title: Salary Structure -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/salary_structure"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabSalary Structure</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>employee</code></td>
+            <td >
+                Link</td>
+            <td >
+                Employee
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>employee_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Employee Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>branch</code></td>
+            <td >
+                Link</td>
+            <td >
+                Branch
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/branch">Branch</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>designation</code></td>
+            <td >
+                Link</td>
+            <td >
+                Designation
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/designation">Designation</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>department</code></td>
+            <td >
+                Link</td>
+            <td >
+                Department
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/department">Department</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td class="danger" title="Mandatory"><code>is_active</code></td>
+            <td >
+                Select</td>
+            <td >
+                Is Active
+                
+            </td>
+            <td>
+                <pre>
+Yes
+No</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td class="danger" title="Mandatory"><code>from_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                From Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>to_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                To Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>12</td>
+            <td ><code>earning_deduction</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Monthly Earning & Deduction
+                <p class="text-muted small">
+                    Salary breakup based on Earning and Deduction.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>earning</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                Earning
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td class="danger" title="Mandatory"><code>earnings</code></td>
+            <td >
+                Table</td>
+            <td >
+                Earnings
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_structure_earning">Salary Structure Earning</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>deduction</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                Deduction
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>deductions</code></td>
+            <td >
+                Table</td>
+            <td >
+                Deductions
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_structure_deduction">Salary Structure Deduction</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>17</td>
+            <td ><code>section_break0</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>Simple</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>column_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>total_earning</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Earning
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>total_deduction</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Deduction
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>column_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>net_pay</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Pay
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.salary_structure.salary_structure</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SalaryStructure</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="autoname" href="#autoname" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>autoname</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="before_test_insert" href="#before_test_insert" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>before_test_insert</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Make any existing salary structure for employee inactive.</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_existing" href="#check_existing" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_existing</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_employee_details" href="#get_employee_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_employee_details</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_other_active_salary_structure" href="#get_other_active_salary_structure" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_other_active_salary_structure</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_ss_values" href="#get_ss_values" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_ss_values</b>
+        <i class="text-muted">(self, employee)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="make_earn_ded_table" href="#make_earn_ded_table" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_earn_ded_table</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="make_table" href="#make_table" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_table</b>
+        <i class="text-muted">(self, doct_name, tab_fname, tab_name)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_amount" href="#validate_amount" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_amount</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_employee" href="#validate_employee" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_employee</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_joining_date" href="#validate_joining_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_joining_date</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.hr.doctype.salary_structure.salary_structure.make_salary_slip</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.salary_structure.salary_structure.make_salary_slip" href="#erpnext.hr.doctype.salary_structure.salary_structure.make_salary_slip" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.salary_structure.salary_structure.<b>make_salary_slip</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/salary_structure_deduction.html b/erpnext/docs/current/models/hr/salary_structure_deduction.html
new file mode 100644
index 0000000..0ddda82
--- /dev/null
+++ b/erpnext/docs/current/models/hr/salary_structure_deduction.html
@@ -0,0 +1,110 @@
+<!-- title: Salary Structure Deduction -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/salary_structure_deduction"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabSalary Structure Deduction</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>d_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/deduction_type">Deduction Type</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>d_modified_amt</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>depend_on_lwp</code></td>
+            <td >
+                Check</td>
+            <td >
+                Reduce Deduction for Leave Without Pay (LWP)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_structure">Salary Structure</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/salary_structure_earning.html b/erpnext/docs/current/models/hr/salary_structure_earning.html
new file mode 100644
index 0000000..9de98f6
--- /dev/null
+++ b/erpnext/docs/current/models/hr/salary_structure_earning.html
@@ -0,0 +1,110 @@
+<!-- title: Salary Structure Earning -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/salary_structure_earning"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabSalary Structure Earning</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>e_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/earning_type">Earning Type</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>modified_value</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>depend_on_lwp</code></td>
+            <td >
+                Check</td>
+            <td >
+                Reduce Earning for Leave Without Pay (LWP)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_structure">Salary Structure</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/upload_attendance.html b/erpnext/docs/current/models/hr/upload_attendance.html
new file mode 100644
index 0000000..245b2df
--- /dev/null
+++ b/erpnext/docs/current/models/hr/upload_attendance.html
@@ -0,0 +1,291 @@
+<!-- title: Upload Attendance -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hr/doctype/upload_attendance"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>download_template</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Download Template
+                <p class="text-muted small">
+                    Download the Template, fill appropriate data and attach the modified file.
+All dates and employee combination in the selected period will come in the template, with existing attendance records</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>att_fr_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Attendance From Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>att_to_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Attendance To Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>get_template</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Template
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>5</td>
+            <td ><code>upload_attendance_data</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Import Attendance
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>upload_html</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Upload HTML
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>import_log</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Import Log
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hr.doctype.upload_attendance.upload_attendance</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>UploadAttendance</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.upload_attendance.upload_attendance.add_data" href="#erpnext.hr.doctype.upload_attendance.upload_attendance.add_data" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.upload_attendance.upload_attendance.<b>add_data</b>
+        <i class="text-muted">(w, args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.upload_attendance.upload_attendance.add_header" href="#erpnext.hr.doctype.upload_attendance.upload_attendance.add_header" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.upload_attendance.upload_attendance.<b>add_header</b>
+        <i class="text-muted">(w)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.upload_attendance.upload_attendance.get_active_employees" href="#erpnext.hr.doctype.upload_attendance.upload_attendance.get_active_employees" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.upload_attendance.upload_attendance.<b>get_active_employees</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.upload_attendance.upload_attendance.get_dates" href="#erpnext.hr.doctype.upload_attendance.upload_attendance.get_dates" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.upload_attendance.upload_attendance.<b>get_dates</b>
+        <i class="text-muted">(args)</i>
+    </p>
+	<div class="docs-attr-desc"><p>get list of dates in between from date and to date</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.upload_attendance.upload_attendance.get_existing_attendance_records" href="#erpnext.hr.doctype.upload_attendance.upload_attendance.get_existing_attendance_records" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.upload_attendance.upload_attendance.<b>get_existing_attendance_records</b>
+        <i class="text-muted">(args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.upload_attendance.upload_attendance.get_naming_series" href="#erpnext.hr.doctype.upload_attendance.upload_attendance.get_naming_series" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.upload_attendance.upload_attendance.<b>get_naming_series</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.hr.doctype.upload_attendance.upload_attendance.get_template</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.upload_attendance.upload_attendance.get_template" href="#erpnext.hr.doctype.upload_attendance.upload_attendance.get_template" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.upload_attendance.upload_attendance.<b>get_template</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.hr.doctype.upload_attendance.upload_attendance.upload</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.upload_attendance.upload_attendance.upload" href="#erpnext.hr.doctype.upload_attendance.upload_attendance.upload" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.upload_attendance.upload_attendance.<b>upload</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hub_node/hub_settings.html b/erpnext/docs/current/models/hub_node/hub_settings.html
new file mode 100644
index 0000000..6520223
--- /dev/null
+++ b/erpnext/docs/current/models/hub_node/hub_settings.html
@@ -0,0 +1,388 @@
+<!-- title: Hub Settings -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hub_node/doctype/hub_settings"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>publish</code></td>
+            <td >
+                Check</td>
+            <td >
+                Publish Items to Hub
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>2</td>
+            <td ><code>section_break_2</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>publish_pricing</code></td>
+            <td >
+                Check</td>
+            <td >
+                Publish Pricing
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>publish_availability</code></td>
+            <td >
+                Check</td>
+            <td >
+                Publish Availability
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>column_break_5</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>sync_now</code></td>
+            <td >
+                Button</td>
+            <td >
+                Sync Now
+                
+            </td>
+            <td>
+                <pre>sync</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>7</td>
+            <td ><code>section_break_6</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>seller_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Seller Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>seller_country</code></td>
+            <td >
+                Link</td>
+            <td >
+                Seller Country
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/country">Country</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>seller_email</code></td>
+            <td >
+                Data</td>
+            <td >
+                Seller Email
+                
+            </td>
+            <td>
+                <pre>Email</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>column_break_10</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>seller_city</code></td>
+            <td >
+                Data</td>
+            <td >
+                Seller City
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>seller_website</code></td>
+            <td >
+                Data</td>
+            <td >
+                Seller Website
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>14</td>
+            <td ><code>section_break_13</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>seller_description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Seller Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>name_token</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Name Token
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>access_token</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Access Token
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.hub_node.doctype.hub_settings.hub_settings</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>HubSettings</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_args" href="#get_args" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_args</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="publish_selling_items" href="#publish_selling_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>publish_selling_items</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Set <code>publish_in_hub</code>=1 for all Sales Items</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="register" href="#register" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>register</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Register at hub.erpnext.com, save <code>name_token</code> and <code>access_token</code></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="sync" href="#sync" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>sync</b>
+        <i class="text-muted">(self, verbose=True)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Sync items with hub.erpnext.com</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="unpublish" href="#unpublish" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>unpublish</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Unpublish from hub.erpnext.com</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_seller_details" href="#update_seller_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_seller_details</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Update details at hub.erpnext.com</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hub_node/index.html b/erpnext/docs/current/models/hub_node/index.html
new file mode 100644
index 0000000..6806701
--- /dev/null
+++ b/erpnext/docs/current/models/hub_node/index.html
@@ -0,0 +1,19 @@
+<!-- title: Module hub_node -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/hub_node"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>DocTypes for hub_node</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hub_node/index.txt b/erpnext/docs/current/models/hub_node/index.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/erpnext/docs/current/models/hub_node/index.txt
diff --git a/erpnext/docs/current/models/index.html b/erpnext/docs/current/models/index.html
new file mode 100644
index 0000000..d3f3514
--- /dev/null
+++ b/erpnext/docs/current/models/index.html
@@ -0,0 +1,21 @@
+<!-- title: ERPNext: Models (DocTypes) -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<p>Browse DocTypes by Module</p>
+
+<h3>Contents</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/index.txt b/erpnext/docs/current/models/index.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/erpnext/docs/current/models/index.txt
diff --git a/erpnext/docs/current/models/manufacturing/bom.html b/erpnext/docs/current/models/manufacturing/bom.html
new file mode 100644
index 0000000..1f945c3
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/bom.html
@@ -0,0 +1,1105 @@
+<!-- title: BOM -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/manufacturing/doctype/bom"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabBOM</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>item</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item
+                <p class="text-muted small">
+                    Item to be manufactured or repacked</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>rm_cost_as_per</code></td>
+            <td >
+                Select</td>
+            <td >
+                Rate Of Materials Based On
+                
+            </td>
+            <td>
+                <pre>Valuation Rate
+Last Purchase Rate
+Price List</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>buying_price_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Price List
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/price_list">Price List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>cb0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>is_active</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is Active
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>is_default</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is Default
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>with_operations</code></td>
+            <td >
+                Check</td>
+            <td >
+                With Operations
+                <p class="text-muted small">
+                    Manage cost of operations</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>9</td>
+            <td ><code>operations_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Operations
+                <p class="text-muted small">
+                    Specify the operations, operating cost and give a unique Operation no to your operations.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>operations</code></td>
+            <td >
+                Table</td>
+            <td >
+                Operations
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom_operation">BOM Operation</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>11</td>
+            <td ><code>materials_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Materials
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom_item">BOM Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td class="danger" title="Mandatory"><code>quantity</code></td>
+            <td >
+                Float</td>
+            <td >
+                Quantity
+                <p class="text-muted small">
+                    Quantity of item obtained after manufacturing / repacking from given quantities of raw materials</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>14</td>
+            <td ><code>costing</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Costing
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>operating_cost</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Operating Cost
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>raw_material_cost</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Raw Material Cost
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>cb1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>total_cost</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Cost
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>19</td>
+            <td ><code>more_info_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>project_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Project Name
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/project">Project</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom">BOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>col_break23</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>25</td>
+            <td ><code>section_break_25</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>description</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Item Desription
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>column_break_27</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>image</code></td>
+            <td >
+                Attach</td>
+            <td >
+                Image
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>image_view</code></td>
+            <td >
+                Image</td>
+            <td >
+                Image View
+                
+            </td>
+            <td>
+                <pre>image</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>30</td>
+            <td ><code>section_break0</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Materials Required (Exploded)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>exploded_items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Exploded_items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom_explosion_item">BOM Explosion Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.manufacturing.doctype.bom.bom</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>BOM</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="add_exploded_items" href="#add_exploded_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>add_exploded_items</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Add items to Flat BOM table</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="add_to_cur_exploded_items" href="#add_to_cur_exploded_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>add_to_cur_exploded_items</b>
+        <i class="text-muted">(self, args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="autoname" href="#autoname" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>autoname</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_cost" href="#calculate_cost" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_cost</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Calculate bom totals</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_op_cost" href="#calculate_op_cost" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_op_cost</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Update workstation rate and calculates totals</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_rm_cost" href="#calculate_rm_cost" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_rm_cost</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Fetch RM rate as per today's valuation rate and calculate totals</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_recursion" href="#check_recursion" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_recursion</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Check whether recursion occurs in any bom</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="clear_operations" href="#clear_operations" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>clear_operations</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_bom_material_detail" href="#get_bom_material_detail" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_bom_material_detail</b>
+        <i class="text-muted">(self, args=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Get raw material details like uom, desc and rate</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_bom_unitcost" href="#get_bom_unitcost" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_bom_unitcost</b>
+        <i class="text-muted">(self, bom_no)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_child_exploded_items" href="#get_child_exploded_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_child_exploded_items</b>
+        <i class="text-muted">(self, bom_no, qty)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Add all items from Flat BOM of child BOM</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_exploded_items" href="#get_exploded_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_exploded_items</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Get all raw materials including items from child bom</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_item_det" href="#get_item_det" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_item_det</b>
+        <i class="text-muted">(self, item_code)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_rm_rate" href="#get_rm_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_rm_rate</b>
+        <i class="text-muted">(self, arg)</i>
+    </p>
+	<div class="docs-attr-desc"><pre><code>Get raw material rate as per selected method, if bom exists takes bom cost
+</code></pre>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_valuation_rate" href="#get_valuation_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_valuation_rate</b>
+        <i class="text-muted">(self, args)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Get weighted average of valuation rate from all warehouses </p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="manage_default_bom" href="#manage_default_bom" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>manage_default_bom</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Uncheck others if current one is selected as default,
+update default bom in item master</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update_after_submit" href="#on_update_after_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update_after_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_bom_material_details" href="#set_bom_material_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_bom_material_details</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="traverse_tree" href="#traverse_tree" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>traverse_tree</b>
+        <i class="text-muted">(self, bom_list=[])</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_cost" href="#update_cost" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_cost</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_cost_and_exploded_items" href="#update_cost_and_exploded_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_cost_and_exploded_items</b>
+        <i class="text-muted">(self, bom_list=[])</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_exploded_items" href="#update_exploded_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_exploded_items</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Update Flat BOM, following will be correct data</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_bom_links" href="#validate_bom_links" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_bom_links</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_main_item" href="#validate_main_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_main_item</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Validate main FG item</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_materials" href="#validate_materials" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_materials</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Validate raw material entries </p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_operations" href="#validate_operations" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_operations</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_rm_item" href="#validate_rm_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_rm_item</b>
+        <i class="text-muted">(self, item)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.manufacturing.doctype.bom.bom.get_bom_items</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.manufacturing.doctype.bom.bom.get_bom_items" href="#erpnext.manufacturing.doctype.bom.bom.get_bom_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.manufacturing.doctype.bom.bom.<b>get_bom_items</b>
+        <i class="text-muted">(bom, company, qty=1, fetch_exploded=1)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.manufacturing.doctype.bom.bom.get_bom_items_as_dict" href="#erpnext.manufacturing.doctype.bom.bom.get_bom_items_as_dict" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.manufacturing.doctype.bom.bom.<b>get_bom_items_as_dict</b>
+        <i class="text-muted">(bom, company, qty=1, fetch_exploded=1)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.manufacturing.doctype.bom.bom.validate_bom_no" href="#erpnext.manufacturing.doctype.bom.bom.validate_bom_no" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.manufacturing.doctype.bom.bom.<b>validate_bom_no</b>
+        <i class="text-muted">(item, bom_no)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Validate BOM No of sub-contracted items</p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry_detail">Stock Entry Detail</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry">Stock Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt_item">Purchase Receipt Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_plan_item">Production Plan Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_order">Production Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom_replace_tool">BOM Replace Tool</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom_item">BOM Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom">BOM</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order_item">Purchase Order Item</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/manufacturing/bom_explosion_item.html b/erpnext/docs/current/models/manufacturing/bom_explosion_item.html
new file mode 100644
index 0000000..6a872f4
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/bom_explosion_item.html
@@ -0,0 +1,267 @@
+<!-- title: BOM Explosion Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/manufacturing/doctype/bom_explosion_item"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabBOM Explosion Item</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>cb</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>4</td>
+            <td ><code>section_break_3</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>column_break_2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>image</code></td>
+            <td >
+                Attach</td>
+            <td class="text-muted" title="Hidden">
+                Image
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>image_view</code></td>
+            <td >
+                Image</td>
+            <td >
+                Image View
+                
+            </td>
+            <td>
+                <pre>image</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>9</td>
+            <td ><code>section_break_4</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rate
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>qty_consumed_per_unit</code></td>
+            <td >
+                Float</td>
+            <td >
+                Qty Consumed Per Unit
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>column_break_8</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>stock_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                Stock UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom">BOM</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/manufacturing/bom_item.html b/erpnext/docs/current/models/manufacturing/bom_item.html
new file mode 100644
index 0000000..3d62c36
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/bom_item.html
@@ -0,0 +1,301 @@
+<!-- title: BOM Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/manufacturing/doctype/bom_item"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabBOM Item</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>column_break_3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>bom_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                BOM No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom">BOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>5</td>
+            <td ><code>section_break_5</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Item Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>image</code></td>
+            <td >
+                Attach</td>
+            <td class="text-muted" title="Hidden">
+                Image
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>image_view</code></td>
+            <td >
+                Image</td>
+            <td >
+                Image View
+                
+            </td>
+            <td>
+                <pre>image</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>10</td>
+            <td ><code>quantity_and_rate</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Quantity and Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td class="danger" title="Mandatory"><code>qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td class="danger" title="Mandatory"><code>rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rate
+                <p class="text-muted small">
+                    See "Rate Of Materials Based On" in Costing Section</p>
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>col_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td class="danger" title="Mandatory"><code>stock_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                Stock UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>scrap</code></td>
+            <td >
+                Float</td>
+            <td >
+                Scrap %
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>qty_consumed_per_unit</code></td>
+            <td >
+                Float</td>
+            <td class="text-muted" title="Hidden">
+                Qty Consumed Per Unit
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom">BOM</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/manufacturing/bom_operation.html b/erpnext/docs/current/models/manufacturing/bom_operation.html
new file mode 100644
index 0000000..d220cc8
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/bom_operation.html
@@ -0,0 +1,166 @@
+<!-- title: BOM Operation -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/manufacturing/doctype/bom_operation"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabBOM Operation</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>operation</code></td>
+            <td >
+                Link</td>
+            <td >
+                Operation
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/operation">Operation</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>workstation</code></td>
+            <td >
+                Link</td>
+            <td >
+                Workstation
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/workstation">Workstation</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Operation Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>hour_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Hour Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td class="danger" title="Mandatory"><code>time_in_mins</code></td>
+            <td >
+                Float</td>
+            <td >
+                Operation Time 
+                <p class="text-muted small">
+                    In minutes</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>operating_cost</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Operating Cost
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom">BOM</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/manufacturing/bom_replace_tool.html b/erpnext/docs/current/models/manufacturing/bom_replace_tool.html
new file mode 100644
index 0000000..d11103c
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/bom_replace_tool.html
@@ -0,0 +1,187 @@
+<!-- title: BOM Replace Tool -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/manufacturing/doctype/bom_replace_tool"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+Replace a particular BOM in all other BOMs where it is used. It will replace the old BOM link, update cost and regenerate "BOM Explosion Item" table as per new BOM
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>current_bom</code></td>
+            <td >
+                Link</td>
+            <td >
+                Current BOM
+                <p class="text-muted small">
+                    The BOM which will be replaced</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom">BOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>new_bom</code></td>
+            <td >
+                Link</td>
+            <td >
+                New BOM
+                <p class="text-muted small">
+                    The new BOM after replacement</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom">BOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>replace</code></td>
+            <td >
+                Button</td>
+            <td >
+                Replace
+                
+            </td>
+            <td>
+                <pre>replace_bom</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.manufacturing.doctype.bom_replace_tool.bom_replace_tool</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>BOMReplaceTool</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_parent_boms" href="#get_parent_boms" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_parent_boms</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="replace_bom" href="#replace_bom" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>replace_bom</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_new_bom" href="#update_new_bom" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_new_bom</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_bom" href="#validate_bom" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_bom</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/manufacturing/index.html b/erpnext/docs/current/models/manufacturing/index.html
new file mode 100644
index 0000000..53e2ceb
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/index.html
@@ -0,0 +1,19 @@
+<!-- title: Module manufacturing -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/manufacturing"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>DocTypes for manufacturing</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/manufacturing/index.txt b/erpnext/docs/current/models/manufacturing/index.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/index.txt
diff --git a/erpnext/docs/current/models/manufacturing/manufacturing_settings.html b/erpnext/docs/current/models/manufacturing/manufacturing_settings.html
new file mode 100644
index 0000000..8bf517f
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/manufacturing_settings.html
@@ -0,0 +1,271 @@
+<!-- title: Manufacturing Settings -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/manufacturing/doctype/manufacturing_settings"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>capacity_planning</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Capacity Planning
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>disable_capacity_planning</code></td>
+            <td >
+                Check</td>
+            <td >
+                Disable Capacity Planning and Time Tracking
+                <p class="text-muted small">
+                    Disables creation of time logs against Production Orders.
+Operations shall not be tracked against Production Order</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>allow_overtime</code></td>
+            <td >
+                Check</td>
+            <td >
+                Allow Overtime
+                <p class="text-muted small">
+                    Plan time logs outside Workstation Working Hours.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>allow_production_on_holidays</code></td>
+            <td >
+                Check</td>
+            <td >
+                Allow Production on Holidays
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>column_break_3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>capacity_planning_for_days</code></td>
+            <td >
+                Int</td>
+            <td >
+                Capacity Planning For (Days)
+                <p class="text-muted small">
+                    Try planning operations for X days in advance.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>mins_between_operations</code></td>
+            <td >
+                Int</td>
+            <td >
+                Time Between Operations (in mins)
+                <p class="text-muted small">
+                    Default 10 mins</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>8</td>
+            <td ><code>section_break_6</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>over_production_allowance_percentage</code></td>
+            <td >
+                Percent</td>
+            <td >
+                Over Production Allowance Percentage
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>backflush_raw_materials_based_on</code></td>
+            <td >
+                Select</td>
+            <td >
+                Backflush Raw Materials Based On
+                
+            </td>
+            <td>
+                <pre>BOM
+Material Transferred for Manufacture</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>column_break_11</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>default_wip_warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Work In Progress Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>default_fg_warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Finished Goods Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.manufacturing.doctype.manufacturing_settings.manufacturing_settings</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ManufacturingSettings</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.manufacturing.doctype.manufacturing_settings.manufacturing_settings.get_mins_between_operations" href="#erpnext.manufacturing.doctype.manufacturing_settings.manufacturing_settings.get_mins_between_operations" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.manufacturing.doctype.manufacturing_settings.manufacturing_settings.<b>get_mins_between_operations</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/manufacturing/operation.html b/erpnext/docs/current/models/manufacturing/operation.html
new file mode 100644
index 0000000..58727f5
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/operation.html
@@ -0,0 +1,160 @@
+<!-- title: Operation -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/manufacturing/doctype/operation"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabOperation</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>workstation</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Workstation
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/workstation">Workstation</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>2</td>
+            <td ><code>section_break_4</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>description</code></td>
+            <td >
+                Text</td>
+            <td >
+                Operation Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.manufacturing.doctype.operation.operation</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Operation</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_op_cost" href="#calculate_op_cost" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_op_cost</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_order_operation">Production Order Operation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom_operation">BOM Operation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/time_log">Time Log</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/manufacturing/production_order.html b/erpnext/docs/current/models/manufacturing/production_order.html
new file mode 100644
index 0000000..58f4aea
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/production_order.html
@@ -0,0 +1,1192 @@
+<!-- title: Production Order -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/manufacturing/doctype/production_order"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabProduction Order</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>item</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-gift</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>PRO-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>
+Draft
+Submitted
+Stopped
+In Process
+Completed
+Cancelled</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>production_item</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item To Manufacture
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>bom_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                BOM No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom">BOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>use_multi_level_bom</code></td>
+            <td >
+                Check</td>
+            <td >
+                Use Multi-Level BOM
+                <p class="text-muted small">
+                    Plan material for sub-assemblies</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td class="danger" title="Mandatory"><code>qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Qty To Manufacture
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>material_transferred_for_manufacturing</code></td>
+            <td >
+                Float</td>
+            <td >
+                Material Transferred for Manufacturing
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>produced_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Manufactured Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>11</td>
+            <td ><code>warehouses</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Warehouses
+                
+            </td>
+            <td>
+                <pre>icon-building</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>wip_warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Work-in-Progress Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>column_break_12</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>fg_warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Target Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>15</td>
+            <td ><code>time</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Time
+                
+            </td>
+            <td>
+                <pre>icon-time</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>expected_delivery_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Expected Delivery Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td class="danger" title="Mandatory"><code>planned_start_date</code></td>
+            <td >
+                Datetime</td>
+            <td >
+                Planned Start Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>planned_end_date</code></td>
+            <td >
+                Datetime</td>
+            <td >
+                Planned End Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>column_break_13</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>actual_start_date</code></td>
+            <td >
+                Datetime</td>
+            <td >
+                Actual Start Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>actual_end_date</code></td>
+            <td >
+                Datetime</td>
+            <td >
+                Actual End Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>22</td>
+            <td ><code>operations_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Operations
+                
+            </td>
+            <td>
+                <pre>icon-wrench</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>operations</code></td>
+            <td >
+                Table</td>
+            <td >
+                Operations
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_order_operation">Production Order Operation</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>24</td>
+            <td ><code>section_break_22</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Operation Cost
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>planned_operating_cost</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Planned Operating Cost
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>actual_operating_cost</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Actual Operating Cost
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>additional_operating_cost</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Additional Operating Cost
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>column_break_24</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>total_operating_cost</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Operating Cost
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>30</td>
+            <td ><code>more_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                More Information
+                
+            </td>
+            <td>
+                <pre>icon-file-text</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>description</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Item Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>stock_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                Stock UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>column_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>project_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Project Name
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/project">Project</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>sales_order</code></td>
+            <td >
+                Link</td>
+            <td >
+                Sales Order
+                <p class="text-muted small">
+                    Manufacture against Sales Order</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>37</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_order">Production Order</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.manufacturing.doctype.production_order.production_order</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ItemHasVariantError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>OperationTooLongError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>OverProductionError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ProductionNotApplicableError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ProductionOrder</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_operating_cost" href="#calculate_operating_cost" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_operating_cost</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_time" href="#calculate_time" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_time</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_operation_fits_in_working_hours" href="#check_operation_fits_in_working_hours" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_operation_fits_in_working_hours</b>
+        <i class="text-muted">(self, d)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Raises expection if operation is longer than working hours in the given workstation.</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="delete_time_logs" href="#delete_time_logs" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>delete_time_logs</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_holidays" href="#get_holidays" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_holidays</b>
+        <i class="text-muted">(self, workstation)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="make_time_logs" href="#make_time_logs" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_time_logs</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Capacity Planning. Plan time logs based on earliest availablity of workstation after
+Planned Start Date. Time logs will be created and remain in Draft mode and must be submitted
+before manufacturing entry can be made.</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_actual_dates" href="#set_actual_dates" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_actual_dates</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_operation_start_end_time" href="#set_operation_start_end_time" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_operation_start_end_time</b>
+        <i class="text-muted">(self, i, d)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Set start and end time for given operation. If first operation, set start as
+<code>planned_start_date</code>, else add time diff to end time of earlier operation.</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_production_order_operations" href="#set_production_order_operations" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_production_order_operations</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Fetch operations from BOM and set in 'Production Order'</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="stop_unstop" href="#stop_unstop" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>stop_unstop</b>
+        <i class="text-muted">(self, status)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Called from client side on Stop/Unstop event</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_operation_status" href="#update_operation_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_operation_status</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_planned_qty" href="#update_planned_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_planned_qty</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_production_order_qty" href="#update_production_order_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_production_order_qty</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Update <strong>Manufactured Qty</strong> and <strong>Material Transferred for Qty</strong> in Production Order
+based on Stock Entry</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_status" href="#update_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_status</b>
+        <i class="text-muted">(self, status=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_cancel" href="#validate_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_delivery_date" href="#validate_delivery_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_delivery_date</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_operation_time" href="#validate_operation_time" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_operation_time</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_production_item" href="#validate_production_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_production_item</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_production_order_against_so" href="#validate_production_order_against_so" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_production_order_against_so</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_qty" href="#validate_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_qty</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_sales_order" href="#validate_sales_order" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_sales_order</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_warehouse" href="#validate_warehouse" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_warehouse</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>StockOverProductionError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.manufacturing.doctype.production_order.production_order.get_default_warehouse</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.manufacturing.doctype.production_order.production_order.get_default_warehouse" href="#erpnext.manufacturing.doctype.production_order.production_order.get_default_warehouse" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.manufacturing.doctype.production_order.production_order.<b>get_default_warehouse</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.manufacturing.doctype.production_order.production_order.get_events</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.manufacturing.doctype.production_order.production_order.get_events" href="#erpnext.manufacturing.doctype.production_order.production_order.get_events" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.manufacturing.doctype.production_order.production_order.<b>get_events</b>
+        <i class="text-muted">(start, end, filters=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Returns events for Gantt / Calendar view rendering.</p>
+
+<p><strong>Parameters:</strong></p>
+
+<ul>
+<li><strong><code>start</code></strong> -  Start date-time.</li>
+<li><strong><code>end</code></strong> -  End date-time.</li>
+<li><strong><code>filters</code></strong> -  Filters (JSON).</li>
+</ul>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.manufacturing.doctype.production_order.production_order.get_item_details</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.manufacturing.doctype.production_order.production_order.get_item_details" href="#erpnext.manufacturing.doctype.production_order.production_order.get_item_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.manufacturing.doctype.production_order.production_order.<b>get_item_details</b>
+        <i class="text-muted">(item)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.manufacturing.doctype.production_order.production_order.make_stock_entry</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.manufacturing.doctype.production_order.production_order.make_stock_entry" href="#erpnext.manufacturing.doctype.production_order.production_order.make_stock_entry" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.manufacturing.doctype.production_order.production_order.<b>make_stock_entry</b>
+        <i class="text-muted">(production_order_id, purpose, qty=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.manufacturing.doctype.production_order.production_order.make_time_log</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.manufacturing.doctype.production_order.production_order.make_time_log" href="#erpnext.manufacturing.doctype.production_order.production_order.make_time_log" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.manufacturing.doctype.production_order.production_order.<b>make_time_log</b>
+        <i class="text-muted">(name, operation, from_time=None, to_time=None, qty=None, project=None, workstation=None, operation_id=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry">Stock Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_order">Production Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/time_log">Time Log</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/manufacturing/production_order_operation.html b/erpnext/docs/current/models/manufacturing/production_order_operation.html
new file mode 100644
index 0000000..0478281
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/production_order_operation.html
@@ -0,0 +1,359 @@
+<!-- title: Production Order Operation -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/manufacturing/doctype/production_order_operation"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabProduction Order Operation</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>operation</code></td>
+            <td >
+                Link</td>
+            <td >
+                Operation
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/operation">Operation</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Operation Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>completed_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Completed Qty
+                <p class="text-muted small">
+                    Operation completed for how many finished goods?</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>Pending
+Work in Progress
+Completed</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>workstation</code></td>
+            <td >
+                Link</td>
+            <td >
+                Workstation
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/workstation">Workstation</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>show_time_logs</code></td>
+            <td >
+                Button</td>
+            <td >
+                Show Time Logs
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>9</td>
+            <td ><code>estimated_time_and_cost</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Estimated Time and Cost
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>planned_start_time</code></td>
+            <td >
+                Datetime</td>
+            <td >
+                Planned Start Time
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>planned_end_time</code></td>
+            <td >
+                Datetime</td>
+            <td >
+                Planned End Time
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>column_break_10</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td class="danger" title="Mandatory"><code>time_in_mins</code></td>
+            <td >
+                Float</td>
+            <td >
+                Operation Time
+                <p class="text-muted small">
+                    in Minutes</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>hour_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Hour Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>planned_operating_cost</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Planned Operating Cost
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>16</td>
+            <td ><code>section_break_9</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Actual Time and Cost
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>actual_start_time</code></td>
+            <td >
+                Datetime</td>
+            <td >
+                Actual Start Time
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>actual_end_time</code></td>
+            <td >
+                Datetime</td>
+            <td >
+                Actual End Time
+                <p class="text-muted small">
+                    Updated via 'Time Log'</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>column_break_11</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>actual_operation_time</code></td>
+            <td >
+                Float</td>
+            <td >
+                Actual Operation Time
+                <p class="text-muted small">
+                    in Minutes
+Updated via 'Time Log'</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>actual_operating_cost</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Actual Operating Cost
+                <p class="text-muted small">
+                    (Hour Rate / 60) * Actual Operation Time</p>
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>make_time_log</code></td>
+            <td >
+                Button</td>
+            <td >
+                Make Time Log
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_order">Production Order</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/manufacturing/production_plan_item.html b/erpnext/docs/current/models/manufacturing/production_plan_item.html
new file mode 100644
index 0000000..90f3a14
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/production_plan_item.html
@@ -0,0 +1,217 @@
+<!-- title: Production Plan Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/manufacturing/doctype/production_plan_item"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabProduction Plan Item</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>bom_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                BOM No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom">BOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>planned_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Planned Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>planned_start_date</code></td>
+            <td >
+                Datetime</td>
+            <td >
+                Planned Start Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>sales_order</code></td>
+            <td >
+                Link</td>
+            <td >
+                Sales Order
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>so_pending_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                SO Pending Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Warehouse
+                <p class="text-muted small">
+                    Reserved Warehouse in Sales Order / Finished Goods Warehouse</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td class="danger" title="Mandatory"><code>stock_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_planning_tool">Production Planning Tool</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/manufacturing/production_plan_sales_order.html b/erpnext/docs/current/models/manufacturing/production_plan_sales_order.html
new file mode 100644
index 0000000..d97f80c
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/production_plan_sales_order.html
@@ -0,0 +1,143 @@
+<!-- title: Production Plan Sales Order -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/manufacturing/doctype/production_plan_sales_order"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabProduction Plan Sales Order</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>sales_order</code></td>
+            <td >
+                Link</td>
+            <td >
+                Sales Order
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>sales_order_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                SO Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>grand_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Grand Total
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_planning_tool">Production Planning Tool</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/manufacturing/production_planning_tool.html b/erpnext/docs/current/models/manufacturing/production_planning_tool.html
new file mode 100644
index 0000000..303f03f
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/production_planning_tool.html
@@ -0,0 +1,725 @@
+<!-- title: Production Planning Tool -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/manufacturing/doctype/production_planning_tool"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>select_sales_orders</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Select Sales Orders
+                <p class="text-muted small">
+                    Select Sales Orders from which you want to create Production Orders.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>fg_item</code></td>
+            <td >
+                Link</td>
+            <td >
+                Filter based on item
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Filter based on customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>from_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                From Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>to_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                To Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>9</td>
+            <td ><code>section_break1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>Simple</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>get_sales_orders</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Sales Orders
+                <p class="text-muted small">
+                    Pull sales orders (pending to deliver) based on the above criteria</p>
+            </td>
+            <td>
+                <pre>get_open_sales_orders</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>sales_orders</code></td>
+            <td >
+                Table</td>
+            <td >
+                Sales Orders
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_plan_sales_order">Production Plan Sales Order</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>12</td>
+            <td ><code>items_for_production</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Select Items
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>get_items_from_so</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Items From Sales Orders
+                
+            </td>
+            <td>
+                <pre>get_items_from_so</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>use_multi_level_bom</code></td>
+            <td >
+                Check</td>
+            <td >
+                Use Multi-Level BOM
+                <p class="text-muted small">
+                    If checked, BOM for sub-assembly items will be considered for getting raw materials. Otherwise, all sub-assembly items will be treated as a raw material.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_plan_item">Production Plan Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>16</td>
+            <td ><code>create_production_orders</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Production Orders
+                <p class="text-muted small">
+                    Enter items and planned qty for which you want to raise production orders or download raw materials for analysis.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>raise_production_order</code></td>
+            <td >
+                Button</td>
+            <td >
+                Create Production Orders
+                <p class="text-muted small">
+                    Separate production order will be created for each finished good item.</p>
+            </td>
+            <td>
+                <pre>raise_production_order</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>18</td>
+            <td ><code>sb5</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Material Requirement
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>purchase_request_for_warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Material Request For Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>raise_purchase_request</code></td>
+            <td >
+                Button</td>
+            <td >
+                Create Material Requests
+                <p class="text-muted small">
+                    Items to be requested which are "Out of Stock" considering all warehouses based on projected qty and minimum order qty</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>download_materials_required</code></td>
+            <td >
+                Button</td>
+            <td >
+                Download Materials Required
+                <p class="text-muted small">
+                    Download a report containing all raw materials with their latest inventory status</p>
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.manufacturing.doctype.production_planning_tool.production_planning_tool</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ProductionPlanningTool</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="__init__" href="#__init__" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>__init__</b>
+        <i class="text-muted">(self, arg1, arg2=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="add_items" href="#add_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>add_items</b>
+        <i class="text-muted">(self, items)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="add_so_in_table" href="#add_so_in_table" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>add_so_in_table</b>
+        <i class="text-muted">(self, open_so)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Add sales orders in the table</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="clear_item_table" href="#clear_item_table" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>clear_item_table</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="clear_so_table" href="#clear_so_table" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>clear_so_table</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="create_production_order" href="#create_production_order" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>create_production_order</b>
+        <i class="text-muted">(self, items)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Create production order. Called from Production Planning Tool</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="download_raw_materials" href="#download_raw_materials" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>download_raw_materials</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Create csv data for required raw material to produce finished goods</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_csv" href="#get_csv" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_csv</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_distinct_items_and_boms" href="#get_distinct_items_and_boms" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_distinct_items_and_boms</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Club similar BOM and item for processing
+bom<em>dict {
+    bom</em>no: ['sales_order', 'qty']
+}</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_item_details" href="#get_item_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_item_details</b>
+        <i class="text-muted">(self, item_code)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_items" href="#get_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_items</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_items_from_so" href="#get_items_from_so" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_items_from_so</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Pull items from Sales Order, only proction item
+and subcontracted item will be pulled from Packing item
+and add items in the table</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_open_sales_orders" href="#get_open_sales_orders" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_open_sales_orders</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Pull sales orders  which are pending to deliver based on criteria selected</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_projected_qty" href="#get_projected_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_projected_qty</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_raw_materials" href="#get_raw_materials" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_raw_materials</b>
+        <i class="text-muted">(self, bom_dict)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Get raw materials considering sub-assembly items
+{
+    "item<em>code": [qty</em>required, description, stock<em>uom, min</em>order_qty]
+}</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_requested_items" href="#get_requested_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_requested_items</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_so_details" href="#get_so_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_so_details</b>
+        <i class="text-muted">(self, so)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Pull other details from so</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="insert_purchase_request" href="#insert_purchase_request" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>insert_purchase_request</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="make_items_dict" href="#make_items_dict" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_items_dict</b>
+        <i class="text-muted">(self, item_list)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="raise_production_order" href="#raise_production_order" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>raise_production_order</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>It will raise production order (Draft) for all distinct FG items</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="raise_purchase_request" href="#raise_purchase_request" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>raise_purchase_request</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Raise Material Request if projected qty is less than qty required
+Requested qty should be shortage qty considering minimum order qty</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_company" href="#validate_company" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_company</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_data" href="#validate_data" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_data</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/manufacturing/workstation.html b/erpnext/docs/current/models/manufacturing/workstation.html
new file mode 100644
index 0000000..a9c76e6
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/workstation.html
@@ -0,0 +1,466 @@
+<!-- title: Workstation -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/manufacturing/doctype/workstation"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabWorkstation</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>description_and_warehouse</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>workstation_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Workstation Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>description</code></td>
+            <td >
+                Text</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>column_break_4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>holiday_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Holiday List
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/holiday_list">Holiday List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>6</td>
+            <td ><code>over_heads</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Operating Costs
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>hour_rate_electricity</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Electricity Cost
+                <p class="text-muted small">
+                    per hour</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>hour_rate_consumable</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Consumable Cost
+                <p class="text-muted small">
+                    per hour</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>column_break_11</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>hour_rate_rent</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rent Cost
+                <p class="text-muted small">
+                    per hour</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>hour_rate_labour</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Wages
+                <p class="text-muted small">
+                    Wages per hour</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>hour_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Hour Rate
+                <p class="text-muted small">
+                    per hour</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>13</td>
+            <td ><code>working_hours_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Working Hours
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>working_hours</code></td>
+            <td >
+                Table</td>
+            <td >
+                Working Hours
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/workstation_working_hour">Workstation Working Hour</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.manufacturing.doctype.workstation.workstation</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>NotInWorkingHoursError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>OverlapError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Workstation</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_bom_operation" href="#update_bom_operation" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_bom_operation</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_overlap_for_operation_timings" href="#validate_overlap_for_operation_timings" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_overlap_for_operation_timings</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Check if there is no overlap in setting Workstation Operating Hours</p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>WorkstationHolidayError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.manufacturing.doctype.workstation.workstation.check_if_within_operating_hours" href="#erpnext.manufacturing.doctype.workstation.workstation.check_if_within_operating_hours" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.manufacturing.doctype.workstation.workstation.<b>check_if_within_operating_hours</b>
+        <i class="text-muted">(workstation, operation, from_datetime, to_datetime)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.manufacturing.doctype.workstation.workstation.check_workstation_for_holiday" href="#erpnext.manufacturing.doctype.workstation.workstation.check_workstation_for_holiday" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.manufacturing.doctype.workstation.workstation.<b>check_workstation_for_holiday</b>
+        <i class="text-muted">(workstation, from_datetime, to_datetime)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.manufacturing.doctype.workstation.workstation.get_default_holiday_list</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.manufacturing.doctype.workstation.workstation.get_default_holiday_list" href="#erpnext.manufacturing.doctype.workstation.workstation.get_default_holiday_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.manufacturing.doctype.workstation.workstation.<b>get_default_holiday_list</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.manufacturing.doctype.workstation.workstation.is_within_operating_hours" href="#erpnext.manufacturing.doctype.workstation.workstation.is_within_operating_hours" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.manufacturing.doctype.workstation.workstation.<b>is_within_operating_hours</b>
+        <i class="text-muted">(workstation, operation, from_datetime, to_datetime)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_order_operation">Production Order Operation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/operation">Operation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom_operation">BOM Operation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/time_log">Time Log</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/manufacturing/workstation_working_hour.html b/erpnext/docs/current/models/manufacturing/workstation_working_hour.html
new file mode 100644
index 0000000..a2afee5
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/workstation_working_hour.html
@@ -0,0 +1,123 @@
+<!-- title: Workstation Working Hour -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/manufacturing/doctype/workstation_working_hour"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabWorkstation Working Hour</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>start_time</code></td>
+            <td >
+                Time</td>
+            <td >
+                Start Time
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>column_break_2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>end_time</code></td>
+            <td >
+                Time</td>
+            <td >
+                End Time
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>section_break_2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>enabled</code></td>
+            <td >
+                Check</td>
+            <td >
+                Enabled
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/workstation">Workstation</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/projects/activity_cost.html b/erpnext/docs/current/models/projects/activity_cost.html
new file mode 100644
index 0000000..38888a2
--- /dev/null
+++ b/erpnext/docs/current/models/projects/activity_cost.html
@@ -0,0 +1,260 @@
+<!-- title: Activity Cost -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/projects/doctype/activity_cost"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabActivity Cost</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>activity_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Activity Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/activity_type">Activity Type</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>column_break_2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>employee</code></td>
+            <td >
+                Link</td>
+            <td >
+                Employee
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>employee_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Employee Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>5</td>
+            <td ><code>section_break_4</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>billing_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Billing Rate
+                <p class="text-muted small">
+                    per hour</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>column_break_6</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>costing_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Costing Rate
+                <p class="text-muted small">
+                    per hour</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>title</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.projects.doctype.activity_cost.activity_cost</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ActivityCost</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_unique" href="#check_unique" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_unique</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_title" href="#set_title" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_title</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>DuplicationError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/projects/activity_type.html b/erpnext/docs/current/models/projects/activity_type.html
new file mode 100644
index 0000000..4cf9eb2
--- /dev/null
+++ b/erpnext/docs/current/models/projects/activity_type.html
@@ -0,0 +1,142 @@
+<!-- title: Activity Type -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/projects/doctype/activity_type"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabActivity Type</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>activity_type</code></td>
+            <td >
+                Data</td>
+            <td >
+                Activity Type
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>costing_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Default Costing Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>column_break_3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>billing_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Default Billing Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.projects.doctype.activity_type.activity_type</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ActivityType</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/time_log">Time Log</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/activity_cost">Activity Cost</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/projects/dependent_task.html b/erpnext/docs/current/models/projects/dependent_task.html
new file mode 100644
index 0000000..fefcbcc
--- /dev/null
+++ b/erpnext/docs/current/models/projects/dependent_task.html
@@ -0,0 +1,72 @@
+<!-- title: Dependent Task -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/projects/doctype/dependent_task"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabDependent Task</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>task</code></td>
+            <td >
+                Link</td>
+            <td >
+                Task
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/task">Task</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/projects/index.html b/erpnext/docs/current/models/projects/index.html
new file mode 100644
index 0000000..78b4d63
--- /dev/null
+++ b/erpnext/docs/current/models/projects/index.html
@@ -0,0 +1,19 @@
+<!-- title: Module projects -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/projects"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>DocTypes for projects</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/projects/index.txt b/erpnext/docs/current/models/projects/index.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/erpnext/docs/current/models/projects/index.txt
diff --git a/erpnext/docs/current/models/projects/project.html b/erpnext/docs/current/models/projects/project.html
new file mode 100644
index 0000000..524ef94
--- /dev/null
+++ b/erpnext/docs/current/models/projects/project.html
@@ -0,0 +1,890 @@
+<!-- title: Project -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/projects/doctype/project"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabProject</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>project_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Project Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>Open
+Completed
+Cancelled</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>project_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Project Type
+                
+            </td>
+            <td>
+                <pre>Internal
+External
+Other</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>column_break_5</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>is_active</code></td>
+            <td >
+                Select</td>
+            <td >
+                Is Active
+                
+            </td>
+            <td>
+                <pre>Yes
+No</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>priority</code></td>
+            <td >
+                Select</td>
+            <td >
+                Priority
+                
+            </td>
+            <td>
+                <pre>Medium
+Low
+High</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>7</td>
+            <td ><code>section_break_12</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>expected_start_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Expected Start Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>column_break_11</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>expected_end_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Expected End Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>11</td>
+            <td ><code>customer_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-user</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>column_break_14</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>sales_order</code></td>
+            <td >
+                Link</td>
+            <td >
+                Sales Order
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>15</td>
+            <td ><code>sb_milestones</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Tasks
+                
+            </td>
+            <td>
+                <pre>icon-flag</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>tasks</code></td>
+            <td >
+                Table</td>
+            <td >
+                Tasks
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/project_task">Project Task</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>percent_complete</code></td>
+            <td >
+                Percent</td>
+            <td >
+                % Tasks Completed
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>18</td>
+            <td ><code>section_break0</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-list</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>notes</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Notes
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>20</td>
+            <td ><code>section_break_18</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>actual_start_date</code></td>
+            <td >
+                Data</td>
+            <td >
+                Actual Start Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>actual_time</code></td>
+            <td >
+                Float</td>
+            <td >
+                Actual Time (in Hours)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>column_break_20</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>actual_end_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Actual End Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>25</td>
+            <td ><code>section_break_26</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>estimated_costing</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Estimated Costing
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>column_break_22</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>cost_center</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Cost Center
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>30</td>
+            <td ><code>project_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>total_costing_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Costing Amount (via Time Logs)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>total_expense_claim</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Expense Claim (via Expense Claims)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>column_break_28</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>total_billing_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Billing Amount (via Time Logs)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>total_purchase_cost</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Purchase Cost (via Purchase Invoice)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>36</td>
+            <td ><code>margin</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>37</td>
+            <td ><code>gross_margin</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Gross Margin
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>38</td>
+            <td ><code>column_break_37</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td ><code>per_gross_margin</code></td>
+            <td >
+                Percent</td>
+            <td >
+                Gross Margin %
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.projects.doctype.project.project</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Project</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="__setup__" href="#__setup__" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>__setup__</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_feed" href="#get_feed" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_feed</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_tasks" href="#get_tasks" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_tasks</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="onload" href="#onload" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>onload</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Load project tasks for quick view</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="sync_tasks" href="#sync_tasks" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>sync_tasks</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>sync tasks and remove table</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_costing" href="#update_costing" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_costing</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_percent_complete" href="#update_percent_complete" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_percent_complete</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_project" href="#update_project" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_project</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_purchase_costing" href="#update_purchase_costing" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_purchase_costing</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_dates" href="#validate_dates" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_dates</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.projects.doctype.project.project.get_cost_center_name</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.projects.doctype.project.project.get_cost_center_name" href="#erpnext.projects.doctype.project.project.get_cost_center_name" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.projects.doctype.project.project.<b>get_cost_center_name</b>
+        <i class="text-muted">(project_name)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_ledger_entry">Stock Ledger Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry">Stock Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt_item">Purchase Receipt Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_order">Production Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom">BOM</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/expense_claim">Expense Claim</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/time_log">Time Log</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/task">Task</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation_item">Supplier Quotation Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order_item">Purchase Order Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice_item">Purchase Invoice Item</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/projects/project_task.html b/erpnext/docs/current/models/projects/project_task.html
new file mode 100644
index 0000000..202c29e
--- /dev/null
+++ b/erpnext/docs/current/models/projects/project_task.html
@@ -0,0 +1,186 @@
+<!-- title: Project Task -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/projects/doctype/project_task"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabProject Task</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>title</code></td>
+            <td >
+                Data</td>
+            <td >
+                Title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>Open
+Working
+Pending Review
+Closed
+Cancelled</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>edit_task</code></td>
+            <td >
+                Button</td>
+            <td >
+                View Task
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>column_break_3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>start_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Start Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>end_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                End Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>7</td>
+            <td ><code>section_break_6</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>task_id</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Task ID
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/task">Task</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/project">Project</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/projects/task.html b/erpnext/docs/current/models/projects/task.html
new file mode 100644
index 0000000..066054f
--- /dev/null
+++ b/erpnext/docs/current/models/projects/task.html
@@ -0,0 +1,750 @@
+<!-- title: Task -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/projects/doctype/task"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabTask</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>subject</code></td>
+            <td >
+                Data</td>
+            <td >
+                Subject
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>project</code></td>
+            <td >
+                Link</td>
+            <td >
+                Project
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/project">Project</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>Open
+Working
+Pending Review
+Closed
+Cancelled</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>priority</code></td>
+            <td >
+                Select</td>
+            <td >
+                Priority
+                
+            </td>
+            <td>
+                <pre>Low
+Medium
+High
+Urgent</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>6</td>
+            <td ><code>section_break0</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>Simple</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>8</td>
+            <td ><code>section_break</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Depends On
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>depends_on</code></td>
+            <td >
+                Table</td>
+            <td >
+                depends_on
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/task_depends_on">Task Depends On</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>10</td>
+            <td ><code>section_break_10</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>exp_start_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Expected Start Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>expected_time</code></td>
+            <td >
+                Float</td>
+            <td >
+                Expected Time (in hours)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>column_break_11</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>exp_end_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Expected End Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>15</td>
+            <td ><code>actual</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>act_start_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Actual Start Date (via Time Logs)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>actual_time</code></td>
+            <td >
+                Float</td>
+            <td >
+                Actual Time (in hours)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>column_break_15</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>act_end_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Actual End Date (via Time Logs)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>20</td>
+            <td ><code>section_break_17</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>total_costing_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Costing Amount (via Time Logs)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>total_expense_claim</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Expense Claim (via Expense Claim)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>column_break_20</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>total_billing_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Billing Amount (via Time Logs)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>25</td>
+            <td ><code>more_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>review_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Review Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>closing_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Closing Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>column_break_22</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.projects.doctype.task.task</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>CircularReferenceError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Task</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_recursion" href="#check_recursion" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_recursion</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_customer_details" href="#get_customer_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_customer_details</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_feed" href="#get_feed" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_feed</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_project_details" href="#get_project_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_project_details</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="reschedule_dependent_tasks" href="#reschedule_dependent_tasks" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>reschedule_dependent_tasks</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_project" href="#update_project" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_project</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_time_and_costing" href="#update_time_and_costing" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_time_and_costing</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_total_expense_claim" href="#update_total_expense_claim" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_total_expense_claim</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_dates" href="#validate_dates" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_dates</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_status" href="#validate_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_status</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.projects.doctype.task.task.get_events</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.projects.doctype.task.task.get_events" href="#erpnext.projects.doctype.task.task.get_events" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.projects.doctype.task.task.<b>get_events</b>
+        <i class="text-muted">(start, end, filters=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Returns events for Gantt / Calendar view rendering.</p>
+
+<p><strong>Parameters:</strong></p>
+
+<ul>
+<li><strong><code>start</code></strong> -  Start date-time.</li>
+<li><strong><code>end</code></strong> -  End date-time.</li>
+<li><strong><code>filters</code></strong> -  Filters (JSON).</li>
+</ul>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.projects.doctype.task.task.get_project" href="#erpnext.projects.doctype.task.task.get_project" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.projects.doctype.task.task.<b>get_project</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.projects.doctype.task.task.set_multiple_status</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.projects.doctype.task.task.set_multiple_status" href="#erpnext.projects.doctype.task.task.set_multiple_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.projects.doctype.task.task.<b>set_multiple_status</b>
+        <i class="text-muted">(names, status)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/expense_claim">Expense Claim</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/time_log">Time Log</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/task_depends_on">Task Depends On</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/project_task">Project Task</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/dependent_task">Dependent Task</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/projects/task_depends_on.html b/erpnext/docs/current/models/projects/task_depends_on.html
new file mode 100644
index 0000000..68c2ac7
--- /dev/null
+++ b/erpnext/docs/current/models/projects/task_depends_on.html
@@ -0,0 +1,108 @@
+<!-- title: Task Depends On -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/projects/doctype/task_depends_on"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabTask Depends On</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>task</code></td>
+            <td >
+                Link</td>
+            <td >
+                Task
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/task">Task</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>column_break_2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>subject</code></td>
+            <td >
+                Text</td>
+            <td >
+                Subject
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/task">Task</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/projects/time_log.html b/erpnext/docs/current/models/projects/time_log.html
new file mode 100644
index 0000000..58bcf99
--- /dev/null
+++ b/erpnext/docs/current/models/projects/time_log.html
@@ -0,0 +1,1103 @@
+<!-- title: Time Log -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/projects/doctype/time_log"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabTime Log</code></p>
+
+
+Log of Activities performed by users against Tasks that can be used for tracking time, billing.
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>TL-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>column_break_2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>Draft
+Submitted
+Batched for Billing
+Billed
+Cancelled</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>4</td>
+            <td ><code>section_break_4</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>from_time</code></td>
+            <td >
+                Datetime</td>
+            <td >
+                From Time
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>hours</code></td>
+            <td >
+                Float</td>
+            <td >
+                Hours
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>to_time</code></td>
+            <td >
+                Datetime</td>
+            <td >
+                To Time
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>column_break_8</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>activity_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Activity Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/activity_type">Activity Type</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>project</code></td>
+            <td >
+                Link</td>
+            <td >
+                Project
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/project">Project</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>task</code></td>
+            <td >
+                Link</td>
+            <td >
+                Task
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/task">Task</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>12</td>
+            <td ><code>section_break_12</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>user</code></td>
+            <td >
+                Link</td>
+            <td >
+                User
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/user">User</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>employee</code></td>
+            <td >
+                Link</td>
+            <td >
+                Employee
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>column_break_3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>for_manufacturing</code></td>
+            <td >
+                Check</td>
+            <td class="text-muted" title="Hidden">
+                For Manufacturing
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>billable</code></td>
+            <td >
+                Check</td>
+            <td >
+                Billable
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>18</td>
+            <td ><code>section_break_11</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>production_order</code></td>
+            <td >
+                Link</td>
+            <td >
+                Production Order
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_order">Production Order</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>operation</code></td>
+            <td >
+                Link</td>
+            <td >
+                Operation
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/operation">Operation</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>operation_id</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Operation ID
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>column_break_14</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>workstation</code></td>
+            <td >
+                Link</td>
+            <td >
+                Workstation
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/workstation">Workstation</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>completed_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Completed Qty
+                <p class="text-muted small">
+                    Operation completed for how many finished goods?</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>25</td>
+            <td ><code>section_break_7</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>note</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Note
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>27</td>
+            <td ><code>section_break_24</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>costing_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Costing Rate based on Activity Type (per hour)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>costing_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Costing Amount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>column_break_25</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>billing_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Billing Rate based on Activity Type (per hour)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>billing_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Billing Amount
+                <p class="text-muted small">
+                    Will be updated only if Time Log is 'Billable'</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>33</td>
+            <td ><code>section_break_29</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>time_log_batch</code></td>
+            <td >
+                Link</td>
+            <td >
+                Time Log Batch
+                <p class="text-muted small">
+                    Will be updated when batched.</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/time_log_batch">Time Log Batch</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>sales_invoice</code></td>
+            <td >
+                Link</td>
+            <td >
+                Sales Invoice
+                <p class="text-muted small">
+                    Will be updated when billed.</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/time_log">Time Log</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>37</td>
+            <td ><code>title</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.projects.doctype.time_log.time_log</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>NegativeHoursError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>NotSubmittedError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>OverProductionLoggedError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>OverlapError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>TimeLog</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="before_cancel" href="#before_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>before_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="before_update_after_submit" href="#before_update_after_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>before_update_after_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_total_hours" href="#calculate_total_hours" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_total_hours</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_workstation_timings" href="#check_workstation_timings" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_workstation_timings</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Checks if <strong>Time Log</strong> is between operating hours of the <strong>Workstation</strong>.</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_operation_start_end_time" href="#get_operation_start_end_time" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_operation_start_end_time</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Returns Min From and Max To Dates of Time Logs against a specific Operation. </p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_overlap_for" href="#get_overlap_for" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_overlap_for</b>
+        <i class="text-muted">(self, fieldname)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_time_log_summary" href="#get_time_log_summary" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_time_log_summary</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Returns 'Actual Operating Time'. </p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="move_to_next_day" href="#move_to_next_day" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>move_to_next_day</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Move start and end time one day forward</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="move_to_next_non_overlapping_slot" href="#move_to_next_non_overlapping_slot" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>move_to_next_non_overlapping_slot</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>If in overlap, set start as the end point of the overlapping time log</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="move_to_next_working_slot" href="#move_to_next_working_slot" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>move_to_next_working_slot</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Move to next working slot from workstation</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_project_if_missing" href="#set_project_if_missing" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_project_if_missing</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Set project if task is set</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_status" href="#set_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_status</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_title" href="#set_title" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_title</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Set default title for the Time Log</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_cost" href="#update_cost" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_cost</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_production_order" href="#update_production_order" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_production_order</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Updates <code>start_date</code>, <code>end_date</code>, <code>status</code> for operation in Production Order.</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_task_and_project" href="#update_task_and_project" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_task_and_project</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Update costing rate in Task or Project if either is set</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_manufacturing" href="#validate_manufacturing" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_manufacturing</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_overlap" href="#validate_overlap" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_overlap</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Checks if 'Time Log' entries overlap for a user, workstation. </p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_overlap_for" href="#validate_overlap_for" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_overlap_for</b>
+        <i class="text-muted">(self, fieldname)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_production_order" href="#validate_production_order" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_production_order</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Throws 'NotSubmittedError' if <strong>production order</strong> is not submitted. </p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_time_log_for" href="#validate_time_log_for" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_time_log_for</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_timings" href="#validate_timings" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_timings</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.projects.doctype.time_log.time_log.get_activity_cost</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.projects.doctype.time_log.time_log.get_activity_cost" href="#erpnext.projects.doctype.time_log.time_log.get_activity_cost" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.projects.doctype.time_log.time_log.<b>get_activity_cost</b>
+        <i class="text-muted">(employee=None, activity_type=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.projects.doctype.time_log.time_log.get_events</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.projects.doctype.time_log.time_log.get_events" href="#erpnext.projects.doctype.time_log.time_log.get_events" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.projects.doctype.time_log.time_log.<b>get_events</b>
+        <i class="text-muted">(start, end, filters=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Returns events for Gantt / Calendar view rendering.</p>
+
+<p><strong>Parameters:</strong></p>
+
+<ul>
+<li><strong><code>start</code></strong> -  Start date-time.</li>
+<li><strong><code>end</code></strong> -  End date-time.</li>
+<li><strong><code>filters</code></strong> -  Filters like workstation, project etc.</li>
+</ul>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/time_log_batch_detail">Time Log Batch Detail</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/time_log">Time Log</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/projects/time_log_batch.html b/erpnext/docs/current/models/projects/time_log_batch.html
new file mode 100644
index 0000000..b241f5d
--- /dev/null
+++ b/erpnext/docs/current/models/projects/time_log_batch.html
@@ -0,0 +1,400 @@
+<!-- title: Time Log Batch -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/projects/doctype/time_log_batch"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabTime Log Batch</code></p>
+
+
+Batch Time Logs for Billing.
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>TLB-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>Draft
+Submitted
+Billed
+Cancelled</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>column_break_3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>sales_invoice</code></td>
+            <td >
+                Link</td>
+            <td >
+                Sales Invoice
+                <p class="text-muted small">
+                    Will be updated after Sales Invoice is Submitted.</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>5</td>
+            <td ><code>section_break_5</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td class="danger" title="Mandatory"><code>time_logs</code></td>
+            <td >
+                Table</td>
+            <td >
+                Time Logs
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/time_log_batch_detail">Time Log Batch Detail</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>7</td>
+            <td ><code>section_break_8</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>total_hours</code></td>
+            <td >
+                Float</td>
+            <td >
+                Total Hours
+                <p class="text-muted small">
+                    updated via Time Logs</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>column_break_10</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>total_billing_amount</code></td>
+            <td >
+                Float</td>
+            <td >
+                Total Billing Amount
+                <p class="text-muted small">
+                    updated via Time Logs</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/time_log_batch">Time Log Batch</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.projects.doctype.time_log_batch.time_log_batch</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>TimeLogBatch</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="before_cancel" href="#before_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>before_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="before_update_after_submit" href="#before_update_after_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>before_update_after_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_status" href="#set_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_status</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_status" href="#update_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_status</b>
+        <i class="text-muted">(self, time_log_batch)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_time_log_values" href="#update_time_log_values" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_time_log_values</b>
+        <i class="text-muted">(self, d, tl)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_time_log_is_submitted" href="#validate_time_log_is_submitted" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_time_log_is_submitted</b>
+        <i class="text-muted">(self, tl)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.projects.doctype.time_log_batch.time_log_batch.make_sales_invoice</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.projects.doctype.time_log_batch.time_log_batch.make_sales_invoice" href="#erpnext.projects.doctype.time_log_batch.time_log_batch.make_sales_invoice" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.projects.doctype.time_log_batch.time_log_batch.<b>make_sales_invoice</b>
+        <i class="text-muted">(source_name, target=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/time_log_batch">Time Log Batch</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/time_log">Time Log</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice_item">Sales Invoice Item</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/projects/time_log_batch_detail.html b/erpnext/docs/current/models/projects/time_log_batch_detail.html
new file mode 100644
index 0000000..f543442
--- /dev/null
+++ b/erpnext/docs/current/models/projects/time_log_batch_detail.html
@@ -0,0 +1,144 @@
+<!-- title: Time Log Batch Detail -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/projects/doctype/time_log_batch_detail"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabTime Log Batch Detail</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>time_log</code></td>
+            <td >
+                Link</td>
+            <td >
+                Time Log
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/time_log">Time Log</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>hours</code></td>
+            <td >
+                Float</td>
+            <td >
+                Hours
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>section_break_3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>activity_type</code></td>
+            <td >
+                Data</td>
+            <td >
+                Activity Type
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>billing_amount</code></td>
+            <td >
+                Float</td>
+            <td >
+                Billing Amount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>note</code></td>
+            <td >
+                Data</td>
+            <td >
+                Note
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/time_log_batch">Time Log Batch</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/selling/campaign.html b/erpnext/docs/current/models/selling/campaign.html
new file mode 100644
index 0000000..664d29a
--- /dev/null
+++ b/erpnext/docs/current/models/selling/campaign.html
@@ -0,0 +1,193 @@
+<!-- title: Campaign -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/selling/doctype/campaign"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabCampaign</code></p>
+
+
+Keep Track of Sales Campaigns. Keep track of Leads, Quotations, Sales Order etc from Campaigns to gauge Return on Investment. 
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>campaign</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Campaign
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>campaign_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Campaign Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Naming Series
+                
+            </td>
+            <td>
+                <pre>Campaign-.####</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>description</code></td>
+            <td >
+                Text</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.selling.doctype.campaign.campaign</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Campaign</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="autoname" href="#autoname" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>autoname</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation">Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/opportunity">Opportunity</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/lead">Lead</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pricing_rule">Pricing Rule</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/selling/customer.html b/erpnext/docs/current/models/selling/customer.html
new file mode 100644
index 0000000..f541399
--- /dev/null
+++ b/erpnext/docs/current/models/selling/customer.html
@@ -0,0 +1,1079 @@
+<!-- title: Customer -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/selling/doctype/customer"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabCustomer</code></p>
+
+
+Buyer of Goods and Services.
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>basic_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-user</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>CUST-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>customer_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Full Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>customer_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Type
+                
+            </td>
+            <td>
+                <pre>
+Company
+Individual</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>lead_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                From Lead
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/lead">Lead</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>customer_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/customer_group">Customer Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td class="danger" title="Mandatory"><code>territory</code></td>
+            <td >
+                Link</td>
+            <td >
+                Territory
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>tax_id</code></td>
+            <td >
+                Data</td>
+            <td >
+                Tax ID
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>is_frozen</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is Frozen
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>11</td>
+            <td ><code>currency_and_price_list</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>default_currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Billing Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>default_price_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Price List
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/price_list">Price List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>column_break_14</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>default_taxes_and_charges</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Taxes and Charges
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_taxes_and_charges_template">Sales Taxes and Charges Template</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>16</td>
+            <td ><code>address_contacts</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Address and Contact
+                
+            </td>
+            <td>
+                <pre>icon-map-marker</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>address_html</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Address HTML
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>contact_html</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Contact HTML
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>20</td>
+            <td ><code>default_receivable_accounts</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Default Receivable Accounts
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>accounts</code></td>
+            <td >
+                Table</td>
+            <td >
+                Accounts
+                <p class="text-muted small">
+                    Mention if non-standard receivable account</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/party_account">Party Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>22</td>
+            <td ><code>column_break2</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Credit Limit
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>credit_days_based_on</code></td>
+            <td >
+                Select</td>
+            <td >
+                Credit Days Based On
+                
+            </td>
+            <td>
+                <pre>
+Fixed Days
+Last Day of the Next Month</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>credit_days</code></td>
+            <td >
+                Int</td>
+            <td >
+                Credit Days
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>credit_limit</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Credit Limit
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>26</td>
+            <td ><code>more_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Customer Details
+                
+            </td>
+            <td>
+                <pre>icon-file-text</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>customer_details</code></td>
+            <td >
+                Text</td>
+            <td >
+                Customer Details
+                <p class="text-muted small">
+                    Additional information regarding the customer.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>website</code></td>
+            <td >
+                Data</td>
+            <td >
+                Website
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>29</td>
+            <td ><code>sales_team_section_break</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Sales Partner and Commission
+                
+            </td>
+            <td>
+                <pre>icon-group</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>default_sales_partner</code></td>
+            <td >
+                Link</td>
+            <td >
+                Sales Partner
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sales_partner">Sales Partner</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>default_commission_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Commission Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>32</td>
+            <td ><code>sales_team_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Sales Team
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>sales_team</code></td>
+            <td >
+                Table</td>
+            <td >
+                Sales Team Details
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_team">Sales Team</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>communications</code></td>
+            <td >
+                Table</td>
+            <td class="text-muted" title="Hidden">
+                Communications
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/communication">Communication</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.selling.doctype.customer.customer</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Customer</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.utilities.transaction_base.TransactionBase</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="after_rename" href="#after_rename" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>after_rename</b>
+        <i class="text-muted">(self, olddn, newdn, merge=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="autoname" href="#autoname" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>autoname</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="create_lead_address_contact" href="#create_lead_address_contact" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>create_lead_address_contact</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="delete_customer_address" href="#delete_customer_address" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>delete_customer_address</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="delete_customer_contact" href="#delete_customer_contact" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>delete_customer_contact</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_customer_name" href="#get_customer_name" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_customer_name</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_feed" href="#get_feed" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_feed</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_trash" href="#on_trash" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_trash</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="onload" href="#onload" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>onload</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Load address and contacts in <code>__onload</code></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_address" href="#update_address" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_address</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_contact" href="#update_contact" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_contact</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_customer_address" href="#update_customer_address" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_customer_address</b>
+        <i class="text-muted">(self, newdn, set_field)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_lead_status" href="#update_lead_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_lead_status</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_name_with_customer_group" href="#validate_name_with_customer_group" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_name_with_customer_group</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.selling.doctype.customer.customer.check_credit_limit" href="#erpnext.selling.doctype.customer.customer.check_credit_limit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.selling.doctype.customer.customer.<b>check_credit_limit</b>
+        <i class="text-muted">(customer, company)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.selling.doctype.customer.customer.get_credit_limit" href="#erpnext.selling.doctype.customer.customer.get_credit_limit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.selling.doctype.customer.customer.<b>get_credit_limit</b>
+        <i class="text-muted">(customer, company)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.selling.doctype.customer.customer.get_customer_list" href="#erpnext.selling.doctype.customer.customer.get_customer_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.selling.doctype.customer.customer.<b>get_customer_list</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.selling.doctype.customer.customer.get_customer_outstanding" href="#erpnext.selling.doctype.customer.customer.get_customer_outstanding" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.selling.doctype.customer.customer.<b>get_customer_outstanding</b>
+        <i class="text-muted">(customer, company)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.selling.doctype.customer.customer.get_dashboard_info</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.selling.doctype.customer.customer.get_dashboard_info" href="#erpnext.selling.doctype.customer.customer.get_dashboard_info" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.selling.doctype.customer.customer.<b>get_dashboard_info</b>
+        <i class="text-muted">(customer)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/contact">Contact</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/warranty_claim">Warranty Claim</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_visit">Maintenance Visit</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_schedule">Maintenance Schedule</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/issue">Issue</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry">Stock Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/serial_no">Serial No</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item_customer_detail">Item Customer Detail</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_planning_tool">Production Planning Tool</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_plan_sales_order">Production Plan Sales Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sms_center">SMS Center</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation">Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/installation_note">Installation Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/project">Project</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order">Purchase Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/opportunity">Opportunity</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/lead">Lead</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/tax_rule">Tax Rule</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pricing_rule">Pricing Rule</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pos_profile">POS Profile</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/c_form">C-Form</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/selling/index.html b/erpnext/docs/current/models/selling/index.html
new file mode 100644
index 0000000..564c6c1
--- /dev/null
+++ b/erpnext/docs/current/models/selling/index.html
@@ -0,0 +1,19 @@
+<!-- title: Module selling -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/selling"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>DocTypes for selling</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/selling/index.txt b/erpnext/docs/current/models/selling/index.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/erpnext/docs/current/models/selling/index.txt
diff --git a/erpnext/docs/current/models/selling/industry_type.html b/erpnext/docs/current/models/selling/industry_type.html
new file mode 100644
index 0000000..c04fd51
--- /dev/null
+++ b/erpnext/docs/current/models/selling/industry_type.html
@@ -0,0 +1,99 @@
+<!-- title: Industry Type -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/selling/doctype/industry_type"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabIndustry Type</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>industry</code></td>
+            <td >
+                Data</td>
+            <td >
+                Industry
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.selling.doctype.industry_type.industry_type</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>IndustryType</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/lead">Lead</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/selling/installation_note.html b/erpnext/docs/current/models/selling/installation_note.html
new file mode 100644
index 0000000..2cde04e
--- /dev/null
+++ b/erpnext/docs/current/models/selling/installation_note.html
@@ -0,0 +1,620 @@
+<!-- title: Installation Note -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/selling/doctype/installation_note"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabInstallation Note</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>installation_note</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Installation Note
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>IN-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>customer_address</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer Address
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>contact_person</code></td>
+            <td >
+                Link</td>
+            <td >
+                Contact Person
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/contact">Contact</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>customer_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>address_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>contact_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Contact
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>contact_mobile</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Mobile No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>contact_email</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Contact Email
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td class="danger" title="Mandatory"><code>territory</code></td>
+            <td >
+                Link</td>
+            <td >
+                Territory
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>customer_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/customer_group">Customer Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td class="danger" title="Mandatory"><code>inst_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Installation Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>inst_time</code></td>
+            <td >
+                Time</td>
+            <td >
+                Installation Time
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td class="danger" title="Mandatory"><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>Draft
+Submitted
+Cancelled</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/installation_note">Installation Note</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>remarks</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Remarks
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>22</td>
+            <td ><code>item_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>Simple</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/installation_note_item">Installation Note Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.selling.doctype.installation_note.installation_note</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>InstallationNote</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.utilities.transaction_base.TransactionBase</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="__init__" href="#__init__" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>__init__</b>
+        <i class="text-muted">(self, arg1, arg2=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_item_table" href="#check_item_table" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_item_table</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_prevdoc_serial_no" href="#get_prevdoc_serial_no" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_prevdoc_serial_no</b>
+        <i class="text-muted">(self, prevdoc_detail_docname)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="is_serial_no_added" href="#is_serial_no_added" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>is_serial_no_added</b>
+        <i class="text-muted">(self, item_code, serial_no)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="is_serial_no_exist" href="#is_serial_no_exist" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>is_serial_no_exist</b>
+        <i class="text-muted">(self, item_code, serial_no)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="is_serial_no_match" href="#is_serial_no_match" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>is_serial_no_match</b>
+        <i class="text-muted">(self, cur_s_no, prevdoc_s_no, prevdoc_docname)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_installation_date" href="#validate_installation_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_installation_date</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_serial_no" href="#validate_serial_no" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_serial_no</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/installation_note">Installation Note</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/selling/installation_note_item.html b/erpnext/docs/current/models/selling/installation_note_item.html
new file mode 100644
index 0000000..a768b7a
--- /dev/null
+++ b/erpnext/docs/current/models/selling/installation_note_item.html
@@ -0,0 +1,156 @@
+<!-- title: Installation Note Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/selling/doctype/installation_note_item"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabInstallation Note Item</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>description</code></td>
+            <td >
+                Data</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>serial_no</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Serial No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>prevdoc_detail_docname</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Against Document Detail No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>prevdoc_docname</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Against Document No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>prevdoc_doctype</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Document Type
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Installed Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/installation_note">Installation Note</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/selling/product_bundle.html b/erpnext/docs/current/models/selling/product_bundle.html
new file mode 100644
index 0000000..16605f7
--- /dev/null
+++ b/erpnext/docs/current/models/selling/product_bundle.html
@@ -0,0 +1,206 @@
+<!-- title: Product Bundle -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/selling/doctype/product_bundle"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabProduct Bundle</code></p>
+
+
+Aggregate group of **Items** into another **Item**. This is useful if you are bundling a certain **Items** into a package and you maintain stock of the packed **Items** and not the aggregate **Item**. 
+
+The package **Item** will have "Is Stock Item" as "No" and "Is Sales Item" as "Yes".
+
+For Example: If you are selling Laptops and Backpacks separately and have a special price if the customer buys both, then the Laptop + Backpack will be a new Product Bundle Item.
+
+Note: BOM = Bill of Materials
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>basic_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>new_item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Parent Item
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>3</td>
+            <td ><code>item_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                <p class="text-muted small">
+                    List items that form the package.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/product_bundle_item">Product Bundle Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.selling.doctype.product_bundle.product_bundle</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ProductBundle</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="autoname" href="#autoname" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>autoname</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_main_item" href="#validate_main_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_main_item</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Validates, main Item is not a stock item</p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.selling.doctype.product_bundle.product_bundle.get_new_item_code" href="#erpnext.selling.doctype.product_bundle.product_bundle.get_new_item_code" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.selling.doctype.product_bundle.product_bundle.<b>get_new_item_code</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/selling/product_bundle_item.html b/erpnext/docs/current/models/selling/product_bundle_item.html
new file mode 100644
index 0000000..53d32d1
--- /dev/null
+++ b/erpnext/docs/current/models/selling/product_bundle_item.html
@@ -0,0 +1,141 @@
+<!-- title: Product Bundle Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/selling/doctype/product_bundle_item"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabProduct Bundle Item</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>rate</code></td>
+            <td >
+                Float</td>
+            <td class="text-muted" title="Hidden">
+                Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/product_bundle">Product Bundle</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/selling/quotation.html b/erpnext/docs/current/models/selling/quotation.html
new file mode 100644
index 0000000..4b77705
--- /dev/null
+++ b/erpnext/docs/current/models/selling/quotation.html
@@ -0,0 +1,1498 @@
+<!-- title: Quotation -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/selling/doctype/quotation"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabQuotation</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>customer_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-user</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>title</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>QTN-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>quotation_to</code></td>
+            <td >
+                Select</td>
+            <td >
+                Quotation To
+                
+            </td>
+            <td>
+                <pre>
+Lead
+Customer</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>lead</code></td>
+            <td >
+                Link</td>
+            <td >
+                Lead
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/lead">Lead</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>customer_name</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Customer / Lead Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>address_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>contact_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Contact
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>contact_mobile</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Mobile No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>contact_email</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Contact Email
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation">Quotation</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td class="danger" title="Mandatory"><code>transaction_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td class="danger" title="Mandatory"><code>order_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Order Type
+                
+            </td>
+            <td>
+                <pre>
+Sales
+Maintenance
+Shopping Cart</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>18</td>
+            <td ><code>currency_and_price_list</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Currency and Price List
+                
+            </td>
+            <td>
+                <pre>icon-tag</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td class="danger" title="Mandatory"><code>currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td class="danger" title="Mandatory"><code>conversion_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Exchange Rate
+                <p class="text-muted small">
+                    Rate at which customer's currency is converted to company's base currency</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>column_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td class="danger" title="Mandatory"><code>selling_price_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Price List
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/price_list">Price List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td class="danger" title="Mandatory"><code>price_list_currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Price List Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td class="danger" title="Mandatory"><code>plc_conversion_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Price List Exchange Rate
+                <p class="text-muted small">
+                    Rate at which Price list currency is converted to company's base currency</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>ignore_pricing_rule</code></td>
+            <td >
+                Check</td>
+            <td >
+                Ignore Pricing Rule
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>26</td>
+            <td ><code>items_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-shopping-cart</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation_item">Quotation Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>28</td>
+            <td ><code>sec_break23</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>base_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>base_net_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>column_break_28</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>net_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>34</td>
+            <td ><code>taxes_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Taxes and Charges
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>taxes_and_charges</code></td>
+            <td >
+                Link</td>
+            <td >
+                Taxes and Charges
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_taxes_and_charges_template">Sales Taxes and Charges Template</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td ><code>column_break_34</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>37</td>
+            <td ><code>shipping_rule</code></td>
+            <td >
+                Link</td>
+            <td >
+                Shipping Rule
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/shipping_rule">Shipping Rule</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>38</td>
+            <td ><code>section_break_36</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td ><code>taxes</code></td>
+            <td >
+                Table</td>
+            <td >
+                Sales Taxes and Charges
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_taxes_and_charges">Sales Taxes and Charges</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>40</td>
+            <td ><code>other_charges_calculation</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Taxes and Charges Calculation
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>41</td>
+            <td ><code>section_break_39</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>42</td>
+            <td ><code>base_total_taxes_and_charges</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Taxes and Charges (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>43</td>
+            <td ><code>column_break_42</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>44</td>
+            <td ><code>total_taxes_and_charges</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Taxes and Charges
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>45</td>
+            <td ><code>section_break_44</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Additional Discount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>46</td>
+            <td ><code>apply_discount_on</code></td>
+            <td >
+                Select</td>
+            <td >
+                Apply Additional Discount On
+                
+            </td>
+            <td>
+                <pre>
+Grand Total
+Net Total</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>47</td>
+            <td ><code>column_break_46</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>48</td>
+            <td ><code>discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Additional Discount Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>49</td>
+            <td ><code>base_discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Additional Discount Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>50</td>
+            <td ><code>totals</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>51</td>
+            <td ><code>base_grand_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Grand Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>52</td>
+            <td ><code>base_rounded_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rounded Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>53</td>
+            <td ><code>base_in_words</code></td>
+            <td >
+                Data</td>
+            <td >
+                In Words (Company Currency)
+                <p class="text-muted small">
+                    In Words will be visible once you save the Quotation.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>54</td>
+            <td ><code>column_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>55</td>
+            <td ><code>grand_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Grand Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>56</td>
+            <td ><code>rounded_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rounded Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>57</td>
+            <td ><code>in_words</code></td>
+            <td >
+                Data</td>
+            <td >
+                In Words
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>58</td>
+            <td ><code>terms_section_break</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Terms and Conditions
+                
+            </td>
+            <td>
+                <pre>icon-legal</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>59</td>
+            <td ><code>tc_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Terms
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/terms_and_conditions">Terms and Conditions</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>60</td>
+            <td ><code>terms</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Term Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>61</td>
+            <td ><code>contact_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Contact Details
+                
+            </td>
+            <td>
+                <pre>icon-bullhorn</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>62</td>
+            <td class="danger" title="Mandatory"><code>territory</code></td>
+            <td >
+                Link</td>
+            <td >
+                Territory
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>63</td>
+            <td ><code>customer_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/customer_group">Customer Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>64</td>
+            <td ><code>shipping_address_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Shipping Address
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>65</td>
+            <td ><code>shipping_address</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Shipping Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>66</td>
+            <td ><code>col_break98</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>67</td>
+            <td ><code>customer_address</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer Address
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>68</td>
+            <td ><code>contact_person</code></td>
+            <td >
+                Link</td>
+            <td >
+                Contact Person
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/contact">Contact</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>69</td>
+            <td ><code>print_settings</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Print Settings
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>70</td>
+            <td ><code>letter_head</code></td>
+            <td >
+                Link</td>
+            <td >
+                Letter Head
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/print/letter_head">Letter Head</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>71</td>
+            <td ><code>select_print_heading</code></td>
+            <td >
+                Link</td>
+            <td >
+                Print Heading
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/print_heading">Print Heading</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>72</td>
+            <td ><code>more_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                More Information
+                
+            </td>
+            <td>
+                <pre>icon-file-text</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>73</td>
+            <td ><code>campaign</code></td>
+            <td >
+                Link</td>
+            <td >
+                Campaign
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/campaign">Campaign</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>74</td>
+            <td ><code>source</code></td>
+            <td >
+                Select</td>
+            <td >
+                Source
+                
+            </td>
+            <td>
+                <pre>
+Existing Customer
+Reference
+Advertisement
+Cold Calling
+Exhibition
+Supplier Reference
+Mass Mailing
+Customer's Vendor
+Campaign</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>75</td>
+            <td ><code>order_lost_reason</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Quotation Lost Reason
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>76</td>
+            <td ><code>column_break4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>77</td>
+            <td class="danger" title="Mandatory"><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>Draft
+Submitted
+Ordered
+Lost
+Cancelled
+Open
+Replied</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>78</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>79</td>
+            <td ><code>enq_det</code></td>
+            <td >
+                Text</td>
+            <td class="text-muted" title="Hidden">
+                Opportunity Item
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.selling.doctype.quotation.quotation</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Quotation</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.selling_controller.SellingController</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_item_table" href="#check_item_table" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_item_table</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="declare_order_lost" href="#declare_order_lost" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>declare_order_lost</b>
+        <i class="text-muted">(self, arg)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="has_sales_order" href="#has_sales_order" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>has_sales_order</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="print_other_charges" href="#print_other_charges" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>print_other_charges</b>
+        <i class="text-muted">(self, docname)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_opportunity" href="#update_opportunity" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_opportunity</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_order_type" href="#validate_order_type" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_order_type</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_quotation_to" href="#validate_quotation_to" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_quotation_to</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.selling.doctype.quotation.quotation._make_customer" href="#erpnext.selling.doctype.quotation.quotation._make_customer" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.selling.doctype.quotation.quotation.<b>_make_customer</b>
+        <i class="text-muted">(source_name, ignore_permissions=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.selling.doctype.quotation.quotation._make_sales_order" href="#erpnext.selling.doctype.quotation.quotation._make_sales_order" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.selling.doctype.quotation.quotation.<b>_make_sales_order</b>
+        <i class="text-muted">(source_name, target_doc=None, ignore_permissions=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.selling.doctype.quotation.quotation.make_sales_order</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.selling.doctype.quotation.quotation.make_sales_order" href="#erpnext.selling.doctype.quotation.quotation.make_sales_order" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.selling.doctype.quotation.quotation.<b>make_sales_order</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order_item">Sales Order Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation">Quotation</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/selling/quotation_item.html b/erpnext/docs/current/models/selling/quotation_item.html
new file mode 100644
index 0000000..279db0d
--- /dev/null
+++ b/erpnext/docs/current/models/selling/quotation_item.html
@@ -0,0 +1,557 @@
+<!-- title: Quotation Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/selling/doctype/quotation_item"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabQuotation Item</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>customer_item_code</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Customer's Item Code
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>5</td>
+            <td ><code>section_break_5</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td class="danger" title="Mandatory"><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>column_break_7</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>image</code></td>
+            <td >
+                Attach</td>
+            <td class="text-muted" title="Hidden">
+                Image
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>image_view</code></td>
+            <td >
+                Image</td>
+            <td >
+                Image View
+                
+            </td>
+            <td>
+                <pre>image</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>10</td>
+            <td ><code>quantity_and_rate</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Quantity and Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td class="danger" title="Mandatory"><code>qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Quantity
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>price_list_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Price List Rate
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>discount_percentage</code></td>
+            <td >
+                Percent</td>
+            <td >
+                Discount on Price List Rate (%)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>col_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>stock_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>base_price_list_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Price List Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>17</td>
+            <td ><code>section_break1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rate
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>net_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>net_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>col_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>base_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>base_net_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Rate (Company Currency)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>base_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>base_net_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>pricing_rule</code></td>
+            <td >
+                Link</td>
+            <td >
+                Pricing Rule
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pricing_rule">Pricing Rule</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>28</td>
+            <td ><code>reference</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Reference
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>prevdoc_doctype</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Against Doctype
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/doctype">DocType</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>prevdoc_docname</code></td>
+            <td >
+                Dynamic Link</td>
+            <td >
+                Against Docname
+                
+            </td>
+            <td>
+                <pre>prevdoc_doctype</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>item_tax_rate</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Item Tax Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>col_break4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>page_break</code></td>
+            <td >
+                Check</td>
+            <td >
+                Page Break
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>item_group</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Item Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/item_group">Item Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>brand</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Brand
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/brand">Brand</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation">Quotation</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/selling/sales_order.html b/erpnext/docs/current/models/selling/sales_order.html
new file mode 100644
index 0000000..bf12d74
--- /dev/null
+++ b/erpnext/docs/current/models/selling/sales_order.html
@@ -0,0 +1,2363 @@
+<!-- title: Sales Order -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/selling/doctype/sales_order"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabSales Order</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>customer_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-user</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>title</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>SO-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>customer_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Customer Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>address_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>contact_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Contact
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>contact_mobile</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Mobile No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>contact_email</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Contact Email
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td class="danger" title="Mandatory"><code>order_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Order Type
+                
+            </td>
+            <td>
+                <pre>
+Sales
+Maintenance
+Shopping Cart</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td class="danger" title="Mandatory"><code>transaction_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>delivery_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Delivery Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>po_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                Customer's Purchase Order
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>po_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Customer's Purchase Order Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>shipping_address_name</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Shipping Address Name
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>shipping_address</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Shipping Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>21</td>
+            <td ><code>currency_and_price_list</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Currency and Price List
+                
+            </td>
+            <td>
+                <pre>icon-tag</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td class="danger" title="Mandatory"><code>currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td class="danger" title="Mandatory"><code>conversion_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Exchange Rate
+                <p class="text-muted small">
+                    Rate at which customer's currency is converted to company's base currency</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>column_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td class="danger" title="Mandatory"><code>selling_price_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Price List
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/price_list">Price List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td class="danger" title="Mandatory"><code>price_list_currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Price List Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td class="danger" title="Mandatory"><code>plc_conversion_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Price List Exchange Rate
+                <p class="text-muted small">
+                    Rate at which Price list currency is converted to company's base currency</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>ignore_pricing_rule</code></td>
+            <td >
+                Check</td>
+            <td >
+                Ignore Pricing Rule
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>29</td>
+            <td ><code>items_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-shopping-cart</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td class="danger" title="Mandatory"><code>items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order_item">Sales Order Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>31</td>
+            <td ><code>section_break_31</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>column_break_33a</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>base_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>base_net_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>column_break_33</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td ><code>total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>37</td>
+            <td ><code>net_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>38</td>
+            <td ><code>taxes_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Taxes and Charges
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td ><code>taxes_and_charges</code></td>
+            <td >
+                Link</td>
+            <td >
+                Taxes and Charges
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_taxes_and_charges_template">Sales Taxes and Charges Template</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>40</td>
+            <td ><code>column_break_38</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>41</td>
+            <td ><code>shipping_rule</code></td>
+            <td >
+                Link</td>
+            <td >
+                Shipping Rule
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/shipping_rule">Shipping Rule</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>42</td>
+            <td ><code>section_break_40</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>43</td>
+            <td ><code>taxes</code></td>
+            <td >
+                Table</td>
+            <td >
+                Sales Taxes and Charges
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_taxes_and_charges">Sales Taxes and Charges</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>44</td>
+            <td ><code>other_charges_calculation</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Taxes and Charges Calculation
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>45</td>
+            <td ><code>section_break_43</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>46</td>
+            <td ><code>base_total_taxes_and_charges</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Taxes and Charges (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>47</td>
+            <td ><code>column_break_46</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>48</td>
+            <td ><code>total_taxes_and_charges</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Taxes and Charges
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>49</td>
+            <td ><code>section_break_48</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Additional Discount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>50</td>
+            <td ><code>apply_discount_on</code></td>
+            <td >
+                Select</td>
+            <td >
+                Apply Additional Discount On
+                
+            </td>
+            <td>
+                <pre>
+Grand Total
+Net Total</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>51</td>
+            <td ><code>column_break_50</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>52</td>
+            <td ><code>discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Additional Discount Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>53</td>
+            <td ><code>base_discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Additional Discount Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>54</td>
+            <td ><code>totals</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>55</td>
+            <td ><code>base_grand_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Grand Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>56</td>
+            <td ><code>base_rounded_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rounded Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>57</td>
+            <td ><code>base_in_words</code></td>
+            <td >
+                Data</td>
+            <td >
+                In Words (Company Currency)
+                <p class="text-muted small">
+                    In Words will be visible once you save the Sales Order.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>58</td>
+            <td ><code>column_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>59</td>
+            <td ><code>grand_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Grand Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>60</td>
+            <td ><code>rounded_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rounded Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>61</td>
+            <td ><code>in_words</code></td>
+            <td >
+                Data</td>
+            <td >
+                In Words
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>62</td>
+            <td ><code>advance_paid</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Advance Paid
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>63</td>
+            <td ><code>packing_list</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Packing List
+                
+            </td>
+            <td>
+                <pre>icon-suitcase</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>64</td>
+            <td ><code>packed_items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Packed Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/packed_item">Packed Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>65</td>
+            <td ><code>terms_section_break</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Terms and Conditions
+                
+            </td>
+            <td>
+                <pre>icon-legal</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>66</td>
+            <td ><code>tc_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Terms
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/terms_and_conditions">Terms and Conditions</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>67</td>
+            <td ><code>terms</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Terms and Conditions Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>68</td>
+            <td ><code>contact_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Contact Details
+                
+            </td>
+            <td>
+                <pre>icon-bullhorn</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>69</td>
+            <td ><code>col_break45</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>70</td>
+            <td class="danger" title="Mandatory"><code>territory</code></td>
+            <td >
+                Link</td>
+            <td >
+                Territory
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>71</td>
+            <td class="danger" title="Mandatory"><code>customer_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/customer_group">Customer Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>72</td>
+            <td ><code>col_break46</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>73</td>
+            <td ><code>customer_address</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer Address
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>74</td>
+            <td ><code>contact_person</code></td>
+            <td >
+                Link</td>
+            <td >
+                Contact Person
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/contact">Contact</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>75</td>
+            <td ><code>more_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                More Information
+                
+            </td>
+            <td>
+                <pre>icon-file-text</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>76</td>
+            <td ><code>project_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Project Name
+                <p class="text-muted small">
+                    Track this Sales Order against any Project</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/project">Project</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>77</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>78</td>
+            <td ><code>column_break_77</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>79</td>
+            <td ><code>source</code></td>
+            <td >
+                Select</td>
+            <td >
+                Source
+                
+            </td>
+            <td>
+                <pre>
+Existing Customer
+Reference
+Advertisement
+Cold Calling
+Exhibition
+Supplier Reference
+Mass Mailing
+Customer's Vendor
+Campaign</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>80</td>
+            <td ><code>campaign</code></td>
+            <td >
+                Link</td>
+            <td >
+                Campaign
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/campaign">Campaign</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>81</td>
+            <td ><code>printing_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Printing Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>82</td>
+            <td ><code>letter_head</code></td>
+            <td >
+                Link</td>
+            <td >
+                Letter Head
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/print/letter_head">Letter Head</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>83</td>
+            <td ><code>column_break4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>84</td>
+            <td ><code>select_print_heading</code></td>
+            <td >
+                Link</td>
+            <td >
+                Print Heading
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/print_heading">Print Heading</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>85</td>
+            <td ><code>section_break_78</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Billing and Delivery Status
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>86</td>
+            <td class="danger" title="Mandatory"><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>
+Draft
+To Deliver and Bill
+To Bill
+To Deliver
+Completed
+Stopped
+Cancelled
+Closed</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>87</td>
+            <td ><code>delivery_status</code></td>
+            <td >
+                Select</td>
+            <td class="text-muted" title="Hidden">
+                Delivery Status
+                
+            </td>
+            <td>
+                <pre>Not Delivered
+Fully Delivered
+Partly Delivered
+Closed
+Not Applicable</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>88</td>
+            <td ><code>per_delivered</code></td>
+            <td >
+                Percent</td>
+            <td >
+                %  Delivered
+                <p class="text-muted small">
+                    % of materials delivered against this Sales Order</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>89</td>
+            <td ><code>column_break_81</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>90</td>
+            <td ><code>per_billed</code></td>
+            <td >
+                Percent</td>
+            <td >
+                % Amount Billed
+                <p class="text-muted small">
+                    % of materials billed against this Sales Order</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>91</td>
+            <td ><code>billing_status</code></td>
+            <td >
+                Select</td>
+            <td class="text-muted" title="Hidden">
+                Billing Status
+                
+            </td>
+            <td>
+                <pre>Not Billed
+Fully Billed
+Partly Billed
+Closed</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>92</td>
+            <td ><code>sales_team_section_break</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Commission
+                
+            </td>
+            <td>
+                <pre>icon-group</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>93</td>
+            <td ><code>sales_partner</code></td>
+            <td >
+                Link</td>
+            <td >
+                Sales Partner
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sales_partner">Sales Partner</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>94</td>
+            <td ><code>column_break7</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>95</td>
+            <td ><code>commission_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Commission Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>96</td>
+            <td ><code>total_commission</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Commission
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>97</td>
+            <td ><code>section_break1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Sales Team
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>98</td>
+            <td ><code>sales_team</code></td>
+            <td >
+                Table</td>
+            <td >
+                Sales Team1
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_team">Sales Team</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>99</td>
+            <td ><code>recurring_order</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Recurring Order
+                
+            </td>
+            <td>
+                <pre>icon-time</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>100</td>
+            <td ><code>is_recurring</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is Recurring
+                <p class="text-muted small">
+                    Check if recurring order, uncheck to stop recurring or put proper End Date</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>101</td>
+            <td ><code>recurring_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Recurring Type
+                <p class="text-muted small">
+                    Select the period when the invoice will be generated automatically</p>
+            </td>
+            <td>
+                <pre>
+Monthly
+Quarterly
+Half-yearly
+Yearly</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>102</td>
+            <td ><code>from_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                From Date
+                <p class="text-muted small">
+                    Start date of current order's period</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>103</td>
+            <td ><code>to_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                To Date
+                <p class="text-muted small">
+                    End date of current order's period</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>104</td>
+            <td ><code>repeat_on_day_of_month</code></td>
+            <td >
+                Int</td>
+            <td >
+                Repeat on Day of Month
+                <p class="text-muted small">
+                    The day of the month on which auto order will be generated e.g. 05, 28 etc </p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>105</td>
+            <td ><code>end_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                End Date
+                <p class="text-muted small">
+                    The date on which recurring order will be stop</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>106</td>
+            <td ><code>column_break83</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>107</td>
+            <td ><code>next_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Next Date
+                <p class="text-muted small">
+                    The date on which next invoice will be generated. It is generated on submit.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>108</td>
+            <td ><code>recurring_id</code></td>
+            <td >
+                Data</td>
+            <td >
+                Recurring Id
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>109</td>
+            <td ><code>notification_email_address</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Notification Email Address
+                <p class="text-muted small">
+                    Enter email id separated by commas, order will be mailed automatically on particular date</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>110</td>
+            <td ><code>recurring_print_format</code></td>
+            <td >
+                Link</td>
+            <td >
+                Recurring Print Format
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/print/print_format">Print Format</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.selling.doctype.sales_order.sales_order</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SalesOrder</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.selling_controller.SellingController</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="before_update_after_submit" href="#before_update_after_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>before_update_after_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_credit_limit" href="#check_credit_limit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_credit_limit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_modified_date" href="#check_modified_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_modified_date</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_nextdoc_docstatus" href="#check_nextdoc_docstatus" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_nextdoc_docstatus</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="product_bundle_has_stock_item" href="#product_bundle_has_stock_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>product_bundle_has_stock_item</b>
+        <i class="text-muted">(self, product_bundle)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Returns true if product bundle has stock item</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_delivery_status" href="#update_delivery_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_delivery_status</b>
+        <i class="text-muted">(self, po_name)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Update delivery status from Purchase Order for drop shipping</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_enquiry_status" href="#update_enquiry_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_enquiry_status</b>
+        <i class="text-muted">(self, prevdoc, flag)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_prevdoc_status" href="#update_prevdoc_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_prevdoc_status</b>
+        <i class="text-muted">(self, flag)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_reserved_qty" href="#update_reserved_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_reserved_qty</b>
+        <i class="text-muted">(self, so_item_rows=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p>update requested qty (before ordered_qty is updated)</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_status" href="#update_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_status</b>
+        <i class="text-muted">(self, status)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_delivery_date" href="#validate_delivery_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_delivery_date</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_drop_ship" href="#validate_drop_ship" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_drop_ship</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_for_items" href="#validate_for_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_for_items</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_mandatory" href="#validate_mandatory" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_mandatory</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_order_type" href="#validate_order_type" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_order_type</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_po" href="#validate_po" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_po</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_proj_cust" href="#validate_proj_cust" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_proj_cust</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_sales_mntc_quotation" href="#validate_sales_mntc_quotation" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_sales_mntc_quotation</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_supplier_after_submit" href="#validate_supplier_after_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_supplier_after_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Check that supplier is the same after submit if PO is already made</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_warehouse" href="#validate_warehouse" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_warehouse</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_with_previous_doc" href="#validate_with_previous_doc" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_with_previous_doc</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>WarehouseRequired</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.selling.doctype.sales_order.sales_order.get_events</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.selling.doctype.sales_order.sales_order.get_events" href="#erpnext.selling.doctype.sales_order.sales_order.get_events" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.selling.doctype.sales_order.sales_order.<b>get_events</b>
+        <i class="text-muted">(start, end, filters=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Returns events for Gantt / Calendar view rendering.</p>
+
+<p><strong>Parameters:</strong></p>
+
+<ul>
+<li><strong><code>start</code></strong> -  Start date-time.</li>
+<li><strong><code>end</code></strong> -  End date-time.</li>
+<li><strong><code>filters</code></strong> -  Filters (JSON).</li>
+</ul>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.selling.doctype.sales_order.sales_order.get_list_context" href="#erpnext.selling.doctype.sales_order.sales_order.get_list_context" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.selling.doctype.sales_order.sales_order.<b>get_list_context</b>
+        <i class="text-muted">(context=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.selling.doctype.sales_order.sales_order.get_supplier</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.selling.doctype.sales_order.sales_order.get_supplier" href="#erpnext.selling.doctype.sales_order.sales_order.get_supplier" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.selling.doctype.sales_order.sales_order.<b>get_supplier</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.selling.doctype.sales_order.sales_order.make_delivery_note</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.selling.doctype.sales_order.sales_order.make_delivery_note" href="#erpnext.selling.doctype.sales_order.sales_order.make_delivery_note" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.selling.doctype.sales_order.sales_order.<b>make_delivery_note</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.selling.doctype.sales_order.sales_order.make_maintenance_schedule</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.selling.doctype.sales_order.sales_order.make_maintenance_schedule" href="#erpnext.selling.doctype.sales_order.sales_order.make_maintenance_schedule" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.selling.doctype.sales_order.sales_order.<b>make_maintenance_schedule</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.selling.doctype.sales_order.sales_order.make_maintenance_visit</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.selling.doctype.sales_order.sales_order.make_maintenance_visit" href="#erpnext.selling.doctype.sales_order.sales_order.make_maintenance_visit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.selling.doctype.sales_order.sales_order.<b>make_maintenance_visit</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.selling.doctype.sales_order.sales_order.make_material_request</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.selling.doctype.sales_order.sales_order.make_material_request" href="#erpnext.selling.doctype.sales_order.sales_order.make_material_request" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.selling.doctype.sales_order.sales_order.<b>make_material_request</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.selling.doctype.sales_order.sales_order.make_purchase_order_for_drop_shipment</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.selling.doctype.sales_order.sales_order.make_purchase_order_for_drop_shipment" href="#erpnext.selling.doctype.sales_order.sales_order.make_purchase_order_for_drop_shipment" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.selling.doctype.sales_order.sales_order.<b>make_purchase_order_for_drop_shipment</b>
+        <i class="text-muted">(source_name, for_supplier, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.selling.doctype.sales_order.sales_order.make_sales_invoice</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.selling.doctype.sales_order.sales_order.make_sales_invoice" href="#erpnext.selling.doctype.sales_order.sales_order.make_sales_invoice" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.selling.doctype.sales_order.sales_order.<b>make_sales_invoice</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.selling.doctype.sales_order.sales_order.stop_or_unstop_sales_orders</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.selling.doctype.sales_order.sales_order.stop_or_unstop_sales_orders" href="#erpnext.selling.doctype.sales_order.sales_order.stop_or_unstop_sales_orders" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.selling.doctype.sales_order.sales_order.<b>stop_or_unstop_sales_orders</b>
+        <i class="text-muted">(names, status)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.selling.doctype.sales_order.sales_order.update_status</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.selling.doctype.sales_order.sales_order.update_status" href="#erpnext.selling.doctype.sales_order.sales_order.update_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.selling.doctype.sales_order.sales_order.<b>update_status</b>
+        <i class="text-muted">(status, name)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/material_request_item">Material Request Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note_item">Delivery Note Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_plan_sales_order">Production Plan Sales Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_plan_item">Production Plan Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_order">Production Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/project">Project</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice_item">Sales Invoice Item</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/selling/sales_order_item.html b/erpnext/docs/current/models/selling/sales_order_item.html
new file mode 100644
index 0000000..b0300a7
--- /dev/null
+++ b/erpnext/docs/current/models/selling/sales_order_item.html
@@ -0,0 +1,771 @@
+<!-- title: Sales Order Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/selling/doctype/sales_order_item"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabSales Order Item</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>customer_item_code</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Customer's Item Code
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>5</td>
+            <td ><code>section_break_5</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td class="danger" title="Mandatory"><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>column_break_7</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>image</code></td>
+            <td >
+                Attach</td>
+            <td class="text-muted" title="Hidden">
+                Image
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>image_view</code></td>
+            <td >
+                Image</td>
+            <td >
+                Image View
+                
+            </td>
+            <td>
+                <pre>image</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>10</td>
+            <td ><code>quantity_and_rate</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Quantity and Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td class="danger" title="Mandatory"><code>qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Quantity
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>price_list_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Price List Rate
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>discount_percentage</code></td>
+            <td >
+                Percent</td>
+            <td >
+                Discount on Price List Rate (%)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>col_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>stock_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>base_price_list_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Price List Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>17</td>
+            <td ><code>section_break_simple1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rate
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>col_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>base_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Basic Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>base_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>pricing_rule</code></td>
+            <td >
+                Link</td>
+            <td >
+                Pricing Rule
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pricing_rule">Pricing Rule</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>24</td>
+            <td ><code>section_break_24</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>net_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Rate
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>net_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>column_break_27</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>base_net_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>base_net_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>30</td>
+            <td ><code>drop_ship_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Drop Ship
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>delivered_by_supplier</code></td>
+            <td >
+                Check</td>
+            <td >
+                Supplier delivers to Customer
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>supplier</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier">Supplier</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>33</td>
+            <td ><code>warehouse_and_reference</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Warehouse and Reference
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Delivery Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>target_warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Target Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td ><code>prevdoc_docname</code></td>
+            <td >
+                Link</td>
+            <td >
+                Quotation
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation">Quotation</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>37</td>
+            <td ><code>brand</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Brand Name
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/brand">Brand</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>38</td>
+            <td ><code>item_group</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Item Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/item_group">Item Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td ><code>page_break</code></td>
+            <td >
+                Check</td>
+            <td >
+                Page Break
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>40</td>
+            <td ><code>col_break4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>41</td>
+            <td ><code>projected_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Projected Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>42</td>
+            <td ><code>actual_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Actual Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>43</td>
+            <td ><code>ordered_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Ordered Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>44</td>
+            <td ><code>delivered_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Delivered Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>45</td>
+            <td ><code>returned_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Returned Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>46</td>
+            <td ><code>billed_amt</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Billed Amt
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>47</td>
+            <td ><code>planned_qty</code></td>
+            <td >
+                Float</td>
+            <td class="text-muted" title="Hidden">
+                Planned Quantity
+                <p class="text-muted small">
+                    For Production</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>48</td>
+            <td ><code>produced_qty</code></td>
+            <td >
+                Float</td>
+            <td class="text-muted" title="Hidden">
+                Produced Quantity
+                <p class="text-muted small">
+                    For Production</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>49</td>
+            <td ><code>item_tax_rate</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Item Tax Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>50</td>
+            <td ><code>transaction_date</code></td>
+            <td >
+                Date</td>
+            <td class="text-muted" title="Hidden">
+                Sales Order Date
+                <p class="text-muted small">
+                    Used for Production Plan</p>
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/selling/sales_team.html b/erpnext/docs/current/models/selling/sales_team.html
new file mode 100644
index 0000000..255efb4
--- /dev/null
+++ b/erpnext/docs/current/models/selling/sales_team.html
@@ -0,0 +1,181 @@
+<!-- title: Sales Team -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/selling/doctype/sales_team"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabSales Team</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>sales_person</code></td>
+            <td >
+                Link</td>
+            <td >
+                Sales Person
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sales_person">Sales Person</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>contact_no</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Contact No.
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>allocated_percentage</code></td>
+            <td >
+                Float</td>
+            <td >
+                Contribution (%)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>allocated_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Contribution to Net Total
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>incentives</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Incentives
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>parenttype</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Parenttype
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+</li>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+</li>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+</li>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/selling/selling_settings.html b/erpnext/docs/current/models/selling/selling_settings.html
new file mode 100644
index 0000000..c62c3d3
--- /dev/null
+++ b/erpnext/docs/current/models/selling/selling_settings.html
@@ -0,0 +1,270 @@
+<!-- title: Selling Settings -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/selling/doctype/selling_settings"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+Settings for Selling Module
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>cust_master_name</code></td>
+            <td >
+                Select</td>
+            <td >
+                Customer Naming By
+                
+            </td>
+            <td>
+                <pre>Customer Name
+Naming Series</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>campaign_naming_by</code></td>
+            <td >
+                Select</td>
+            <td >
+                Campaign Naming By
+                
+            </td>
+            <td>
+                <pre>Campaign Name
+Naming Series</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>customer_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Customer Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/customer_group">Customer Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>territory</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Territory
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>selling_price_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Price List
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/price_list">Price List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>column_break_5</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>so_required</code></td>
+            <td >
+                Select</td>
+            <td >
+                Sales Order Required
+                
+            </td>
+            <td>
+                <pre>No
+Yes</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>dn_required</code></td>
+            <td >
+                Select</td>
+            <td >
+                Delivery Note Required
+                
+            </td>
+            <td>
+                <pre>No
+Yes</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>maintain_same_sales_rate</code></td>
+            <td >
+                Check</td>
+            <td >
+                Maintain Same Rate Throughout Sales Cycle
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>editable_price_list_rate</code></td>
+            <td >
+                Check</td>
+            <td >
+                Allow user to edit Price List Rate in transactions
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>allow_multiple_items</code></td>
+            <td >
+                Check</td>
+            <td >
+                Allow Item to be added multiple times in a transaction
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>allow_against_multiple_purchase_orders</code></td>
+            <td >
+                Check</td>
+            <td >
+                Allow multiple Sales Orders against a Customer's Purchase Order
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.selling.doctype.selling_settings.selling_settings</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SellingSettings</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/selling/sms_center.html b/erpnext/docs/current/models/selling/sms_center.html
new file mode 100644
index 0000000..8dca5a0
--- /dev/null
+++ b/erpnext/docs/current/models/selling/sms_center.html
@@ -0,0 +1,342 @@
+<!-- title: SMS Center -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/selling/doctype/sms_center"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>send_to</code></td>
+            <td >
+                Select</td>
+            <td >
+                Send To
+                
+            </td>
+            <td>
+                <pre>
+All Contact
+All Customer Contact
+All Supplier Contact
+All Sales Partner Contact
+All Lead (Open)
+All Employee (Active)
+All Sales Person</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>supplier</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier">Supplier</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>sales_partner</code></td>
+            <td >
+                Link</td>
+            <td >
+                Sales Partner
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sales_partner">Sales Partner</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>department</code></td>
+            <td >
+                Link</td>
+            <td >
+                Department
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/department">Department</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>branch</code></td>
+            <td >
+                Link</td>
+            <td >
+                Branch
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/branch">Branch</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>create_receiver_list</code></td>
+            <td >
+                Button</td>
+            <td >
+                Create Receiver List
+                
+            </td>
+            <td>
+                <pre>create_receiver_list</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>receiver_list</code></td>
+            <td >
+                Code</td>
+            <td >
+                Receiver List
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>column_break9</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td class="danger" title="Mandatory"><code>message</code></td>
+            <td >
+                Text</td>
+            <td >
+                Message
+                <p class="text-muted small">
+                    Messages greater than 160 characters will be split into multiple messages</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>total_characters</code></td>
+            <td >
+                Int</td>
+            <td >
+                Total Characters
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>total_messages</code></td>
+            <td >
+                Int</td>
+            <td >
+                Total Message(s)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>send_sms</code></td>
+            <td >
+                Button</td>
+            <td >
+                Send SMS
+                
+            </td>
+            <td>
+                <pre>send_sms</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.selling.doctype.sms_center.sms_center</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SMSCenter</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="create_receiver_list" href="#create_receiver_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>create_receiver_list</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_receiver_nos" href="#get_receiver_nos" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_receiver_nos</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="send_sms" href="#send_sms" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>send_sms</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/authorization_control.html b/erpnext/docs/current/models/setup/authorization_control.html
new file mode 100644
index 0000000..2db8310
--- /dev/null
+++ b/erpnext/docs/current/models/setup/authorization_control.html
@@ -0,0 +1,157 @@
+<!-- title: Authorization Control -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/authorization_control"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.setup.doctype.authorization_control.authorization_control</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>AuthorizationControl</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.utilities.transaction_base.TransactionBase</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="bifurcate_based_on_type" href="#bifurcate_based_on_type" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>bifurcate_based_on_type</b>
+        <i class="text-muted">(self, doctype_name, total, av_dis, based_on, doc_obj, val, company)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_appr_user_role" href="#get_appr_user_role" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_appr_user_role</b>
+        <i class="text-muted">(self, det, doctype_name, total, based_on, condition, item, company)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_approver_name" href="#get_approver_name" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_approver_name</b>
+        <i class="text-muted">(self, doctype_name, total, doc_obj=)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_value_based_rule" href="#get_value_based_rule" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_value_based_rule</b>
+        <i class="text-muted">(self, doctype_name, employee, total_claimed_amount, company)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_approving_authority" href="#validate_approving_authority" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_approving_authority</b>
+        <i class="text-muted">(self, doctype_name, company, total, doc_obj=)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_auth_rule" href="#validate_auth_rule" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_auth_rule</b>
+        <i class="text-muted">(self, doctype_name, total, based_on, cond, company, item=)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/authorization_rule.html b/erpnext/docs/current/models/setup/authorization_rule.html
new file mode 100644
index 0000000..59d7694
--- /dev/null
+++ b/erpnext/docs/current/models/setup/authorization_rule.html
@@ -0,0 +1,338 @@
+<!-- title: Authorization Rule -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/authorization_rule"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabAuthorization Rule</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>transaction</code></td>
+            <td >
+                Select</td>
+            <td >
+                Transaction
+                
+            </td>
+            <td>
+                <pre>
+Delivery Note
+Purchase Invoice
+Purchase Order
+Purchase Receipt
+Quotation
+Sales Invoice
+Sales Order
+Appraisal</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>based_on</code></td>
+            <td >
+                Select</td>
+            <td >
+                Based On
+                
+            </td>
+            <td>
+                <pre>
+Grand Total
+Average Discount
+Customerwise Discount
+Itemwise Discount
+Not Applicable</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>master_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer / Item Name
+                
+            </td>
+            <td>
+                
+                
+
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>system_role</code></td>
+            <td >
+                Link</td>
+            <td >
+                Applicable To (Role)
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/role">Role</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>system_user</code></td>
+            <td >
+                Link</td>
+            <td >
+                Applicable To (User)
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/user">User</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>to_emp</code></td>
+            <td >
+                Link</td>
+            <td >
+                Applicable To (Employee)
+                <p class="text-muted small">
+                    This will be used for setting rule in HR module</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>to_designation</code></td>
+            <td >
+                Link</td>
+            <td >
+                Applicable To (Designation)
+                <p class="text-muted small">
+                    This will be used for setting rule in HR module</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/designation">Designation</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>approving_role</code></td>
+            <td >
+                Link</td>
+            <td >
+                Approving Role
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/role">Role</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>approving_user</code></td>
+            <td >
+                Link</td>
+            <td >
+                Approving User
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/user">User</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>value</code></td>
+            <td >
+                Float</td>
+            <td >
+                Above Value
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.setup.doctype.authorization_rule.authorization_rule</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>AuthorizationRule</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_duplicate_entry" href="#check_duplicate_entry" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_duplicate_entry</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_rule" href="#validate_rule" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_rule</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/brand.html b/erpnext/docs/current/models/setup/brand.html
new file mode 100644
index 0000000..0e94cdc
--- /dev/null
+++ b/erpnext/docs/current/models/setup/brand.html
@@ -0,0 +1,181 @@
+<!-- title: Brand -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/brand"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabBrand</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>brand</code></td>
+            <td >
+                Data</td>
+            <td >
+                Brand Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>description</code></td>
+            <td >
+                Text</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.setup.doctype.brand.brand</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Brand</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/serial_no">Serial No</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt_item">Purchase Receipt Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/material_request_item">Material Request Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note_item">Delivery Note Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order_item">Sales Order Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation_item">Quotation Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation_item">Supplier Quotation Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order_item">Purchase Order Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/opportunity_item">Opportunity Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pricing_rule">Pricing Rule</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/company.html b/erpnext/docs/current/models/setup/company.html
new file mode 100644
index 0000000..7fb4607
--- /dev/null
+++ b/erpnext/docs/current/models/setup/company.html
@@ -0,0 +1,1513 @@
+<!-- title: Company -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/company"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabCompany</code></p>
+
+
+Legal Entity / Subsidiary with a separate Chart of Accounts belonging to the Organization.
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>company_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Company
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>abbr</code></td>
+            <td >
+                Data</td>
+            <td >
+                Abbr
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>change_abbr</code></td>
+            <td >
+                Button</td>
+            <td >
+                Change Abbreviation
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>cb0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>domain</code></td>
+            <td >
+                Select</td>
+            <td >
+                Domain
+                
+            </td>
+            <td>
+                <pre>Distribution
+Manufacturing
+Retail
+Services</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>7</td>
+            <td ><code>charts_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Default Values
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>default_letter_head</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Letter Head
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/print/letter_head">Letter Head</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>default_holiday_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Holiday List
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/holiday_list">Holiday List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td class="danger" title="Mandatory"><code>country</code></td>
+            <td >
+                Link</td>
+            <td >
+                Country
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/country">Country</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>column_break_10</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td class="danger" title="Mandatory"><code>default_currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>chart_of_accounts</code></td>
+            <td >
+                Select</td>
+            <td >
+                Chart of Accounts
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>default_terms</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Terms
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/terms_and_conditions">Terms and Conditions</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>15</td>
+            <td ><code>default_settings</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Accounts Settings
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>default_bank_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Bank Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>default_cash_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Cash Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>default_receivable_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Receivable Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>round_off_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Round Off Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>default_payable_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Payable Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>default_expense_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Cost of Goods Sold Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>default_income_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Income Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>round_off_cost_center</code></td>
+            <td >
+                Link</td>
+            <td >
+                Round Off Cost Center
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>25</td>
+            <td ><code>section_break_22</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>cost_center</code></td>
+            <td >
+                Link</td>
+            <td >
+                Cost Center
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>credit_days_based_on</code></td>
+            <td >
+                Select</td>
+            <td >
+                Credit Days Based On
+                
+            </td>
+            <td>
+                <pre>
+Fixed Days
+Last Day of the Next Month</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>credit_days</code></td>
+            <td >
+                Int</td>
+            <td >
+                Credit Days
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>credit_limit</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Credit Limit
+                
+            </td>
+            <td>
+                <pre>default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>column_break_26</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>yearly_bgt_flag</code></td>
+            <td >
+                Select</td>
+            <td >
+                If Yearly Budget Exceeded (for expense account)
+                
+            </td>
+            <td>
+                <pre>
+Warn
+Ignore
+Stop</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>monthly_bgt_flag</code></td>
+            <td >
+                Select</td>
+            <td >
+                If Monthly Budget Exceeded (for expense account)
+                
+            </td>
+            <td>
+                <pre>
+Warn
+Ignore
+Stop</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>33</td>
+            <td ><code>auto_accounting_for_stock_settings</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Stock Settings
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>stock_received_but_not_billed</code></td>
+            <td >
+                Link</td>
+            <td >
+                Stock Received But Not Billed
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>stock_adjustment_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Stock Adjustment Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td ><code>column_break_32</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>37</td>
+            <td ><code>expenses_included_in_valuation</code></td>
+            <td >
+                Link</td>
+            <td >
+                Expenses Included In Valuation
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>38</td>
+            <td ><code>company_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Company Info
+                <p class="text-muted small">
+                    For reference only.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td ><code>address</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>40</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>41</td>
+            <td ><code>phone_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                Phone No
+                
+            </td>
+            <td>
+                <pre>Phone</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>42</td>
+            <td ><code>fax</code></td>
+            <td >
+                Data</td>
+            <td >
+                Fax
+                
+            </td>
+            <td>
+                <pre>Phone</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>43</td>
+            <td ><code>email</code></td>
+            <td >
+                Data</td>
+            <td >
+                Email
+                
+            </td>
+            <td>
+                <pre>Email</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>44</td>
+            <td ><code>website</code></td>
+            <td >
+                Data</td>
+            <td >
+                Website
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>45</td>
+            <td ><code>registration_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>46</td>
+            <td ><code>registration_details</code></td>
+            <td >
+                Code</td>
+            <td >
+                Registration Details
+                <p class="text-muted small">
+                    Company registration numbers for your reference. Tax numbers etc.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>47</td>
+            <td ><code>delete_company_transactions</code></td>
+            <td >
+                Button</td>
+            <td >
+                Delete Company Transactions
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.setup.doctype.company.company</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Company</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="_set_default_account" href="#_set_default_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>_set_default_account</b>
+        <i class="text-muted">(self, fieldname, account_type)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="add_acc" href="#add_acc" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>add_acc</b>
+        <i class="text-muted">(self, lst)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="after_rename" href="#after_rename" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>after_rename</b>
+        <i class="text-muted">(self, olddn, newdn, merge=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="before_rename" href="#before_rename" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>before_rename</b>
+        <i class="text-muted">(self, olddn, newdn, merge=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_if_transactions_exist" href="#check_if_transactions_exist" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_if_transactions_exist</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="create_default_accounts" href="#create_default_accounts" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>create_default_accounts</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="create_default_cost_center" href="#create_default_cost_center" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>create_default_cost_center</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="create_default_warehouses" href="#create_default_warehouses" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>create_default_warehouses</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="install_country_fixtures" href="#install_country_fixtures" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>install_country_fixtures</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_trash" href="#on_trash" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_trash</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Trash accounts and cost centers for this company if no gl entry exists</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="onload" href="#onload" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>onload</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_default_accounts" href="#set_default_accounts" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_default_accounts</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_currency" href="#validate_currency" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_currency</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_default_accounts" href="#validate_default_accounts" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_default_accounts</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.doctype.company.company.get_company_currency" href="#erpnext.setup.doctype.company.company.get_company_currency" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.doctype.company.company.<b>get_company_currency</b>
+        <i class="text-muted">(company)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.doctype.company.company.get_name_with_abbr" href="#erpnext.setup.doctype.company.company.get_name_with_abbr" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.doctype.company.company.<b>get_name_with_abbr</b>
+        <i class="text-muted">(name, company)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.setup.doctype.company.company.replace_abbr</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.doctype.company.company.replace_abbr" href="#erpnext.setup.doctype.company.company.replace_abbr" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.doctype.company.company.<b>replace_abbr</b>
+        <i class="text-muted">(company, old, new)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/shopping_cart/shopping_cart_settings">Shopping Cart Settings</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/warranty_claim">Warranty Claim</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_visit">Maintenance Visit</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_schedule">Maintenance Schedule</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/issue">Issue</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_reconciliation">Stock Reconciliation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_ledger_entry">Stock Ledger Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry">Stock Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/serial_no">Serial No</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt">Purchase Receipt</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/material_request">Material Request</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/landed_cost_voucher">Landed Cost Voucher</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_planning_tool">Production Planning Tool</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_order">Production Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom">BOM</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_structure">Salary Structure</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_slip">Salary Slip</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/process_payroll">Process Payroll</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/offer_letter">Offer Letter</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_block_list">Leave Block List</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_application">Leave Application</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/expense_claim">Expense Claim</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/attendance">Attendance</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/appraisal">Appraisal</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/global_defaults">Global Defaults</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/email_digest">Email Digest</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/authorization_rule">Authorization Rule</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation">Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/installation_note">Installation Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/task">Task</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/project">Project</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation">Supplier Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order">Purchase Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/opportunity">Opportunity</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/lead">Lead</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/tax_rule">Tax Rule</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/shipping_rule">Shipping Rule</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_taxes_and_charges_template">Sales Taxes and Charges Template</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_taxes_and_charges_template">Purchase Taxes and Charges Template</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice">Purchase Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pricing_rule">Pricing Rule</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pos_profile">POS Profile</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/period_closing_voucher">Period Closing Voucher</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/payment_tool">Payment Tool</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/payment_reconciliation">Payment Reconciliation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/party_account">Party Account</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/mode_of_payment_account">Mode of Payment Account</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/journal_entry">Journal Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/gl_entry">GL Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year_company">Fiscal Year Company</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/c_form">C-Form</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/bank_reconciliation">Bank Reconciliation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/currency_exchange.html b/erpnext/docs/current/models/setup/currency_exchange.html
new file mode 100644
index 0000000..52b41e3
--- /dev/null
+++ b/erpnext/docs/current/models/setup/currency_exchange.html
@@ -0,0 +1,157 @@
+<!-- title: Currency Exchange -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/currency_exchange"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabCurrency Exchange</code></p>
+
+
+Specify Exchange Rate to convert one currency into another
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>from_currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                From Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>to_currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                To Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>exchange_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Exchange Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.setup.doctype.currency_exchange.currency_exchange</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>CurrencyExchange</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="autoname" href="#autoname" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>autoname</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/customer_group.html b/erpnext/docs/current/models/setup/customer_group.html
new file mode 100644
index 0000000..db0ea1d
--- /dev/null
+++ b/erpnext/docs/current/models/setup/customer_group.html
@@ -0,0 +1,415 @@
+<!-- title: Customer Group -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/customer_group"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabCustomer Group</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>customer_group_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Customer Group Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>parent_customer_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Parent Customer Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/customer_group">Customer Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>is_group</code></td>
+            <td >
+                Select</td>
+            <td >
+                Has Child Node
+                <p class="text-muted small">
+                    Only leaf nodes are allowed in transaction</p>
+            </td>
+            <td>
+                <pre>
+Yes
+No</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>cb0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>default_price_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Price List
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/price_list">Price List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>credit_days_based_on</code></td>
+            <td >
+                Select</td>
+            <td >
+                Credit Days Based On
+                
+            </td>
+            <td>
+                <pre>
+Fixed Days
+Last Day of the Next Month</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>credit_days</code></td>
+            <td >
+                Int</td>
+            <td >
+                Credit Days
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>credit_limit</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Credit Limit
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>lft</code></td>
+            <td >
+                Int</td>
+            <td class="text-muted" title="Hidden">
+                lft
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>rgt</code></td>
+            <td >
+                Int</td>
+            <td class="text-muted" title="Hidden">
+                rgt
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>old_parent</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                old_parent
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/customer_group">Customer Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>12</td>
+            <td ><code>default_receivable_account</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Default Receivable Account
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>accounts</code></td>
+            <td >
+                Table</td>
+            <td >
+                Accounts
+                <p class="text-muted small">
+                    Mention if non-standard receivable account applicable</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/party_account">Party Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.setup.doctype.customer_group.customer_group</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>CustomerGroup</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.utils.nestedset.NestedSet</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_name_with_customer" href="#validate_name_with_customer" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_name_with_customer</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/shopping_cart/shopping_cart_settings">Shopping Cart Settings</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/warranty_claim">Warranty Claim</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_visit">Maintenance Visit</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_schedule">Maintenance Schedule</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/customer_group">Customer Group</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/selling_settings">Selling Settings</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation">Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/installation_note">Installation Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/opportunity">Opportunity</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/tax_rule">Tax Rule</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pricing_rule">Pricing Rule</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/email_digest.html b/erpnext/docs/current/models/setup/email_digest.html
new file mode 100644
index 0000000..6d5608c
--- /dev/null
+++ b/erpnext/docs/current/models/setup/email_digest.html
@@ -0,0 +1,715 @@
+<!-- title: Email Digest -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/email_digest"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabEmail Digest</code></p>
+
+
+Send regular summary reports via Email.
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>settings</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Email Digest Settings
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>enabled</code></td>
+            <td >
+                Check</td>
+            <td >
+                Enabled
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                For Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>frequency</code></td>
+            <td >
+                Select</td>
+            <td >
+                How frequently?
+                
+            </td>
+            <td>
+                <pre>Daily
+Weekly
+Monthly</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>next_send</code></td>
+            <td >
+                Data</td>
+            <td >
+                Next email will be sent on:
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td class="danger" title="Mandatory"><code>recipient_list</code></td>
+            <td >
+                Text</td>
+            <td >
+                Recipients
+                <p class="text-muted small">
+                    Note: Email will not be sent to disabled users</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>addremove_recipients</code></td>
+            <td >
+                Button</td>
+            <td >
+                Add/Remove Recipients
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>10</td>
+            <td ><code>accounts</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Accounts
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>accounts_module</code></td>
+            <td class="info">
+                Column Break</td>
+            <td class="text-muted" title="Hidden">
+                Income / Expense
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>income</code></td>
+            <td >
+                Check</td>
+            <td >
+                Income
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>expenses_booked</code></td>
+            <td >
+                Check</td>
+            <td >
+                Expense
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>bank_balance</code></td>
+            <td >
+                Check</td>
+            <td >
+                Bank Balance
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>income_year_to_date</code></td>
+            <td >
+                Check</td>
+            <td >
+                Annual Income
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>expense_year_to_date</code></td>
+            <td >
+                Check</td>
+            <td >
+                Annual Expense
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>column_break_16</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                Receivables / Payables
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>invoiced_amount</code></td>
+            <td >
+                Check</td>
+            <td >
+                Receivables
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>payables</code></td>
+            <td >
+                Check</td>
+            <td >
+                Payables
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.setup.doctype.email_digest.email_digest</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>EmailDigest</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="__init__" href="#__init__" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>__init__</b>
+        <i class="text-muted">(self, arg1, arg2=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="fmt_money" href="#fmt_money" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>fmt_money</b>
+        <i class="text-muted">(self, value)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_bank_balance" href="#get_bank_balance" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_bank_balance</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_calendar_events" href="#get_calendar_events" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_calendar_events</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Get calendar events for given user</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_expense_year_to_date" href="#get_expense_year_to_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_expense_year_to_date</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Get income to date</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_expenses_booked" href="#get_expenses_booked" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_expenses_booked</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_from_to_date" href="#get_from_to_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_from_to_date</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_income" href="#get_income" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_income</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Get income for given period</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_income_year_to_date" href="#get_income_year_to_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_income_year_to_date</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Get income to date</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_invoiced_amount" href="#get_invoiced_amount" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_invoiced_amount</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_msg_html" href="#get_msg_html" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_msg_html</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Build email digest content</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_next_sending" href="#get_next_sending" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_next_sending</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_notifications" href="#get_notifications" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_notifications</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Get notifications for user</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_payables" href="#get_payables" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_payables</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_period_amounts" href="#get_period_amounts" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_period_amounts</b>
+        <i class="text-muted">(self, accounts)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Get amounts for current and past periods</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_root_type_accounts" href="#get_root_type_accounts" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_root_type_accounts</b>
+        <i class="text-muted">(self, root_type)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_todo_list" href="#get_todo_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_todo_list</b>
+        <i class="text-muted">(self, user_id=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Get to-do list</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_type_balance" href="#get_type_balance" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_type_balance</b>
+        <i class="text-muted">(self, fieldname, account_type)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_users" href="#get_users" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_users</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>get list of users</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_year_to_date_balance" href="#get_year_to_date_balance" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_year_to_date_balance</b>
+        <i class="text-muted">(self, root_type)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Get income to date</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="onload" href="#onload" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>onload</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="send" href="#send" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>send</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_accounting_cards" href="#set_accounting_cards" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_accounting_cards</b>
+        <i class="text-muted">(self, context)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Create accounting cards if checked</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_dates" href="#set_dates" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_dates</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_style" href="#set_style" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_style</b>
+        <i class="text-muted">(self, context)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Set standard digest style</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_title" href="#set_title" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_title</b>
+        <i class="text-muted">(self, context)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Set digest title</p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.setup.doctype.email_digest.email_digest.get_digest_msg</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.doctype.email_digest.email_digest.get_digest_msg" href="#erpnext.setup.doctype.email_digest.email_digest.get_digest_msg" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.doctype.email_digest.email_digest.<b>get_digest_msg</b>
+        <i class="text-muted">(name)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.doctype.email_digest.email_digest.send" href="#erpnext.setup.doctype.email_digest.email_digest.send" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.doctype.email_digest.email_digest.<b>send</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/features_setup.html b/erpnext/docs/current/models/setup/features_setup.html
new file mode 100644
index 0000000..647faab
--- /dev/null
+++ b/erpnext/docs/current/models/setup/features_setup.html
@@ -0,0 +1,466 @@
+<!-- title: Features Setup -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/features_setup"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>materials</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Materials
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>fs_item_serial_nos</code></td>
+            <td >
+                Check</td>
+            <td >
+                Item Serial Nos
+                <p class="text-muted small">
+                    To track item in sales and purchase documents based on their serial nos. This is can also used to track warranty details of the product.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>fs_item_batch_nos</code></td>
+            <td >
+                Check</td>
+            <td >
+                Item Batch Nos
+                <p class="text-muted small">
+                    To track items in sales and purchase documents with batch nos. "Preferred Industry: Chemicals"</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>fs_brands</code></td>
+            <td >
+                Check</td>
+            <td >
+                Brands
+                <p class="text-muted small">
+                    To track brand name in the following documents Delivery Note, Opportunity, Material Request, Item, Purchase Order, Purchase Voucher, Purchaser Receipt, Quotation, Sales Invoice, Product Bundle, Sales Order, Serial No</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>fs_item_barcode</code></td>
+            <td >
+                Check</td>
+            <td >
+                Item Barcode
+                <p class="text-muted small">
+                    To track items using barcode. You will be able to enter items in Delivery Note and Sales Invoice by scanning barcode of item.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>fs_item_advanced</code></td>
+            <td >
+                Check</td>
+            <td >
+                Item Advanced
+                <p class="text-muted small">
+                    1. To maintain the customer wise item code and to make them searchable based on their code use this option</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>fs_item_group_in_details</code></td>
+            <td >
+                Check</td>
+            <td >
+                Item Groups in Details
+                <p class="text-muted small">
+                    To get Item Group in details table</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>9</td>
+            <td ><code>sales_and_purchase</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Sales and Purchase
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>fs_exports</code></td>
+            <td >
+                Check</td>
+            <td >
+                Exports
+                <p class="text-muted small">
+                    All export related fields like currency, conversion rate, export total, export grand total etc are available in Delivery Note, POS, Quotation, Sales Invoice, Sales Order etc.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>fs_imports</code></td>
+            <td >
+                Check</td>
+            <td >
+                Imports
+                <p class="text-muted small">
+                    All import related fields like currency, conversion rate, import total, import grand total etc are available in Purchase Receipt, Supplier Quotation, Purchase Invoice, Purchase Order etc.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>fs_discounts</code></td>
+            <td >
+                Check</td>
+            <td >
+                Sales Discounts
+                <p class="text-muted small">
+                    Field available in Delivery Note, Quotation, Sales Invoice, Sales Order</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>fs_purchase_discounts</code></td>
+            <td >
+                Check</td>
+            <td >
+                Purchase Discounts
+                <p class="text-muted small">
+                    Discount Fields will be available in Purchase Order, Purchase Receipt, Purchase Invoice</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>fs_after_sales_installations</code></td>
+            <td >
+                Check</td>
+            <td >
+                After Sale Installations
+                <p class="text-muted small">
+                    To track any installation or commissioning related work after sales</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>fs_projects</code></td>
+            <td >
+                Check</td>
+            <td >
+                Projects
+                <p class="text-muted small">
+                    Available in BOM, Delivery Note, Purchase Invoice, Production Order, Purchase Order, Purchase Receipt, Sales Invoice, Sales Order, Stock Entry, Timesheet</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>fs_sales_extras</code></td>
+            <td >
+                Check</td>
+            <td >
+                Sales Extras
+                <p class="text-muted small">
+                    If you have Sales Team and Sale Partners (Channel Partners)  they can be tagged and maintain their contribution in the sales activity</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>18</td>
+            <td ><code>accounts</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Accounts
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>fs_recurring_invoice</code></td>
+            <td >
+                Check</td>
+            <td >
+                Recurring Invoice
+                <p class="text-muted small">
+                    Check if you need automatic recurring invoices. After submitting any sales invoice, Recurring section will be visible.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>column_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>fs_pos</code></td>
+            <td >
+                Check</td>
+            <td >
+                Point of Sale
+                <p class="text-muted small">
+                    To enable "Point of Sale" features</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>fs_pos_view</code></td>
+            <td >
+                Check</td>
+            <td >
+                POS View
+                <p class="text-muted small">
+                    To enable "Point of Sale" view</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>23</td>
+            <td ><code>production</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Manufacturing
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>fs_manufacturing</code></td>
+            <td >
+                Check</td>
+            <td >
+                Manufacturing
+                <p class="text-muted small">
+                    If you involve in manufacturing activity. Enables Item 'Is Manufactured'</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>column_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>fs_quality</code></td>
+            <td >
+                Check</td>
+            <td >
+                Quality
+                <p class="text-muted small">
+                    If you follow Quality Inspection. Enables Item QA Required and QA No in Purchase Receipt</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>27</td>
+            <td ><code>miscelleneous</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Miscelleneous
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>fs_page_break</code></td>
+            <td >
+                Check</td>
+            <td >
+                Page Break
+                <p class="text-muted small">
+                    If you have long print formats, this feature can be used to split the page to be printed on multiple pages with all headers and footers on each page</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>column_break4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>fs_more_info</code></td>
+            <td >
+                Check</td>
+            <td >
+                More Information
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.setup.doctype.features_setup.features_setup</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>FeaturesSetup</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>update settings in defaults</p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/global_defaults.html b/erpnext/docs/current/models/setup/global_defaults.html
new file mode 100644
index 0000000..199b62a
--- /dev/null
+++ b/erpnext/docs/current/models/setup/global_defaults.html
@@ -0,0 +1,241 @@
+<!-- title: Global Defaults -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/global_defaults"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>default_company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>current_fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Current Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>country</code></td>
+            <td >
+                Link</td>
+            <td >
+                Country
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/country">Country</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>column_break_8</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>default_currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>hide_currency_symbol</code></td>
+            <td >
+                Select</td>
+            <td >
+                Hide Currency Symbol
+                <p class="text-muted small">
+                    Do not show any symbol like $ etc next to currencies.</p>
+            </td>
+            <td>
+                <pre>
+No
+Yes</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>disable_rounded_total</code></td>
+            <td >
+                Check</td>
+            <td >
+                Disable Rounded Total
+                <p class="text-muted small">
+                    If disable, 'Rounded Total' field will not be visible in any transaction</p>
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.setup.doctype.global_defaults.global_defaults</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>GlobalDefaults</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_defaults" href="#get_defaults" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_defaults</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>update defaults</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="toggle_rounded_total" href="#toggle_rounded_total" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>toggle_rounded_total</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/index.html b/erpnext/docs/current/models/setup/index.html
new file mode 100644
index 0000000..0093aa4
--- /dev/null
+++ b/erpnext/docs/current/models/setup/index.html
@@ -0,0 +1,19 @@
+<!-- title: Module setup -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>DocTypes for setup</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/index.txt b/erpnext/docs/current/models/setup/index.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/erpnext/docs/current/models/setup/index.txt
diff --git a/erpnext/docs/current/models/setup/item_group.html b/erpnext/docs/current/models/setup/item_group.html
new file mode 100644
index 0000000..8ea9d1e
--- /dev/null
+++ b/erpnext/docs/current/models/setup/item_group.html
@@ -0,0 +1,683 @@
+<!-- title: Item Group -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/item_group"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabItem Group</code></p>
+
+
+Item Classification
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>gs</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                General Settings
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>item_group_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Group Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>parent_item_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Parent Item Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/item_group">Item Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>is_group</code></td>
+            <td >
+                Select</td>
+            <td >
+                Has Child Node
+                <p class="text-muted small">
+                    Only leaf nodes are allowed in transaction</p>
+            </td>
+            <td>
+                <pre>
+Yes
+No</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>column_break_5</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>default_income_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Income Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>default_expense_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Expense Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>default_cost_center</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Cost Center
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>9</td>
+            <td ><code>sb9</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Website Settings
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>show_in_website</code></td>
+            <td >
+                Check</td>
+            <td >
+                Show in Website
+                <p class="text-muted small">
+                    Check this if you want to show in website</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>page_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Page Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>parent_website_route</code></td>
+            <td >
+                Read Only</td>
+            <td >
+                Parent Website Route
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>slideshow</code></td>
+            <td >
+                Link</td>
+            <td >
+                Slideshow
+                <p class="text-muted small">
+                    Show this slideshow at the top of the page</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/website/website_slideshow">Website Slideshow</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                <p class="text-muted small">
+                    HTML / Banner that will show on the top of product list.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>website_specifications</code></td>
+            <td >
+                Table</td>
+            <td >
+                Website Specifications
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item_website_specification">Item Website Specification</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>lft</code></td>
+            <td >
+                Int</td>
+            <td class="text-muted" title="Hidden">
+                lft
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>rgt</code></td>
+            <td >
+                Int</td>
+            <td class="text-muted" title="Hidden">
+                rgt
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>old_parent</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                old_parent
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/item_group">Item Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.setup.doctype.item_group.item_group</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ItemGroup</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.utils.nestedset.NestedSet, frappe.website.website_generator.WebsiteGenerator</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="after_rename" href="#after_rename" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>after_rename</b>
+        <i class="text-muted">(self, olddn, newdn, merge=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="autoname" href="#autoname" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>autoname</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_context" href="#get_context" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_context</b>
+        <i class="text-muted">(self, context)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_trash" href="#on_trash" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_trash</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_parent_website_route" href="#set_parent_website_route" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_parent_website_route</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Overwrite <code>parent_website_route</code> from <code>WebsiteGenerator</code>.
+Only set <code>parent_website_route</code> if parent is visble.</p>
+
+<p>e.g. If <code>show_in_website</code> is set for Products then url should be <code>/products</code></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_name_with_item" href="#validate_name_with_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_name_with_item</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.doctype.item_group.item_group.get_child_groups" href="#erpnext.setup.doctype.item_group.item_group.get_child_groups" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.doctype.item_group.item_group.<b>get_child_groups</b>
+        <i class="text-muted">(item_group_name)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.doctype.item_group.item_group.get_group_item_count" href="#erpnext.setup.doctype.item_group.item_group.get_group_item_count" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.doctype.item_group.item_group.<b>get_group_item_count</b>
+        <i class="text-muted">(item_group)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.doctype.item_group.item_group.get_item_for_list_in_html" href="#erpnext.setup.doctype.item_group.item_group.get_item_for_list_in_html" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.doctype.item_group.item_group.<b>get_item_for_list_in_html</b>
+        <i class="text-muted">(context)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.doctype.item_group.item_group.get_parent_item_groups" href="#erpnext.setup.doctype.item_group.item_group.get_parent_item_groups" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.doctype.item_group.item_group.<b>get_parent_item_groups</b>
+        <i class="text-muted">(item_group_name)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.doctype.item_group.item_group.get_product_list_for_group" href="#erpnext.setup.doctype.item_group.item_group.get_product_list_for_group" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.doctype.item_group.item_group.<b>get_product_list_for_group</b>
+        <i class="text-muted">(product_group=None, start=0, limit=10)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.doctype.item_group.item_group.invalidate_cache_for" href="#erpnext.setup.doctype.item_group.item_group.invalidate_cache_for" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.doctype.item_group.item_group.<b>invalidate_cache_for</b>
+        <i class="text-muted">(doc, item_group=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_settings">Stock Settings</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/serial_no">Serial No</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt_item">Purchase Receipt Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/material_request_item">Material Request Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note_item">Delivery Note Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/website_item_group">Website Item Group</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/target_detail">Target Detail</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/item_group">Item Group</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order_item">Sales Order Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation_item">Quotation Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation_item">Supplier Quotation Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order_item">Purchase Order Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/opportunity_item">Opportunity Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice_item">Sales Invoice Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice_item">Purchase Invoice Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pricing_rule">Pricing Rule</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/naming_series.html b/erpnext/docs/current/models/setup/naming_series.html
new file mode 100644
index 0000000..4c22ba0
--- /dev/null
+++ b/erpnext/docs/current/models/setup/naming_series.html
@@ -0,0 +1,386 @@
+<!-- title: Naming Series -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/naming_series"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+Set prefix for numbering series on your transactions
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>setup_series</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Setup Series
+                <p class="text-muted small">
+                    Set prefix for numbering series on your transactions</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>select_doc_for_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Select Transaction
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>help_html</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Help HTML
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>set_options</code></td>
+            <td >
+                Text</td>
+            <td >
+                Series List for this Transaction
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>user_must_always_select</code></td>
+            <td >
+                Check</td>
+            <td >
+                User must always select
+                <p class="text-muted small">
+                    Check this if you want to force the user to select a series before saving. There will be no default if you check this.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>update</code></td>
+            <td >
+                Button</td>
+            <td >
+                Update
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>7</td>
+            <td ><code>update_series</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Update Series
+                <p class="text-muted small">
+                    Change the starting / current sequence number of an existing series.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>prefix</code></td>
+            <td >
+                Select</td>
+            <td >
+                Prefix
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>current_value</code></td>
+            <td >
+                Int</td>
+            <td >
+                Current Value
+                <p class="text-muted small">
+                    This is the number of the last created transaction with this prefix</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>update_series_start</code></td>
+            <td >
+                Button</td>
+            <td >
+                Update Series Number
+                
+            </td>
+            <td>
+                <pre>update_series_start</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.setup.doctype.naming_series.naming_series</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>NamingSeries</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_duplicate" href="#check_duplicate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_duplicate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_current" href="#get_current" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_current</b>
+        <i class="text-muted">(self, arg=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p>get series current</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_options" href="#get_options" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_options</b>
+        <i class="text-muted">(self, arg=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_transactions" href="#get_transactions" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_transactions</b>
+        <i class="text-muted">(self, arg=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="insert_series" href="#insert_series" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>insert_series</b>
+        <i class="text-muted">(self, series)</i>
+    </p>
+	<div class="docs-attr-desc"><p>insert series if missing</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="scrub_options_list" href="#scrub_options_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>scrub_options_list</b>
+        <i class="text-muted">(self, ol)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_series_for" href="#set_series_for" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_series_for</b>
+        <i class="text-muted">(self, doctype, ol)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_series" href="#update_series" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_series</b>
+        <i class="text-muted">(self, arg=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p>update series list</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_series_start" href="#update_series_start" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_series_start</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_series_name" href="#validate_series_name" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_series_name</b>
+        <i class="text-muted">(self, n)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>NamingSeriesNotSetError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.doctype.naming_series.naming_series.get_default_naming_series" href="#erpnext.setup.doctype.naming_series.naming_series.get_default_naming_series" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.doctype.naming_series.naming_series.<b>get_default_naming_series</b>
+        <i class="text-muted">(doctype)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.doctype.naming_series.naming_series.set_by_naming_series" href="#erpnext.setup.doctype.naming_series.naming_series.set_by_naming_series" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.doctype.naming_series.naming_series.<b>set_by_naming_series</b>
+        <i class="text-muted">(doctype, fieldname, naming_series, hide_name_field=True)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/notification_control.html b/erpnext/docs/current/models/setup/notification_control.html
new file mode 100644
index 0000000..f4c9c26
--- /dev/null
+++ b/erpnext/docs/current/models/setup/notification_control.html
@@ -0,0 +1,364 @@
+<!-- title: Notification Control -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/notification_control"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+Send automatic emails to Contacts on Submitting transactions.
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>send_autonotification_for</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Prompt for Email on Submission of
+                <p class="text-muted small">
+                    When any of the checked transactions are "Submitted", an email pop-up automatically opened to send an email to the associated "Contact" in that transaction, with the transaction as an attachment. The user may or may not send the email.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>sales</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                Sales
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>quotation</code></td>
+            <td >
+                Check</td>
+            <td >
+                Quotation
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>sales_order</code></td>
+            <td >
+                Check</td>
+            <td >
+                Sales Order
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>delivery_note</code></td>
+            <td >
+                Check</td>
+            <td >
+                Delivery Note
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>sales_invoice</code></td>
+            <td >
+                Check</td>
+            <td >
+                Sales Invoice
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>purchase</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                Purchase
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>purchase_order</code></td>
+            <td >
+                Check</td>
+            <td >
+                Purchase Order
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>purchase_receipt</code></td>
+            <td >
+                Check</td>
+            <td >
+                Purchase Receipt
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>expense_claim</code></td>
+            <td >
+                Check</td>
+            <td >
+                Expense Claim
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>11</td>
+            <td ><code>customize_the_notification</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Customize the Notification
+                <p class="text-muted small">
+                    Customize the introductory text that goes as a part of that email. Each transaction has a separate introductory text.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>select_transaction</code></td>
+            <td >
+                Select</td>
+            <td >
+                Select Transaction
+                
+            </td>
+            <td>
+                <pre>
+Quotation
+Sales Order
+Delivery Note
+Sales Invoice
+Purchase Order
+Purchase Receipt
+Expense Claim
+Expense Claim Approved
+Expense Claim Rejected</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>custom_message</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Custom Message
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>set_message</code></td>
+            <td >
+                Button</td>
+            <td >
+                Update
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>quotation_message</code></td>
+            <td >
+                Text</td>
+            <td class="text-muted" title="Hidden">
+                Quotation Message
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>sales_order_message</code></td>
+            <td >
+                Text</td>
+            <td class="text-muted" title="Hidden">
+                Sales Order Message
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>delivery_note_message</code></td>
+            <td >
+                Text</td>
+            <td class="text-muted" title="Hidden">
+                Delivery Note Message
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>sales_invoice_message</code></td>
+            <td >
+                Text</td>
+            <td class="text-muted" title="Hidden">
+                Sales Invoice Message
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>purchase_order_message</code></td>
+            <td >
+                Text</td>
+            <td class="text-muted" title="Hidden">
+                Purchase Order Message
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>purchase_receipt_message</code></td>
+            <td >
+                Text</td>
+            <td class="text-muted" title="Hidden">
+                Purchase Receipt Message
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>expense_claim_approved_message</code></td>
+            <td >
+                Text</td>
+            <td class="text-muted" title="Hidden">
+                Expense Claim Approved Message
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>expense_claim_rejected_message</code></td>
+            <td >
+                Text</td>
+            <td class="text-muted" title="Hidden">
+                Expense Claim Rejected Message
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.setup.doctype.notification_control.notification_control</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>NotificationControl</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/print_heading.html b/erpnext/docs/current/models/setup/print_heading.html
new file mode 100644
index 0000000..3a3b6f4
--- /dev/null
+++ b/erpnext/docs/current/models/setup/print_heading.html
@@ -0,0 +1,188 @@
+<!-- title: Print Heading -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/print_heading"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabPrint Heading</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>print_heading</code></td>
+            <td >
+                Data</td>
+            <td >
+                Print Heading
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>description</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.setup.doctype.print_heading.print_heading</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>PrintHeading</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry">Stock Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt">Purchase Receipt</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/material_request">Material Request</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation">Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation">Supplier Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order">Purchase Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice">Purchase Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pos_profile">POS Profile</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/journal_entry">Journal Entry</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/quotation_lost_reason.html b/erpnext/docs/current/models/setup/quotation_lost_reason.html
new file mode 100644
index 0000000..bca8c0c
--- /dev/null
+++ b/erpnext/docs/current/models/setup/quotation_lost_reason.html
@@ -0,0 +1,87 @@
+<!-- title: Quotation Lost Reason -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/quotation_lost_reason"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabQuotation Lost Reason</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>order_lost_reason</code></td>
+            <td >
+                Data</td>
+            <td >
+                Quotation Lost Reason
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.setup.doctype.quotation_lost_reason.quotation_lost_reason</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>QuotationLostReason</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/sales_partner.html b/erpnext/docs/current/models/setup/sales_partner.html
new file mode 100644
index 0000000..242ef93
--- /dev/null
+++ b/erpnext/docs/current/models/setup/sales_partner.html
@@ -0,0 +1,543 @@
+<!-- title: Sales Partner -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/sales_partner"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabSales Partner</code></p>
+
+
+A third party distributor / dealer / commission agent / affiliate / reseller who sells the companies products for a commission.
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>partner_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Sales Partner Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>partner_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Partner Type
+                
+            </td>
+            <td>
+                <pre>
+Channel Partner
+Distributor
+Dealer
+Agent
+Retailer
+Implementation Partner
+Reseller</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>territory</code></td>
+            <td >
+                Link</td>
+            <td >
+                Territory
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>commission_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Commission Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>6</td>
+            <td ><code>address_contacts</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Address & Contacts
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>address_desc</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Address Desc
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>address_html</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Address HTML
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>contact_desc</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Contact Desc
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>contact_html</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Contact HTML
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>12</td>
+            <td ><code>partner_target_details_section_break</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Sales Partner Target
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>targets</code></td>
+            <td >
+                Table</td>
+            <td >
+                Targets
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/target_detail">Target Detail</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>distribution_id</code></td>
+            <td >
+                Link</td>
+            <td >
+                Target Distribution
+                <p class="text-muted small">
+                    Select Monthly Distribution to unevenly distribute targets across months.</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/monthly_distribution">Monthly Distribution</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>15</td>
+            <td ><code>website</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Website
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>show_in_website</code></td>
+            <td >
+                Check</td>
+            <td >
+                Show In Website
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>17</td>
+            <td ><code>section_break_17</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>logo</code></td>
+            <td >
+                Attach</td>
+            <td >
+                Logo
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>partner_website</code></td>
+            <td >
+                Data</td>
+            <td >
+                Partner's Website
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>column_break_20</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>page_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Page Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>22</td>
+            <td ><code>section_break_22</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>introduction</code></td>
+            <td >
+                Text</td>
+            <td >
+                Introduction
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>parent_website_route</code></td>
+            <td >
+                Read Only</td>
+            <td >
+                Parent Website Route
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.setup.doctype.sales_partner.sales_partner</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SalesPartner</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.website.website_generator.WebsiteGenerator</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="autoname" href="#autoname" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>autoname</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_contacts" href="#get_contacts" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_contacts</b>
+        <i class="text-muted">(self, nm)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_context" href="#get_context" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_context</b>
+        <i class="text-muted">(self, context)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="onload" href="#onload" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>onload</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Load address and contacts in <code>__onload</code></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/contact">Contact</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sms_center">SMS Center</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pricing_rule">Pricing Rule</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/sales_person.html b/erpnext/docs/current/models/setup/sales_person.html
new file mode 100644
index 0000000..c82612d
--- /dev/null
+++ b/erpnext/docs/current/models/setup/sales_person.html
@@ -0,0 +1,390 @@
+<!-- title: Sales Person -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/sales_person"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabSales Person</code></p>
+
+
+All Sales Transactions can be tagged against multiple **Sales Persons** so that you can set and monitor targets.
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>name_and_employee_id</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Name and Employee ID
+                
+            </td>
+            <td>
+                <pre>icon-user</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>sales_person_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Sales Person Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>parent_sales_person</code></td>
+            <td >
+                Link</td>
+            <td >
+                Parent Sales Person
+                <p class="text-muted small">
+                    Select company name first.</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sales_person">Sales Person</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>is_group</code></td>
+            <td >
+                Select</td>
+            <td >
+                Has Child Node
+                
+            </td>
+            <td>
+                <pre>
+Yes
+No</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>cb0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td class="danger" title="Mandatory"><code>employee</code></td>
+            <td >
+                Link</td>
+            <td >
+                Employee
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>lft</code></td>
+            <td >
+                Int</td>
+            <td class="text-muted" title="Hidden">
+                lft
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>rgt</code></td>
+            <td >
+                Int</td>
+            <td class="text-muted" title="Hidden">
+                rgt
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>old_parent</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                old_parent
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>10</td>
+            <td ><code>target_details_section_break</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Sales Person Targets
+                <p class="text-muted small">
+                    Set targets Item Group-wise for this Sales Person.</p>
+            </td>
+            <td>
+                <pre>icon-bullseye</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>targets</code></td>
+            <td >
+                Table</td>
+            <td >
+                Targets
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/target_detail">Target Detail</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>distribution_id</code></td>
+            <td >
+                Link</td>
+            <td >
+                Target Distribution
+                <p class="text-muted small">
+                    Select Monthly Distribution to unevenly distribute targets across months.</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/monthly_distribution">Monthly Distribution</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>communications</code></td>
+            <td >
+                Table</td>
+            <td class="text-muted" title="Hidden">
+                Communications
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/communication">Communication</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.setup.doctype.sales_person.sales_person</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SalesPerson</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.utils.nestedset.NestedSet</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_email_id" href="#get_email_id" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_email_id</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_employee_id" href="#validate_employee_id" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_employee_id</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_visit_purpose">Maintenance Visit Purpose</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_schedule_item">Maintenance Schedule Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_schedule_detail">Maintenance Schedule Detail</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sales_person">Sales Person</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_team">Sales Team</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/sms_parameter.html b/erpnext/docs/current/models/setup/sms_parameter.html
new file mode 100644
index 0000000..a53f7fd
--- /dev/null
+++ b/erpnext/docs/current/models/setup/sms_parameter.html
@@ -0,0 +1,87 @@
+<!-- title: SMS Parameter -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/sms_parameter"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabSMS Parameter</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>parameter</code></td>
+            <td >
+                Data</td>
+            <td >
+                Parameter
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>value</code></td>
+            <td >
+                Data</td>
+            <td >
+                Value
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sms_settings">SMS Settings</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/sms_settings.html b/erpnext/docs/current/models/setup/sms_settings.html
new file mode 100644
index 0000000..e9e0b86
--- /dev/null
+++ b/erpnext/docs/current/models/setup/sms_settings.html
@@ -0,0 +1,302 @@
+<!-- title: SMS Settings -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/sms_settings"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>sms_gateway_url</code></td>
+            <td >
+                Data</td>
+            <td >
+                SMS Gateway URL
+                <p class="text-muted small">
+                    Eg. smsgateway.com/api/send_sms.cgi</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>message_parameter</code></td>
+            <td >
+                Data</td>
+            <td >
+                Message Parameter
+                <p class="text-muted small">
+                    Enter url parameter for message</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>receiver_parameter</code></td>
+            <td >
+                Data</td>
+            <td >
+                Receiver Parameter
+                <p class="text-muted small">
+                    Enter url parameter for receiver nos</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>sms_sender_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                SMS Sender Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>static_parameters_section</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>parameters</code></td>
+            <td >
+                Table</td>
+            <td >
+                Static Parameters
+                <p class="text-muted small">
+                    Enter static url parameters here (Eg. sender=ERPNext, username=ERPNext, password=1234 etc.)</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sms_parameter">SMS Parameter</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.setup.doctype.sms_settings.sms_settings</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SMSSettings</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.doctype.sms_settings.sms_settings.create_sms_log" href="#erpnext.setup.doctype.sms_settings.sms_settings.create_sms_log" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.doctype.sms_settings.sms_settings.<b>create_sms_log</b>
+        <i class="text-muted">(args, sent_to)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.setup.doctype.sms_settings.sms_settings.get_contact_number</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.doctype.sms_settings.sms_settings.get_contact_number" href="#erpnext.setup.doctype.sms_settings.sms_settings.get_contact_number" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.doctype.sms_settings.sms_settings.<b>get_contact_number</b>
+        <i class="text-muted">(contact_name, value, key)</i>
+    </p>
+	<div class="docs-attr-desc"><p>returns mobile number of the contact</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.doctype.sms_settings.sms_settings.get_sender_name" href="#erpnext.setup.doctype.sms_settings.sms_settings.get_sender_name" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.doctype.sms_settings.sms_settings.<b>get_sender_name</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p>returns name as SMS sender</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.doctype.sms_settings.sms_settings.scrub_gateway_url" href="#erpnext.setup.doctype.sms_settings.sms_settings.scrub_gateway_url" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.doctype.sms_settings.sms_settings.<b>scrub_gateway_url</b>
+        <i class="text-muted">(url)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.doctype.sms_settings.sms_settings.send_request" href="#erpnext.setup.doctype.sms_settings.sms_settings.send_request" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.doctype.sms_settings.sms_settings.<b>send_request</b>
+        <i class="text-muted">(gateway_url, args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.setup.doctype.sms_settings.sms_settings.send_sms</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.doctype.sms_settings.sms_settings.send_sms" href="#erpnext.setup.doctype.sms_settings.sms_settings.send_sms" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.doctype.sms_settings.sms_settings.<b>send_sms</b>
+        <i class="text-muted">(receiver_list, msg, sender_name=)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.doctype.sms_settings.sms_settings.send_via_gateway" href="#erpnext.setup.doctype.sms_settings.sms_settings.send_via_gateway" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.doctype.sms_settings.sms_settings.<b>send_via_gateway</b>
+        <i class="text-muted">(arg)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.doctype.sms_settings.sms_settings.validate_receiver_nos" href="#erpnext.setup.doctype.sms_settings.sms_settings.validate_receiver_nos" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.doctype.sms_settings.sms_settings.<b>validate_receiver_nos</b>
+        <i class="text-muted">(receiver_list)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/supplier_type.html b/erpnext/docs/current/models/setup/supplier_type.html
new file mode 100644
index 0000000..03d46fd
--- /dev/null
+++ b/erpnext/docs/current/models/setup/supplier_type.html
@@ -0,0 +1,166 @@
+<!-- title: Supplier Type -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/supplier_type"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabSupplier Type</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>supplier_type</code></td>
+            <td >
+                Data</td>
+            <td >
+                Supplier Type
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>credit_days</code></td>
+            <td >
+                Int</td>
+            <td >
+                Credit Days
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>3</td>
+            <td ><code>default_payable_account</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Default Payable Account
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>accounts</code></td>
+            <td >
+                Table</td>
+            <td >
+                Accounts
+                <p class="text-muted small">
+                    Mention if non-standard receivable account applicable</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/party_account">Party Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.setup.doctype.supplier_type.supplier_type</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SupplierType</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier">Supplier</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/buying_settings">Buying Settings</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/tax_rule">Tax Rule</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pricing_rule">Pricing Rule</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/target_detail.html b/erpnext/docs/current/models/setup/target_detail.html
new file mode 100644
index 0000000..1f5b7cd
--- /dev/null
+++ b/erpnext/docs/current/models/setup/target_detail.html
@@ -0,0 +1,143 @@
+<!-- title: Target Detail -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/target_detail"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabTarget Detail</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>item_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/item_group">Item Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>target_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Target Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>target_amount</code></td>
+            <td >
+                Float</td>
+            <td >
+                Target  Amount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
+
+</li>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sales_person">Sales Person</a>
+
+</li>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sales_partner">Sales Partner</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/terms_and_conditions.html b/erpnext/docs/current/models/setup/terms_and_conditions.html
new file mode 100644
index 0000000..92f897d
--- /dev/null
+++ b/erpnext/docs/current/models/setup/terms_and_conditions.html
@@ -0,0 +1,200 @@
+<!-- title: Terms and Conditions -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/terms_and_conditions"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabTerms and Conditions</code></p>
+
+
+Standard Terms and Conditions that can be added to Sales and Purchases.
+
+Examples:
+
+1. Validity of the offer.
+1. Payment Terms (In Advance, On Credit, part advance etc).
+1. What is extra (or payable by the Customer).
+1. Safety / usage warning.
+1. Warranty if any.
+1. Returns Policy.
+1. Terms of shipping, if applicable.
+1. Ways of addressing disputes, indemnity, liability, etc.
+1. Address and Contact of your Company.
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>title</code></td>
+            <td >
+                Data</td>
+            <td >
+                Title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>terms</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Terms and Conditions
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.setup.doctype.terms_and_conditions.terms_and_conditions</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>TermsandConditions</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt">Purchase Receipt</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/material_request">Material Request</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/offer_letter">Offer Letter</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation">Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation">Supplier Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order">Purchase Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice">Purchase Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pos_profile">POS Profile</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/territory.html b/erpnext/docs/current/models/setup/territory.html
new file mode 100644
index 0000000..f4db49b
--- /dev/null
+++ b/erpnext/docs/current/models/setup/territory.html
@@ -0,0 +1,412 @@
+<!-- title: Territory -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/territory"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabTerritory</code></p>
+
+
+Classification of Customers by region
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>territory_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Territory Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>parent_territory</code></td>
+            <td >
+                Link</td>
+            <td >
+                Parent Territory
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>is_group</code></td>
+            <td >
+                Select</td>
+            <td >
+                Has Child Node
+                <p class="text-muted small">
+                    Only leaf nodes are allowed in transaction</p>
+            </td>
+            <td>
+                <pre>
+Yes
+No</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>cb0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>territory_manager</code></td>
+            <td >
+                Link</td>
+            <td >
+                Territory Manager
+                <p class="text-muted small">
+                    For reference</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sales_person">Sales Person</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>lft</code></td>
+            <td >
+                Int</td>
+            <td class="text-muted" title="Hidden">
+                lft
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>rgt</code></td>
+            <td >
+                Int</td>
+            <td class="text-muted" title="Hidden">
+                rgt
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>old_parent</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                old_parent
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>9</td>
+            <td ><code>target_details_section_break</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Territory Targets
+                <p class="text-muted small">
+                    Set Item Group-wise budgets on this Territory. You can also include seasonality by setting the Distribution.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>targets</code></td>
+            <td >
+                Table</td>
+            <td >
+                Targets
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/target_detail">Target Detail</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>distribution_id</code></td>
+            <td >
+                Link</td>
+            <td >
+                Target Distribution
+                <p class="text-muted small">
+                    Select Monthly Distribution to unevenly distribute targets across months.</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/monthly_distribution">Monthly Distribution</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.setup.doctype.territory.territory</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Territory</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.utils.nestedset.NestedSet</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/warranty_claim">Warranty Claim</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_visit">Maintenance Visit</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_schedule">Maintenance Schedule</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sales_partner">Sales Partner</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/selling_settings">Selling Settings</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation">Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/installation_note">Installation Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/opportunity">Opportunity</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/lead">Lead</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pricing_rule">Pricing Rule</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pos_profile">POS Profile</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/c_form_invoice_detail">C-Form Invoice Detail</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/uom.html b/erpnext/docs/current/models/setup/uom.html
new file mode 100644
index 0000000..3a25fe0
--- /dev/null
+++ b/erpnext/docs/current/models/setup/uom.html
@@ -0,0 +1,301 @@
+<!-- title: UOM -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/uom"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabUOM</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>uom_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                UOM Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>must_be_whole_number</code></td>
+            <td >
+                Check</td>
+            <td >
+                Must be Whole Number
+                <p class="text-muted small">
+                    Check this to disallow fractions. (for Nos)</p>
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.setup.doctype.uom.uom</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>UOM</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/uom_conversion_detail">UOM Conversion Detail</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_uom_replace_utility">Stock UOM Replace Utility</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_settings">Stock Settings</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_ledger_entry">Stock Ledger Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry_detail">Stock Entry Detail</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt_item">Purchase Receipt Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/packing_slip_item">Packing Slip Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/packing_slip">Packing Slip</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/packed_item">Packed Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/material_request_item">Material Request Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note_item">Delivery Note Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/bin">Bin</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_plan_item">Production Plan Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_order">Production Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom_item">BOM Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom_explosion_item">BOM Explosion Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom">BOM</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order_item">Sales Order Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation_item">Quotation Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/product_bundle_item">Product Bundle Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation_item">Supplier Quotation Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_receipt_item_supplied">Purchase Receipt Item Supplied</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order_item_supplied">Purchase Order Item Supplied</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order_item">Purchase Order Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/opportunity_item">Opportunity Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice_item">Sales Invoice Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice_item">Purchase Invoice Item</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/website_item_group.html b/erpnext/docs/current/models/setup/website_item_group.html
new file mode 100644
index 0000000..33eef75
--- /dev/null
+++ b/erpnext/docs/current/models/setup/website_item_group.html
@@ -0,0 +1,84 @@
+<!-- title: Website Item Group -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/website_item_group"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabWebsite Item Group</code></p>
+
+
+Cross Listing of Item in multiple groups
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>item_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/item_group">Item Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/shopping_cart/index.html b/erpnext/docs/current/models/shopping_cart/index.html
new file mode 100644
index 0000000..6f20bd8
--- /dev/null
+++ b/erpnext/docs/current/models/shopping_cart/index.html
@@ -0,0 +1,19 @@
+<!-- title: Module shopping_cart -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/shopping_cart"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>DocTypes for shopping_cart</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/shopping_cart/index.txt b/erpnext/docs/current/models/shopping_cart/index.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/erpnext/docs/current/models/shopping_cart/index.txt
diff --git a/erpnext/docs/current/models/shopping_cart/shopping_cart_settings.html b/erpnext/docs/current/models/shopping_cart/shopping_cart_settings.html
new file mode 100644
index 0000000..8e8bf5f
--- /dev/null
+++ b/erpnext/docs/current/models/shopping_cart/shopping_cart_settings.html
@@ -0,0 +1,347 @@
+<!-- title: Shopping Cart Settings -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/shopping_cart/doctype/shopping_cart_settings"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+Default settings for Shopping Cart
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>enabled</code></td>
+            <td >
+                Check</td>
+            <td >
+                Enable Shopping Cart
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>2</td>
+            <td ><code>section_break_2</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>price_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Price List
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/price_list">Price List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>column_break_4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td class="danger" title="Mandatory"><code>default_customer_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Customer Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/customer_group">Customer Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>quotation_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Quotation Series
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ShoppingCartSettings</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_shipping_rules" href="#get_shipping_rules" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_shipping_rules</b>
+        <i class="text-muted">(self, shipping_territory)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_tax_master" href="#get_tax_master" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_tax_master</b>
+        <i class="text-muted">(self, billing_territory)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="onload" href="#onload" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>onload</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_exchange_rates_exist" href="#validate_exchange_rates_exist" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_exchange_rates_exist</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>check if exchange rates exist for all Price List currencies (to company's currency)</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_tax_rule" href="#validate_tax_rule" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_tax_rule</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ShoppingCartSetupError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.check_shopping_cart_enabled" href="#erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.check_shopping_cart_enabled" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.<b>check_shopping_cart_enabled</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.get_shopping_cart_settings" href="#erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.get_shopping_cart_settings" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.<b>get_shopping_cart_settings</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.is_cart_enabled" href="#erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.is_cart_enabled" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.<b>is_cart_enabled</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.validate_cart_settings" href="#erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.validate_cart_settings" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.<b>validate_cart_settings</b>
+        <i class="text-muted">(doc, method)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/batch.html b/erpnext/docs/current/models/stock/batch.html
new file mode 100644
index 0000000..cf1803d
--- /dev/null
+++ b/erpnext/docs/current/models/stock/batch.html
@@ -0,0 +1,245 @@
+<!-- title: Batch -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/batch"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabBatch</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>batch_id</code></td>
+            <td >
+                Data</td>
+            <td >
+                Batch ID
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>item</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>column_break_3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>expiry_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Expiry Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>5</td>
+            <td ><code>section_break_7</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>description</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Batch Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.stock.doctype.batch.batch</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Batch</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="item_has_batch_enabled" href="#item_has_batch_enabled" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>item_has_batch_enabled</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry_detail">Stock Entry Detail</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt_item">Purchase Receipt Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/packing_slip_item">Packing Slip Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/packed_item">Packed Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note_item">Delivery Note Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/quality_inspection">Quality Inspection</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_receipt_item_supplied">Purchase Receipt Item Supplied</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice_item">Sales Invoice Item</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/bin.html b/erpnext/docs/current/models/stock/bin.html
new file mode 100644
index 0000000..55e5a44
--- /dev/null
+++ b/erpnext/docs/current/models/stock/bin.html
@@ -0,0 +1,328 @@
+<!-- title: Bin -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/bin"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabBin</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>reserved_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Reserved Quantity
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>actual_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Actual Quantity
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>ordered_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Ordered Quantity
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>indented_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Quantity Requested for Purchase
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>planned_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Planned Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>projected_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Projected Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>ma_rate</code></td>
+            <td >
+                Float</td>
+            <td class="text-muted" title="Hidden">
+                Moving Average Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>stock_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>fcfs_rate</code></td>
+            <td >
+                Float</td>
+            <td class="text-muted" title="Hidden">
+                FCFS Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>valuation_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Valuation Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>stock_value</code></td>
+            <td >
+                Float</td>
+            <td >
+                Stock Value
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.stock.doctype.bin.bin</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Bin</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_first_sle" href="#get_first_sle" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_first_sle</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_qty" href="#update_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_qty</b>
+        <i class="text-muted">(self, args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_stock" href="#update_stock" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_stock</b>
+        <i class="text-muted">(self, args, allow_negative_stock=False, via_landed_cost_voucher=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_mandatory" href="#validate_mandatory" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_mandatory</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/delivery_note.html b/erpnext/docs/current/models/stock/delivery_note.html
new file mode 100644
index 0000000..b22d091
--- /dev/null
+++ b/erpnext/docs/current/models/stock/delivery_note.html
@@ -0,0 +1,2052 @@
+<!-- title: Delivery Note -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/delivery_note"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabDelivery Note</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>delivery_to_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Delivery To
+                
+            </td>
+            <td>
+                <pre>icon-user</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>title</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>DN-
+DN-RET-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>customer_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Customer Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>customer_address</code></td>
+            <td >
+                Link</td>
+            <td >
+                Billing Address Name
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>address_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Billing Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>shipping_address_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Shipping Address
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>shipping_address</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Shipping Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>contact_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Contact
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>contact_mobile</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Mobile No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>contact_email</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Contact Email
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td class="danger" title="Mandatory"><code>posting_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>po_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                Customer's Purchase Order No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>po_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Customer's Purchase Order Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>is_return</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is Return
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>return_against</code></td>
+            <td >
+                Link</td>
+            <td >
+                Return Against Delivery Note
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>22</td>
+            <td ><code>currency_and_price_list</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Currency and Price List
+                
+            </td>
+            <td>
+                <pre>icon-tag</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td class="danger" title="Mandatory"><code>currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td class="danger" title="Mandatory"><code>conversion_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Exchange Rate
+                <p class="text-muted small">
+                    Rate at which customer's currency is converted to company's base currency</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>col_break23</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td class="danger" title="Mandatory"><code>selling_price_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Price List
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/price_list">Price List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td class="danger" title="Mandatory"><code>price_list_currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Price List Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td class="danger" title="Mandatory"><code>plc_conversion_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Price List Exchange Rate
+                <p class="text-muted small">
+                    Rate at which Price list currency is converted to company's base currency</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>ignore_pricing_rule</code></td>
+            <td >
+                Check</td>
+            <td >
+                Ignore Pricing Rule
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>30</td>
+            <td ><code>items_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-shopping-cart</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td class="danger" title="Mandatory"><code>items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note_item">Delivery Note Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>32</td>
+            <td ><code>packing_list</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Packing List
+                
+            </td>
+            <td>
+                <pre>icon-suitcase</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>packed_items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Packed Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/packed_item">Packed Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>product_bundle_help</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Product Bundle Help
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>35</td>
+            <td ><code>section_break_31</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td ><code>base_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>37</td>
+            <td ><code>base_net_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>38</td>
+            <td ><code>column_break_33</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td ><code>total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>40</td>
+            <td ><code>net_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>41</td>
+            <td ><code>taxes_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Taxes and Charges
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>42</td>
+            <td ><code>taxes_and_charges</code></td>
+            <td >
+                Link</td>
+            <td >
+                Taxes and Charges
+                <p class="text-muted small">
+                    If you have created a standard template in Sales Taxes and Charges Template, select one and click on the button below.</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_taxes_and_charges_template">Sales Taxes and Charges Template</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>43</td>
+            <td ><code>column_break_39</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>44</td>
+            <td ><code>shipping_rule</code></td>
+            <td >
+                Link</td>
+            <td >
+                Shipping Rule
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/shipping_rule">Shipping Rule</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>45</td>
+            <td ><code>section_break_41</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>46</td>
+            <td ><code>taxes</code></td>
+            <td >
+                Table</td>
+            <td >
+                Sales Taxes and Charges
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_taxes_and_charges">Sales Taxes and Charges</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>47</td>
+            <td ><code>other_charges_calculation</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Taxes and Charges Calculation
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>48</td>
+            <td ><code>section_break_44</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>49</td>
+            <td ><code>base_total_taxes_and_charges</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Taxes and Charges (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>50</td>
+            <td ><code>column_break_47</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>51</td>
+            <td ><code>total_taxes_and_charges</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Taxes and Charges
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>52</td>
+            <td ><code>section_break_49</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Additional Discount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>53</td>
+            <td ><code>apply_discount_on</code></td>
+            <td >
+                Select</td>
+            <td >
+                Apply Additional Discount On
+                
+            </td>
+            <td>
+                <pre>
+Grand Total
+Net Total</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>54</td>
+            <td ><code>column_break_51</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>55</td>
+            <td ><code>discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Additional Discount Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>56</td>
+            <td ><code>base_discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Additional Discount Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>57</td>
+            <td ><code>totals</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>58</td>
+            <td ><code>base_grand_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Grand Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>59</td>
+            <td ><code>base_rounded_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rounded Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>60</td>
+            <td ><code>base_in_words</code></td>
+            <td >
+                Data</td>
+            <td >
+                In Words (Company Currency)
+                <p class="text-muted small">
+                    In Words will be visible once you save the Delivery Note.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>61</td>
+            <td ><code>column_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>62</td>
+            <td ><code>grand_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Grand Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>63</td>
+            <td ><code>rounded_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rounded Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>64</td>
+            <td ><code>in_words</code></td>
+            <td >
+                Data</td>
+            <td >
+                In Words
+                <p class="text-muted small">
+                    In Words (Export) will be visible once you save the Delivery Note.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>65</td>
+            <td ><code>terms_section_break</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Terms and Conditions
+                
+            </td>
+            <td>
+                <pre>icon-legal</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>66</td>
+            <td ><code>tc_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Terms
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/terms_and_conditions">Terms and Conditions</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>67</td>
+            <td ><code>terms</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Terms and Conditions Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>68</td>
+            <td ><code>transporter_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Transporter Info
+                
+            </td>
+            <td>
+                <pre>icon-truck</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>69</td>
+            <td ><code>transporter_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Transporter Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>70</td>
+            <td ><code>col_break34</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>71</td>
+            <td ><code>lr_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                Vehicle No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>72</td>
+            <td ><code>lr_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Vehicle Dispatch Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>73</td>
+            <td ><code>contact_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Contact Details
+                
+            </td>
+            <td>
+                <pre>icon-bullhorn</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>74</td>
+            <td class="danger" title="Mandatory"><code>territory</code></td>
+            <td >
+                Link</td>
+            <td >
+                Territory
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>75</td>
+            <td ><code>customer_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/customer_group">Customer Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>76</td>
+            <td ><code>col_break21</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>77</td>
+            <td ><code>contact_person</code></td>
+            <td >
+                Link</td>
+            <td >
+                Contact Person
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/contact">Contact</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>78</td>
+            <td ><code>more_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                More Information
+                
+            </td>
+            <td>
+                <pre>icon-file-text</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>79</td>
+            <td ><code>project_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Project Name
+                <p class="text-muted small">
+                    Track this Delivery Note against any Project</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/project">Project</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>80</td>
+            <td ><code>campaign</code></td>
+            <td >
+                Link</td>
+            <td >
+                Campaign
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/campaign">Campaign</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>81</td>
+            <td ><code>source</code></td>
+            <td >
+                Select</td>
+            <td >
+                Source
+                
+            </td>
+            <td>
+                <pre>
+Existing Customer
+Reference
+Advertisement
+Cold Calling
+Exhibition
+Supplier Reference
+Mass Mailing
+Customer's Vendor
+Campaign</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>82</td>
+            <td ><code>column_break5</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>83</td>
+            <td class="danger" title="Mandatory"><code>posting_time</code></td>
+            <td >
+                Time</td>
+            <td >
+                Posting Time
+                <p class="text-muted small">
+                    Time at which items were delivered from warehouse</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>84</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>85</td>
+            <td ><code>printing_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Printing Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>86</td>
+            <td ><code>letter_head</code></td>
+            <td >
+                Link</td>
+            <td >
+                Letter Head
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/print/letter_head">Letter Head</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>87</td>
+            <td ><code>select_print_heading</code></td>
+            <td >
+                Link</td>
+            <td >
+                Print Heading
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/print_heading">Print Heading</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>88</td>
+            <td ><code>column_break_88</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>89</td>
+            <td ><code>print_without_amount</code></td>
+            <td >
+                Check</td>
+            <td >
+                Print Without Amount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>90</td>
+            <td ><code>section_break_83</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Status
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>91</td>
+            <td class="danger" title="Mandatory"><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>
+Draft
+Submitted
+Cancelled
+Closed</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>92</td>
+            <td ><code>per_installed</code></td>
+            <td >
+                Percent</td>
+            <td >
+                % Installed
+                <p class="text-muted small">
+                    % of materials delivered against this Delivery Note</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>93</td>
+            <td ><code>installation_status</code></td>
+            <td >
+                Select</td>
+            <td class="text-muted" title="Hidden">
+                Installation Status
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>94</td>
+            <td ><code>column_break_89</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>95</td>
+            <td ><code>to_warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                To Warehouse
+                <p class="text-muted small">
+                    Required only for sample item.</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>96</td>
+            <td ><code>excise_page</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Excise Page Number
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>97</td>
+            <td ><code>instructions</code></td>
+            <td >
+                Text</td>
+            <td >
+                Instructions
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>98</td>
+            <td ><code>sales_team_section_break</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Commission
+                
+            </td>
+            <td>
+                <pre>icon-group</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>99</td>
+            <td ><code>sales_partner</code></td>
+            <td >
+                Link</td>
+            <td >
+                Sales Partner
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sales_partner">Sales Partner</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>100</td>
+            <td ><code>column_break7</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>101</td>
+            <td ><code>commission_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Commission Rate (%)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>102</td>
+            <td ><code>total_commission</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Commission
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>103</td>
+            <td ><code>section_break1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Sales Team
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>104</td>
+            <td ><code>sales_team</code></td>
+            <td >
+                Table</td>
+            <td >
+                Sales Team1
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_team">Sales Team</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.stock.doctype.delivery_note.delivery_note</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>DeliveryNote</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.selling_controller.SellingController</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="__init__" href="#__init__" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>__init__</b>
+        <i class="text-muted">(self, arg1, arg2=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="before_print" href="#before_print" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>before_print</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="cancel_packing_slips" href="#cancel_packing_slips" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>cancel_packing_slips</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Cancel submitted packing slips related to this delivery note</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_credit_limit" href="#check_credit_limit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_credit_limit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_next_docstatus" href="#check_next_docstatus" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_next_docstatus</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="onload" href="#onload" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>onload</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_actual_qty" href="#set_actual_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_actual_qty</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="so_required" href="#so_required" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>so_required</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>check in manage account if sales order required or not</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_current_stock" href="#update_current_stock" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_current_stock</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_status" href="#update_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_status</b>
+        <i class="text-muted">(self, status)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_for_items" href="#validate_for_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_for_items</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_packed_qty" href="#validate_packed_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_packed_qty</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Validate that if packed qty exists, it should be equal to qty</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_proj_cust" href="#validate_proj_cust" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_proj_cust</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>check for does customer belong to same project as entered..</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_warehouse" href="#validate_warehouse" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_warehouse</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_with_previous_doc" href="#validate_with_previous_doc" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_with_previous_doc</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.delivery_note.delivery_note.get_invoiced_qty_map" href="#erpnext.stock.doctype.delivery_note.delivery_note.get_invoiced_qty_map" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.delivery_note.delivery_note.<b>get_invoiced_qty_map</b>
+        <i class="text-muted">(delivery_note)</i>
+    </p>
+	<div class="docs-attr-desc"><p>returns a map: {dn<em>detail: invoiced</em>qty}</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.delivery_note.delivery_note.get_list_context" href="#erpnext.stock.doctype.delivery_note.delivery_note.get_list_context" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.delivery_note.delivery_note.<b>get_list_context</b>
+        <i class="text-muted">(context=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.doctype.delivery_note.delivery_note.make_installation_note</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.delivery_note.delivery_note.make_installation_note" href="#erpnext.stock.doctype.delivery_note.delivery_note.make_installation_note" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.delivery_note.delivery_note.<b>make_installation_note</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.doctype.delivery_note.delivery_note.make_packing_slip</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.delivery_note.delivery_note.make_packing_slip" href="#erpnext.stock.doctype.delivery_note.delivery_note.make_packing_slip" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.delivery_note.delivery_note.<b>make_packing_slip</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.doctype.delivery_note.delivery_note.make_sales_invoice</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.delivery_note.delivery_note.make_sales_invoice" href="#erpnext.stock.doctype.delivery_note.delivery_note.make_sales_invoice" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.delivery_note.delivery_note.<b>make_sales_invoice</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.doctype.delivery_note.delivery_note.make_sales_return</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.delivery_note.delivery_note.make_sales_return" href="#erpnext.stock.doctype.delivery_note.delivery_note.make_sales_return" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.delivery_note.delivery_note.<b>make_sales_return</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.doctype.delivery_note.delivery_note.update_delivery_note_status</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.delivery_note.delivery_note.update_delivery_note_status" href="#erpnext.stock.doctype.delivery_note.delivery_note.update_delivery_note_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.delivery_note.delivery_note.<b>update_delivery_note_status</b>
+        <i class="text-muted">(docname, status)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry">Stock Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/packing_slip">Packing Slip</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/quality_inspection">Quality Inspection</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice_item">Sales Invoice Item</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/delivery_note_item.html b/erpnext/docs/current/models/stock/delivery_note_item.html
new file mode 100644
index 0000000..51292cd
--- /dev/null
+++ b/erpnext/docs/current/models/stock/delivery_note_item.html
@@ -0,0 +1,781 @@
+<!-- title: Delivery Note Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/delivery_note_item"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabDelivery Note Item</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>barcode</code></td>
+            <td >
+                Data</td>
+            <td >
+                Barcode
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>customer_item_code</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Customer's Item Code
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>6</td>
+            <td ><code>section_break_6</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>column_break_8</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>image</code></td>
+            <td >
+                Attach</td>
+            <td class="text-muted" title="Hidden">
+                Image
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>image_view</code></td>
+            <td >
+                Image</td>
+            <td >
+                Image View
+                
+            </td>
+            <td>
+                <pre>image</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>11</td>
+            <td ><code>quantity_and_rate</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Quantity and Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td class="danger" title="Mandatory"><code>qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Quantity
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>price_list_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Price List Rate
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>discount_percentage</code></td>
+            <td >
+                Float</td>
+            <td >
+                Discount on Price List Rate (%)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>col_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td class="danger" title="Mandatory"><code>stock_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>base_price_list_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Price List Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>18</td>
+            <td ><code>section_break_1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rate
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>col_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>base_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>base_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>pricing_rule</code></td>
+            <td >
+                Link</td>
+            <td >
+                Pricing Rule
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pricing_rule">Pricing Rule</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>25</td>
+            <td ><code>section_break_25</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>net_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Rate
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>net_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>column_break_28</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>base_net_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>base_net_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>31</td>
+            <td ><code>warehouse_and_reference</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Warehouse and Reference
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                From Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>target_warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                To Warehouse (Optional)
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>serial_no</code></td>
+            <td >
+                Text</td>
+            <td >
+                Serial No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>batch_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                Batch No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/batch">Batch</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td ><code>actual_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Available Qty at From Warehouse
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>37</td>
+            <td ><code>actual_batch_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Available Batch Qty at From Warehouse
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>38</td>
+            <td ><code>item_group</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Item Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/item_group">Item Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td ><code>brand</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Brand Name
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/brand">Brand</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>40</td>
+            <td ><code>item_tax_rate</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Item Tax Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>41</td>
+            <td ><code>col_break4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>42</td>
+            <td ><code>expense_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Expense Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>43</td>
+            <td ><code>cost_center</code></td>
+            <td >
+                Link</td>
+            <td >
+                Cost Center
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>44</td>
+            <td ><code>against_sales_order</code></td>
+            <td >
+                Link</td>
+            <td >
+                Against Sales Order
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>45</td>
+            <td ><code>against_sales_invoice</code></td>
+            <td >
+                Link</td>
+            <td >
+                Against Sales Invoice
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>46</td>
+            <td ><code>so_detail</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Against Sales Order Item
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>47</td>
+            <td ><code>si_detail</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Against Sales Invoice Item
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>48</td>
+            <td ><code>installed_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Installed Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>49</td>
+            <td ><code>page_break</code></td>
+            <td >
+                Check</td>
+            <td >
+                Page Break
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/index.html b/erpnext/docs/current/models/stock/index.html
new file mode 100644
index 0000000..9a15543
--- /dev/null
+++ b/erpnext/docs/current/models/stock/index.html
@@ -0,0 +1,19 @@
+<!-- title: Module stock -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>DocTypes for stock</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/index.txt b/erpnext/docs/current/models/stock/index.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/erpnext/docs/current/models/stock/index.txt
diff --git a/erpnext/docs/current/models/stock/item.html b/erpnext/docs/current/models/stock/item.html
new file mode 100644
index 0000000..5264016
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item.html
@@ -0,0 +1,2333 @@
+<!-- title: Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/item"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabItem</code></p>
+
+
+A Product or a Service that is bought, sold or kept in stock.
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>name_and_description_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-flag</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>ITEM-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>item_code</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>variant_of</code></td>
+            <td >
+                Link</td>
+            <td >
+                Variant Of
+                <p class="text-muted small">
+                    If item is a variant of another item then description, image, pricing, taxes etc will be set from the template unless explicitly specified</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td class="danger" title="Mandatory"><code>item_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/item_group">Item Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>stock_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Unit of Measure
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>is_stock_item</code></td>
+            <td >
+                Check</td>
+            <td >
+                Maintain Stock
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>disabled</code></td>
+            <td >
+                Check</td>
+            <td >
+                Disabled
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>image</code></td>
+            <td >
+                Attach</td>
+            <td >
+                Image
+                
+            </td>
+            <td>
+                <pre>image</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>image_view</code></td>
+            <td >
+                Image</td>
+            <td >
+                Image View
+                
+            </td>
+            <td>
+                <pre>image</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>13</td>
+            <td ><code>section_break_11</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>brand</code></td>
+            <td >
+                Link</td>
+            <td >
+                Brand
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/brand">Brand</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>barcode</code></td>
+            <td >
+                Data</td>
+            <td >
+                Barcode
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td class="danger" title="Mandatory"><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>17</td>
+            <td ><code>inventory</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Inventory
+                
+            </td>
+            <td>
+                <pre>icon-truck</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>default_warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>end_of_life</code></td>
+            <td >
+                Date</td>
+            <td >
+                End of Life
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>has_batch_no</code></td>
+            <td >
+                Check</td>
+            <td >
+                Has Batch No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>has_serial_no</code></td>
+            <td >
+                Check</td>
+            <td >
+                Has Serial No
+                <p class="text-muted small">
+                    Selecting "Yes" will give a unique identity to each entity of this item which can be viewed in the Serial No master.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>serial_no_series</code></td>
+            <td >
+                Data</td>
+            <td >
+                Serial Number Series
+                <p class="text-muted small">
+                    Example: ABCD.#####
+If series is set and Serial No is not mentioned in transactions, then automatic serial number will be created based on this series. If you always want to explicitly mention Serial Nos for this item. leave this blank.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>is_asset_item</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is Fixed Asset Item
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>tolerance</code></td>
+            <td >
+                Float</td>
+            <td >
+                Allow over delivery or receipt upto this percent
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>valuation_method</code></td>
+            <td >
+                Select</td>
+            <td >
+                Valuation Method
+                
+            </td>
+            <td>
+                <pre>
+FIFO
+Moving Average</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>warranty_period</code></td>
+            <td >
+                Data</td>
+            <td >
+                Warranty Period (in days)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>net_weight</code></td>
+            <td >
+                Float</td>
+            <td >
+                Net Weight
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>weight_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                Weight UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>30</td>
+            <td ><code>reorder_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Auto re-order
+                
+            </td>
+            <td>
+                <pre>icon-rss</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>re_order_level</code></td>
+            <td >
+                Float</td>
+            <td >
+                Re-order Level
+                <p class="text-muted small">
+                    Automatically create Material Request if quantity falls below this level</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>re_order_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Re-order Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>apply_warehouse_wise_reorder_level</code></td>
+            <td >
+                Check</td>
+            <td >
+                Apply Warehouse-wise Reorder Level
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>34</td>
+            <td ><code>section_break_31</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Reorder level based on Warehouse
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>reorder_levels</code></td>
+            <td >
+                Table</td>
+            <td >
+                Reorder level based on Warehouse
+                <p class="text-muted small">
+                    Will also apply for variants unless overrridden</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item_reorder">Item Reorder</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>36</td>
+            <td ><code>variants_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Variants
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>37</td>
+            <td ><code>has_variants</code></td>
+            <td >
+                Check</td>
+            <td >
+                Has Variants
+                <p class="text-muted small">
+                    If this item has variants, then it cannot be selected in sales orders etc.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>38</td>
+            <td ><code>attributes</code></td>
+            <td >
+                Table</td>
+            <td class="text-muted" title="Hidden">
+                Attributes
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item_variant_attribute">Item Variant Attribute</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>39</td>
+            <td ><code>purchase_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Purchase Details
+                
+            </td>
+            <td>
+                <pre>icon-shopping-cart</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>40</td>
+            <td ><code>is_purchase_item</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is Purchase Item
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>41</td>
+            <td ><code>min_order_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Minimum Order Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>42</td>
+            <td ><code>lead_time_days</code></td>
+            <td >
+                Int</td>
+            <td >
+                Lead Time in days
+                <p class="text-muted small">
+                    Average time taken by the supplier to deliver</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>43</td>
+            <td ><code>buying_cost_center</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Buying Cost Center
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>44</td>
+            <td ><code>expense_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Expense Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>45</td>
+            <td ><code>unit_of_measure_conversion</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                Unit of Measure Conversion
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>46</td>
+            <td ><code>uoms</code></td>
+            <td >
+                Table</td>
+            <td >
+                UOMs
+                <p class="text-muted small">
+                    Will also apply for variants</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/uom_conversion_detail">UOM Conversion Detail</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>47</td>
+            <td ><code>last_purchase_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Last Purchase Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>48</td>
+            <td ><code>supplier_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Supplier Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>49</td>
+            <td ><code>default_supplier</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Supplier
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier">Supplier</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>50</td>
+            <td ><code>delivered_by_supplier</code></td>
+            <td >
+                Check</td>
+            <td >
+                Delivered by Supplier (Drop Ship)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>51</td>
+            <td ><code>manufacturer</code></td>
+            <td >
+                Data</td>
+            <td >
+                Manufacturer
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>52</td>
+            <td ><code>manufacturer_part_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                Manufacturer Part Number
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>53</td>
+            <td ><code>column_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                Item Code for Suppliers
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>54</td>
+            <td ><code>supplier_items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Supplier Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item_supplier">Item Supplier</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>55</td>
+            <td ><code>sales_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Sales Details
+                
+            </td>
+            <td>
+                <pre>icon-tag</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>56</td>
+            <td ><code>is_sales_item</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is Sales Item
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>57</td>
+            <td ><code>is_service_item</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is Service Item
+                <p class="text-muted small">
+                    Allow in Sales Order of type "Service"</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>58</td>
+            <td ><code>publish_in_hub</code></td>
+            <td >
+                Check</td>
+            <td class="text-muted" title="Hidden">
+                Publish in Hub
+                <p class="text-muted small">
+                    Publish Item to hub.erpnext.com</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>59</td>
+            <td ><code>synced_with_hub</code></td>
+            <td >
+                Check</td>
+            <td class="text-muted" title="Hidden">
+                Synced With Hub
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>60</td>
+            <td ><code>income_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Income Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>61</td>
+            <td ><code>selling_cost_center</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Selling Cost Center
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>62</td>
+            <td ><code>column_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                Customer Item Codes
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>63</td>
+            <td ><code>customer_items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Customer Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item_customer_detail">Item Customer Detail</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>64</td>
+            <td ><code>max_discount</code></td>
+            <td >
+                Float</td>
+            <td >
+                Max Discount (%)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>65</td>
+            <td ><code>item_tax_section_break</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Item Tax
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>66</td>
+            <td ><code>taxes</code></td>
+            <td >
+                Table</td>
+            <td >
+                Taxes
+                <p class="text-muted small">
+                    Will also apply for variants</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item_tax">Item Tax</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>67</td>
+            <td ><code>inspection_criteria</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Inspection Criteria
+                
+            </td>
+            <td>
+                <pre>icon-search</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>68</td>
+            <td ><code>inspection_required</code></td>
+            <td >
+                Check</td>
+            <td >
+                Inspection Required
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>69</td>
+            <td ><code>quality_parameters</code></td>
+            <td >
+                Table</td>
+            <td >
+                Quality Parameters
+                <p class="text-muted small">
+                    Will also apply to variants</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item_quality_inspection_parameter">Item Quality Inspection Parameter</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>70</td>
+            <td ><code>manufacturing</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Manufacturing
+                
+            </td>
+            <td>
+                <pre>icon-cogs</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>71</td>
+            <td ><code>is_pro_applicable</code></td>
+            <td >
+                Check</td>
+            <td >
+                Allow Production Order
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>72</td>
+            <td ><code>is_sub_contracted_item</code></td>
+            <td >
+                Check</td>
+            <td >
+                Supply Raw Materials for Purchase
+                <p class="text-muted small">
+                    If subcontracted to a vendor</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>73</td>
+            <td ><code>column_break_74</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>74</td>
+            <td ><code>default_bom</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default BOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom">BOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>75</td>
+            <td ><code>customer_code</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Customer Code
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>76</td>
+            <td ><code>website_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Website
+                
+            </td>
+            <td>
+                <pre>icon-globe</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>77</td>
+            <td ><code>show_in_website</code></td>
+            <td >
+                Check</td>
+            <td >
+                Show in Website
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>78</td>
+            <td ><code>page_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Page Name
+                <p class="text-muted small">
+                    website page link</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>79</td>
+            <td ><code>weightage</code></td>
+            <td >
+                Int</td>
+            <td >
+                Weightage
+                <p class="text-muted small">
+                    Items with higher weightage will be shown higher</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>80</td>
+            <td ><code>slideshow</code></td>
+            <td >
+                Link</td>
+            <td >
+                Slideshow
+                <p class="text-muted small">
+                    Show a slideshow at the top of the page</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/website/website_slideshow">Website Slideshow</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>81</td>
+            <td ><code>website_image</code></td>
+            <td >
+                Attach</td>
+            <td >
+                Image
+                <p class="text-muted small">
+                    Item Image (if not slideshow)</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>82</td>
+            <td ><code>thumbnail</code></td>
+            <td >
+                Data</td>
+            <td >
+                Thumbnail
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>83</td>
+            <td ><code>cb72</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>84</td>
+            <td ><code>website_warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Website Warehouse
+                <p class="text-muted small">
+                    Show "In Stock" or "Not in Stock" based on stock available in this warehouse.</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>85</td>
+            <td ><code>website_item_groups</code></td>
+            <td >
+                Table</td>
+            <td >
+                Website Item Groups
+                <p class="text-muted small">
+                    List this Item in multiple groups on the website.</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/website_item_group">Website Item Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>86</td>
+            <td ><code>sb72</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Website Specifications
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>87</td>
+            <td ><code>copy_from_item_group</code></td>
+            <td >
+                Button</td>
+            <td >
+                Copy From Item Group
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>88</td>
+            <td ><code>website_specifications</code></td>
+            <td >
+                Table</td>
+            <td >
+                Website Specifications
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item_website_specification">Item Website Specification</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>89</td>
+            <td ><code>web_long_description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Website Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>90</td>
+            <td ><code>parent_website_route</code></td>
+            <td >
+                Read Only</td>
+            <td >
+                Parent Website Route
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.stock.doctype.item.item</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Item</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.website.website_generator.WebsiteGenerator</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="add_default_uom_in_conversion_factor_table" href="#add_default_uom_in_conversion_factor_table" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>add_default_uom_in_conversion_factor_table</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="after_rename" href="#after_rename" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>after_rename</b>
+        <i class="text-muted">(self, olddn, newdn, merge)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="autoname" href="#autoname" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>autoname</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="before_insert" href="#before_insert" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>before_insert</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="before_rename" href="#before_rename" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>before_rename</b>
+        <i class="text-muted">(self, olddn, newdn, merge=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="cant_change" href="#cant_change" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>cant_change</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_for_active_boms" href="#check_for_active_boms" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_for_active_boms</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_if_sle_exists" href="#check_if_sle_exists" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_if_sle_exists</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_item_tax" href="#check_item_tax" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_item_tax</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Check whether Tax Rate is not entered twice for same Tax Type</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_warehouse_is_set_for_stock_item" href="#check_warehouse_is_set_for_stock_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_warehouse_is_set_for_stock_item</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="copy_specification_from_item_group" href="#copy_specification_from_item_group" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>copy_specification_from_item_group</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="fill_customer_code" href="#fill_customer_code" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>fill_customer_code</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Append all the customer codes and insert into "customer_code" field of item table </p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_context" href="#get_context" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_context</b>
+        <i class="text-muted">(self, context)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="make_thumbnail" href="#make_thumbnail" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_thumbnail</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Make a thumbnail of <code>website_image</code></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_trash" href="#on_trash" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_trash</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="onload" href="#onload" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>onload</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="recalculate_bin_qty" href="#recalculate_bin_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>recalculate_bin_qty</b>
+        <i class="text-muted">(self, newdn)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_attribute_context" href="#set_attribute_context" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_attribute_context</b>
+        <i class="text-muted">(self, context)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_disabled_attributes" href="#set_disabled_attributes" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_disabled_attributes</b>
+        <i class="text-muted">(self, context)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Disable selection options of attribute combinations that do not result in a variant</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_last_purchase_rate" href="#set_last_purchase_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_last_purchase_rate</b>
+        <i class="text-muted">(self, newdn)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_variant_context" href="#set_variant_context" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_variant_context</b>
+        <i class="text-muted">(self, context)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_item_desc" href="#update_item_desc" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_item_desc</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_item_price" href="#update_item_price" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_item_price</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_template_item" href="#update_template_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_template_item</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Set Show in Website for Template Item if True for its Variant</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_template_tables" href="#update_template_tables" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_template_tables</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_variants" href="#update_variants" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_variants</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_attributes" href="#validate_attributes" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_attributes</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_barcode" href="#validate_barcode" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_barcode</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_conversion_factor" href="#validate_conversion_factor" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_conversion_factor</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_has_variants" href="#validate_has_variants" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_has_variants</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_item_type" href="#validate_item_type" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_item_type</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_name_with_item_group" href="#validate_name_with_item_group" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_name_with_item_group</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_reorder_level" href="#validate_reorder_level" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_reorder_level</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_uom" href="#validate_uom" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_uom</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_variant_attributes" href="#validate_variant_attributes" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_variant_attributes</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_warehouse_for_reorder" href="#validate_warehouse_for_reorder" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_warehouse_for_reorder</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>WarehouseNotSet</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.item.item._msgprint" href="#erpnext.stock.doctype.item.item._msgprint" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.item.item.<b>_msgprint</b>
+        <i class="text-muted">(msg, verbose)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.item.item.check_stock_uom_with_bin" href="#erpnext.stock.doctype.item.item.check_stock_uom_with_bin" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.item.item.<b>check_stock_uom_with_bin</b>
+        <i class="text-muted">(item, stock_uom)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.item.item.get_last_purchase_details" href="#erpnext.stock.doctype.item.item.get_last_purchase_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.item.item.<b>get_last_purchase_details</b>
+        <i class="text-muted">(item_code, doc_name=None, conversion_rate=1.0)</i>
+    </p>
+	<div class="docs-attr-desc"><p>returns last purchase details in stock uom</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.item.item.invalidate_cache_for_item" href="#erpnext.stock.doctype.item.item.invalidate_cache_for_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.item.item.<b>invalidate_cache_for_item</b>
+        <i class="text-muted">(doc)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.item.item.validate_cancelled_item" href="#erpnext.stock.doctype.item.item.validate_cancelled_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.item.item.<b>validate_cancelled_item</b>
+        <i class="text-muted">(item_code, docstatus=None, verbose=1)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.item.item.validate_end_of_life" href="#erpnext.stock.doctype.item.item.validate_end_of_life" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.item.item.<b>validate_end_of_life</b>
+        <i class="text-muted">(item_code, end_of_life=None, disabled=None, verbose=1)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.item.item.validate_is_stock_item" href="#erpnext.stock.doctype.item.item.validate_is_stock_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.item.item.<b>validate_is_stock_item</b>
+        <i class="text-muted">(item_code, is_stock_item=None, verbose=1)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/warranty_claim">Warranty Claim</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_visit_purpose">Maintenance Visit Purpose</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_schedule_item">Maintenance Schedule Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_schedule_detail">Maintenance Schedule Detail</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_uom_replace_utility">Stock UOM Replace Utility</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_reconciliation_item">Stock Reconciliation Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_ledger_entry">Stock Ledger Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry_detail">Stock Entry Detail</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/serial_no">Serial No</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt_item">Purchase Receipt Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/packing_slip_item">Packing Slip Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/packed_item">Packed Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/material_request_item">Material Request Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/landed_cost_item">Landed Cost Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item_price">Item Price</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note_item">Delivery Note Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/bin">Bin</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/batch">Batch</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_planning_tool">Production Planning Tool</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_plan_item">Production Plan Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_order">Production Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom_item">BOM Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom_explosion_item">BOM Explosion Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom">BOM</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order_item">Sales Order Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation_item">Quotation Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/product_bundle_item">Product Bundle Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/product_bundle">Product Bundle</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/installation_note_item">Installation Note Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation_item">Supplier Quotation Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/quality_inspection">Quality Inspection</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order_item">Purchase Order Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/opportunity_item">Opportunity Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice_item">Sales Invoice Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice_item">Purchase Invoice Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pricing_rule">Pricing Rule</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/item_attribute.html b/erpnext/docs/current/models/stock/item_attribute.html
new file mode 100644
index 0000000..4234ab6
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item_attribute.html
@@ -0,0 +1,282 @@
+<!-- title: Item Attribute -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/item_attribute"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabItem Attribute</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>attribute_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Attribute Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>numeric_values</code></td>
+            <td >
+                Check</td>
+            <td >
+                Numeric Values
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>3</td>
+            <td ><code>section_break_4</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>from_range</code></td>
+            <td >
+                Float</td>
+            <td >
+                From Range
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>increment</code></td>
+            <td >
+                Float</td>
+            <td >
+                Increment
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>column_break_8</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>to_range</code></td>
+            <td >
+                Float</td>
+            <td >
+                To Range
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>8</td>
+            <td ><code>section_break_5</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>item_attribute_values</code></td>
+            <td >
+                Table</td>
+            <td >
+                Item Attribute Values
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item_attribute_value">Item Attribute Value</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.stock.doctype.item_attribute.item_attribute</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ItemAttribute</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_attribute_values" href="#validate_attribute_values" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_attribute_values</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_duplication" href="#validate_duplication" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_duplication</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_numeric" href="#validate_numeric" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_numeric</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ItemAttributeIncrementError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item_variant_attribute">Item Variant Attribute</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item_variant">Item Variant</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/item_attribute_value.html b/erpnext/docs/current/models/stock/item_attribute_value.html
new file mode 100644
index 0000000..0f0364c
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item_attribute_value.html
@@ -0,0 +1,88 @@
+<!-- title: Item Attribute Value -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/item_attribute_value"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabItem Attribute Value</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>attribute_value</code></td>
+            <td >
+                Data</td>
+            <td >
+                Attribute Value
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>abbr</code></td>
+            <td >
+                Data</td>
+            <td >
+                Abbreviation
+                <p class="text-muted small">
+                    This will be appended to the Item Code of the variant. For example, if your abbreviation is "SM", and the item code is "T-SHIRT", the item code of the variant will be "T-SHIRT-SM"</p>
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item_attribute">Item Attribute</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/item_customer_detail.html b/erpnext/docs/current/models/stock/item_customer_detail.html
new file mode 100644
index 0000000..2139055
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item_customer_detail.html
@@ -0,0 +1,96 @@
+<!-- title: Item Customer Detail -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/item_customer_detail"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabItem Customer Detail</code></p>
+
+
+For the convenience of customers, these codes can be used in print formats like Invoices and Delivery Notes
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>customer_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer Name
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>ref_code</code></td>
+            <td >
+                Data</td>
+            <td >
+                Ref Code
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/item_price.html b/erpnext/docs/current/models/stock/item_price.html
new file mode 100644
index 0000000..34fa80d
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item_price.html
@@ -0,0 +1,363 @@
+<!-- title: Item Price -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/item_price"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabItem Price</code></p>
+
+
+Multiple Item prices.
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>price_list_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Price List
+                
+            </td>
+            <td>
+                <pre>icon-tags</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>price_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Price List
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/price_list">Price List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>buying</code></td>
+            <td >
+                Check</td>
+            <td >
+                Buying
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>selling</code></td>
+            <td >
+                Check</td>
+            <td >
+                Selling
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>5</td>
+            <td ><code>item_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-tag</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td class="danger" title="Mandatory"><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>price_list_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rate
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>col_br_1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>item_description</code></td>
+            <td >
+                Text</td>
+            <td >
+                Item Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>12</td>
+            <td ><code>section_break_12</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>bulk_import_help</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Bulk Import Help
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.stock.doctype.item_price.item_price</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ItemPrice</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_duplicate_item" href="#check_duplicate_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_duplicate_item</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_item_details" href="#update_item_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_item_details</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_price_list_details" href="#update_price_list_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_price_list_details</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_item" href="#validate_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_item</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_price_list" href="#validate_price_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_price_list</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>ItemPriceDuplicateItem</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/item_quality_inspection_parameter.html b/erpnext/docs/current/models/stock/item_quality_inspection_parameter.html
new file mode 100644
index 0000000..e545063
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item_quality_inspection_parameter.html
@@ -0,0 +1,87 @@
+<!-- title: Item Quality Inspection Parameter -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/item_quality_inspection_parameter"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabItem Quality Inspection Parameter</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>specification</code></td>
+            <td >
+                Data</td>
+            <td >
+                Parameter
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>value</code></td>
+            <td >
+                Data</td>
+            <td >
+                Acceptance Criteria
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/item_reorder.html b/erpnext/docs/current/models/stock/item_reorder.html
new file mode 100644
index 0000000..e388d9d
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item_reorder.html
@@ -0,0 +1,123 @@
+<!-- title: Item Reorder -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/item_reorder"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabItem Reorder</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>warehouse_reorder_level</code></td>
+            <td >
+                Float</td>
+            <td >
+                Re-order Level
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>warehouse_reorder_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Re-order Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>material_request_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Material Request Type
+                
+            </td>
+            <td>
+                <pre>Purchase
+Transfer</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/item_supplier.html b/erpnext/docs/current/models/stock/item_supplier.html
new file mode 100644
index 0000000..b1347b4
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item_supplier.html
@@ -0,0 +1,96 @@
+<!-- title: Item Supplier -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/item_supplier"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabItem Supplier</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>supplier</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier">Supplier</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>supplier_part_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                Supplier Part Number
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/item_tax.html b/erpnext/docs/current/models/stock/item_tax.html
new file mode 100644
index 0000000..ab2e565
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item_tax.html
@@ -0,0 +1,96 @@
+<!-- title: Item Tax -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/item_tax"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabItem Tax</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>tax_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Tax
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>tax_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Tax Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/item_variant.html b/erpnext/docs/current/models/stock/item_variant.html
new file mode 100644
index 0000000..4653068
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item_variant.html
@@ -0,0 +1,84 @@
+<!-- title: Item Variant -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/item_variant"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabItem Variant</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>item_attribute</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Attribute
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item_attribute">Item Attribute</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>item_attribute_value</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Attribute Value
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/item_variant_attribute.html b/erpnext/docs/current/models/stock/item_variant_attribute.html
new file mode 100644
index 0000000..527421f
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item_variant_attribute.html
@@ -0,0 +1,180 @@
+<!-- title: Item Variant Attribute -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/item_variant_attribute"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabItem Variant Attribute</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>attribute</code></td>
+            <td >
+                Link</td>
+            <td >
+                Attribute
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item_attribute">Item Attribute</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>column_break_2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>attribute_value</code></td>
+            <td >
+                Data</td>
+            <td >
+                Attribute Value
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>numeric_values</code></td>
+            <td >
+                Check</td>
+            <td >
+                Numeric Values
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>5</td>
+            <td ><code>section_break_4</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>from_range</code></td>
+            <td >
+                Float</td>
+            <td >
+                From Range
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>increment</code></td>
+            <td >
+                Float</td>
+            <td >
+                Increment
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>column_break_8</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>to_range</code></td>
+            <td >
+                Float</td>
+            <td >
+                To Range
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/item_website_specification.html b/erpnext/docs/current/models/stock/item_website_specification.html
new file mode 100644
index 0000000..b5ec6e0
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item_website_specification.html
@@ -0,0 +1,94 @@
+<!-- title: Item Website Specification -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/item_website_specification"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabItem Website Specification</code></p>
+
+
+Table for Item that will be shown in Web Site
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>label</code></td>
+            <td >
+                Data</td>
+            <td >
+                Label
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+</li>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/item_group">Item Group</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/landed_cost_item.html b/erpnext/docs/current/models/stock/landed_cost_item.html
new file mode 100644
index 0000000..3f865ae
--- /dev/null
+++ b/erpnext/docs/current/models/stock/landed_cost_item.html
@@ -0,0 +1,195 @@
+<!-- title: Landed Cost Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/landed_cost_item"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabLanded Cost Item</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>purchase_receipt</code></td>
+            <td >
+                Link</td>
+            <td >
+                Purchase Receipt
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt">Purchase Receipt</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>col_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rate
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>applicable_charges</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Applicable Charges
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>purchase_receipt_item</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Purchase Receipt Item
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/landed_cost_voucher">Landed Cost Voucher</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/landed_cost_purchase_receipt.html b/erpnext/docs/current/models/stock/landed_cost_purchase_receipt.html
new file mode 100644
index 0000000..d4623c6
--- /dev/null
+++ b/erpnext/docs/current/models/stock/landed_cost_purchase_receipt.html
@@ -0,0 +1,141 @@
+<!-- title: Landed Cost Purchase Receipt -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/landed_cost_purchase_receipt"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabLanded Cost Purchase Receipt</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>purchase_receipt</code></td>
+            <td >
+                Link</td>
+            <td >
+                Purchase Receipt
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt">Purchase Receipt</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>supplier</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier">Supplier</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>posting_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Posting Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>grand_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Grand Total
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/landed_cost_voucher">Landed Cost Voucher</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/landed_cost_taxes_and_charges.html b/erpnext/docs/current/models/stock/landed_cost_taxes_and_charges.html
new file mode 100644
index 0000000..45f8aa6
--- /dev/null
+++ b/erpnext/docs/current/models/stock/landed_cost_taxes_and_charges.html
@@ -0,0 +1,108 @@
+<!-- title: Landed Cost Taxes and Charges -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/landed_cost_taxes_and_charges"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabLanded Cost Taxes and Charges</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>col_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry">Stock Entry</a>
+
+</li>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/landed_cost_voucher">Landed Cost Voucher</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/landed_cost_voucher.html b/erpnext/docs/current/models/stock/landed_cost_voucher.html
new file mode 100644
index 0000000..5258d50
--- /dev/null
+++ b/erpnext/docs/current/models/stock/landed_cost_voucher.html
@@ -0,0 +1,424 @@
+<!-- title: Landed Cost Voucher -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/landed_cost_voucher"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabLanded Cost Voucher</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>purchase_receipts</code></td>
+            <td >
+                Table</td>
+            <td >
+                Purchase Receipts
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/landed_cost_purchase_receipt">Landed Cost Purchase Receipt</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>get_items_from_purchase_receipts</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Items From Purchase Receipts
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Purchase Receipt Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/landed_cost_item">Landed Cost Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>taxes</code></td>
+            <td >
+                Table</td>
+            <td >
+                Taxes and Charges
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/landed_cost_taxes_and_charges">Landed Cost Taxes and Charges</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>6</td>
+            <td ><code>sec_break1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>Simple</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>total_taxes_and_charges</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Taxes and Charges
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/landed_cost_voucher">Landed Cost Voucher</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td class="danger" title="Mandatory"><code>distribute_charges_based_on</code></td>
+            <td >
+                Select</td>
+            <td >
+                Distribute Charges Based On
+                
+            </td>
+            <td>
+                <pre>
+Qty
+Amount</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>11</td>
+            <td ><code>sec_break2</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>landed_cost_help</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Landed Cost Help
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.stock.doctype.landed_cost_voucher.landed_cost_voucher</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>LandedCostVoucher</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_mandatory" href="#check_mandatory" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_mandatory</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_items_from_purchase_receipts" href="#get_items_from_purchase_receipts" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_items_from_purchase_receipts</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_applicable_charges_for_item" href="#set_applicable_charges_for_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_applicable_charges_for_item</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_total_taxes_and_charges" href="#set_total_taxes_and_charges" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_total_taxes_and_charges</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_landed_cost" href="#update_landed_cost" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_landed_cost</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_rate_in_serial_no" href="#update_rate_in_serial_no" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_rate_in_serial_no</b>
+        <i class="text-muted">(self, purchase_receipt)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_purchase_receipts" href="#validate_purchase_receipts" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_purchase_receipts</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/landed_cost_voucher">Landed Cost Voucher</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/material_request.html b/erpnext/docs/current/models/stock/material_request.html
new file mode 100644
index 0000000..c028a18
--- /dev/null
+++ b/erpnext/docs/current/models/stock/material_request.html
@@ -0,0 +1,717 @@
+<!-- title: Material Request -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/material_request"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabMaterial Request</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>type_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-pushpin</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>title</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>material_request_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Type
+                
+            </td>
+            <td>
+                <pre>Purchase
+Material Transfer
+Material Issue</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>column_break_2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>MREQ-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/material_request">Material Request</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>8</td>
+            <td ><code>items_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-shopping-cart</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/material_request_item">Material Request Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>10</td>
+            <td ><code>more_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                More Information
+                
+            </td>
+            <td>
+                <pre>icon-file-text</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>requested_by</code></td>
+            <td >
+                Data</td>
+            <td >
+                Requested For
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td class="danger" title="Mandatory"><code>transaction_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Transaction Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>column_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>
+Draft
+Submitted
+Stopped
+Cancelled</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>per_ordered</code></td>
+            <td >
+                Percent</td>
+            <td >
+                % Ordered
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>16</td>
+            <td ><code>printing_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Printing Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>letter_head</code></td>
+            <td >
+                Link</td>
+            <td >
+                Letter Head
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/print/letter_head">Letter Head</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>select_print_heading</code></td>
+            <td >
+                Link</td>
+            <td >
+                Print Heading
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/print_heading">Print Heading</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>19</td>
+            <td ><code>terms_section_break</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Terms and Conditions
+                
+            </td>
+            <td>
+                <pre>icon-legal</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>tc_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Terms
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/terms_and_conditions">Terms and Conditions</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>terms</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Terms and Conditions Content
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.stock.doctype.material_request.material_request</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>MaterialRequest</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.buying_controller.BuyingController</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_if_already_pulled" href="#check_if_already_pulled" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_if_already_pulled</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_modified_date" href="#check_modified_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_modified_date</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_feed" href="#get_feed" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_feed</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_completed_qty" href="#update_completed_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_completed_qty</b>
+        <i class="text-muted">(self, mr_items=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_requested_qty" href="#update_requested_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_requested_qty</b>
+        <i class="text-muted">(self, mr_item_rows=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p>update requested qty (before ordered_qty is updated)</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_status" href="#update_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_status</b>
+        <i class="text-muted">(self, status)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_qty_against_so" href="#validate_qty_against_so" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_qty_against_so</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_schedule_date" href="#validate_schedule_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_schedule_date</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.material_request.material_request.get_material_requests_based_on_supplier" href="#erpnext.stock.doctype.material_request.material_request.get_material_requests_based_on_supplier" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.material_request.material_request.<b>get_material_requests_based_on_supplier</b>
+        <i class="text-muted">(supplier)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.doctype.material_request.material_request.make_purchase_order</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.material_request.material_request.make_purchase_order" href="#erpnext.stock.doctype.material_request.material_request.make_purchase_order" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.material_request.material_request.<b>make_purchase_order</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.doctype.material_request.material_request.make_purchase_order_based_on_supplier</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.material_request.material_request.make_purchase_order_based_on_supplier" href="#erpnext.stock.doctype.material_request.material_request.make_purchase_order_based_on_supplier" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.material_request.material_request.<b>make_purchase_order_based_on_supplier</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.doctype.material_request.material_request.make_stock_entry</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.material_request.material_request.make_stock_entry" href="#erpnext.stock.doctype.material_request.material_request.make_stock_entry" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.material_request.material_request.<b>make_stock_entry</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.doctype.material_request.material_request.make_supplier_quotation</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.material_request.material_request.make_supplier_quotation" href="#erpnext.stock.doctype.material_request.material_request.make_supplier_quotation" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.material_request.material_request.<b>make_supplier_quotation</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.material_request.material_request.set_missing_values" href="#erpnext.stock.doctype.material_request.material_request.set_missing_values" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.material_request.material_request.<b>set_missing_values</b>
+        <i class="text-muted">(source, target_doc)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.material_request.material_request.update_completed_and_requested_qty" href="#erpnext.stock.doctype.material_request.material_request.update_completed_and_requested_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.material_request.material_request.<b>update_completed_and_requested_qty</b>
+        <i class="text-muted">(stock_entry, method)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.material_request.material_request.update_item" href="#erpnext.stock.doctype.material_request.material_request.update_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.material_request.material_request.<b>update_item</b>
+        <i class="text-muted">(obj, target, source_parent)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry_detail">Stock Entry Detail</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/material_request">Material Request</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation_item">Supplier Quotation Item</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/material_request_item.html b/erpnext/docs/current/models/stock/material_request_item.html
new file mode 100644
index 0000000..2c08c80
--- /dev/null
+++ b/erpnext/docs/current/models/stock/material_request_item.html
@@ -0,0 +1,407 @@
+<!-- title: Material Request Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/material_request_item"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabMaterial Request Item</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>4</td>
+            <td ><code>section_break_4</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>column_break_6</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>image</code></td>
+            <td >
+                Attach</td>
+            <td class="text-muted" title="Hidden">
+                Image
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>image_view</code></td>
+            <td >
+                Image</td>
+            <td >
+                Image View
+                
+            </td>
+            <td>
+                <pre>image</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>9</td>
+            <td ><code>quantity_and_warehouse</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Quantity and Warehouse
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td class="danger" title="Mandatory"><code>qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Quantity
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td class="danger" title="Mandatory"><code>uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                Stock UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                For Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>col_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td class="danger" title="Mandatory"><code>schedule_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Required Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>15</td>
+            <td ><code>more_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                More Information
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>item_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/item_group">Item Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>brand</code></td>
+            <td >
+                Link</td>
+            <td >
+                Brand
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/brand">Brand</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>lead_time_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Lead Time Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>sales_order_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                Sales Order No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>col_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>min_order_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Min Order Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>projected_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Projected Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>ordered_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Completed Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>page_break</code></td>
+            <td >
+                Check</td>
+            <td >
+                Page Break
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/material_request">Material Request</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/packed_item.html b/erpnext/docs/current/models/stock/packed_item.html
new file mode 100644
index 0000000..6e6bf6f
--- /dev/null
+++ b/erpnext/docs/current/models/stock/packed_item.html
@@ -0,0 +1,395 @@
+<!-- title: Packed Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/packed_item"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabPacked Item</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>parent_item</code></td>
+            <td >
+                Link</td>
+            <td >
+                Parent Item
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>column_break_5</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>6</td>
+            <td ><code>section_break_6</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                From Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>target_warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                To Warehouse (Optional)
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>column_break_9</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>11</td>
+            <td ><code>section_break_9</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>serial_no</code></td>
+            <td >
+                Text</td>
+            <td >
+                Serial No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>column_break_11</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>batch_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                Batch No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/batch">Batch</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>15</td>
+            <td ><code>section_break_13</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>actual_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Actual Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>projected_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Projected Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>column_break_16</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>page_break</code></td>
+            <td >
+                Check</td>
+            <td >
+                Page Break
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>prevdoc_doctype</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Prevdoc DocType
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>parent_detail_docname</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Parent Detail docname
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+</li>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+</li>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/packing_slip.html b/erpnext/docs/current/models/stock/packing_slip.html
new file mode 100644
index 0000000..ae1e5d5
--- /dev/null
+++ b/erpnext/docs/current/models/stock/packing_slip.html
@@ -0,0 +1,590 @@
+<!-- title: Packing Slip -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/packing_slip"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabPacking Slip</code></p>
+
+
+Generate packing slips for packages to be delivered. Used to notify package number, package contents and its weight.
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>packing_slip_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>delivery_note</code></td>
+            <td >
+                Link</td>
+            <td >
+                Delivery Note
+                <p class="text-muted small">
+                    Indicates that the package is a part of this delivery (Only Draft)</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>PS-</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>6</td>
+            <td ><code>section_break0</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>column_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td class="danger" title="Mandatory"><code>from_case_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                From Package No.
+                <p class="text-muted small">
+                    Identification of the package for the delivery (for print)</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>column_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>to_case_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                To Package No.
+                <p class="text-muted small">
+                    If more than one package of the same type (for print)</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>11</td>
+            <td ><code>package_item_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>get_items</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Items
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/packing_slip_item">Packing Slip Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>14</td>
+            <td ><code>package_weight_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Package Weight Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>net_weight_pkg</code></td>
+            <td >
+                Float</td>
+            <td >
+                Net Weight
+                <p class="text-muted small">
+                    The net weight of this package. (calculated automatically as sum of net weight of items)</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>net_weight_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                Net Weight UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>column_break4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>gross_weight_pkg</code></td>
+            <td >
+                Float</td>
+            <td >
+                Gross Weight
+                <p class="text-muted small">
+                    The gross weight of the package. Usually net weight + packaging material weight. (for print)</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>gross_weight_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                Gross Weight UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>20</td>
+            <td ><code>letter_head_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Letter Head
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>letter_head</code></td>
+            <td >
+                Link</td>
+            <td >
+                Letter Head
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/print/letter_head">Letter Head</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>22</td>
+            <td ><code>misc_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/packing_slip">Packing Slip</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.stock.doctype.packing_slip.packing_slip</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>PackingSlip</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_details_for_packing" href="#get_details_for_packing" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_details_for_packing</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Returns
+* 'Delivery Note Items' query result as a list of dict
+* Item Quantity dict of current packing slip doc
+* No. of Cases of this packing slip</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_items" href="#get_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_items</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_recommended_case_no" href="#get_recommended_case_no" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_recommended_case_no</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Returns the next case no. for a new packing slip for a delivery
+note</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="recommend_new_qty" href="#recommend_new_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>recommend_new_qty</b>
+        <i class="text-muted">(self, item, ps_item_qty, no_of_cases)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Recommend a new quantity and raise a validation exception</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_item_details" href="#update_item_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_item_details</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Fill empty columns in Packing Slip Item</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><ul>
+<li>Validate existence of submitted Delivery Note</li>
+<li>Case nos do not overlap</li>
+<li>Check if packed qty doesn't exceed actual qty of delivery note</li>
+</ul>
+
+<p>It is necessary to validate case nos before checking quantity</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_case_nos" href="#validate_case_nos" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_case_nos</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Validate if case nos overlap. If they do, recommend next case no.</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_delivery_note" href="#validate_delivery_note" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_delivery_note</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Validates if delivery note has status as draft</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_items_mandatory" href="#validate_items_mandatory" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_items_mandatory</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_qty" href="#validate_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_qty</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Check packed qty across packing slips and delivery note</p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.packing_slip.packing_slip.item_details" href="#erpnext.stock.doctype.packing_slip.packing_slip.item_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.packing_slip.packing_slip.<b>item_details</b>
+        <i class="text-muted">(doctype, txt, searchfield, start, page_len, filters)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/packing_slip">Packing Slip</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/packing_slip_item.html b/erpnext/docs/current/models/stock/packing_slip_item.html
new file mode 100644
index 0000000..f3d88d2
--- /dev/null
+++ b/erpnext/docs/current/models/stock/packing_slip_item.html
@@ -0,0 +1,219 @@
+<!-- title: Packing Slip Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/packing_slip_item"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabPacking Slip Item</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>batch_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                Batch No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/batch">Batch</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Quantity
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>stock_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>net_weight</code></td>
+            <td >
+                Float</td>
+            <td >
+                Net Weight
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>weight_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                Weight UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>page_break</code></td>
+            <td >
+                Check</td>
+            <td >
+                Page Break
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>dn_detail</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                DN Detail
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/packing_slip">Packing Slip</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/price_list.html b/erpnext/docs/current/models/stock/price_list.html
new file mode 100644
index 0000000..1a73fe9
--- /dev/null
+++ b/erpnext/docs/current/models/stock/price_list.html
@@ -0,0 +1,390 @@
+<!-- title: Price List -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/price_list"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabPrice List</code></p>
+
+
+Price List Master
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>enabled</code></td>
+            <td >
+                Check</td>
+            <td >
+                Enabled
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>2</td>
+            <td ><code>sb_1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>price_list_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Price List Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>buying</code></td>
+            <td >
+                Check</td>
+            <td >
+                Buying
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>selling</code></td>
+            <td >
+                Check</td>
+            <td >
+                Selling
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>column_break_3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>countries</code></td>
+            <td >
+                Table</td>
+            <td >
+                Applicable for Countries
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/price_list_country">Price List Country</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.stock.doctype.price_list.price_list</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>PriceList</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_trash" href="#on_trash" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_trash</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_default_if_missing" href="#set_default_if_missing" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_default_if_missing</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_item_price" href="#update_item_price" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_item_price</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/shopping_cart/shopping_cart_settings">Shopping Cart Settings</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt">Purchase Receipt</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item_price">Item Price</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom">BOM</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/customer_group">Customer Group</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/selling_settings">Selling Settings</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation">Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation">Supplier Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier">Supplier</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order">Purchase Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/buying_settings">Buying Settings</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice">Purchase Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pricing_rule">Pricing Rule</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pos_profile">POS Profile</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/price_list_country.html b/erpnext/docs/current/models/stock/price_list_country.html
new file mode 100644
index 0000000..117ab29
--- /dev/null
+++ b/erpnext/docs/current/models/stock/price_list_country.html
@@ -0,0 +1,84 @@
+<!-- title: Price List Country -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/price_list_country"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabPrice List Country</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>country</code></td>
+            <td >
+                Link</td>
+            <td >
+                Country
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/country">Country</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/price_list">Price List</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/purchase_receipt.html b/erpnext/docs/current/models/stock/purchase_receipt.html
new file mode 100644
index 0000000..8e66351
--- /dev/null
+++ b/erpnext/docs/current/models/stock/purchase_receipt.html
@@ -0,0 +1,1813 @@
+<!-- title: Purchase Receipt -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/purchase_receipt"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabPurchase Receipt</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>supplier_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-user</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>title</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>PREC-
+PREC-RET-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>supplier</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier">Supplier</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>supplier_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Supplier Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>address_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>contact_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Contact
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>contact_mobile</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Mobile No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>contact_email</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Contact Email
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td class="danger" title="Mandatory"><code>posting_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td class="danger" title="Mandatory"><code>posting_time</code></td>
+            <td >
+                Time</td>
+            <td >
+                Posting Time
+                <p class="text-muted small">
+                    Time at which materials were received</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>is_return</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is Return
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>return_against</code></td>
+            <td >
+                Link</td>
+            <td >
+                Return Against Purchase Receipt
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt">Purchase Receipt</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>16</td>
+            <td ><code>currency_and_price_list</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Currency and Price List
+                
+            </td>
+            <td>
+                <pre>icon-tag</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td class="danger" title="Mandatory"><code>currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td class="danger" title="Mandatory"><code>conversion_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Exchange Rate
+                <p class="text-muted small">
+                    Rate at which supplier's currency is converted to company's base currency</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>column_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>buying_price_list</code></td>
+            <td >
+                Link</td>
+            <td >
+                Price List
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/price_list">Price List</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>price_list_currency</code></td>
+            <td >
+                Link</td>
+            <td >
+                Price List Currency
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>plc_conversion_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Price List Exchange Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>ignore_pricing_rule</code></td>
+            <td >
+                Check</td>
+            <td >
+                Ignore Pricing Rule
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>24</td>
+            <td ><code>items_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-shopping-cart</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt_item">Purchase Receipt Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>get_current_stock</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Current Stock
+                
+            </td>
+            <td>
+                <pre>get_current_stock</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>27</td>
+            <td ><code>section_break0</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>base_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td class="danger" title="Mandatory"><code>base_net_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>column_break_27</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>net_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>33</td>
+            <td ><code>taxes_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                <p class="text-muted small">
+                    Add / Edit Taxes and Charges</p>
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>taxes_and_charges</code></td>
+            <td >
+                Link</td>
+            <td >
+                Taxes and Charges
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_taxes_and_charges_template">Purchase Taxes and Charges Template</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>taxes</code></td>
+            <td >
+                Table</td>
+            <td >
+                Purchase Taxes and Charges
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_taxes_and_charges">Purchase Taxes and Charges</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td ><code>other_charges_calculation</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Taxes and Charges Calculation
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>37</td>
+            <td ><code>totals</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>38</td>
+            <td ><code>base_taxes_and_charges_added</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Taxes and Charges Added (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td ><code>base_taxes_and_charges_deducted</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Taxes and Charges Deducted (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>40</td>
+            <td ><code>base_total_taxes_and_charges</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Taxes and Charges (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>41</td>
+            <td ><code>column_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>42</td>
+            <td ><code>taxes_and_charges_added</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Taxes and Charges Added
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>43</td>
+            <td ><code>taxes_and_charges_deducted</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Taxes and Charges Deducted
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>44</td>
+            <td ><code>total_taxes_and_charges</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Taxes and Charges
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>45</td>
+            <td ><code>section_break_42</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Additional Discount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>46</td>
+            <td ><code>apply_discount_on</code></td>
+            <td >
+                Select</td>
+            <td >
+                Apply Additional Discount On
+                
+            </td>
+            <td>
+                <pre>
+Grand Total
+Net Total</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>47</td>
+            <td ><code>column_break_44</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>48</td>
+            <td ><code>discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Additional Discount Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>49</td>
+            <td ><code>base_discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Additional Discount Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>50</td>
+            <td ><code>section_break_46</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>51</td>
+            <td ><code>base_grand_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Grand Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>52</td>
+            <td ><code>base_in_words</code></td>
+            <td >
+                Data</td>
+            <td >
+                In Words (Company Currency)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>53</td>
+            <td ><code>base_rounded_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rounded Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>54</td>
+            <td ><code>column_break_50</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>55</td>
+            <td ><code>grand_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Grand Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>56</td>
+            <td ><code>in_words</code></td>
+            <td >
+                Data</td>
+            <td >
+                In Words
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>57</td>
+            <td ><code>terms_section_break</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Terms and Conditions
+                
+            </td>
+            <td>
+                <pre>icon-legal</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>58</td>
+            <td ><code>tc_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Terms
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/terms_and_conditions">Terms and Conditions</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>59</td>
+            <td ><code>terms</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Terms and Conditions
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>60</td>
+            <td ><code>contact_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Contact Details
+                
+            </td>
+            <td>
+                <pre>icon-bullhorn</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>61</td>
+            <td ><code>supplier_address</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier Address
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>62</td>
+            <td ><code>column_break_57</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>63</td>
+            <td ><code>contact_person</code></td>
+            <td >
+                Link</td>
+            <td >
+                Contact Person
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/contact">Contact</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>64</td>
+            <td ><code>raw_material_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Raw Materials Supplied
+                
+            </td>
+            <td>
+                <pre>icon-table</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>65</td>
+            <td ><code>is_subcontracted</code></td>
+            <td >
+                Select</td>
+            <td >
+                Raw Materials Supplied
+                
+            </td>
+            <td>
+                <pre>No
+Yes</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>66</td>
+            <td ><code>supplier_warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>67</td>
+            <td ><code>supplied_items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Supplied Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_receipt_item_supplied">Purchase Receipt Item Supplied</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>68</td>
+            <td ><code>bill_no</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Bill No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>69</td>
+            <td ><code>bill_date</code></td>
+            <td >
+                Date</td>
+            <td class="text-muted" title="Hidden">
+                Bill Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>70</td>
+            <td ><code>more_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                More Information
+                
+            </td>
+            <td>
+                <pre>icon-file-text</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>71</td>
+            <td class="danger" title="Mandatory"><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>
+Draft
+Submitted
+Cancelled
+Closed</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>72</td>
+            <td ><code>rejected_warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Rejected Warehouse
+                <p class="text-muted small">
+                    Warehouse where you are maintaining stock of rejected items</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>73</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt">Purchase Receipt</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>74</td>
+            <td ><code>range</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Range
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>75</td>
+            <td ><code>column_break4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>76</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>77</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>78</td>
+            <td ><code>printing_settings</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Printing Settings
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>79</td>
+            <td ><code>letter_head</code></td>
+            <td >
+                Link</td>
+            <td >
+                Letter Head
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/print/letter_head">Letter Head</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>80</td>
+            <td ><code>select_print_heading</code></td>
+            <td >
+                Link</td>
+            <td >
+                Print Heading
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/print_heading">Print Heading</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>81</td>
+            <td ><code>other_details</code></td>
+            <td >
+                HTML</td>
+            <td class="text-muted" title="Hidden">
+                Other Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>82</td>
+            <td ><code>instructions</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Instructions
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>83</td>
+            <td ><code>remarks</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Remarks
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>84</td>
+            <td ><code>transporter_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Transporter Details
+                
+            </td>
+            <td>
+                <pre>icon-truck</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>85</td>
+            <td ><code>transporter_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Transporter Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>86</td>
+            <td ><code>column_break5</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>87</td>
+            <td ><code>lr_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                Vehicle Number
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>88</td>
+            <td ><code>lr_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Vehicle Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.stock.doctype.purchase_receipt.purchase_receipt</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>PurchaseReceipt</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.buying_controller.BuyingController</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="__init__" href="#__init__" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>__init__</b>
+        <i class="text-muted">(self, arg1, arg2=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="bk_flush_supp_wh" href="#bk_flush_supp_wh" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>bk_flush_supp_wh</b>
+        <i class="text-muted">(self, sl_entries)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_for_stopped_or_closed_status" href="#check_for_stopped_or_closed_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_for_stopped_or_closed_status</b>
+        <i class="text-muted">(self, pc_obj)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_next_docstatus" href="#check_next_docstatus" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_next_docstatus</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_already_received_qty" href="#get_already_received_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_already_received_qty</b>
+        <i class="text-muted">(self, po, po_detail)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_current_stock" href="#get_current_stock" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_current_stock</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_gl_entries" href="#get_gl_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_gl_entries</b>
+        <i class="text-muted">(self, warehouse_account=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_po_qty_and_warehouse" href="#get_po_qty_and_warehouse" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_po_qty_and_warehouse</b>
+        <i class="text-muted">(self, po_detail)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_rate" href="#get_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_rate</b>
+        <i class="text-muted">(self, arg)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="onload" href="#onload" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>onload</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="po_required" href="#po_required" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>po_required</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_landed_cost_voucher_amount" href="#set_landed_cost_voucher_amount" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_landed_cost_voucher_amount</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_ordered_qty" href="#update_ordered_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_ordered_qty</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_status" href="#update_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_status</b>
+        <i class="text-muted">(self, status)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_stock_ledger" href="#update_stock_ledger" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_stock_ledger</b>
+        <i class="text-muted">(self, allow_negative_stock=False, via_landed_cost_voucher=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_accepted_rejected_qty" href="#validate_accepted_rejected_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_accepted_rejected_qty</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_inspection" href="#validate_inspection" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_inspection</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_purchase_return" href="#validate_purchase_return" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_purchase_return</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_rejected_warehouse" href="#validate_rejected_warehouse" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_rejected_warehouse</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_with_previous_doc" href="#validate_with_previous_doc" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_with_previous_doc</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.purchase_receipt.purchase_receipt.get_invoiced_qty_map" href="#erpnext.stock.doctype.purchase_receipt.purchase_receipt.get_invoiced_qty_map" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.purchase_receipt.purchase_receipt.<b>get_invoiced_qty_map</b>
+        <i class="text-muted">(purchase_receipt)</i>
+    </p>
+	<div class="docs-attr-desc"><p>returns a map: {pr<em>detail: invoiced</em>qty}</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.doctype.purchase_receipt.purchase_receipt.make_purchase_invoice</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.purchase_receipt.purchase_receipt.make_purchase_invoice" href="#erpnext.stock.doctype.purchase_receipt.purchase_receipt.make_purchase_invoice" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.purchase_receipt.purchase_receipt.<b>make_purchase_invoice</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.doctype.purchase_receipt.purchase_receipt.make_purchase_return</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.purchase_receipt.purchase_receipt.make_purchase_return" href="#erpnext.stock.doctype.purchase_receipt.purchase_receipt.make_purchase_return" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.purchase_receipt.purchase_receipt.<b>make_purchase_return</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.doctype.purchase_receipt.purchase_receipt.update_purchase_receipt_status</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.purchase_receipt.purchase_receipt.update_purchase_receipt_status" href="#erpnext.stock.doctype.purchase_receipt.purchase_receipt.update_purchase_receipt_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.purchase_receipt.purchase_receipt.<b>update_purchase_receipt_status</b>
+        <i class="text-muted">(docname, status)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry">Stock Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt">Purchase Receipt</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/landed_cost_purchase_receipt">Landed Cost Purchase Receipt</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/landed_cost_item">Landed Cost Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/quality_inspection">Quality Inspection</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice_item">Purchase Invoice Item</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/purchase_receipt_item.html b/erpnext/docs/current/models/stock/purchase_receipt_item.html
new file mode 100644
index 0000000..419b83b
--- /dev/null
+++ b/erpnext/docs/current/models/stock/purchase_receipt_item.html
@@ -0,0 +1,939 @@
+<!-- title: Purchase Receipt Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/purchase_receipt_item"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabPurchase Receipt Item</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>barcode</code></td>
+            <td >
+                Data</td>
+            <td >
+                Barcode
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>2</td>
+            <td ><code>section_break_2</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>column_break_2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>6</td>
+            <td ><code>section_break_4</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>image</code></td>
+            <td >
+                Attach</td>
+            <td class="text-muted" title="Hidden">
+                Image
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>image_view</code></td>
+            <td >
+                Image</td>
+            <td >
+                Image View
+                
+            </td>
+            <td>
+                <pre>image</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>11</td>
+            <td ><code>received_and_accepted</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Received and Accepted
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td class="danger" title="Mandatory"><code>received_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Recd Quantity
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Accepted Quantity
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>rejected_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Rejected Quantity
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>col_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td class="danger" title="Mandatory"><code>uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td class="danger" title="Mandatory"><code>stock_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                Stock UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td class="danger" title="Mandatory"><code>conversion_factor</code></td>
+            <td >
+                Float</td>
+            <td >
+                Conversion Factor
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>19</td>
+            <td ><code>rate_and_amount</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Rate and Amount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>price_list_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Price List Rate
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>discount_percentage</code></td>
+            <td >
+                Percent</td>
+            <td >
+                Discount on Price List Rate (%)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>col_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>base_price_list_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Price List Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>24</td>
+            <td ><code>sec_break1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rate
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>col_break4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td class="danger" title="Mandatory"><code>base_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>base_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>pricing_rule</code></td>
+            <td >
+                Link</td>
+            <td >
+                Pricing Rule
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pricing_rule">Pricing Rule</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>31</td>
+            <td ><code>section_break_29</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>net_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Rate
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>net_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>column_break_32</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>base_net_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Rate (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td ><code>base_net_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Amount (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>37</td>
+            <td ><code>warehouse_and_reference</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Warehouse and Reference
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>38</td>
+            <td ><code>warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Accepted Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td ><code>rejected_warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Rejected Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>40</td>
+            <td ><code>project_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Project Name
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/project">Project</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>41</td>
+            <td ><code>cost_center</code></td>
+            <td >
+                Link</td>
+            <td >
+                Cost Center
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>42</td>
+            <td ><code>qa_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                Quality Inspection
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/quality_inspection">Quality Inspection</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>43</td>
+            <td ><code>schedule_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Required By
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>44</td>
+            <td ><code>stock_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Qty as per Stock UOM
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>45</td>
+            <td ><code>prevdoc_doctype</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Prevdoc Doctype
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>46</td>
+            <td ><code>prevdoc_docname</code></td>
+            <td >
+                Link</td>
+            <td >
+                Purchase Order
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order">Purchase Order</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>47</td>
+            <td ><code>prevdoc_detail_docname</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Purchase Order Item No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>48</td>
+            <td ><code>col_break5</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>49</td>
+            <td ><code>bom</code></td>
+            <td >
+                Link</td>
+            <td >
+                BOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom">BOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>50</td>
+            <td ><code>serial_no</code></td>
+            <td >
+                Text</td>
+            <td >
+                Serial No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>51</td>
+            <td ><code>rejected_serial_no</code></td>
+            <td >
+                Text</td>
+            <td >
+                Rejected Serial No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>52</td>
+            <td ><code>batch_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                Batch No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/batch">Batch</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>53</td>
+            <td ><code>brand</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Brand
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/brand">Brand</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>54</td>
+            <td ><code>item_group</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Item Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/item_group">Item Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>55</td>
+            <td ><code>rm_supp_cost</code></td>
+            <td >
+                Currency</td>
+            <td class="text-muted" title="Hidden">
+                Raw Materials Supplied Cost
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>56</td>
+            <td ><code>item_tax_amount</code></td>
+            <td >
+                Currency</td>
+            <td class="text-muted" title="Hidden">
+                Item Tax Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>57</td>
+            <td ><code>landed_cost_voucher_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Landed Cost Voucher Amount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>58</td>
+            <td ><code>valuation_rate</code></td>
+            <td >
+                Currency</td>
+            <td class="text-muted" title="Hidden">
+                Valuation Rate
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>59</td>
+            <td ><code>item_tax_rate</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Item Tax Rate
+                <p class="text-muted small">
+                    Tax detail table fetched from item master as a string and stored in this field.
+Used for Taxes and Charges</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>60</td>
+            <td ><code>page_break</code></td>
+            <td >
+                Check</td>
+            <td >
+                Page Break
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt">Purchase Receipt</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/serial_no.html b/erpnext/docs/current/models/stock/serial_no.html
new file mode 100644
index 0000000..6f690f0
--- /dev/null
+++ b/erpnext/docs/current/models/stock/serial_no.html
@@ -0,0 +1,1101 @@
+<!-- title: Serial No -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/serial_no"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabSerial No</code></p>
+
+
+Distinct unit of an Item
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>serial_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                Serial No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Warehouse
+                <p class="text-muted small">
+                    Warehouse can only be changed via Stock Entry / Delivery Note / Purchase Receipt</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>description</code></td>
+            <td >
+                Text</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>item_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/item_group">Item Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>brand</code></td>
+            <td >
+                Link</td>
+            <td >
+                Brand
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/brand">Brand</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>11</td>
+            <td ><code>purchase_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Purchase / Manufacture Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>column_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>purchase_document_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Creation Document Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/doctype">DocType</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>purchase_document_no</code></td>
+            <td >
+                Dynamic Link</td>
+            <td >
+                Creation Document No
+                
+            </td>
+            <td>
+                <pre>purchase_document_type</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>purchase_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Creation Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>purchase_time</code></td>
+            <td >
+                Time</td>
+            <td >
+                Creation Time
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>purchase_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Incoming Rate
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>column_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>supplier</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier">Supplier</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>supplier_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Supplier Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>21</td>
+            <td ><code>delivery_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Delivery Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>delivery_document_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Delivery Document Type
+                
+            </td>
+            <td>
+                <pre>
+Delivery Note
+Sales Invoice
+Stock Entry
+Purchase Receipt</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>delivery_document_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                Delivery Document No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>delivery_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Delivery Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>delivery_time</code></td>
+            <td >
+                Time</td>
+            <td >
+                Delivery Time
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>is_cancelled</code></td>
+            <td >
+                Select</td>
+            <td class="text-muted" title="Hidden">
+                Is Cancelled
+                
+            </td>
+            <td>
+                <pre>
+Yes
+No</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>column_break5</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>customer_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Customer Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>30</td>
+            <td ><code>warranty_amc_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Warranty / AMC Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>column_break6</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>maintenance_status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Maintenance Status
+                
+            </td>
+            <td>
+                <pre>
+Under Warranty
+Out of Warranty
+Under AMC
+Out of AMC</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>warranty_period</code></td>
+            <td >
+                Int</td>
+            <td >
+                Warranty Period (Days)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>column_break7</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>warranty_expiry_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Warranty Expiry Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td ><code>amc_expiry_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                AMC Expiry Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>37</td>
+            <td ><code>more_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                More Information
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>38</td>
+            <td ><code>serial_no_details</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Serial No Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.stock.doctype.serial_no.serial_no</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SerialNo</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.stock_controller.StockController</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="__init__" href="#__init__" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>__init__</b>
+        <i class="text-muted">(self, arg1, arg2=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="after_rename" href="#after_rename" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>after_rename</b>
+        <i class="text-muted">(self, old, new, merge=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p>rename serial_no text fields</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="before_rename" href="#before_rename" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>before_rename</b>
+        <i class="text-muted">(self, old, new, merge=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_last_sle" href="#get_last_sle" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_last_sle</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_stock_ledger_entries" href="#get_stock_ledger_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_stock_ledger_entries</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_stock_ledger_entry" href="#on_stock_ledger_entry" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_stock_ledger_entry</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_trash" href="#on_trash" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_trash</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_maintenance_status" href="#set_maintenance_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_maintenance_status</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_purchase_details" href="#set_purchase_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_purchase_details</b>
+        <i class="text-muted">(self, purchase_sle)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_sales_details" href="#set_sales_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_sales_details</b>
+        <i class="text-muted">(self, delivery_sle)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_item" href="#validate_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_item</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Validate whether serial no is required for this item</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_warehouse" href="#validate_warehouse" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_warehouse</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SerialNoCannotCannotChangeError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SerialNoCannotCreateDirectError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SerialNoDuplicateError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SerialNoItemError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SerialNoNotExistsError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SerialNoNotRequiredError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SerialNoQtyError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SerialNoRequiredError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SerialNoWarehouseError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.serial_no.serial_no.allow_serial_nos_with_different_item" href="#erpnext.stock.doctype.serial_no.serial_no.allow_serial_nos_with_different_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.serial_no.serial_no.<b>allow_serial_nos_with_different_item</b>
+        <i class="text-muted">(sle_serial_no, sle)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Allows same serial nos for raw materials and finished goods 
+in Manufacture / Repack type Stock Entry</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.serial_no.serial_no.get_item_details" href="#erpnext.stock.doctype.serial_no.serial_no.get_item_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.serial_no.serial_no.<b>get_item_details</b>
+        <i class="text-muted">(item_code)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.serial_no.serial_no.get_serial_nos" href="#erpnext.stock.doctype.serial_no.serial_no.get_serial_nos" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.serial_no.serial_no.<b>get_serial_nos</b>
+        <i class="text-muted">(serial_no)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.serial_no.serial_no.make_serial_no" href="#erpnext.stock.doctype.serial_no.serial_no.make_serial_no" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.serial_no.serial_no.<b>make_serial_no</b>
+        <i class="text-muted">(serial_no, sle)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.serial_no.serial_no.process_serial_no" href="#erpnext.stock.doctype.serial_no.serial_no.process_serial_no" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.serial_no.serial_no.<b>process_serial_no</b>
+        <i class="text-muted">(sle)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.serial_no.serial_no.update_serial_nos" href="#erpnext.stock.doctype.serial_no.serial_no.update_serial_nos" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.serial_no.serial_no.<b>update_serial_nos</b>
+        <i class="text-muted">(sle, item_det)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.serial_no.serial_no.update_serial_nos_after_submit" href="#erpnext.stock.doctype.serial_no.serial_no.update_serial_nos_after_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.serial_no.serial_no.<b>update_serial_nos_after_submit</b>
+        <i class="text-muted">(controller, parentfield)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.serial_no.serial_no.validate_serial_no" href="#erpnext.stock.doctype.serial_no.serial_no.validate_serial_no" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.serial_no.serial_no.<b>validate_serial_no</b>
+        <i class="text-muted">(sle, item_det)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/warranty_claim">Warranty Claim</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/quality_inspection">Quality Inspection</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/stock_entry.html b/erpnext/docs/current/models/stock/stock_entry.html
new file mode 100644
index 0000000..9b7b443
--- /dev/null
+++ b/erpnext/docs/current/models/stock/stock_entry.html
@@ -0,0 +1,1609 @@
+<!-- title: Stock Entry -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/stock_entry"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabStock Entry</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>items_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>title</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Title
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>STE-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>purpose</code></td>
+            <td >
+                Select</td>
+            <td >
+                Purpose
+                
+            </td>
+            <td>
+                <pre>Material Issue
+Material Receipt
+Material Transfer
+Material Transfer for Manufacture
+Manufacture
+Repack
+Subcontract</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>production_order</code></td>
+            <td >
+                Link</td>
+            <td >
+                Production Order
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_order">Production Order</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>purchase_order</code></td>
+            <td >
+                Link</td>
+            <td >
+                Purchase Order
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order">Purchase Order</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>delivery_note_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                Delivery Note No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>sales_invoice_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                Sales Invoice No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>purchase_receipt_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                Purchase Receipt No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt">Purchase Receipt</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>from_bom</code></td>
+            <td >
+                Check</td>
+            <td >
+                From BOM
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>col2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td class="danger" title="Mandatory"><code>posting_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Posting Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td class="danger" title="Mandatory"><code>posting_time</code></td>
+            <td >
+                Time</td>
+            <td >
+                Posting Time
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>14</td>
+            <td ><code>sb1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>bom_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                BOM No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom">BOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>fg_completed_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                For Quantity
+                <p class="text-muted small">
+                    As per Stock UOM</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>cb1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>use_multi_level_bom</code></td>
+            <td >
+                Check</td>
+            <td >
+                Use Multi-Level BOM
+                <p class="text-muted small">
+                    Including items for sub assemblies</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>get_items</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Items
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>20</td>
+            <td ><code>section_break_12</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>from_warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Source Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>cb0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>to_warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Target Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>24</td>
+            <td ><code>sb0</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>Simple</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry_detail">Stock Entry Detail</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>get_stock_and_rate</code></td>
+            <td >
+                Button</td>
+            <td >
+                Update Rate and Availability
+                
+            </td>
+            <td>
+                <pre>get_stock_and_rate</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>27</td>
+            <td ><code>section_break_19</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>total_incoming_value</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Incoming Value
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>column_break_22</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>total_outgoing_value</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Outgoing Value
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>value_difference</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Value Difference (Out - In)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>difference_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Difference Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>33</td>
+            <td ><code>additional_costs_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Additional Costs
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>additional_costs</code></td>
+            <td >
+                Table</td>
+            <td >
+                Additional Costs
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/landed_cost_taxes_and_charges">Landed Cost Taxes and Charges</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>total_additional_costs</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Additional Costs
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>36</td>
+            <td ><code>contact_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Customer or Supplier Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>37</td>
+            <td ><code>supplier</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier">Supplier</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>38</td>
+            <td ><code>supplier_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Supplier Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td ><code>supplier_address</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Supplier Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>40</td>
+            <td ><code>column_break_39</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>41</td>
+            <td ><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>42</td>
+            <td ><code>customer_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Customer Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>43</td>
+            <td ><code>customer_address</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Customer Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>44</td>
+            <td ><code>printing_settings</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Printing Settings
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>45</td>
+            <td ><code>select_print_heading</code></td>
+            <td >
+                Link</td>
+            <td >
+                Print Heading
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/print_heading">Print Heading</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>46</td>
+            <td ><code>letter_head</code></td>
+            <td >
+                Link</td>
+            <td >
+                Letter Head
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/print/letter_head">Letter Head</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>47</td>
+            <td ><code>more_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                More Information
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>48</td>
+            <td ><code>project_name</code></td>
+            <td >
+                Link</td>
+            <td >
+                Project Name
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/project">Project</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>49</td>
+            <td ><code>remarks</code></td>
+            <td >
+                Text</td>
+            <td >
+                Remarks
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>50</td>
+            <td ><code>col5</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>51</td>
+            <td ><code>total_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>52</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>53</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>54</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry">Stock Entry</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>55</td>
+            <td ><code>credit_note</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Credit Note
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/journal_entry">Journal Entry</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.stock.doctype.stock_entry.stock_entry</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>DuplicateEntryForProductionOrderError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>IncorrectValuationRateError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>OperationsNotCompleteError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>StockEntry</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.stock_controller.StockController</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="add_to_stock_entry_detail" href="#add_to_stock_entry_detail" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>add_to_stock_entry_detail</b>
+        <i class="text-muted">(self, item_dict, bom_no=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="calculate_rate_and_amount" href="#calculate_rate_and_amount" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>calculate_rate_and_amount</b>
+        <i class="text-muted">(self, force=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_duplicate_entry_for_production_order" href="#check_duplicate_entry_for_production_order" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_duplicate_entry_for_production_order</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_if_operations_completed" href="#check_if_operations_completed" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_if_operations_completed</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Check if Time Logs are completed against before manufacturing to capture operating costs.</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="distribute_additional_costs" href="#distribute_additional_costs" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>distribute_additional_costs</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_bom_raw_materials" href="#get_bom_raw_materials" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_bom_raw_materials</b>
+        <i class="text-muted">(self, qty)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_feed" href="#get_feed" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_feed</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_gl_entries" href="#get_gl_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_gl_entries</b>
+        <i class="text-muted">(self, warehouse_account)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_issued_qty" href="#get_issued_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_issued_qty</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_item_details" href="#get_item_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_item_details</b>
+        <i class="text-muted">(self, args=None, for_update=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_items" href="#get_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_items</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_pending_raw_materials" href="#get_pending_raw_materials" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_pending_raw_materials</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>issue (item quantity) that is pending to issue or desire to transfer,
+whichever is less</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_stock_and_rate" href="#get_stock_and_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_stock_and_rate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_transfered_raw_materials" href="#get_transfered_raw_materials" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_transfered_raw_materials</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_uom_details" href="#get_uom_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_uom_details</b>
+        <i class="text-muted">(self, args)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Returns dict <code>{"conversion_factor": [value], "transfer_qty": qty * [value]}</code></p>
+
+<p><strong>Parameters:</strong></p>
+
+<ul>
+<li><strong><code>args</code></strong> -  dict with <code>item_code</code>, <code>uom</code> and <code>qty</code></li>
+</ul>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_warehouse_details" href="#get_warehouse_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_warehouse_details</b>
+        <i class="text-muted">(self, args)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="load_items_from_bom" href="#load_items_from_bom" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>load_items_from_bom</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="onload" href="#onload" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>onload</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_actual_qty" href="#set_actual_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_actual_qty</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_basic_rate" href="#set_basic_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_basic_rate</b>
+        <i class="text-muted">(self, force=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p>get stock and incoming rate on posting date</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_basic_rate_for_finished_goods" href="#set_basic_rate_for_finished_goods" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_basic_rate_for_finished_goods</b>
+        <i class="text-muted">(self, raw_material_cost)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_total_amount" href="#set_total_amount" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_total_amount</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_total_incoming_outgoing_value" href="#set_total_incoming_outgoing_value" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_total_incoming_outgoing_value</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_transfer_qty" href="#set_transfer_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_transfer_qty</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_production_order" href="#update_production_order" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_production_order</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_stock_ledger" href="#update_stock_ledger" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_stock_ledger</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_valuation_rate" href="#update_valuation_rate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_valuation_rate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_batch" href="#validate_batch" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_batch</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_bom" href="#validate_bom" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_bom</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_finished_goods" href="#validate_finished_goods" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_finished_goods</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>validation: finished good quantity should be same as manufacturing quantity</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_item" href="#validate_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_item</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_production_order" href="#validate_production_order" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_production_order</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_purchase_order" href="#validate_purchase_order" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_purchase_order</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Throw exception if more raw material is transferred against Purchase Order than in
+the raw materials supplied table</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_purpose" href="#validate_purpose" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_purpose</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_warehouse" href="#validate_warehouse" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_warehouse</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>perform various (sometimes conditional) validations on warehouse</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_with_material_request" href="#validate_with_material_request" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_with_material_request</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.stock_entry.stock_entry.get_additional_costs" href="#erpnext.stock.doctype.stock_entry.stock_entry.get_additional_costs" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.stock_entry.stock_entry.<b>get_additional_costs</b>
+        <i class="text-muted">(production_order=None, bom_no=None, fg_qty=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.stock_entry.stock_entry.get_operating_cost_per_unit" href="#erpnext.stock.doctype.stock_entry.stock_entry.get_operating_cost_per_unit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.stock_entry.stock_entry.<b>get_operating_cost_per_unit</b>
+        <i class="text-muted">(production_order=None, bom_no=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.doctype.stock_entry.stock_entry.get_production_order_details</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.stock_entry.stock_entry.get_production_order_details" href="#erpnext.stock.doctype.stock_entry.stock_entry.get_production_order_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.stock_entry.stock_entry.<b>get_production_order_details</b>
+        <i class="text-muted">(production_order)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry">Stock Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/journal_entry">Journal Entry</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/stock_entry_detail.html b/erpnext/docs/current/models/stock/stock_entry_detail.html
new file mode 100644
index 0000000..d054e14
--- /dev/null
+++ b/erpnext/docs/current/models/stock/stock_entry_detail.html
@@ -0,0 +1,656 @@
+<!-- title: Stock Entry Detail -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/stock_entry_detail"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabStock Entry Detail</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>barcode</code></td>
+            <td >
+                Data</td>
+            <td >
+                Barcode
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>2</td>
+            <td ><code>section_break_2</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>s_warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Source Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>col_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>t_warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Target Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>6</td>
+            <td ><code>sec_break1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>col_break2</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>10</td>
+            <td ><code>section_break_8</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>column_break_10</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>image</code></td>
+            <td >
+                Attach</td>
+            <td class="text-muted" title="Hidden">
+                Image
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>image_view</code></td>
+            <td >
+                Image</td>
+            <td >
+                Image View
+                
+            </td>
+            <td>
+                <pre>image</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>15</td>
+            <td ><code>quantity_and_rate</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Quantity and Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td class="danger" title="Mandatory"><code>qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>basic_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Basic Rate (as per Stock UOM)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>basic_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Basic Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>additional_cost</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Additional Cost
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Amount
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>valuation_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Valuation Rate
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>col_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td class="danger" title="Mandatory"><code>uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td class="danger" title="Mandatory"><code>conversion_factor</code></td>
+            <td >
+                Float</td>
+            <td >
+                Conversion Factor
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td class="danger" title="Mandatory"><code>stock_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                Stock UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td class="danger" title="Mandatory"><code>transfer_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Qty as per Stock UOM
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>27</td>
+            <td ><code>serial_no_batch</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Serial No / Batch
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>serial_no</code></td>
+            <td >
+                Text</td>
+            <td >
+                Serial No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>col_break4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>batch_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                Batch No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/batch">Batch</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>31</td>
+            <td ><code>accounting</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Accounting
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>expense_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Difference Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>col_break5</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>34</td>
+            <td ><code>cost_center</code></td>
+            <td >
+                Link</td>
+            <td >
+                Cost Center
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>35</td>
+            <td ><code>more_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                More Information
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td ><code>actual_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Actual Qty (at source/target)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>37</td>
+            <td ><code>bom_no</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                BOM No
+                <p class="text-muted small">
+                    BOM No. for a Finished Good Item</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom">BOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>38</td>
+            <td ><code>col_break6</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td ><code>material_request</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Material Request
+                <p class="text-muted small">
+                    Material Request used to make this Stock Entry</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/material_request">Material Request</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>40</td>
+            <td ><code>material_request_item</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Material Request Item
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/material_request_item">Material Request Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry">Stock Entry</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/stock_ledger_entry.html b/erpnext/docs/current/models/stock/stock_ledger_entry.html
new file mode 100644
index 0000000..ebfc462
--- /dev/null
+++ b/erpnext/docs/current/models/stock/stock_ledger_entry.html
@@ -0,0 +1,552 @@
+<!-- title: Stock Ledger Entry -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/stock_ledger_entry"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabStock Ledger Entry</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>serial_no</code></td>
+            <td >
+                Text</td>
+            <td >
+                Serial No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>batch_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                Batch No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>posting_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Posting Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>posting_time</code></td>
+            <td >
+                Time</td>
+            <td >
+                Posting Time
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>voucher_type</code></td>
+            <td >
+                Link</td>
+            <td >
+                Voucher Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/doctype">DocType</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>voucher_no</code></td>
+            <td >
+                Dynamic Link</td>
+            <td >
+                Voucher No
+                
+            </td>
+            <td>
+                <pre>voucher_type</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>voucher_detail_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                Voucher Detail No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>actual_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Actual Quantity
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>incoming_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Incoming Rate
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>outgoing_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Outgoing Rate
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>stock_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                Stock UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>qty_after_transaction</code></td>
+            <td >
+                Float</td>
+            <td >
+                Actual Qty After Transaction
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>valuation_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Valuation Rate
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>stock_value</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Stock Value
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>stock_value_difference</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Stock Value Difference
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>stock_queue</code></td>
+            <td >
+                Text</td>
+            <td class="text-muted" title="Hidden">
+                Stock Queue (FIFO)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>project</code></td>
+            <td >
+                Link</td>
+            <td >
+                Project
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/project">Project</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>fiscal_year</code></td>
+            <td >
+                Data</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>is_cancelled</code></td>
+            <td >
+                Select</td>
+            <td class="text-muted" title="Hidden">
+                Is Cancelled
+                
+            </td>
+            <td>
+                <pre>
+No
+Yes</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.stock.doctype.stock_ledger_entry.stock_ledger_entry</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>StockFreezeError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>StockLedgerEntry</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="actual_amt_check" href="#actual_amt_check" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>actual_amt_check</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_stock_frozen_date" href="#check_stock_frozen_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_stock_frozen_date</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="scrub_posting_time" href="#scrub_posting_time" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>scrub_posting_time</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_batch" href="#validate_batch" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_batch</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_item" href="#validate_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_item</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_mandatory" href="#validate_mandatory" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_mandatory</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.stock_ledger_entry.stock_ledger_entry.on_doctype_update" href="#erpnext.stock.doctype.stock_ledger_entry.stock_ledger_entry.on_doctype_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.stock_ledger_entry.stock_ledger_entry.<b>on_doctype_update</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/stock_reconciliation.html b/erpnext/docs/current/models/stock/stock_reconciliation.html
new file mode 100644
index 0000000..4b6998f
--- /dev/null
+++ b/erpnext/docs/current/models/stock/stock_reconciliation.html
@@ -0,0 +1,581 @@
+<!-- title: Stock Reconciliation -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/stock_reconciliation"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabStock Reconciliation</code></p>
+
+
+This tool helps you to update or fix the quantity and valuation of stock in the system. It is typically used to synchronise the system values and what actually exists in your warehouses.
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>posting_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Posting Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>posting_time</code></td>
+            <td >
+                Time</td>
+            <td >
+                Posting Time
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>col1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_reconciliation">Stock Reconciliation</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>6</td>
+            <td ><code>sb9</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_reconciliation_item">Stock Reconciliation Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>get_items</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Items
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>9</td>
+            <td ><code>section_break_9</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>expense_account</code></td>
+            <td >
+                Link</td>
+            <td >
+                Difference Account
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>cost_center</code></td>
+            <td >
+                Link</td>
+            <td >
+                Cost Center
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>reconciliation_json</code></td>
+            <td >
+                Long Text</td>
+            <td class="text-muted" title="Hidden">
+                Reconciliation JSON
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>column_break_13</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>difference_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Difference Amount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>fold_15</code></td>
+            <td >
+                Fold</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>16</td>
+            <td ><code>section_break_16</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.stock.doctype.stock_reconciliation.stock_reconciliation</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>EmptyStockReconciliationItemsError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>OpeningEntryAccountError</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>StockReconciliation</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.stock_controller.StockController</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="__init__" href="#__init__" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>__init__</b>
+        <i class="text-muted">(self, arg1, arg2=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="delete_and_repost_sle" href="#delete_and_repost_sle" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>delete_and_repost_sle</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><pre><code>Delete Stock Ledger Entries related to this voucher
+</code></pre>
+
+<p>and repost future Stock Ledger Entries</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_gl_entries" href="#get_gl_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_gl_entries</b>
+        <i class="text-muted">(self, warehouse_account=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_items_for" href="#get_items_for" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_items_for</b>
+        <i class="text-muted">(self, warehouse)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="insert_entries" href="#insert_entries" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>insert_entries</b>
+        <i class="text-muted">(self, row)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Insert Stock Ledger Entries</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="remove_items_with_no_change" href="#remove_items_with_no_change" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>remove_items_with_no_change</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Remove items if qty or rate is not changed</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_stock_ledger" href="#update_stock_ledger" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_stock_ledger</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><pre><code>find difference between current and expected entries
+</code></pre>
+
+<p>and create stock ledger entries based on the difference</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_data" href="#validate_data" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_data</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_expense_account" href="#validate_expense_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_expense_account</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_item" href="#validate_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_item</b>
+        <i class="text-muted">(self, item_code, row_num)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.doctype.stock_reconciliation.stock_reconciliation.get_items</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.stock_reconciliation.stock_reconciliation.get_items" href="#erpnext.stock.doctype.stock_reconciliation.stock_reconciliation.get_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.stock_reconciliation.stock_reconciliation.<b>get_items</b>
+        <i class="text-muted">(warehouse, posting_date, posting_time)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_reconciliation">Stock Reconciliation</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/stock_reconciliation_item.html b/erpnext/docs/current/models/stock/stock_reconciliation_item.html
new file mode 100644
index 0000000..1d607e5
--- /dev/null
+++ b/erpnext/docs/current/models/stock/stock_reconciliation_item.html
@@ -0,0 +1,181 @@
+<!-- title: Stock Reconciliation Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/stock_reconciliation_item"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabStock Reconciliation Item</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>warehouse</code></td>
+            <td >
+                Link</td>
+            <td >
+                Warehouse
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>3</td>
+            <td ><code>section_break_3</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Quantity
+                <p class="text-muted small">
+                    Leave blank if no change</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>valuation_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Valuation Rate
+                <p class="text-muted small">
+                    Leave blank if no change</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>column_break_6</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>current_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Current Qty
+                <p class="text-muted small">
+                    Before reconciliation</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>current_valuation_rate</code></td>
+            <td >
+                Read Only</td>
+            <td >
+                Current Valuation Rate
+                <p class="text-muted small">
+                    Before reconciliation</p>
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_reconciliation">Stock Reconciliation</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/stock_settings.html b/erpnext/docs/current/models/stock/stock_settings.html
new file mode 100644
index 0000000..86149b9
--- /dev/null
+++ b/erpnext/docs/current/models/stock/stock_settings.html
@@ -0,0 +1,337 @@
+<!-- title: Stock Settings -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/stock_settings"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+Settings
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>item_naming_by</code></td>
+            <td >
+                Select</td>
+            <td >
+                Item Naming By
+                
+            </td>
+            <td>
+                <pre>Item Code
+Naming Series</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>item_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Item Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/item_group">Item Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>stock_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                Default Stock UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>column_break_4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>valuation_method</code></td>
+            <td >
+                Select</td>
+            <td >
+                Default Valuation Method
+                
+            </td>
+            <td>
+                <pre>FIFO
+Moving Average</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>tolerance</code></td>
+            <td >
+                Float</td>
+            <td >
+                Allowance Percent
+                <p class="text-muted small">
+                    Percentage you are allowed to receive or deliver more against the quantity ordered. For example: If you have ordered 100 units. and your Allowance is 10% then you are allowed to receive 110 units.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>7</td>
+            <td ><code>section_break_7</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>auto_insert_price_list_rate_if_missing</code></td>
+            <td >
+                Check</td>
+            <td >
+                Auto insert Price List rate if missing
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>allow_negative_stock</code></td>
+            <td >
+                Check</td>
+            <td >
+                Allow Negative Stock
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>column_break_10</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>automatically_set_serial_nos_based_on_fifo</code></td>
+            <td >
+                Check</td>
+            <td >
+                Automatically Set Serial Nos based on FIFO
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>12</td>
+            <td ><code>auto_material_request</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Auto Material Request
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>auto_indent</code></td>
+            <td >
+                Check</td>
+            <td >
+                Raise Material Request when stock reaches re-order level
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>reorder_email_notify</code></td>
+            <td >
+                Check</td>
+            <td >
+                Notify by Email on creation of automatic Material Request
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>15</td>
+            <td ><code>freeze_stock_entries</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Freeze Stock Entries
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>stock_frozen_upto</code></td>
+            <td >
+                Date</td>
+            <td >
+                Stock Frozen Upto
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>stock_frozen_upto_days</code></td>
+            <td >
+                Int</td>
+            <td >
+                Freeze Stocks Older Than [Days]
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>stock_auth_role</code></td>
+            <td >
+                Link</td>
+            <td >
+                Role Allowed to edit frozen stock
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/role">Role</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.stock.doctype.stock_settings.stock_settings</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>StockSettings</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/stock_uom_replace_utility.html b/erpnext/docs/current/models/stock/stock_uom_replace_utility.html
new file mode 100644
index 0000000..ad998cb
--- /dev/null
+++ b/erpnext/docs/current/models/stock/stock_uom_replace_utility.html
@@ -0,0 +1,284 @@
+<!-- title: Stock UOM Replace Utility -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/stock_uom_replace_utility"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>current_stock_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                Current Stock UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>new_stock_uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                New Stock UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>conversion_factor</code></td>
+            <td >
+                Float</td>
+            <td >
+                Conversion Factor
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>update</code></td>
+            <td >
+                Button</td>
+            <td >
+                Update
+                
+            </td>
+            <td>
+                <pre>update_stock_uom</pre>
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.stock.doctype.stock_uom_replace_utility.stock_uom_replace_utility</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>StockUOMReplaceUtility</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_stock_uom" href="#update_stock_uom" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_stock_uom</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_item" href="#validate_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_item</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_mandatory" href="#validate_mandatory" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_mandatory</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_uom_integer_type" href="#validate_uom_integer_type" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_uom_integer_type</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.doctype.stock_uom_replace_utility.stock_uom_replace_utility.get_stock_uom</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.stock_uom_replace_utility.stock_uom_replace_utility.get_stock_uom" href="#erpnext.stock.doctype.stock_uom_replace_utility.stock_uom_replace_utility.get_stock_uom" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.stock_uom_replace_utility.stock_uom_replace_utility.<b>get_stock_uom</b>
+        <i class="text-muted">(item_code)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.stock_uom_replace_utility.stock_uom_replace_utility.update_bin" href="#erpnext.stock.doctype.stock_uom_replace_utility.stock_uom_replace_utility.update_bin" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.stock_uom_replace_utility.stock_uom_replace_utility.<b>update_bin</b>
+        <i class="text-muted">(item_code, new_stock_uom, conversion_factor)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.stock_uom_replace_utility.stock_uom_replace_utility.update_item_master" href="#erpnext.stock.doctype.stock_uom_replace_utility.stock_uom_replace_utility.update_item_master" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.stock_uom_replace_utility.stock_uom_replace_utility.<b>update_item_master</b>
+        <i class="text-muted">(item_code, new_stock_uom, conversion_factor)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.stock_uom_replace_utility.stock_uom_replace_utility.update_stock_ledger_entry" href="#erpnext.stock.doctype.stock_uom_replace_utility.stock_uom_replace_utility.update_stock_ledger_entry" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.stock_uom_replace_utility.stock_uom_replace_utility.<b>update_stock_ledger_entry</b>
+        <i class="text-muted">(item_code, new_stock_uom, conversion_factor)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/uom_conversion_detail.html b/erpnext/docs/current/models/stock/uom_conversion_detail.html
new file mode 100644
index 0000000..ea28a62
--- /dev/null
+++ b/erpnext/docs/current/models/stock/uom_conversion_detail.html
@@ -0,0 +1,96 @@
+<!-- title: UOM Conversion Detail -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/uom_conversion_detail"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabUOM Conversion Detail</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>uom</code></td>
+            <td >
+                Link</td>
+            <td >
+                UOM
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>conversion_factor</code></td>
+            <td >
+                Float</td>
+            <td >
+                Conversion Factor
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/warehouse.html b/erpnext/docs/current/models/stock/warehouse.html
new file mode 100644
index 0000000..596af83
--- /dev/null
+++ b/erpnext/docs/current/models/stock/warehouse.html
@@ -0,0 +1,634 @@
+<!-- title: Warehouse -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/stock/doctype/warehouse"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabWarehouse</code></p>
+
+
+A logical Warehouse against which stock entries are made.
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>warehouse_detail</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Warehouse Detail
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>warehouse_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Warehouse Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>create_account_under</code></td>
+            <td >
+                Link</td>
+            <td >
+                Parent Account
+                <p class="text-muted small">
+                    Account for the warehouse (Perpetual Inventory) will be created under this Account.</p>
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>disabled</code></td>
+            <td >
+                Check</td>
+            <td >
+                Disabled
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>6</td>
+            <td ><code>warehouse_contact_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Warehouse Contact Info
+                <p class="text-muted small">
+                    For Reference Only.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>email_id</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Email Id
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>phone_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                Phone No
+                
+            </td>
+            <td>
+                <pre>Phone</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>mobile_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                Mobile No
+                
+            </td>
+            <td>
+                <pre>Phone</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>address_line_1</code></td>
+            <td >
+                Data</td>
+            <td >
+                Address Line 1
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>address_line_2</code></td>
+            <td >
+                Data</td>
+            <td >
+                Address Line 2
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>city</code></td>
+            <td >
+                Data</td>
+            <td >
+                City
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>state</code></td>
+            <td >
+                Data</td>
+            <td >
+                State
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>pin</code></td>
+            <td >
+                Int</td>
+            <td >
+                PIN
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.stock.doctype.warehouse.warehouse</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Warehouse</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="add_abbr_if_missing" href="#add_abbr_if_missing" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>add_abbr_if_missing</b>
+        <i class="text-muted">(self, dn)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="after_rename" href="#after_rename" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>after_rename</b>
+        <i class="text-muted">(self, olddn, newdn, merge=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="autoname" href="#autoname" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>autoname</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="before_rename" href="#before_rename" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>before_rename</b>
+        <i class="text-muted">(self, olddn, newdn, merge=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="create_account_head" href="#create_account_head" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>create_account_head</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_account" href="#get_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_account</b>
+        <i class="text-muted">(self, warehouse)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_trash" href="#on_trash" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_trash</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="recalculate_bin_qty" href="#recalculate_bin_qty" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>recalculate_bin_qty</b>
+        <i class="text-muted">(self, newdn)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="rename_account_for" href="#rename_account_for" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>rename_account_for</b>
+        <i class="text-muted">(self, olddn, newdn, merge)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_parent_account" href="#update_parent_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_parent_account</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_parent_account" href="#validate_parent_account" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_parent_account</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_reconciliation_item">Stock Reconciliation Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_ledger_entry">Stock Ledger Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry_detail">Stock Entry Detail</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry">Stock Entry</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/serial_no">Serial No</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt_item">Purchase Receipt Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt">Purchase Receipt</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/packed_item">Packed Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/material_request_item">Material Request Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item_reorder">Item Reorder</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note_item">Delivery Note Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/bin">Bin</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_planning_tool">Production Planning Tool</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_plan_item">Production Plan Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_order">Production Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/manufacturing/manufacturing_settings">Manufacturing Settings</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order_item">Sales Order Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation_item">Supplier Quotation Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order_item">Purchase Order Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice_item">Sales Invoice Item</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/pos_profile">POS Profile</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/support/index.html b/erpnext/docs/current/models/support/index.html
new file mode 100644
index 0000000..eb86d87
--- /dev/null
+++ b/erpnext/docs/current/models/support/index.html
@@ -0,0 +1,19 @@
+<!-- title: Module support -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/support"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>DocTypes for support</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/support/index.txt b/erpnext/docs/current/models/support/index.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/erpnext/docs/current/models/support/index.txt
diff --git a/erpnext/docs/current/models/support/issue.html b/erpnext/docs/current/models/support/issue.html
new file mode 100644
index 0000000..044c562
--- /dev/null
+++ b/erpnext/docs/current/models/support/issue.html
@@ -0,0 +1,592 @@
+<!-- title: Issue -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/support/doctype/issue"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabIssue</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>subject_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Subject
+                
+            </td>
+            <td>
+                <pre>icon-flag</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>ISS-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>subject</code></td>
+            <td >
+                Data</td>
+            <td >
+                Subject
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>cb00</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>Open
+Replied
+Hold
+Closed</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>raised_by</code></td>
+            <td >
+                Data</td>
+            <td >
+                Raised By (Email)
+                
+            </td>
+            <td>
+                <pre>Email</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>fold</code></td>
+            <td >
+                Fold</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>8</td>
+            <td ><code>section_break_7</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>description</code></td>
+            <td >
+                Text</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>column_break_9</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>resolution_date</code></td>
+            <td >
+                Datetime</td>
+            <td >
+                Resolution Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>first_responded_on</code></td>
+            <td >
+                Datetime</td>
+            <td >
+                First Responded On
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>13</td>
+            <td ><code>additional_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-pushpin</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>lead</code></td>
+            <td >
+                Link</td>
+            <td >
+                Lead
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/lead">Lead</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>contact</code></td>
+            <td >
+                Link</td>
+            <td >
+                Contact
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/contact">Contact</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>column_break_16</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>customer_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Customer Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>19</td>
+            <td ><code>section_break_19</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>resolution_details</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Resolution Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>opening_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Opening Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>opening_time</code></td>
+            <td >
+                Time</td>
+            <td >
+                Opening Time
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>content_type</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Content Type
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>attachment</code></td>
+            <td >
+                Attach</td>
+            <td class="text-muted" title="Hidden">
+                Attachment
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.support.doctype.issue.issue</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Issue</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_feed" href="#get_feed" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_feed</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_lead_contact" href="#set_lead_contact" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_lead_contact</b>
+        <i class="text-muted">(self, email_id)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_status" href="#update_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_status</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.support.doctype.issue.issue.auto_close_tickets" href="#erpnext.support.doctype.issue.issue.auto_close_tickets" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.support.doctype.issue.issue.<b>auto_close_tickets</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.support.doctype.issue.issue.get_issue_list" href="#erpnext.support.doctype.issue.issue.get_issue_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.support.doctype.issue.issue.<b>get_issue_list</b>
+        <i class="text-muted">(doctype, txt, filters, limit_start, limit_page_length=20)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.support.doctype.issue.issue.get_list_context" href="#erpnext.support.doctype.issue.issue.get_list_context" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.support.doctype.issue.issue.<b>get_list_context</b>
+        <i class="text-muted">(context=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.support.doctype.issue.issue.has_website_permission" href="#erpnext.support.doctype.issue.issue.has_website_permission" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.support.doctype.issue.issue.<b>has_website_permission</b>
+        <i class="text-muted">(doc, ptype, user, verbose=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.support.doctype.issue.issue.set_multiple_status</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.support.doctype.issue.issue.set_multiple_status" href="#erpnext.support.doctype.issue.issue.set_multiple_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.support.doctype.issue.issue.<b>set_multiple_status</b>
+        <i class="text-muted">(names, status)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.support.doctype.issue.issue.set_status</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.support.doctype.issue.issue.set_status" href="#erpnext.support.doctype.issue.issue.set_status" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.support.doctype.issue.issue.<b>set_status</b>
+        <i class="text-muted">(name, status)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/support/maintenance_schedule.html b/erpnext/docs/current/models/support/maintenance_schedule.html
new file mode 100644
index 0000000..1ab6927
--- /dev/null
+++ b/erpnext/docs/current/models/support/maintenance_schedule.html
@@ -0,0 +1,683 @@
+<!-- title: Maintenance Schedule -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/support/doctype/maintenance_schedule"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabMaintenance Schedule</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>customer_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-user</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>
+Draft
+Submitted
+Cancelled</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>transaction_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Transaction Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>6</td>
+            <td ><code>items_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-shopping-cart</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>items</code></td>
+            <td >
+                Table</td>
+            <td >
+                Items
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_schedule_item">Maintenance Schedule Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>8</td>
+            <td ><code>schedule</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Schedule
+                
+            </td>
+            <td>
+                <pre>icon-time</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>generate_schedule</code></td>
+            <td >
+                Button</td>
+            <td >
+                Generate Schedule
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>schedules</code></td>
+            <td >
+                Table</td>
+            <td >
+                Schedules
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_schedule_detail">Maintenance Schedule Detail</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>11</td>
+            <td ><code>contact_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Contact Info
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>customer_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Customer Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>contact_person</code></td>
+            <td >
+                Link</td>
+            <td >
+                Contact Person
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/contact">Contact</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>contact_mobile</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Mobile No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>contact_email</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Contact Email
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>contact_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Contact
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>column_break_17</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>customer_address</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer Address
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>address_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td class="danger" title="Mandatory"><code>territory</code></td>
+            <td >
+                Link</td>
+            <td >
+                Territory
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td class="danger" title="Mandatory"><code>customer_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/customer_group">Customer Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_schedule">Maintenance Schedule</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.support.doctype.maintenance_schedule.maintenance_schedule</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>MaintenanceSchedule</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.utilities.transaction_base.TransactionBase</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_serial_no_added" href="#check_serial_no_added" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_serial_no_added</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="create_schedule_list" href="#create_schedule_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>create_schedule_list</b>
+        <i class="text-muted">(self, start_date, end_date, no_of_visit, sales_person)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="generate_schedule" href="#generate_schedule" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>generate_schedule</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_trash" href="#on_trash" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_trash</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_amc_date" href="#update_amc_date" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_amc_date</b>
+        <i class="text-muted">(self, serial_nos, amc_expiry_date=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_dates_with_periodicity" href="#validate_dates_with_periodicity" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_dates_with_periodicity</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_maintenance_detail" href="#validate_maintenance_detail" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_maintenance_detail</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_sales_order" href="#validate_sales_order" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_sales_order</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_schedule" href="#validate_schedule" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_schedule</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_schedule_date_for_holiday_list" href="#validate_schedule_date_for_holiday_list" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_schedule_date_for_holiday_list</b>
+        <i class="text-muted">(self, schedule_date, sales_person)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_serial_no" href="#validate_serial_no" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_serial_no</b>
+        <i class="text-muted">(self, serial_nos, amc_start_date)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.support.doctype.maintenance_schedule.maintenance_schedule.make_maintenance_visit</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.support.doctype.maintenance_schedule.maintenance_schedule.make_maintenance_visit" href="#erpnext.support.doctype.maintenance_schedule.maintenance_schedule.make_maintenance_visit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.support.doctype.maintenance_schedule.maintenance_schedule.<b>make_maintenance_visit</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_schedule">Maintenance Schedule</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/support/maintenance_schedule_detail.html b/erpnext/docs/current/models/support/maintenance_schedule_detail.html
new file mode 100644
index 0000000..ba53cd4
--- /dev/null
+++ b/erpnext/docs/current/models/support/maintenance_schedule_detail.html
@@ -0,0 +1,153 @@
+<!-- title: Maintenance Schedule Detail -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/support/doctype/maintenance_schedule_detail"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabMaintenance Schedule Detail</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>scheduled_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Scheduled Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>actual_date</code></td>
+            <td >
+                Date</td>
+            <td class="text-muted" title="Hidden">
+                Actual Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>sales_person</code></td>
+            <td >
+                Link</td>
+            <td >
+                Sales Person
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sales_person">Sales Person</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>serial_no</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Serial No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_schedule">Maintenance Schedule</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/support/maintenance_schedule_item.html b/erpnext/docs/current/models/support/maintenance_schedule_item.html
new file mode 100644
index 0000000..b46852d
--- /dev/null
+++ b/erpnext/docs/current/models/support/maintenance_schedule_item.html
@@ -0,0 +1,233 @@
+<!-- title: Maintenance Schedule Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/support/doctype/maintenance_schedule_item"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabMaintenance Schedule Item</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>description</code></td>
+            <td >
+                Data</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>4</td>
+            <td ><code>schedule_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td class="danger" title="Mandatory"><code>start_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Start Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td class="danger" title="Mandatory"><code>end_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                End Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>periodicity</code></td>
+            <td >
+                Select</td>
+            <td >
+                Periodicity
+                
+            </td>
+            <td>
+                <pre>
+Weekly
+Monthly
+Quarterly
+Half Yearly
+Yearly
+Random</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td class="danger" title="Mandatory"><code>no_of_visits</code></td>
+            <td >
+                Int</td>
+            <td >
+                No of Visits
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td class="danger" title="Mandatory"><code>sales_person</code></td>
+            <td >
+                Link</td>
+            <td >
+                Sales Person
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sales_person">Sales Person</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>10</td>
+            <td ><code>reference</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Reference
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>serial_no</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Serial No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>prevdoc_docname</code></td>
+            <td >
+                Data</td>
+            <td >
+                Against Docname
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_schedule">Maintenance Schedule</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/support/maintenance_visit.html b/erpnext/docs/current/models/support/maintenance_visit.html
new file mode 100644
index 0000000..ad254e4
--- /dev/null
+++ b/erpnext/docs/current/models/support/maintenance_visit.html
@@ -0,0 +1,664 @@
+<!-- title: Maintenance Visit -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/support/doctype/maintenance_visit"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabMaintenance Visit</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>customer_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-user</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>customer_name</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Customer Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>address_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>contact_display</code></td>
+            <td >
+                Small Text</td>
+            <td class="text-muted" title="Hidden">
+                Contact
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>contact_mobile</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Mobile No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>contact_email</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Contact Email
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td class="danger" title="Mandatory"><code>mntc_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Maintenance Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>mntc_time</code></td>
+            <td >
+                Time</td>
+            <td >
+                Maintenance Time
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>12</td>
+            <td ><code>maintenance_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-wrench</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td class="danger" title="Mandatory"><code>completion_status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Completion Status
+                
+            </td>
+            <td>
+                <pre>
+Partially Completed
+Fully Completed</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>column_break_14</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td class="danger" title="Mandatory"><code>maintenance_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Maintenance Type
+                
+            </td>
+            <td>
+                <pre>
+Scheduled
+Unscheduled
+Breakdown</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>16</td>
+            <td ><code>section_break0</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-wrench</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td class="danger" title="Mandatory"><code>purposes</code></td>
+            <td >
+                Table</td>
+            <td >
+                Purposes
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_visit_purpose">Maintenance Visit Purpose</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>18</td>
+            <td ><code>more_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                More Information
+                
+            </td>
+            <td>
+                <pre>icon-file-text</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>customer_feedback</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Customer Feedback
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>col_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td class="danger" title="Mandatory"><code>status</code></td>
+            <td >
+                Data</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>
+Draft
+Cancelled
+Submitted</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td >
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_visit">Maintenance Visit</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>25</td>
+            <td ><code>contact_info_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Contact Info
+                
+            </td>
+            <td>
+                <pre>icon-bullhorn</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>customer_address</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer Address
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>contact_person</code></td>
+            <td >
+                Link</td>
+            <td >
+                Contact Person
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/contact">Contact</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>col_break4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>territory</code></td>
+            <td >
+                Link</td>
+            <td >
+                Territory
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>customer_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/customer_group">Customer Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.support.doctype.maintenance_visit.maintenance_visit</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>MaintenanceVisit</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.utilities.transaction_base.TransactionBase</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="check_if_last_visit" href="#check_if_last_visit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>check_if_last_visit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>check if last maintenance visit against same sales order/ Warranty Claim</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_feed" href="#get_feed" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_feed</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_submit" href="#on_submit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_submit</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="update_customer_issue" href="#update_customer_issue" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>update_customer_issue</b>
+        <i class="text-muted">(self, flag)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_serial_no" href="#validate_serial_no" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_serial_no</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_visit">Maintenance Visit</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/support/maintenance_visit_purpose.html b/erpnext/docs/current/models/support/maintenance_visit_purpose.html
new file mode 100644
index 0000000..a8c8cda
--- /dev/null
+++ b/erpnext/docs/current/models/support/maintenance_visit_purpose.html
@@ -0,0 +1,212 @@
+<!-- title: Maintenance Visit Purpose -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/support/doctype/maintenance_visit_purpose"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+<span class="label label-info">Child Table</span>
+
+
+    <p><b>Table Name:</b> <code>tabMaintenance Visit Purpose</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>serial_no</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Serial No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>description</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>5</td>
+            <td ><code>work_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td class="danger" title="Mandatory"><code>service_person</code></td>
+            <td >
+                Link</td>
+            <td >
+                Sales Person
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sales_person">Sales Person</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>work_done</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Work Done
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>prevdoc_doctype</code></td>
+            <td >
+                Link</td>
+            <td >
+                Document Type
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/doctype">DocType</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>prevdoc_docname</code></td>
+            <td >
+                Dynamic Link</td>
+            <td >
+                Against Document No
+                
+            </td>
+            <td>
+                <pre>prevdoc_doctype</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>prevdoc_detail_docname</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Against Document Detail No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    
+    
+    <h4>Child Table Of</h4>
+    <ul>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_visit">Maintenance Visit</a>
+
+</li>
+    
+    </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/support/warranty_claim.html b/erpnext/docs/current/models/support/warranty_claim.html
new file mode 100644
index 0000000..f325b2a
--- /dev/null
+++ b/erpnext/docs/current/models/support/warranty_claim.html
@@ -0,0 +1,778 @@
+<!-- title: Warranty Claim -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/support/doctype/warranty_claim"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabWarranty Claim</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>customer_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-user</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>naming_series</code></td>
+            <td >
+                Select</td>
+            <td >
+                Series
+                
+            </td>
+            <td>
+                <pre>CI-</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>
+Open
+Closed
+Work In Progress
+Cancelled</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>complaint_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Issue Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>serial_no</code></td>
+            <td >
+                Link</td>
+            <td >
+                Serial No
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/serial_no">Serial No</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td class="danger" title="Mandatory"><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>customer_address</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer Address
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>contact_person</code></td>
+            <td >
+                Link</td>
+            <td >
+                Contact Person
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/utilities/contact">Contact</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>10</td>
+            <td ><code>issue_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-ticket</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td class="danger" title="Mandatory"><code>complaint</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Issue
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>item_code</code></td>
+            <td >
+                Link</td>
+            <td >
+                Item Code
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>item_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Item Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>description</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Description
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>warranty_amc_status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Warranty / AMC Status
+                
+            </td>
+            <td>
+                <pre>
+Under Warranty
+Out of Warranty
+Under AMC
+Out of AMC</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>warranty_expiry_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Warranty Expiry Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>amc_expiry_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                AMC Expiry Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>19</td>
+            <td ><code>resolution_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Resolution
+                <p class="text-muted small">
+                    To assign this issue, use the "Assign" button in the sidebar.</p>
+            </td>
+            <td>
+                <pre>icon-thumbs-up</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>resolution_date</code></td>
+            <td >
+                Datetime</td>
+            <td >
+                Resolution Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>resolved_by</code></td>
+            <td >
+                Link</td>
+            <td >
+                Resolved By
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/user">User</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>resolution_details</code></td>
+            <td >
+                Text</td>
+            <td >
+                Resolution Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>23</td>
+            <td ><code>contact_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Contact Info
+                
+            </td>
+            <td>
+                <pre>icon-bullhorn</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>col_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>25</td>
+            <td ><code>customer_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Customer Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>26</td>
+            <td ><code>customer_group</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer Group
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/customer_group">Customer Group</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</td>
+            <td ><code>territory</code></td>
+            <td >
+                Link</td>
+            <td >
+                Territory
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>contact_display</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Contact
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>29</td>
+            <td ><code>contact_mobile</code></td>
+            <td >
+                Data</td>
+            <td >
+                Mobile No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>contact_email</code></td>
+            <td >
+                Data</td>
+            <td >
+                Contact Email
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>31</td>
+            <td ><code>col_break4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>service_address</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Service Address
+                <p class="text-muted small">
+                    If different than customer address</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>33</td>
+            <td ><code>address_display</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>34</td>
+            <td ><code>more_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                More Information
+                
+            </td>
+            <td>
+                <pre>icon-file-text</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>35</td>
+            <td ><code>col_break5</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td class="danger" title="Mandatory"><code>company</code></td>
+            <td >
+                Link</td>
+            <td >
+                Company
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>37</td>
+            <td class="danger" title="Mandatory"><code>fiscal_year</code></td>
+            <td >
+                Link</td>
+            <td >
+                Fiscal Year
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>38</td>
+            <td ><code>col_break6</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>39</td>
+            <td ><code>complaint_raised_by</code></td>
+            <td >
+                Data</td>
+            <td >
+                Raised By
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>40</td>
+            <td ><code>from_company</code></td>
+            <td >
+                Data</td>
+            <td >
+                From Company
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>41</td>
+            <td ><code>amended_from</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Amended From
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/warranty_claim">Warranty Claim</a>
+
+
+                
+            </td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.support.doctype.warranty_claim.warranty_claim</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>WarrantyClaim</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.utilities.transaction_base.TransactionBase</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_feed" href="#get_feed" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_feed</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_cancel" href="#on_cancel" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_cancel</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.support.doctype.warranty_claim.warranty_claim.make_maintenance_visit</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.support.doctype.warranty_claim.warranty_claim.make_maintenance_visit" href="#erpnext.support.doctype.warranty_claim.warranty_claim.make_maintenance_visit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.support.doctype.warranty_claim.warranty_claim.<b>make_maintenance_visit</b>
+        <i class="text-muted">(source_name, target_doc=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/warranty_claim">Warranty Claim</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/utilities/address.html b/erpnext/docs/current/models/utilities/address.html
new file mode 100644
index 0000000..cf81690
--- /dev/null
+++ b/erpnext/docs/current/models/utilities/address.html
@@ -0,0 +1,684 @@
+<!-- title: Address -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/utilities/doctype/address"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabAddress</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>address_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-map-marker</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>address_title</code></td>
+            <td >
+                Data</td>
+            <td >
+                Address Title
+                <p class="text-muted small">
+                    Name of person or organization that this address belongs to.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td class="danger" title="Mandatory"><code>address_type</code></td>
+            <td >
+                Select</td>
+            <td >
+                Address Type
+                
+            </td>
+            <td>
+                <pre>Billing
+Shipping
+Office
+Personal
+Plant
+Postal
+Shop
+Subsidiary
+Warehouse
+Other</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td class="danger" title="Mandatory"><code>address_line1</code></td>
+            <td >
+                Data</td>
+            <td >
+                Address Line 1
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>address_line2</code></td>
+            <td >
+                Data</td>
+            <td >
+                Address Line 2
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td class="danger" title="Mandatory"><code>city</code></td>
+            <td >
+                Data</td>
+            <td >
+                City/Town
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>state</code></td>
+            <td >
+                Data</td>
+            <td >
+                State
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>pincode</code></td>
+            <td >
+                Data</td>
+            <td >
+                Postal Code
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td class="danger" title="Mandatory"><code>country</code></td>
+            <td >
+                Link</td>
+            <td >
+                Country
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/country">Country</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>email_id</code></td>
+            <td >
+                Data</td>
+            <td >
+                Email Id
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>phone</code></td>
+            <td >
+                Data</td>
+            <td >
+                Phone
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>fax</code></td>
+            <td >
+                Data</td>
+            <td >
+                Fax
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>is_primary_address</code></td>
+            <td >
+                Check</td>
+            <td >
+                Preferred Billing Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>is_shipping_address</code></td>
+            <td >
+                Check</td>
+            <td >
+                Preferred Shipping Address
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>16</td>
+            <td ><code>linked_with</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Reference
+                
+            </td>
+            <td>
+                <pre>icon-pushpin</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>customer_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Customer Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>supplier</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier">Supplier</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>supplier_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Supplier Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>sales_partner</code></td>
+            <td >
+                Link</td>
+            <td >
+                Sales Partner
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sales_partner">Sales Partner</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>22</td>
+            <td ><code>column_break_22</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>23</td>
+            <td ><code>lead</code></td>
+            <td >
+                Link</td>
+            <td >
+                Lead
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/lead">Lead</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>24</td>
+            <td ><code>lead_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Lead Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.utilities.doctype.address.address</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Address</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="_unset_other" href="#_unset_other" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>_unset_other</b>
+        <i class="text-muted">(self, is_address_type)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="autoname" href="#autoname" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>autoname</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="get_display" href="#get_display" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>get_display</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="link_address" href="#link_address" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>link_address</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Link address based on owner</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_primary_address" href="#validate_primary_address" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_primary_address</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Validate that there can only be one primary address for particular customer, supplier</p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_shipping_address" href="#validate_shipping_address" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_shipping_address</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Validate that there can only be one shipping address for particular customer, supplier</p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.utilities.doctype.address.address.get_address_display</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.utilities.doctype.address.address.get_address_display" href="#erpnext.utilities.doctype.address.address.get_address_display" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.utilities.doctype.address.address.<b>get_address_display</b>
+        <i class="text-muted">(address_dict)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.utilities.doctype.address.address.get_list_context" href="#erpnext.utilities.doctype.address.address.get_list_context" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.utilities.doctype.address.address.<b>get_list_context</b>
+        <i class="text-muted">(context=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.utilities.doctype.address.address.get_territory_from_address" href="#erpnext.utilities.doctype.address.address.get_territory_from_address" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.utilities.doctype.address.address.<b>get_territory_from_address</b>
+        <i class="text-muted">(address)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Tries to match city, state and country of address to existing territory</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.utilities.doctype.address.address.has_website_permission" href="#erpnext.utilities.doctype.address.address.has_website_permission" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.utilities.doctype.address.address.<b>has_website_permission</b>
+        <i class="text-muted">(doc, ptype, user, verbose=False)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Returns true if customer or lead matches with user</p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/warranty_claim">Warranty Claim</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_visit">Maintenance Visit</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_schedule">Maintenance Schedule</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt">Purchase Receipt</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation">Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/installation_note">Installation Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation">Supplier Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order">Purchase Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/opportunity">Opportunity</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice">Purchase Invoice</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/utilities/address_template.html b/erpnext/docs/current/models/utilities/address_template.html
new file mode 100644
index 0000000..743ae5b
--- /dev/null
+++ b/erpnext/docs/current/models/utilities/address_template.html
@@ -0,0 +1,175 @@
+<!-- title: Address Template -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/utilities/doctype/address_template"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabAddress Template</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td class="danger" title="Mandatory"><code>country</code></td>
+            <td >
+                Link</td>
+            <td >
+                Country
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/geo/country">Country</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>is_default</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is Default
+                <p class="text-muted small">
+                    This format is used if country specific format is not found</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>template</code></td>
+            <td >
+                Code</td>
+            <td >
+                Template
+                <p class="text-muted small">
+                    <h4>Default Template</h4>
+<p>Uses <a href="http://jinja.pocoo.org/docs/templates/">Jinja Templating</a> and all the fields of Address (including Custom Fields if any) will be available</p>
+<pre><code>{{ address_line1 }}&lt;br&gt;
+{% if address_line2 %}{{ address_line2 }}&lt;br&gt;{% endif -%}
+{{ city }}&lt;br&gt;
+{% if state %}{{ state }}&lt;br&gt;{% endif -%}
+{% if pincode %} PIN:  {{ pincode }}&lt;br&gt;{% endif -%}
+{{ country }}&lt;br&gt;
+{% if phone %}Phone: {{ phone }}&lt;br&gt;{% endif -%}
+{% if fax %}Fax: {{ fax }}&lt;br&gt;{% endif -%}
+{% if email_id %}Email: {{ email_id }}&lt;br&gt;{% endif -%}
+</code></pre></p>
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.utilities.doctype.address_template.address_template</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>AddressTemplate</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_trash" href="#on_trash" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_trash</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_update" href="#on_update" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_update</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/utilities/contact.html b/erpnext/docs/current/models/utilities/contact.html
new file mode 100644
index 0000000..64d7eef
--- /dev/null
+++ b/erpnext/docs/current/models/utilities/contact.html
@@ -0,0 +1,586 @@
+<!-- title: Contact -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/utilities/doctype/contact"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabContact</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr class="info">
+            <td>1</td>
+            <td ><code>contact_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-user</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td class="danger" title="Mandatory"><code>first_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                First Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>last_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Last Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>email_id</code></td>
+            <td >
+                Data</td>
+            <td >
+                Email Id
+                
+            </td>
+            <td>
+                <pre>Email</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>cb00</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>Passive
+Open
+Replied</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>phone</code></td>
+            <td >
+                Data</td>
+            <td >
+                Phone
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>8</td>
+            <td ><code>contact_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Reference
+                
+            </td>
+            <td>
+                <pre>icon-pushpin</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>user</code></td>
+            <td >
+                Link</td>
+            <td >
+                User Id
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/user">User</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>customer</code></td>
+            <td >
+                Link</td>
+            <td >
+                Customer
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>11</td>
+            <td ><code>customer_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Customer Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>12</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>supplier</code></td>
+            <td >
+                Link</td>
+            <td >
+                Supplier
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier">Supplier</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>supplier_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Supplier Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>15</td>
+            <td ><code>sales_partner</code></td>
+            <td >
+                Link</td>
+            <td >
+                Sales Partner
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/sales_partner">Sales Partner</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>is_primary_contact</code></td>
+            <td >
+                Check</td>
+            <td >
+                Is Primary Contact
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>17</td>
+            <td ><code>more_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                More Information
+                
+            </td>
+            <td>
+                <pre>icon-file-text</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>mobile_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                Mobile No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</td>
+            <td ><code>department</code></td>
+            <td >
+                Data</td>
+            <td >
+                Department
+                <p class="text-muted small">
+                    Enter department to which this Contact belongs</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>20</td>
+            <td ><code>designation</code></td>
+            <td >
+                Data</td>
+            <td >
+                Designation
+                <p class="text-muted small">
+                    Enter designation of this Contact</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>unsubscribed</code></td>
+            <td >
+                Check</td>
+            <td >
+                Unsubscribed
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.utilities.doctype.contact.contact</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>Contact</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from erpnext.controllers.status_updater.StatusUpdater</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="autoname" href="#autoname" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>autoname</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="on_trash" href="#on_trash" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>on_trash</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="set_user" href="#set_user" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_user</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate" href="#validate" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_primary_contact" href="#validate_primary_contact" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_primary_contact</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.utilities.doctype.contact.contact.get_contact_details</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.utilities.doctype.contact.contact.get_contact_details" href="#erpnext.utilities.doctype.contact.contact.get_contact_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.utilities.doctype.contact.contact.<b>get_contact_details</b>
+        <i class="text-muted">(contact)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.utilities.doctype.contact.contact.invite_user</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.utilities.doctype.contact.contact.invite_user" href="#erpnext.utilities.doctype.contact.contact.invite_user" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.utilities.doctype.contact.contact.<b>invite_user</b>
+        <i class="text-muted">(contact)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/warranty_claim">Warranty Claim</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_visit">Maintenance Visit</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_schedule">Maintenance Schedule</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/support/issue">Issue</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt">Purchase Receipt</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/quotation">Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/installation_note">Installation Note</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation">Supplier Quotation</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order">Purchase Order</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/opportunity">Opportunity</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+        
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/purchase_invoice">Purchase Invoice</a>
+
+</li>
+        
+        </ul>
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/utilities/index.html b/erpnext/docs/current/models/utilities/index.html
new file mode 100644
index 0000000..aa8c485
--- /dev/null
+++ b/erpnext/docs/current/models/utilities/index.html
@@ -0,0 +1,19 @@
+<!-- title: Module utilities -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/utilities"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>DocTypes for utilities</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/utilities/index.txt b/erpnext/docs/current/models/utilities/index.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/erpnext/docs/current/models/utilities/index.txt
diff --git a/erpnext/docs/current/models/utilities/rename_tool.html b/erpnext/docs/current/models/utilities/rename_tool.html
new file mode 100644
index 0000000..96cc0de
--- /dev/null
+++ b/erpnext/docs/current/models/utilities/rename_tool.html
@@ -0,0 +1,147 @@
+<!-- title: Rename Tool -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/utilities/doctype/rename_tool"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<span class="label label-info">Single</span>
+
+
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>select_doctype</code></td>
+            <td >
+                Select</td>
+            <td >
+                Select DocType
+                <p class="text-muted small">
+                    Type of document to rename.</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>file_to_rename</code></td>
+            <td >
+                Attach</td>
+            <td >
+                File to Rename
+                <p class="text-muted small">
+                    Attach .csv file with two columns, one for the old name and one for the new name</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>rename_log</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Rename Log
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.utilities.doctype.rename_tool.rename_tool</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>RenameTool</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.utilities.doctype.rename_tool.rename_tool.get_doctypes</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.utilities.doctype.rename_tool.rename_tool.get_doctypes" href="#erpnext.utilities.doctype.rename_tool.rename_tool.get_doctypes" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.utilities.doctype.rename_tool.rename_tool.<b>get_doctypes</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.utilities.doctype.rename_tool.rename_tool.upload</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.utilities.doctype.rename_tool.rename_tool.upload" href="#erpnext.utilities.doctype.rename_tool.rename_tool.upload" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.utilities.doctype.rename_tool.rename_tool.<b>upload</b>
+        <i class="text-muted">(select_doctype=None, rows=None)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/utilities/sms_log.html b/erpnext/docs/current/models/utilities/sms_log.html
new file mode 100644
index 0000000..73ca9cc
--- /dev/null
+++ b/erpnext/docs/current/models/utilities/sms_log.html
@@ -0,0 +1,197 @@
+<!-- title: SMS Log -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.7.1</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/utilities/doctype/sms_log"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+
+
+
+
+    <p><b>Table Name:</b> <code>tabSMS Log</code></p>
+
+
+
+
+<h3>Fields</h3>
+
+<table class="table table-bordered" style="table-layout: fixed;">
+    <thead>
+        <tr>
+            <th style="width: 5%">Sr</th>
+            <th style="width: 25%">Fieldname</th>
+            <th style="width: 20%">Type</th>
+            <th style="width: 25%">Label</th>
+            <th style="width: 25%">Options</th>
+        </tr>
+    </thead>
+    <tbody>
+        
+        <tr >
+            <td>1</td>
+            <td ><code>sender_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Sender Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>2</td>
+            <td ><code>sent_on</code></td>
+            <td >
+                Date</td>
+            <td >
+                Sent On
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>column_break0</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>message</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Message
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>5</td>
+            <td ><code>sec_break1</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>Simple</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>6</td>
+            <td ><code>no_of_requested_sms</code></td>
+            <td >
+                Int</td>
+            <td >
+                No of Requested SMS
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>requested_numbers</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Requested Numbers
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>column_break1</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>no_of_sent_sms</code></td>
+            <td >
+                Int</td>
+            <td >
+                No of Sent SMS
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</td>
+            <td ><code>sent_to</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Sent To
+                
+            </td>
+            <td></td>
+        </tr>
+        
+    </tbody>
+</table>
+
+
+    <hr>
+    <h3>Controller</h3>
+    <h4>erpnext.utilities.doctype.sms_log.sms_log</h4>
+
+    
+
+
+
+	
+        
+	<h3 style="font-weight: normal;">Class <b>SMSLog</b></h3>
+    
+    <p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
+    
+    <div class="docs-attr-desc"><p></p>
+</div>
+    <div style="padding-left: 30px;">
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+
+
+<!-- autodoc -->
+<!-- jinja -->
+<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/index.html b/erpnext/docs/index.html
new file mode 100644
index 0000000..a8ed4bd
--- /dev/null
+++ b/erpnext/docs/index.html
@@ -0,0 +1,72 @@
+<!-- title: ERPNext: Documentation -->
+<!-- no-breadcrumbs -->
+
+<div class="jumbotron">
+  <h1>Learn ERPNext Inside Out</h1>
+  <p>Find detailed explanation for all ERPNext features</p>
+</div>
+
+<div class="section" style="padding-top: 0px;">
+    <div class="fake-browser-frame">
+    	<img class="img-responsive browser-image feature-image"
+            src="assets/img/home.png">
+    </div>
+</div>
+
+
+<div class="section">
+    <p>ERPNext helps you to manage all your business information in one application and use it to manage operations and take decisions based on data.</p>
+
+<p>Among other things, ERPNext will help you to:</p>
+
+<ul>
+<li>Track all Invoices and Payments.</li>
+<li>Know what quantity of which product is available in stock.</li>
+<li>Identify open customer queries.</li>
+<li>Manage payroll.</li>
+<li>Assign tasks and follow up on them.</li>
+<li>Maintain a database of all your customers, suppliers and their contacts.</li>
+<li>Prepare quotes.</li>
+<li>Get reminders on maintenance schedules.</li>
+<li>Publish your website.</li>
+</ul>
+
+<p>And a lot lot lot more.</p>
+
+</div>
+
+
+<div class="section text-center">
+    <a href="contents.html" class="btn btn-lg btn-primary">Table of Contents</a>
+</div>
+
+
+<div class="section">
+    <h2>Install</h2>
+
+    <h4>From your site</h4>
+
+    <p>To install this app, login to your site and click on "Installer". Search for <b>ERPNext</b> and click on "Install"</p>
+
+    <h4>Using Bench</h4>
+
+    <p>Go to your bench folder and setup the new app</p>
+
+    <pre><code class="sh">$ bench get-app erpnext https://github.com/frappe/erpnext
+$ bench new-site testsite
+$ bench --site testsite install-app erpnext</code></pre>
+
+    <p>Login to your site to configure the app.</p>
+
+    <p><a href="install.html">Detailed Installation Steps</a></p>
+</div>
+
+<div class="section">
+    <h2>Author</h2>
+
+    <p>Frappe Technologies Pvt. Ltd. (info@erpnext.com)</p>
+</div>
+
+
+<!-- autodoc -->
+<!-- jinja -->
\ No newline at end of file
diff --git a/erpnext/docs/index.txt b/erpnext/docs/index.txt
new file mode 100644
index 0000000..8e3d277
--- /dev/null
+++ b/erpnext/docs/index.txt
@@ -0,0 +1,6 @@
+assets
+contents
+current
+install
+license
+user
\ No newline at end of file
diff --git a/erpnext/docs/install.md b/erpnext/docs/install.md
new file mode 100644
index 0000000..26ad128
--- /dev/null
+++ b/erpnext/docs/install.md
@@ -0,0 +1,30 @@
+<!-- title: ERPNext Installation -->
+
+# Installation
+
+ERPNext is based on the <a href="https://frappe.io">Frappe Framework</a>, a full stack web framework based on Python, MariaDB, Redis, Node.
+
+To intall ERPNext, you will have to install the <a href="https://github.com/frappe/bench">Frappe Bench</a>, the command-line, package manager and site manager for Frappe Framework. For more details, read the Bench README.
+
+After you have installed Frappe Bench, go to you bench folder, which is     `frappe.bench` by default and setup **erpnext**.
+
+    bench get-app erpnext {{ source_link }}
+
+Then create a new site to install the app.
+
+    bench new-site mysite
+
+This will create a new folder in your `/sites` directory and create a new database for this site.
+
+Next, install erpnext in this site
+
+    bench --site mysite install-app erpnext
+
+To run this locally, run
+
+    bench start
+
+Fire up your browser and go to http://localhost:8000 and you should see the login screen. Login as **Administrator** and **admin** (or the password you set at the time of `new-site`) and you are set.
+
+<!-- jinja -->
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/license.html b/erpnext/docs/license.html
new file mode 100644
index 0000000..b0310f6
--- /dev/null
+++ b/erpnext/docs/license.html
@@ -0,0 +1,184 @@
+<!-- title: License GNU General Public License (v3) -->
+
+<h1>GNU General Public License (v3)</h1>
+
+<h2>ERPNext License Info</h2>
+
+<p>(c) 2013 Frappe Technologies Pvt Ltd. Mumbai
+ERPNext is a trademark of Frappe Technologies</p>
+
+<p>The ERPNext code is licensed under the GNU General Public License (v3) as mentioned below and the Documentation is licensed under Creative Commons (CC-BY-SA-3.0)</p>
+
+<h2>GNU GENERAL PUBLIC LICENSE</h2>
+
+<p>Version 3, 29 June 2007</p>
+
+<p>http://www.gnu.org/copyleft/gpl.html</p>
+
+<p>TERMS AND CONDITIONS
+0. Definitions.</p>
+
+<p>“This License” refers to version 3 of the GNU General Public License.</p>
+
+<p>“Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.</p>
+
+<p>“The Program” refers to any copyrightable work licensed under this License. Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals or organizations.</p>
+
+<p>To “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work.</p>
+
+<p>A “covered work” means either the unmodified Program or a work based on the Program.</p>
+
+<p>To “propagate” a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.</p>
+
+<p>To “convey” a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.</p>
+
+<p>An interactive user interface displays “Appropriate Legal Notices” to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
+1. Source Code.</p>
+
+<p>The “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work.</p>
+
+<p>A “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.</p>
+
+<p>The “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.</p>
+
+<p>The “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.</p>
+
+<p>The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.</p>
+
+<p>The Corresponding Source for a work in source code form is that same work.
+2. Basic Permissions.</p>
+
+<p>All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.</p>
+
+<p>You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.</p>
+
+<p>Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
+3. Protecting Users' Legal Rights From Anti-Circumvention Law.</p>
+
+<p>No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.</p>
+
+<p>When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
+4. Conveying Verbatim Copies.</p>
+
+<p>You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.</p>
+
+<p>You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
+5. Conveying Modified Source Versions.</p>
+
+<p>You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:</p>
+
+<pre><code>a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
+b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to “keep intact all notices”.
+c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
+d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
+</code></pre>
+
+<p>A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
+6. Conveying Non-Source Forms.</p>
+
+<p>You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:</p>
+
+<pre><code>a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
+b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
+c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
+d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
+e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
+</code></pre>
+
+<p>A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.</p>
+
+<p>A “User Product” is either (1) a “consumer product”, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, “normally used” refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.</p>
+
+<p>“Installation Information” for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.</p>
+
+<p>If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).</p>
+
+<p>The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.</p>
+
+<p>Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
+7. Additional Terms.</p>
+
+<p>“Additional permissions” are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.</p>
+
+<p>When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.</p>
+
+<p>Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:</p>
+
+<pre><code>a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
+b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
+c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
+d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
+e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
+f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
+</code></pre>
+
+<p>All other non-permissive additional terms are considered “further restrictions” within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.</p>
+
+<p>If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.</p>
+
+<p>Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
+8. Termination.</p>
+
+<p>You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).</p>
+
+<p>However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.</p>
+
+<p>Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.</p>
+
+<p>Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
+9. Acceptance Not Required for Having Copies.</p>
+
+<p>You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
+10. Automatic Licensing of Downstream Recipients.</p>
+
+<p>Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.</p>
+
+<p>An “entity transaction” is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.</p>
+
+<p>You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
+11. Patents.</p>
+
+<p>A “contributor” is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's “contributor version”.</p>
+
+<p>A contributor's “essential patent claims” are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, “control” includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.</p>
+
+<p>Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.</p>
+
+<p>In the following three paragraphs, a “patent license” is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To “grant” such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.</p>
+
+<p>If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. “Knowingly relying” means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.</p>
+
+<p>If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.</p>
+
+<p>A patent license is “discriminatory” if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.</p>
+
+<p>Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
+12. No Surrender of Others' Freedom.</p>
+
+<p>If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
+13. Use with the GNU Affero General Public License.</p>
+
+<p>Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.
+14. Revised Versions of this License.</p>
+
+<p>The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.</p>
+
+<p>Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.</p>
+
+<p>If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.</p>
+
+<p>Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
+15. Disclaimer of Warranty.</p>
+
+<p>THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+16. Limitation of Liability.</p>
+
+<p>IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+17. Interpretation of Sections 15 and 16.</p>
+
+<p>If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.</p>
+
+<p>END OF TERMS AND CONDITIONS</p>
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/user/CRM/.txt b/erpnext/docs/user/CRM/.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/erpnext/docs/user/CRM/.txt
diff --git a/erpnext/docs/user/CRM/contact.md b/erpnext/docs/user/CRM/contact.md
new file mode 100644
index 0000000..b985a31
--- /dev/null
+++ b/erpnext/docs/user/CRM/contact.md
@@ -0,0 +1,19 @@
+Contacts and Addresses in ERPNext are stored separately so that you can
+attach multiple Contacts or Addresses to Customers and Suppliers.
+
+To create a new Contact go to ,
+
+> CRM > Contact > New
+
+<img class="screenshot" alt="Contact" src="/assets/manual_erpnext_com/img/crm/contact.png">
+
+Or you can add a Contact or Address directly from the Customer record, click on “New
+Contact” or “New Address”.
+
+<img class="screenshot" alt="Contact" src="/assets/manual_erpnext_com/img/crm/contact-from-cust.png">
+
+> Tip: When you select a Customer in any transaction, one Contact and Address
+gets pre-selected. This is the “Default Contact or Address”.
+
+To Import multiple Contacts and Addresses from a spreadsheet, use the Data
+Import Tool.
\ No newline at end of file
diff --git a/erpnext/docs/user/CRM/customer.md b/erpnext/docs/user/CRM/customer.md
new file mode 100644
index 0000000..664e516
--- /dev/null
+++ b/erpnext/docs/user/CRM/customer.md
@@ -0,0 +1,68 @@
+A customer, who is sometimes known as a client, buyer, or purchaser is the one
+who receives goods, services, products, or ideas, from a seller for a monetary
+consideration. A customer can also receive goods or services from a vendor or
+a supplier for other valuable considerations.
+
+You can either directly create your Customers via
+
+> Selling > Customer
+
+or upload it via the Data Import Tool.
+
+<img class="screenshot" alt="Customer" src="/assets/manual_erpnext_com/img/crm/customer.png">
+
+> Note: Customers are separate from Contacts and Addresses. A Customer can
+have multiple Contacts and Addresses.
+
+### Contacts and Addresses
+
+Contacts and Addresses in ERPNext are stored separately so that you can
+attach multiple Contacts or Addresses to Customers and Suppliers.
+
+Read [Contact](/contents/crm/contact) to know more.
+
+### Integration with Accounts
+
+In ERPNext, there is a separate Account record for each Customer, for each
+Company.
+
+When you create a new Customer, ERPNext will automatically create an Account
+Ledger for the Customer under “Accounts Receivable” in the Company set in the
+Customer record.
+
+> Advanced Tip: If you want to change the Account Group under which the
+Customer Account is created, you can set it in the Company master.
+
+If you want to create an Account in another Company, just change the Company
+value and “Save” the Customer again.
+
+### Customer Settings
+
+You can link a Price List to a Customer (select “Default Price List”), so that
+when you select that Customer, the Price List will be automatically selected.
+
+You can set “Credit Days”, so that it is automatically set due date in the Sales
+Invoices made against this Customer. Credit Days can be defined as fixed days or last day of the next month based on invoice date.
+
+You can set how much credit you want to allow for a Customer by adding the
+“Credit Limit”. You can also set a global “Credit Limit” in the Company
+master. Classifying Customers
+
+ERPNext allows you to group your Customers using [Customer Group](/contents/crm/setup/customer-group) 
+and also divide them into [Territories](/contents/crm/setup/territory)
+Grouping will help you get better analysis of your data and
+identify which Customers are profitable and which are not. Territories will
+help you set sales targets for the respective territories.
+You can also mention [Sales Person](/contents/crm/setup/sales-person) against a customer.
+
+### Sales Partner
+
+A Sales Partner is a third party distributor / dealer / commission agent /
+affiliate / reseller who sells the companies products, for a commission. This
+is useful if you make the end sale to the Customer, involving your Sales
+Partner.
+
+If you sell to your Sales Partner who in-turn sells it to the Customer, then
+you must make a Customer instead.
+
+{next}
diff --git a/erpnext/docs/user/CRM/index.md b/erpnext/docs/user/CRM/index.md
new file mode 100644
index 0000000..20639a9
--- /dev/null
+++ b/erpnext/docs/user/CRM/index.md
@@ -0,0 +1,8 @@
+#CRM
+
+ERPNext helps you track business **Opportunities** from **Leads** and
+**Customers**, send them **Quotations** and make confirmed **Sales Orders**.
+
+The CRM Module helps maintain Leads, Oppurtunities and Customers.
+
+{index}
\ No newline at end of file
diff --git a/erpnext/docs/user/CRM/index.txt b/erpnext/docs/user/CRM/index.txt
new file mode 100644
index 0000000..204123a
--- /dev/null
+++ b/erpnext/docs/user/CRM/index.txt
@@ -0,0 +1,6 @@
+lead
+customer
+opportunity
+contact
+newsletter
+setup
\ No newline at end of file
diff --git a/erpnext/docs/user/CRM/lead.md b/erpnext/docs/user/CRM/lead.md
new file mode 100644
index 0000000..cb06eee
--- /dev/null
+++ b/erpnext/docs/user/CRM/lead.md
@@ -0,0 +1,46 @@
+To get the customer through the door, you may be doing all or any of the
+following:
+
+  * Listing your product on directories.
+  * Maintaining an updated and searchable website.
+  * Meeting people at trade events.
+  * Advertising your product or services.
+
+When you send out the word that you are around and have something valuable to
+offer, people will come in to check out your product. These are your Leads.
+
+They are called Leads because they may lead you to a sale. Sales people
+usually work on leads by calling them, building a relationship and sending
+information about their products or services. It is important to track all
+this conversation to enable another person who may have to follow-up on that
+contact. The new person is then able to know the history of that particular
+Lead.
+
+To create a Lead, go to:
+
+> Selling > Lead > New Lead
+
+<img class="screenshot" alt="Lead" src="/assets/manual_erpnext_com/img/crm/lead.png">
+
+ERPNext gives you a lot of options you may want to store about your Leads. For
+example what is the source, how likely are they to give you business etc. If
+you have a healthy number of leads, this information will help you prioritize
+who you want to work with.
+
+> **Tip:** ERPNext makes it easy to follow-up on leads by updating the “Next
+Contact” details. This will add a new event in the Calendar for the User who
+has to contact the lead next.
+
+### Difference between Lead, Contact and Customer
+
+The difference is that a Lead is a potential Customer, someone who can give
+you business. A Customer is an organization or individual who has given you
+business before (and has an Account in your system). A Contact is a person who
+belongs to the Customer.
+
+A Lead can be converted to a Customer by clicking on the “Create Customer”
+button. Once the Customer is created, the Lead becomes “Converted” and any
+further Opportunities from the same source can be created against the
+Customer.
+
+{next}
diff --git a/erpnext/docs/user/CRM/newsletter.md b/erpnext/docs/user/CRM/newsletter.md
new file mode 100644
index 0000000..d32efb0
--- /dev/null
+++ b/erpnext/docs/user/CRM/newsletter.md
@@ -0,0 +1,19 @@
+A newsletter is a short written report that tells about the recent activities
+of an organization. It is generally sent to members of the organization,
+potential clients customers or potential leads.
+
+In ERPNext, you can use this UI to send any type of communication to a large
+number of audience. The process of sending bulk email to a target audience is
+very simple and easy.
+
+Select the list that you want to send the email to. Fill in your content in
+the message box, and send your newsletter.If you wish to test your email, to
+see how it looks to the recepient, you can use the test function. Save the
+document before testing. A test email will be sent to your email id. You can
+send the email to all the intended receipients by clicking on the send button.
+
+<img class="screenshot" alt="Newsletter - New" src="/assets/manual_erpnext_com/img/crm/newsletter-new.png">
+
+<img class="screenshot" alt="Newsletter - Test" src="/assets/manual_erpnext_com/img/crm/newsletter-test.png">
+
+{next}
diff --git a/erpnext/docs/user/CRM/opportunity.md b/erpnext/docs/user/CRM/opportunity.md
new file mode 100644
index 0000000..fc533bb
--- /dev/null
+++ b/erpnext/docs/user/CRM/opportunity.md
@@ -0,0 +1,30 @@
+When you know a Lead is looking for some products or services to buy, you can
+track that as an Opportunity.
+
+You can create an Opportunity from:
+
+> Selling > Opportunity > New Opportunity
+
+or open a “Open” Lead and click on “Create Opportunity” button.
+
+#### Figure 1: Create Opportunity 
+
+<img class="screenshot" alt="Opportunity" src="/assets/manual_erpnext_com/img/crm/opportunity.png">
+
+You can also open a “Open” Lead and click on “Create Opportunity” button.
+
+#### Figure 2: Create Opportunity from an open Lead
+
+<img class="screenshot" alt="Opportunity" src="/assets/manual_erpnext_com/img/crm/lead-to-opportunity.png">
+
+An Opportunity can also come from an existing Customer. You can create
+multiple Opportunities against the same Lead. In Opportunity, apart from the
+Communication, you can also add the Items for which the Lead or Contact is
+looking for.
+
+> Best Practice: Leads and Opportunities are often referred as your “Sales
+Pipeline” this is what you need to track if you want to be able to predict how
+much business you are going to get in the future. Its always a good idea to be
+able to track what is coming in order to adjust your resources.
+
+{next}
diff --git a/erpnext/docs/user/CRM/setup/campaign.md b/erpnext/docs/user/CRM/setup/campaign.md
new file mode 100644
index 0000000..801beb0
--- /dev/null
+++ b/erpnext/docs/user/CRM/setup/campaign.md
@@ -0,0 +1,20 @@
+A Campaign is a full-scale implementation of a sales strategy to promote a
+product or a service. This is done in a market segment of a particular
+geographical area, to achieve specified objectives.
+
+<img class="screenshot" alt="Campaign" src="/assets/manual_erpnext_com/img/crm/campaign.png">
+
+You can track [Lead](/contents/crm/lead), [Opportunity](/contents/crm/opportunity), [Quotation](/contents/selling/quotation) against a campaign.
+
+###Track Leads against Campaign
+
+* To track a 'Lead' against a campaign select 'View Leads'.
+
+<img class="screenshot" alt="Campaign - View Leads" src="/assets/manual_erpnext_com/img/crm/campaign-view-leads.png">
+
+* You shall get a filtered list of all leads made against that campaign.
+* You can also create new leads by clicking 'New'
+
+<img class="screenshot" alt="Campaign - New Lead" src="/assets/manual_erpnext_com/img/crm/campaign-new-lead.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/CRM/setup/customer-group.md b/erpnext/docs/user/CRM/setup/customer-group.md
new file mode 100644
index 0000000..4a023bf
--- /dev/null
+++ b/erpnext/docs/user/CRM/setup/customer-group.md
@@ -0,0 +1,14 @@
+Customer groups allow you to organize your customers. You can also have discounts based on customer groups.
+You can also get trend analysis for each
+group. Typically Customers are grouped by market segment (that is usually
+based on your domain).
+
+<img class="screenshot" alt="Customer Group Tree" src="/assets/manual_erpnext_com/img/crm/customer-group-tree.png">
+
+> Tip: If you think all this is too much effort, you can leave it at “Default
+Customer Group”. But all this effort, will pay off when you start getting
+reports. An example of a sample report is given below:
+
+![Sales Analytics](/assets/manual_erpnext_com/old_images/erpnext/sales-analytics-customer.png)
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/CRM/setup/index.md b/erpnext/docs/user/CRM/setup/index.md
new file mode 100644
index 0000000..259b5eb
--- /dev/null
+++ b/erpnext/docs/user/CRM/setup/index.md
@@ -0,0 +1,4 @@
+
+### Topics
+
+{index}
\ No newline at end of file
diff --git a/erpnext/docs/user/CRM/setup/index.txt b/erpnext/docs/user/CRM/setup/index.txt
new file mode 100644
index 0000000..3d960aa
--- /dev/null
+++ b/erpnext/docs/user/CRM/setup/index.txt
@@ -0,0 +1,3 @@
+campaign
+customer-group
+sales-person
\ No newline at end of file
diff --git a/erpnext/docs/user/CRM/setup/sales-person.md b/erpnext/docs/user/CRM/setup/sales-person.md
new file mode 100644
index 0000000..aca6975
--- /dev/null
+++ b/erpnext/docs/user/CRM/setup/sales-person.md
@@ -0,0 +1,14 @@
+Sales Persons behave exactly like Territories. You can create an organization
+chart of Sales Persons where each Sales Person’s target can be set
+individually. Again as in Territory, the target has to be set against Item
+Group.
+
+<img class="screenshot" alt="Sales Person Tree" src="/assets/manual_erpnext_com/img/crm/sales-person-tree.png">
+
+####Sales Person in Transactions
+
+You can use this Sales Person in Customer and sales transactions like Sales Order, Delivery Note and Sales Invoice.
+Click [here](https://erpnext.com/kb/selling/managing-sales-persons-in-sales-transactions) to learn more 
+about how Sales Persons are used in the transactions of Sales Cycle.
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/accounts/accounting-entries.md b/erpnext/docs/user/accounts/accounting-entries.md
new file mode 100644
index 0000000..4615d4b
--- /dev/null
+++ b/erpnext/docs/user/accounts/accounting-entries.md
@@ -0,0 +1,58 @@
+The concept of accounting is explained with an example given below: We will
+take a "Tea Stall" as a company and see how to book accounting entries for the
+business.
+
+  * Mama (The Tea-stall owner) invests Rs 25000 to start the business.
+
+![A&L](/assets/manual_erpnext_com/old_images/erpnext/assets-1.png)
+
+__Analysis:__ Mama invested 25000 in company, hoping to get some profit. In other
+words, company is liable to pay 25000 to Mama in the future. So, account
+"Mama" is a liability account and it is credited. Company's cash balance will
+be increased due to the investment, "Cash" is an asset to the company and it
+will debited.
+
+  * The company needs equipments (Stove, teapot, cups etc) and raw materials (tea, sugar, milk etc) immediately. He decides to buy from the nearest general store "Super Bazaar" who is a friend so that he gets some credit. Equipments cost him 2800 and raw materials worth of 2200. He pays 2000 out of total cost 5000.
+
+![A&L](/assets/manual_erpnext_com/old_images/erpnext/assets-2.png)
+
+__Analysis:__ Equipments are "Fixed Assets" (because they have a long life) of the
+company and raw materials "Current Assets" (since they are used for day-to-day
+business), of the company. So, "Equipments" and "Stock in Hand" accounts have
+been debited to increase the value. He pays 2000, so "Cash" account will be
+reduced by that amount, hence credited and he is liable to pay 3000 to "Super
+Bazaar" later, so Super Bazaar will be credited by 3000.
+
+  * Mama (who takes care of all entries) decides to book sales at the end of the every day, so that he can analyze daily sales. At the end of the very first day, the tea stall sells 325 cups of tea, which gives net sales of Rs. 1575. The owner happily books his first day sales.
+
+![A&L](/assets/manual_erpnext_com/old_images/erpnext/assets-3.png)
+
+__Analysis:__ Income has been booked in "Sales of Tea" account which has been
+credited to increase the value and the same amount will be debited to "Cash"
+account. Lets say, to make 325 cups of tea, it costs Rs. 800, so "Stock in
+Hand" will be reduced (Cr) by 800 and expense will be booked in "Cost of goods
+sold" account by same amount.
+
+At the end of the month, the company paid the rent amount of stall (5000) and
+salary of one employee (8000), who joined from the very first day.
+
+![A&L](/assets/manual_erpnext_com/old_images/erpnext/assets-4.png)
+
+### Booking Profit
+
+As month progress, company purchased more raw materials for the business.
+After a month he books profit to balance the "Balance Sheet" and "Profit and
+Loss Statements" statements. Profit belongs to Mama and not the company hence
+its a liability for the company (it has to pay it to Mama). When the Balance
+Sheet is not balanced i.e. Debit is not equal to Credit, the profit has not
+yet been booked. To book profit, the following entry has to be made:
+
+![A&L](/assets/manual_erpnext_com/old_images/erpnext/assets-5.png)
+
+Explanation: Company's net sales and expenses are 40000 and 20000
+respectively. So, company made a profit of 20000. To make the profit booking
+entry, "Profit or Loss" account has been debited and "Capital Account" has
+been credited. Company's net cash balance is 44000 and there is some raw
+materials available worth 1000 rupees.
+
+{next}
diff --git a/erpnext/docs/user/accounts/accounting-reports.md b/erpnext/docs/user/accounts/accounting-reports.md
new file mode 100644
index 0000000..d8557b9
--- /dev/null
+++ b/erpnext/docs/user/accounts/accounting-reports.md
@@ -0,0 +1,43 @@
+Some of the major accounting reports are:
+
+### General Ledger
+
+General Ledger is based on the table GL Entry and can be filtered by Account
+and between a period. This will help you to get a full update for all entries
+done in that period for that Account.
+
+<img alt="General Ledger" class="screenshot"
+    src="/assets/manual_erpnext_com/img/accounts/general-ledger.png">
+
+### Trial Balance
+
+Trial Balance is the list of Account balances for all your Accounts
+(“Ledger” and “Group”) on a particular date. For each Account it will give you
+the:
+
+  * Opening
+  * Debits
+  * Credits
+  * Closing
+
+<img alt="Trial Balance" class="screenshot" src="/assets/manual_erpnext_com/img/accounts/trial-balance.png">
+
+The sum of all closing balances in a Trial Balance must be zero.
+
+### Accounts Payable and Accounts Receivable (AP / AR)
+
+These reports help you to track the outstanding invoices sent to Customer and
+Suppliers. In this report, you will get your outstanding amounts period wise.
+i.e. between 0-30 days, 30-60 days and so on.
+
+<img alt="Accounts Receivable" class="screenshot" src="/assets/manual_erpnext_com/img/accounts/accounts-receivable.png">
+
+### Sales and Purchase Register
+
+In this report, each tax Account is transposed in columns. For each Invoice and
+invoice Item, you will get the amount of individual tax that has been paid,
+based on the Taxes and Charges table.
+
+<img alt="Sales Register" class="screenshot" src="/assets/manual_erpnext_com/img/accounts/sales-register.png">
+
+{next}
diff --git a/erpnext/docs/user/accounts/advance-payment-entry.md b/erpnext/docs/user/accounts/advance-payment-entry.md
new file mode 100644
index 0000000..1506be7
--- /dev/null
+++ b/erpnext/docs/user/accounts/advance-payment-entry.md
@@ -0,0 +1,62 @@
+Payment done by the customer before accepting delivery of the product is an
+Advance Payment. For Orders of high value, the business houses expect to
+receive advance.
+
+  
+__For Example:__ Consider a customer- Jane D'souza placing an order for a double
+bed costing $10000 She is asked to give some advance before the furniture
+house begins work on her order. She gives them $5000 in cash.
+
+  
+Go to Accounts and open a new Journal Entry to make the advance entry.
+
+> Accounts > Documents > Journal Entry > New Journal Entry  
+
+Mention the voucher type as cash voucher. This differs for different
+customers. If somebody pays by cheque the voucher type will be Bank Voucher.
+Then select the customer account and make the respective debit and credit
+entries.  
+
+Since the customer has given $5000 as cash advance,it will be recorded as a
+credit entry against the customer. To balance it with the debit entry [Double
+accounting Entry] enter $5000 as debit against the company's cash account. In
+the row "Is Advance" click 'Yes'.
+
+#### Figure 1 : Journal Entry -Advance Entry  
+
+<img class="screenshot" alt="Advace Payment" src="/assets/manual_erpnext_com/img/accounts/advance-payment-1.png">
+
+### Double Entry Accounting  
+
+Double entry bookkeeping is a system of accounting in which every transaction
+has a corresponding positive and negative entry : debits and credits. Every
+transaction involves a [debit entry
+](http://www.e-conomic.co.uk/accountingsystem/glossary/debit)in one account
+and a [credit
+entry](http://www.e-conomic.co.uk/accountingsystem/glossary/credit) in another
+account. This means that every transaction must be recorded in two accounts;
+one account will be debited because it receives value and the other account
+will be credited because it has given value.
+
+  
+#### Figure 2: Transaction and Difference Entry
+
+<img class="screenshot" alt="Advace Payment" src="/assets/manual_erpnext_com/img/accounts/advance-payment-2.png">
+
+Save and submit the JV. If this document is not saved it will not be pulled in
+other accounting documents.
+
+When you make a new Sales Invoice for the same customer, mention the advance
+in the Sales Invoice Form.
+
+To link the Sales Invoice to the Journal Entry which mentions the advance
+payment entry, click on ‘Get Advances Received’.  Allocate the amount of
+advance in the advances table. The accounting will be adjusted accordingly.
+
+#### Figure 3: Receive Advance 
+
+<img class="screenshot" alt="Advace Payment" src="/assets/manual_erpnext_com/img/accounts/advance-payment-3.png">
+
+Save and submit the Sales Invoice.
+
+{next}
diff --git a/erpnext/docs/user/accounts/budgeting.md b/erpnext/docs/user/accounts/budgeting.md
new file mode 100644
index 0000000..e38ec9c
--- /dev/null
+++ b/erpnext/docs/user/accounts/budgeting.md
@@ -0,0 +1,58 @@
+ERPNext will help you set and manage budgets on your Cost Centers. This is
+useful when, for example, you are doing online sales. You have a budget for
+search ads, and you want ERPNext to stop or warn you from over spending, based
+on that budget.
+
+Budgets are also great for planning purposes. When you are making plans for
+the next financial year, you would typically target a revenue based on which
+you would set your expenses. Setting a budget will ensure that your expenses
+do not get out of hand, at any point, as per your plans.
+
+You can define it in the Cost Center. If you have seasonal sales you can also
+define a budget distribution that the budget will follow.
+
+In order to allocate budget, go to Accounts > Setup > Chart of Cost Centers and click on Chart of Cost Center.
+Select a Cost Center and click on Open.
+
+#### Step 1: Click on Edit.
+
+![](/assets/manual_erpnext_com/old_images/erpnext/budgeting-1.png)  
+
+<img alt="Accounts Receivable" class="screenshot" src="/assets/manual_erpnext_com/img/accounts/accounts-receivable.png">
+
+#### Step 2: Enter Monthly Distribution.
+
+![](/assets/manual_erpnext_com/old_images/erpnext/budgeting-2-1.png)
+
+
+If you leave the** **distribution ID blank, ERPNext will calculate on a yearly
+basis or in equal proportion for every month.
+
+#### Step 3:Add New Row and select budget account.  
+
+
+
+![](/assets/manual_erpnext_com/old_images/erpnext/budgeting-3.png)  
+
+
+
+### To Create New Distribution ID
+
+ERPNext allows you to take a few budget actions. It signifies whether to stop
+, warn or Ignore  if you exceed budgets.  
+
+![](/assets/manual_erpnext_com/old_images/erpnext/budgeting-4.png)
+
+
+
+These can be defined from the Company record.
+
+![](/assets/manual_erpnext_com/old_images/erpnext/budgeting-4-1.png)  
+
+
+
+Even if you choose to “ignore” budget overruns, you will get a wealth of
+information from the “Budget vs Actual” variance report. This report shows
+month wise actual expenses as compared to the budgeted expenses.
+
+{next}
diff --git a/erpnext/docs/user/accounts/chart-of-accounts.md b/erpnext/docs/user/accounts/chart-of-accounts.md
new file mode 100644
index 0000000..644d329
--- /dev/null
+++ b/erpnext/docs/user/accounts/chart-of-accounts.md
@@ -0,0 +1,128 @@
+The Chart of Accounts forms the blueprint of your organization. The overall
+structure of your Chart of Accounts is based on a system of double entry
+accounting that has become a standard all over the world to quantify how a
+company is doing financially.
+
+The Chart of Accounts helps you to answer:
+
+  * What is your organisation worth?
+  * How much debt have you taken?
+  * How much profit are you making (and hence paying tax)?
+  * How much are you selling?
+  * What is your expense break-up
+
+You may note that as a business manager, it is very valuable to see how well
+your business is doing.
+
+> Tip: If you can’t read a Balance Sheet (It took me a long time to
+figure this out) it's a good opportunity to start learning about this. It will
+be worth the effort. You can also take the help of your accountant to setup
+your Chart of Accounts.
+
+Financial statement of your company is easily viewable in ERPNext. An Example
+of a financial statement is given below:
+
+<img class="screenshot" alt="Financial Analytics Balance Sheet" src="/assets/manual_erpnext_com/img/accounts/financial-analytics-bl.png">
+
+To edit your Chart of Accounts in ERPNext go to:
+
+>  Accounts > Setup > Chart of Accounts
+
+Chart of Accounts is a tree view of the names of the Accounts (Ledgers and
+Groups) that a Company requires to manage its books of accounts. ERPNext sets
+up a simple chart of accounts for each Company you create, but you have to
+modify it according to your needs and legal requirements. For each company,
+Chart of Accounts signifies the way to classify the accounting entries, mostly
+based on statutory (tax, compliance to government regulations) requirements.
+
+Let us understand the main groups of the Chart of Accounts.
+
+<img class="screenshot" alt="Chart of Accounts" src="/assets/manual_erpnext_com/img/accounts/chart-of-accounts-1.png">
+
+### Balance Sheet Accounts
+
+The Balance Sheet has Application of Funds (/assets) and Sources of Funds
+(Liabilities) that signify the net-worth of your company at any given time.
+When you begin or end a financial period, all the Assets are equal to the
+Liabilities.
+
+> Accounting: If you are new to accounting, you might be wondering, how can
+Assets be equal to Liabilities? That would mean the company has nothing of its
+own. Thats right. All the “investment” made in the company to buy assets (like
+land, furniture, machines) is made by the owners and is a liability to the
+company. If the company would want to shut down, it would need to sell all the
+assets and pay back all the liabilities (including profits) to the owners,
+leaving itself with nothing.
+
+All the accounts under this represent an asset owned by the company like "Bank
+Account", "Land and Property", "Furniture" or a liability (funds that the
+company owes to others) like "Owners funds", "Debt" etc.
+
+Two special accounts to note here are Accounts Receivable (money you have to
+collect from your customers) and Accounts Payable (money you have to pay to
+your suppliers) under Assets and Liabilities respectively.
+
+### Profit and Loss Accounts
+
+Profit and Loss is the group of Income and Expense accounts that represent
+your accounting transactions over a period.
+
+Unlike Balance sheet accounts, Profit and Loss accounts (or PL accounts) do
+not represent net worth (/assets), but rather represent the amount of money
+spent and collected in servicing customers during the period. Hence at the
+beginning and end of your Fiscal Year, they become zero.
+
+In ERPNext it is easy to create a Profit and Loss analysis chart. An example
+of a Profit and Loss analysis chart is given below:
+
+<img class="screenshot" alt="Financial Analytics Profit and Loss Statement" src="/assets/manual_erpnext_com/img/accounts/financial-analytics-pl.png">
+
+(On the first day of the year you have not made any profit or loss, but you
+still have assets, hence balance sheet accounts never become zero at the
+beginning or end of a period)
+
+### Groups and Ledgers
+
+There are two main kinds of Accounts in ERPNext - Group and Ledger. Groups can
+have sub-groups and ledgers within them, whereas ledgers are the leaf nodes of
+your chart and cannot be further classified.
+
+Accounting Transactions can only be made against Ledger Accounts (not Groups)
+
+> Info: The term "Ledger" means a page in an accounting book where entries are
+made. There is usually one ledger for each account (like a Customer or a
+Supplier).
+
+> Note: An Account “Ledger” is also sometimes called as Account “Head”.
+
+<img class="screenshot" alt="Chart of Accounts" src="/assets/manual_erpnext_com/img/accounts/chart-of-accounts-2.png">
+
+### Other Account Types
+
+In ERPNext, you can also specify more information when you create a new
+Account, this is there to help you select that particular account in a
+scenario like Bank Account or a Tax Account and has no effect on the Chart
+itself.
+
+### Creating / Editing Accounts
+
+To create new Accounts, explore your Chart of Accounts and click on an Account
+group under which you want to create the new Account. On the right side, you
+will see an option to “Open” or “Add Child” a new Account.
+
+<img class="screenshot" alt="Chart of Accounts" src="/assets/manual_erpnext_com/img/accounts/chart-of-accounts-3.png">
+
+Option to create will only appear if you click on a Group (folder) type
+Account.
+
+ERPNext creates a standard structure for you when the Company is created but
+it is up to you to modify or add or remove accounts.
+
+Typically, you might want to create Accounts for
+
+  * Types of Expenses (travel, salaries, telephone etc) under Expenses.
+  * Taxes (VAT, Sales Tax etc based on your country) under Current Liabilities.
+  * Types of Sales (for example, Product Sales, Service Sales etc.) under Income.
+  * Types of Assets (building, machinery, furniture etc.) under Fixed Assets.
+
+{next}
diff --git a/erpnext/docs/user/accounts/credit-limit.md b/erpnext/docs/user/accounts/credit-limit.md
new file mode 100644
index 0000000..292c12b
--- /dev/null
+++ b/erpnext/docs/user/accounts/credit-limit.md
@@ -0,0 +1,34 @@
+  
+
+A credit limit is the maximum amount of credit that a financial institution or
+other lender will extend to a debtor for a particular line of credit. From an
+organisation's perspective, it is the maximum amount of credit which a
+customer gets on goods purchased.  
+
+To set credit limit go to Customer - Master
+
+> Selling > Document > Customer 
+
+  
+#### Figure 1: Credit Limit
+
+<img class="screenshot" alt="Credit Limit" src="/assets/manual_erpnext_com/img/accounts/credit-limit-1.png">
+
+Go to the 'More Info section' and enter the amount in the field Credit Limit.
+
+In case a need arises to allow more credit to the customer as a good-will, the
+Credit Controller has access to submit order even if credit limit is crossed.
+
+To allow any other role to submit transactions by customers whose credit limit
+has expired, go to accounting settings and make changes.
+
+In the field Credit Controller, select the role who would be authorized to
+accept orders or raise credit limits of customers.
+  
+#### Figure 2: Credit Controller
+
+<img class="screenshot" alt="Credit Limit" src="/assets/manual_erpnext_com/img/accounts/credit-limit-2.png">
+
+Save the changes.
+
+{next}
diff --git a/erpnext/docs/user/accounts/index.md b/erpnext/docs/user/accounts/index.md
new file mode 100644
index 0000000..ab93126
--- /dev/null
+++ b/erpnext/docs/user/accounts/index.md
@@ -0,0 +1,13 @@
+At the end of sales and purchase cycle comes billing and payments. You may have
+an accountant in your team, or you may be doing accounting yourself, or you may
+have outsourced your accounting. In all the cases financial accounting forms the core of any business management system like an ERP.
+
+In ERPNext, your accounting operations consists of 3 main transactions:
+
+  * Sales Invoice: The bills that you raise to your Customers for the products or services you provide.
+  * Purchase Invoice: Bills that your Suppliers give you for their products or services.
+  * Journal Entrys: For accounting entries, like payments, credit and other types.
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/accounts/index.txt b/erpnext/docs/user/accounts/index.txt
new file mode 100644
index 0000000..5a4a391
--- /dev/null
+++ b/erpnext/docs/user/accounts/index.txt
@@ -0,0 +1,17 @@
+journal-entry
+sales-invoice
+purchase-invoice
+chart-of-accounts
+making-payments
+advance-payment-entry
+credit-limit
+opening-entry
+accounting-reports
+accounting-entries
+budgeting
+opening-accounts
+item-wise-tax
+point-of-sale-pos-invoice
+multi-currency-accounting
+tools
+setup
\ No newline at end of file
diff --git a/erpnext/docs/user/accounts/item-wise-tax.md b/erpnext/docs/user/accounts/item-wise-tax.md
new file mode 100644
index 0000000..5bba9c7
--- /dev/null
+++ b/erpnext/docs/user/accounts/item-wise-tax.md
@@ -0,0 +1,30 @@
+
+Taxes selected in the Tax and Other Charges in transactions are applied on all the items. If you need different taxes applied on items selected in the same transaction, you should setup you item and tax master as explained in the steps below.
+
+####Step 1: Mention Tax Applicable in the Item master
+
+Item master has tax table where you can list taxes which will be applied on it.
+
+![Item wise Tax](/assets/manual_erpnext_com/old_images/erpnext/item-wise-tax.png)
+
+Tax rate mentioned in the item master gets preference over tax rate entered in the transactions. 
+
+For example, if you provide tax rate for VAT as 10% for item ABC, where for same VAT ledger 12% rate is entered in the Sales Order/Invoice, for item ABC, tax rate applied would be 10%, as mentioned in the item master.
+
+####Step 2: Setup Taxes and Other Charges
+
+In Taxes and Other Charges master, you should select all the applicable taxes which could be applicable on item.
+
+For example, if few items has VAT 5 applied on them, other has Service Tax applied, and some other has Excise Duty applicable, then you tax master should have all these taxes selected.
+
+![item wise tax master](/assets/manual_erpnext_com/old_images/erpnext/item-wise-tax-master.png)
+
+####Step 3: Set Tax Rate as Zero in Taxes and Charges Template
+
+In the Taxes and Other Charges master, tax rate will be updated as ZERO. It means, tax rate applicable on items will be pulled from the respective Item master. While for other items, 0% tax will be applied, means no other taxes will be applied on that item.
+
+Based on the above setting, you will have taxes applied on items as mentioned in the respective item master. Check following for an instance.
+
+![item wise tax calculation](/assets/manual_erpnext_com/old_images/erpnext/item-wise-tax-calc.png)
+
+{next}
diff --git a/erpnext/docs/user/accounts/journal-entry.md b/erpnext/docs/user/accounts/journal-entry.md
new file mode 100644
index 0000000..7e1aee7
--- /dev/null
+++ b/erpnext/docs/user/accounts/journal-entry.md
@@ -0,0 +1,71 @@
+All types of accounting entries other than **Sales Invoice** and **Purchase
+Invoice** are made using the **Journal Entry**. A **Journal Entry** 
+is a standard accounting transaction that affects
+multiple Accounts and the sum of debits is equal to the sum of credits.
+
+To create a Journal Entry go to:
+
+> Accounts > Documents > Journal Entry > New
+
+<img class="screenshot" alt="Journal Entry" src="/assets/manual_erpnext_com/img/accounts/journal-entry.png">
+
+In a Journal Entry, you must select.
+
+  * Type of Voucher from the drop down.
+  * Add rows for the individual accounting entries. In each row, you must specify: 
+    * The Account that will be affected
+    * The amount to Debit or Credit
+    * The Cost Center (if it is an Income or Expense)
+    * Against Voucher: Link it to a voucher or invoice if it affects the “outstanding” amount of that invoice.
+    * Is Advance: Select “Yes” if you want to make it selectable in an Invoice. Other information in case it is a Bank Payment or a bill.
+
+#### Difference
+
+The “Difference” field is the difference between the Debit and Credit amounts.
+This should be zero if the Journal Entry is to be “Submitted”. If this
+number is not zero, you can click on “Make Difference Entry” to add a new row
+with the amount required to make the total as zero.
+
+* * *
+
+## Common Entries
+
+A look at some of the common accounting entries that can be done via Journal
+Voucher.
+
+#### Expenses (non accruing)
+
+Many times it may not be necessary to accrue an expense, but it can be
+directly booked against an expense Account on payment. For example a travel
+allowance or a telephone bill. You can directly debit Telephone Expense
+(instead of your telephone company) and credit your Bank on payment.
+
+  * Debit: Expense Account (like Telephone expense)
+  * Credit: Bank or Cash Account
+
+#### Bad Debts or Write Offs
+
+If you are writing off an Invoice as a bad debt, you can create a Journal
+Voucher similar to a Payment, except instead of debiting your Bank, you can
+debit an Expense Account called Bad Debts.
+
+  * Debit: Bad Debts Written Off
+  * Credit: Customer
+
+> Note: There may be regulations in your country before you can write off bad
+debts.
+
+#### Depreciation
+
+Depreciation is when you write off certain value of your assets as an expense.
+For example if you have a computer that you will use for say 5 years, you can
+distribute its expense over the period and pass a Journal Entry at the end
+of each year reducing its value by a certain percentage.
+
+  * Debit: Depreciation (Expense)
+  * Credit: Asset (the Account under which you had booked the asset to be depreciated)
+
+> Note: There may be regulations in your country that define by how much
+amount you can depreciate a class of Assets.
+
+{next}
diff --git a/erpnext/docs/user/accounts/making-payments.md b/erpnext/docs/user/accounts/making-payments.md
new file mode 100644
index 0000000..763f422
--- /dev/null
+++ b/erpnext/docs/user/accounts/making-payments.md
@@ -0,0 +1,98 @@
+Payments made against Sales Invoices or Purchase Invoices can be made by
+clicking on “Make Payment Entry” button on “Submitted” invoices.
+
+  1. Update the “Bank Account” (you can also set the default account in the Company master).
+  2. Update posting date.
+  3. Enter the cheque number, cheque date.
+  4. Save and Submit.
+
+<img class="screenshot" alt="Manking Payment" src="/assets/manual_erpnext_com/img/accounts/make-payment.png">
+
+Payments can also be made independent of invoices by creating a new Journal
+Voucher and selecting the type of payment.
+
+#### Incoming Payment
+
+For payments from Customers,
+
+  * Debit: Bank or Cash Account
+  * Credit: Customer
+
+> Note: Remember to add “Against Sales Invoice” or “Is Advance” as applicable.
+
+#### Outgoing Payment
+
+For payments to Suppliers,
+
+  * Debit: Supplier
+  * Credit: Bank or Cash Account
+
+### Example Payment Journal Entry
+
+<img class="screenshot" alt="Manking Payment" src="/assets/manual_erpnext_com/img/accounts/new-bank-entry.png">
+
+* * *
+
+### Reconciling Cheque Payments
+
+If you are receiving payments or making payments via cheques, the bank
+statements will not accurately match the dates of your entry, this is because
+the bank usually takes time to “clear” these payments. Also you may have
+mailed a cheque to your Supplier and it may be a few days before it is
+received and deposited by the Supplier. In ERPNext you can synchronize your
+bank statements and your Journal Entrys using the “Bank Reconciliation”
+tool.
+
+To use this, go to:
+
+> Accounts > Tools > Bank Reconciliation
+
+Select your “Bank” Account and enter the dates of your statement. Here you
+will get all the “Bank Voucher” type entries. In each of the entry on the
+right most column, update the “Clearance Date” and click on “Update”.
+
+By doing this you will be able to sync your bank statements and entries into
+the system.
+
+* * *
+
+## Managing Outstanding Payments
+
+In most cases, apart from retail sales, billing and payments are separate
+activities. There are several combinations in which these payments are done.
+These cases apply to both sales and purchases.
+
+  * They can be upfront (100% in advance).
+  * Post shipment. Either on delivery or within a few days of delivery.
+  * Part in advance and part on or post delivery.
+  * Payments can be made together for a bunch of invoices.
+  * Advances can be given together for a bunch of invoices (and can be split across invoices).
+
+ERPNext allows you to manage all these scenarios. All accounting entries (GL
+Entry) can be made against a Sales Invoice, Purchase Invoice or Journal
+Vouchers (in special cases, an invoice can be made via a Sales Invoice too).
+
+The total outstanding amount against an invoice is the sum of all the
+accounting entries that are made “against” (or are linked to) that invoice.
+This way you can combine or split payments in Journal Entrys to manage the
+scenarios.
+
+### Matching Payments to Invoices
+
+In complex scenarios, especially in the capital goods industry, sometimes
+there is no direct link between payments and invoices. You send invoices to
+your Customers and your Customer sends you block payments or payments based on
+some schedule that is not linked to your invoices.
+
+In such cases, you can use the Payment to Invoice Matching Tool.
+
+> Accounts > Tools > Payment Reconciliation
+
+In this tool, you can select an account (your Customer’s account) and click on
+“Pull Payment Entries” and it will select all un-linked Journal Entrys and
+Sales Invoices from that Customer.
+
+To cancel off some payments and invoices, select the Invoices and Journal
+Vouchers and click on “Reconcile”.
+
+{next}
diff --git a/erpnext/docs/user/accounts/multi-currency-accounting.md b/erpnext/docs/user/accounts/multi-currency-accounting.md
new file mode 100644
index 0000000..7a43b5b
--- /dev/null
+++ b/erpnext/docs/user/accounts/multi-currency-accounting.md
@@ -0,0 +1,119 @@
+In ERPNext, you can make accounting entries in multiple currency. For example, if you have a bank account in foreign currency, you can make transactions in that currency and system will show bank balance in that specific currency only.
+
+## Setup
+
+To get started with multi-currency accounting, you need to assign accounting currency in Account record. You can define Currency from Chart of Accounts while creating Account.
+
+<img class="screenshot" alt="Set Currency from Chart of Accounts"  	src="/assets/manual_erpnext_com/img/accounts/multi-currency/chart-of-accounts.png">
+
+You can also assign / modify the currency by opening specific Account record for existing Accounts.
+
+<img class="screenshot" alt="Modify Account Currency"  	src="/assets/manual_erpnext_com/img/accounts/multi-currency/account.png">
+
+For Customer / Supplier (Party), you can also define it's accounting currency in the Party record. If the Party's accounting currency is different from Company Currency, you have to mention Default Receivable / Payable Account in that currency.
+
+<img class="screenshot" alt="Customer Accounting Currency"  	src="/assets/manual_erpnext_com/img/accounts/multi-currency/customer.png">
+
+
+Once you defined Accounting Currency in Party / Account record, you are ready to make transactions against them. If Party's accounting currency is different from Company Currency, system will restrict to make transaction for that party with that currency only. If accounting currency is same as Company Currency, you can make transactions for that Party in any currency. But accounting entries (GL Entries) will always be in Party's Accounting Currency. In any case, currency of Receivable Account will always be same as accounting currency of the Party.
+
+You can change accounting currency in Party / Account record, until making any transactions against them. After making accounting entries, system will not allow to change the accounting currency for both Party / Account record.
+
+In case of multi-company setup, accounting currency of Party must be same for all the companies.
+
+## Transactions
+
+### Sales Invoice
+
+In Sales Invoice, transaction currency must be same as accounting currency of Customer if Customer's accounting currency is other than Company Currency. Otherwise, you can select any currency in Invoice. On selection of Customer, system will fetch Receivable account from Customer / Company. The currency of receivable account must be same as Customer's accounting currency.
+
+Now, in POS, Paid Amount will be enetered in transaction currency, instead of earlier Company Currency. Write Off Amount will also be entered in transaction currency.
+
+Outstanding Amount and Advance Amount will always be calculated and shown in Customer's Account Currency.
+
+<img class="screenshot" alt="Sales Invoice Outstanding"  	src="/assets/manual_erpnext_com/img/accounts/multi-currency/sales-invoice.png">
+
+### Purchase Invoice
+
+Similarly, in Purchase Invoice, accounting entries will be made based on Supplier's accounting currency. Outstanding Amount and Advance Amount will also be shown in the supplier's accounting currency. Write Off Amount will now be entered in transaction currency.
+
+### Journal Entry
+
+In Journal Entry, you can make transactions in different currencies. There is a checkbox "Multi Currency", to enable multi-currency entries. If "Multi Currency" option selected, you will be able to select accounts with different currencies.
+
+<img class="screenshot" alt="Journal Entry Exchange Rate"  	src="/assets/manual_erpnext_com/img/accounts/multi-currency/journal-entry-multi-currency.png">
+
+ 
+In Accounts table, on selection of foreign currency account, system will show Currency section and fetch Account Currency and Exchange Rate automatically. You can change / modify the Exchange Rate later manually.
+
+In a single Journal Entry, you can select accounts with only one alternate currency, apart from accounts in Company Currency. Debit / Credit amount should be entered in Account Currency, system will calculate and show the Debit / Credit amount in Company Currency automatically.
+
+<img class="screenshot" alt="Journal Entry in multi currency"  	src="/assets/manual_erpnext_com/img/accounts/multi-currency/journal-entry-row.png">
+
+#### Example 1: Payment Entry  Against Customer With Alternate Currency
+
+Suppose, default currency of the company is INR and customer's accounting currency is USD. Customer made full payment against an outstanding invoice of USD 100. Exchange Rate (USD -> INR) in Sales Invoice was 60.
+
+Exchange Rate in the payment entry should always be same as invoice (60), even if exchange rate on the payment date is 62. The bank account will be credited by the amount considering exchange rate as 62. Hence, Exchnage Gain / Loss will be booked based on exchange rate difference.
+
+<img class="screenshot" alt="Payment Entry"  	src="/assets/manual_erpnext_com/img/accounts/multi-currency/payment-entry.png">
+
+#### Example 2: Inter-bank Transfer (USD -> INR)
+
+Suppose, default currency of the company is INR. You have an Paypal account for which Currency is USD. You receive payments in the paypal account and lets say, paypal transfers amount once in a week to your other bank account which is managed in INR. 
+
+Paypal account gets debited on different date with different exchange rate, but on transfer date the exchange rate can be different. Hence, there is generally Exchange Loss / Gain on the transfer entry.
+In the bank transfer entry, system sets exchange rate based on the average incoming exchange rate Paypal account. You need to calculate and enter Exchange Loss / Gain based on the average exchange rate and the exchange rate on the transfer date.
+
+Lets say, Paypal account debited by following amounts over the week, which has not been transferred to your other bank account.
+
+<table class="table table-bordered">
+	<thead>
+		<tr>
+			<td>Date</td>
+			<td>Account</td>
+			<td>Debit (USD)</td>
+			<td>Exchange Rate</td>
+		</tr>
+	</thead>
+	<tbody>
+		<tr>
+			<td>2015-09-02</td>
+			<td>Paypal</td>
+			<td>100</td>
+			<td>60</td>
+		</tr>
+		<tr>
+			<td>2015-09-02</td>
+			<td>Paypal</td>
+			<td>100</td>
+			<td>61</td>
+		</tr>
+		<tr>
+			<td>2015-09-02</td>
+			<td>Paypal</td>
+			<td>100</td>
+			<td>64</td>
+		</tr>
+	</tbody>
+</table>
+
+
+Suppose, Exchange Rate on the payment date is 62 and Bank Transfer Entry will be look like below:
+
+<img class="screenshot" alt="Inter Bank Transfer"  	src="/assets/manual_erpnext_com/img/accounts/multi-currency/bank-transfer.png">
+
+
+## Reports
+
+### General Ledger
+
+In General Ledger, system shows debit / credit amount in both currency if filtered by an Account and Account Currency is different from Company Currency.
+
+<img class="screenshot" alt="General Ledger Report"  	src="/assets/manual_erpnext_com/img/accounts/multi-currency/general-ledger.png">
+
+### Accounts Receivable / Payable
+
+In Accounts Receivable / Payable report, system shows all the amounts in Party / Account Currency.
+
+<img class="screenshot" alt="Accounts Receivable Report"  	src="/assets/manual_erpnext_com/img/accounts/multi-currency/accounts-receivable.png">
\ No newline at end of file
diff --git a/erpnext/docs/user/accounts/opening-accounts.md b/erpnext/docs/user/accounts/opening-accounts.md
new file mode 100644
index 0000000..a6c0c77
--- /dev/null
+++ b/erpnext/docs/user/accounts/opening-accounts.md
@@ -0,0 +1,94 @@
+Now that you have completed most of the setup, its time to start moving in!
+
+There are two important sets of data you need to enter before you start your
+operations.
+
+  * Opening Account balances.
+  * Opening Stock balances.
+
+To setup your accounts and stock correctly you will need accurate data to work
+with. Make sure you have the data setup for this.
+
+### Opening Accounts
+
+We usually recommend that you start using accounting in a new financial year,
+but you could start midway too. To setup your accounts, you will need the
+following for the “day” you start using accounting in ERPNext:
+
+Opening capital accounts - like your shareholder’s (or owner’) capital, loans,
+bank balances on that day. List of outstanding sales and purchase invoices
+(Payables and Receivables).
+
+Based on Voucher Type
+
+You can select accounts based on the voucher type. In such a scenario, your balance sheet should be balanced.
+
+<img class="screenshot" alt="Opening Account" src="/assets/manual_erpnext_com/img/accounts/opening-account-1.png">
+
+ Also, note that if there are more than 300 ledgers, the system will crash. Thus to avoid such a situation, you can open accounts by using temporary accounts.
+
+#### Temporary Accounts
+
+A nice way to simplify opening is to use a temporary account
+just for opening. These accounts will become zero once all your old
+invoices and opening balances of bank, debt stock etc are entered.
+In the standard chart of accounts, a **Temperory Opening** account is created under
+assets
+
+#### The Opening Entry
+
+In ERPNext Opening Accounts are setup by submitting a special Journal Entries
+(Journal Entry).
+
+Note: Make sure to set “Is Opening” as “Yes” in the More Info section.
+
+> Setup > Opening Accounts and Stock > Opening Accounting Entries.
+
+Complete Journal Entries on the Debit and Credit side.
+
+![Opening Entry](/assets/manual_erpnext_com/old_images/erpnext/opening-entry-1.png)
+
+ To update opening balance is to make Journal Entry for an individual/group of accounts.
+
+For example, if you want to update balance in three bank accounts, then make Journal Entrys in this manner.
+
+![Opening Temp Entry](/assets/manual_erpnext_com/old_images/erpnext/image-temp-opening.png)
+
+
+![Opening Entry](/assets/manual_erpnext_com/old_images/erpnext/opening-entry-2.png)
+
+Temporary Asset and Liability account is used for balancing purpose. When you update opening balance in Liability Account, you can use Temporary Asset Account for balancing.
+
+This way, you can update opening balance in Asset and Liability accounts.
+
+You can make two Opening Journal Entrys:
+
+  * For all assets (excluding Accounts Receivables): This entry will contain all your assets except the amounts you are expecting from your Customers against outstanding Sales Invoices. You will have to update your receivables by making an individual entry for each Invoice (this is because, the system will help you track the invoices which are yet to be paid). You can credit the sum of all these debits against the **Temperory Opening** account.
+  * For all liabilities: Similarly you need to pass a Journal Entry for your Opening Liabilities (except for the bills you have to pay) against **Temperory Opening** account.
+  * In this method you can update opening balance of specific balancesheet accounts and not for all.
+  * Opening entry is only for balance sheet accounts and not for expense or Income accounts.
+
+After completing the accounting entries, the trial balance report will look
+like the one given below:
+
+
+![Trial Balance](/assets/manual_erpnext_com/old_images/erpnext/trial-balance-1.png)
+
+#### Outstanding Invoices
+
+After your Opening Journal Entrys are made, you will need to enter each
+Sales Invoice and Purchase Invoice that is yet to be paid.
+
+Since you have already booked the income or expense on these invoices in the
+previous period, select the temp opening account **Temporary Opening** in the “Income” and
+“Expense” accounts.
+
+> Note: Make sure to set each invoice as “Is Opening”!
+
+If you don’t care what items are in that invoice, just make a dummy item entry
+in the Invoice. Item code in the Invoice is not necessary, so it should not be
+such a problem.
+
+Once all your invoices are entered, your **Temperory Opening** account will have a balance of zero!
+
+{next}
diff --git a/erpnext/docs/user/accounts/opening-entry.md b/erpnext/docs/user/accounts/opening-entry.md
new file mode 100644
index 0000000..bbab38a
--- /dev/null
+++ b/erpnext/docs/user/accounts/opening-entry.md
@@ -0,0 +1,7 @@
+If you are a new company you can start using ERPNext accounting module by
+going to chart of accounts.
+
+However, if you are migrating from a legacy accounting system like Tally or a
+Fox Pro based software, please visit [Opening Entry.](/contents/accounts/opening-accounts)
+
+{next}
diff --git a/erpnext/docs/user/accounts/point-of-sale-pos-invoice.md b/erpnext/docs/user/accounts/point-of-sale-pos-invoice.md
new file mode 100644
index 0000000..c95351c
--- /dev/null
+++ b/erpnext/docs/user/accounts/point-of-sale-pos-invoice.md
@@ -0,0 +1,98 @@
+# Point of Sale Invoice
+
+Point of Sale (POS) is the place where a retail transaction is completed. It
+is the point at which a customer makes a payment to the merchant in exchange
+for goods or services. For retail operations, the delivery of goods, accrual
+of sale and payment all happens in one event, that is usually called the
+“Point of Sale”.
+
+You can make a Sales Invoice of type POS by checking on “Is POS”. When you
+check this, you will notice that some fields get hidden and some new ones
+emerge.
+
+> Tip: In retail, you may not create a separate Customer record for each
+customer. You can create a general Customer called “Walk-in Customer” and make
+all your transactions against this Customer record.
+
+#### Setting Up POS
+
+In ERPNext all Sales and Purchase transactions, like Sales Invoice, Quotation, Sales Order, Purchase Order etc. can be edited via the POS. There two steps to Setup POS:
+
+1. Enable POS View via (Setup > Customize > Feature Setup)
+2. Create a [POS Setting](/contents/setting-up/pos-setting) record
+
+#### Switch to POS View
+
+Open any sales / purchase transaction. Click on the Computer <i class="icon-desktop"></i> Icon.
+
+#### Different sections of the POS
+
+  * Update Stock: If this is checked, Stock Ledger Entries will be made when you “Submit” this Sales Invoice thereby eliminating the need for a separate Delivery Note.
+  * In your Items table, update inventory information like Warehouse (saved as default), Serial Number, or Batch Number if applicable.
+  * Update Payment Details like your Bank / Cash Account, Paid amount etc.
+  * If you are writing off certain amount. For example when you receive extra cash as a result of not having exact denomination of change, check on ‘Write off Outstanding Amount’ and set the Account.
+
+### Adding an Item
+
+At the billing counter, the retailer needs to select Items which the consumer
+buys. In the POS interface you can select an Item by two methods. One, is by
+clicking on the Item image and the other, is through the Barcode / Serial No.
+
+**Select Item** \- To select a product click on the Item image and add it into the cart. A cart is an area that prepares a customer for checkout by allowing to edit product information, adjust taxes and add discounts.
+
+**Barcode / Serial No** \- A Barcode / Serial No is an optical machine-readable representation of data relating to the object to which it is attached. Enter Barcode / Serial No in the box as shown in the image below and pause for a second, the item will be automatically added to the cart.
+
+![POS](/assets/manual_erpnext_com/old_images/erpnext/pos-add-item.png)
+
+> Tip: To change the quantity of an Item, enter your desired quantity in the
+quantity box. These are mostly used if the same Item is purchased in bulk.
+
+If your product list is very long use the Search field, type the product name
+in Search box.
+
+### Removing an Item
+
+There are two ways to remove an Item.
+
+  * Select an Item by clicking on the row of that Item from Item cart. Then click on “Del” button. OR
+
+  * Enter 0(zero) quantity of any item to delete that item.
+
+To remove multiple Items together, select multiple rows & click on “Del”
+button.
+
+> Delete button appears only when Items are selected.
+
+![POS](/assets/manual_erpnext_com/old_images/erpnext/pos-remove-item.png)
+
+### Make Payment
+
+After all the Items and their quantities are added into the cart, you are
+ready to make the Payment. Payment process is divided into 3 steps -
+
+  1. Click on “Make Payment” to get the Payment window.
+  2. Select your “Mode of Payment”.
+  3. Click on “Pay” button to Save the document.
+
+![POS Payment](/assets/manual_erpnext_com/old_images/erpnext/pos-make-payment.png)
+
+Submit the document to finalise the record. After the document is submitted,
+you can either print or email it directly to the customer.
+
+#### Accounting entries (GL Entry) for a Point of Sale:
+
+Debits:
+
+  * Customer (grand total) 
+  * Bank / Cash (payment)
+
+Credits:
+
+  * Income (net total, minus taxes for each Item) 
+  * Taxes (liabilities to be paid to the government)
+  * Customer (payment)
+  * Write Off (optional)
+
+To see entries after “Submit”, click on “View Ledger”.
+
+{next}
diff --git a/erpnext/docs/user/accounts/purchase-invoice.md b/erpnext/docs/user/accounts/purchase-invoice.md
new file mode 100644
index 0000000..ba7d270
--- /dev/null
+++ b/erpnext/docs/user/accounts/purchase-invoice.md
@@ -0,0 +1,71 @@
+Purchase Invoice is the exact opposite of your Sales Invoice. It is the bill
+that your Supplier sends you for products or services delivered. Here you
+accrue expenses to your Supplier. Making a Purchase Invoice is very similar to
+making a Purchase Order.
+
+To make a new Purchase Invoice, go to:
+
+> Accounts > Documents > Purchase Invoice > New Purchase Invoice
+
+or click on “Make Purchase Invoice” in Purchase Order or Purchase Receipt.
+
+<img class="screenshot" alt="Purchase Invoice" src="/assets/manual_erpnext_com/img/accounts/purchase-invoice.png">
+
+The concept of “Posting Date” is again same as Sales Invoice. “Bill No” and
+“Bill Date” helps to track the bill number as set by your Supplier for
+reference.
+
+#### Accounting Impact
+
+Like in Sales Invoice, you have to enter an Expense or an Asset account for
+each row in your Items table. This helps to indicate if the Item is an Asset
+or an Expense. You must also enter a Cost Center. These can also be set in the
+Item master.
+
+The Purchase Invoice will affect your accounts as follows:
+
+Accounting entries (GL Entry) for a typical double entry “purchase”:
+
+Debits:
+
+  * Expense or Asset (net totals, excluding taxes)
+  * Taxes (/assets if VAT-type or expense again).
+
+Credits:
+
+  * Supplier
+
+To see entries in your Purchase Invoice after you “Submit”, click on “View
+Ledger”.
+
+* * *
+
+#### Is purchase an “Expense” or an “Asset”?
+
+If the Item is consumed immediately on purchase, or if it is a service, then
+the purchase becomes an “Expense”. For example, a telephone bill or travel
+bill is an “Expense” - it is already consumed.
+
+For inventory Items, that have a value, these purchases are not yet “Expense”,
+because they still have a value while they remain in your stock. They are
+“Assets”. If they are raw-materials (used in a process), they will become
+“Expense” the moment they are consumed in the process. If they are to be sold
+to a Customer, they become “Expense” when you ship them to the Customer.
+
+* * *
+
+#### Deducting Taxes at Source
+
+In many countries, the law may require you to deduct taxes, while paying your
+suppliers. These taxes could be based on a standard rate. Under these type of
+schemes, typically if a Supplier crosses a certain threshold of payment, and
+if the type of product is taxable, you may have to deduct some tax (which you
+pay back to your government, on your Supplier’s behalf).
+
+To do this, you will have to make a new Tax Account under “Tax Liabilities” or
+similar and credit this Account by the percent you are bound to deduct for
+every transaction.
+
+For more help, please contact your Accountant!
+
+{next}
diff --git a/erpnext/docs/user/accounts/sales-invoice.md b/erpnext/docs/user/accounts/sales-invoice.md
new file mode 100644
index 0000000..4b6c70a
--- /dev/null
+++ b/erpnext/docs/user/accounts/sales-invoice.md
@@ -0,0 +1,74 @@
+A Sales Invoice is a bill that you send to your customers, against which the customer processes the payment. Sales Invoice is an accounting transaction. On submission of Sales Invoice,  the system updates the receivable and books income against a Customer Account.
+
+You can create a Sales Invoice directly from
+
+> Accounting > Documents > Sales Invoice > New Sales Invoice
+
+or Click on Make Invoice at the right hand corner of the Delivery Note.
+
+<img class="screenshot" alt="Sales Invoice" src="/assets/manual_erpnext_com/img/accounts/sales-invoice.png">
+
+#### Accounting Impact
+
+All Sales must be booked against an “Income Account”. This refers to an
+Account in the “Income” section of your Chart of Accounts. It is a good
+practice to classify your income by type (like product income, service income
+etc). The Income Account must be set for each row of the Items table.
+
+> Tip: To set default Income Accounts for Items, you can set it in the Item or
+Item Group.
+
+The other account that is affected is the Account of the Customer. That is
+automatically set from “Debit To” in the heading section.
+
+You must also mention the Cost Centers in which your Income must be booked.
+Remember that your Cost Centers tell you the profitability of the different
+lines of business or product. You can also set a default Cost Center in the
+Item master.
+
+#### Accounting entries (GL Entry) for a typical double entry “Sale”:
+
+When booking a sale (accrual):
+
+**Debit:** Customer (grand total) **Credit:** Income (net total, minus taxes for each Item) **Credit:** Taxes (liabilities to be paid to the government)
+
+> To see entries in your Sales Invoice after you “Submit”, click on “View
+Ledger”.
+
+#### Dates
+
+Posting Date: The date on which the Sales Invoice will affect your books of
+accounts i.e. your General Ledger. This will affect all your balances in that
+accounting period.
+
+Due Date: The date on which the payment is due (if you have sold on credit).
+This can be automatically set from the Customer master.
+
+#### Recurring Invoices
+
+If you have a contract with a Customer where you bill the Customer on a
+monthly, quarterly, half-yearly or annual basis, you can check the “Recurring
+Invoice” box. Here you can fill in the details of how frequently you want to
+bill this Invoice and the period for which the contract is valid.
+
+ERPNext will automatically create new Invoices and mail it to the email ids
+you set.
+
+* * *
+
+#### "Pro Forma" Invoice
+
+If you want to give an Invoice to a Customer to make a payment before you
+deliver, i.e. you operate on a payment first basis, you should create a
+Quotation and title it as a “Pro-forma Invoice” (or something similar) using
+the Print Heading feature.
+
+“Pro Forma” means for formality. Why do this? Because if you book a Sales
+Invoice it will show up in your “Accounts Receivable” and “Income”. This is
+not ideal as your Customer may or may not decide to pay up. But since your
+Customer wants an “Invoice”, you could give the Customer a Quotation (in
+ERPNext) titled as “Pro Forma Invoice”. This way everyone is happy.
+
+This is a fairly common practice. We follow this at Frappe too.
+
+{next}
diff --git a/erpnext/docs/user/accounts/setup/accounts-settings.md b/erpnext/docs/user/accounts/setup/accounts-settings.md
new file mode 100644
index 0000000..e1f0d11
--- /dev/null
+++ b/erpnext/docs/user/accounts/setup/accounts-settings.md
@@ -0,0 +1,10 @@
+
+<img class="screenshot" alt="Account Settings" src="/assets/manual_erpnext_com/img/accounts/account-settings.png">
+
+* Accounts Frozen Upto: Freeze accounting transactions upto specified date, nobody can make / modify entry except specified role.
+
+* Role Allowed to Set Frozen Accounts & Edit Frozen Entries: Users with this role are allowed to set frozen accounts and create / modify accounting entries against frozen accounts.
+
+* Credit Controller: Role that is allowed to submit transactions that exceed credit limits set.
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/accounts/setup/cost-center.md b/erpnext/docs/user/accounts/setup/cost-center.md
new file mode 100644
index 0000000..d433fe4
--- /dev/null
+++ b/erpnext/docs/user/accounts/setup/cost-center.md
@@ -0,0 +1,78 @@
+Your Chart of Accounts is mainly designed to provide reports to the government
+and tax authorities. Most businesses have multiple activities like different
+product lines, market segments, areas of business, etc that share some common
+overheads. They should ideally have their own structure to report, whether they
+are profitable or not. For this purpose, there is an alternate structure,
+called the Chart of Cost Centers.
+
+### Cost Center
+
+You can create a tree of Cost Centers to represent your business better. Each
+Income / Expense entry is also tagged against a Cost Center.
+
+For example, if you have two types of sales:
+
+  * Walk-in Sales
+  * Online Sales
+
+You may not have shipping expenses for your walk-in customers, and no shop-
+rent for your online customers. If you want to get the profitability of each
+of these separately, you should create the two as Cost Centers and mark all
+sales as either "Walk-in" or "Online". Mark your all your purchases in the
+same way.
+
+Thus when you do your analysis you get a better understanding as to which side
+of your business is doing better. Since ERPNext has an option to add multiple
+Companies, you can create Cost Centers for each Company and manage it
+separately.
+
+Chart of Cost Centers
+
+To setup your Chart of Cost Centers go to:
+
+> Accounts > Setup > Chart of Cost Centers
+
+![Chart of Cost Center](/assets/manual_erpnext_com/old_images/erpnext/chart-of-cost-centers.png)
+
+Cost centers help you in one more activity, budgeting.
+
+### Budgeting
+
+ERPNext will help you set and manage budgets on your Cost Centers. This is
+useful when, for example, you are doing online sales. You have a budget for
+search ads, and you want ERPNext to stop or warn you from over spending, based
+on that budget.
+
+Budgets are also great for planning purposes. When you are making plans for
+the next financial year, you would typically target a revenue based on which
+you would set your expenses. Setting a budget will ensure that your expenses
+do not get out of hand, at any point, as per your plans.
+
+You can define it in the Cost Center. If you have seasonal sales you can also
+define a budget distribution that the budget will follow.
+
+> Accounts > Setup > Budget Distribution > New Budget Distribution
+
+![Budget Distribution](/assets/manual_erpnext_com/old_images/erpnext/budgeting.png)
+
+#### Budget Actions
+
+ERPNext allows you to either:
+
+  * Stop.
+  * Warn or, 
+  * Ignore 
+
+if you exceed budgets.
+
+These can be defined from the Company record.
+
+Even if you choose to “ignore” budget overruns, you will get a wealth of
+information from the “Budget vs Actual” variance report.
+
+> Note: When you set a budget, it has to be set as per Account under the Cost
+Center. For example if you have a Cost Center “Online Sales”, you can restrict
+“Advertising Budget” by creating a row with that Account and defining the
+amount.
+
+{next}
diff --git a/erpnext/docs/user/accounts/setup/fiscal-year.md b/erpnext/docs/user/accounts/setup/fiscal-year.md
new file mode 100644
index 0000000..b8cf34b
--- /dev/null
+++ b/erpnext/docs/user/accounts/setup/fiscal-year.md
@@ -0,0 +1,23 @@
+A fiscal year is also known as a financial year or a budget year. It is used
+for calculating financial statements in businesses and other organisations.
+The fiscal year may or may not be the same as a calendar year. For tax
+purposes, companies can choose to be calendar-year taxpayers or fiscal-year
+taxpayers. In many jurisdictions, regulatory laws regarding accounting and
+taxation require such reports once per twelve months. However, it is not
+mandatory that the period should be a calendar year (that is, 1 January to 31
+December).
+
+A fiscal year usually starts at the beginning of a quarter, such as April 1,
+July 1 or October 1. However, most companies' fiscal year also coincides with
+the calendar year, which starts January 1. For the most part, it is simpler
+and easier that way. For some organizations, there are advantages in starting
+the fiscal year at a different time. For example, businesses that are seasonal
+might start their fiscal year on July 1 or October 1. A business that has most
+of its income in the fall and most of its expenses in the spring might also
+choose to start its fiscal year on October 1. That way, they know what their
+income will be for that year, and can adjust their expenses to maintain their
+desired profit margins.
+
+<img class="screenshot" alt="Fiscal Year" src="/assets/manual_erpnext_com/img/accounts/fiscal-year.png">
+
+{next}
diff --git a/erpnext/docs/user/accounts/setup/index.md b/erpnext/docs/user/accounts/setup/index.md
new file mode 100644
index 0000000..7b45044
--- /dev/null
+++ b/erpnext/docs/user/accounts/setup/index.md
@@ -0,0 +1,3 @@
+### Topics
+
+{index}
\ No newline at end of file
diff --git a/erpnext/docs/user/accounts/setup/index.txt b/erpnext/docs/user/accounts/setup/index.txt
new file mode 100644
index 0000000..916f96c
--- /dev/null
+++ b/erpnext/docs/user/accounts/setup/index.txt
@@ -0,0 +1,4 @@
+fiscal-year
+cost-center
+accounts-settings
+tax-rule
\ No newline at end of file
diff --git a/erpnext/docs/user/accounts/setup/tax-rule.md b/erpnext/docs/user/accounts/setup/tax-rule.md
new file mode 100644
index 0000000..b183717
--- /dev/null
+++ b/erpnext/docs/user/accounts/setup/tax-rule.md
@@ -0,0 +1,21 @@
+You can define which [Tax Template](/contents/setting-up/setting-up-taxes) must be applied on a Sales / Purchase transaction using Tax Rule.
+
+<img class="screenshot" alt="Tax Rule" src="/assets/manual_erpnext_com/img/accounts/tax-rule.png">
+
+You can define Tax Rules for Sales or Purchase Taxes. 
+While making a Transaction the system will select and apply tax template based on the tax rule defined.
+The system selects Tax Rule with maximum matching Filters.
+
+Let us consider a senario to understand Tax Rule Better.
+
+Suppose we define 2 Tax Rules as below.
+
+<img class="screenshot" alt="Tax Rule" src="/assets/manual_erpnext_com/img/accounts/tax-rule-1.png">
+
+<img class="screenshot" alt="Tax Rule" src="/assets/manual_erpnext_com/img/accounts/tax-rule-2.png">
+
+Here Tax Rule 1 has Billing Country as India and Tax Rule 2 has Billing Country as United Kingdom
+
+Now supposed we try to create a Sales Order for a customer whose default Billing Country is India, system shall select Tax Rule 1.
+In case the customers Billing Country was United Kingdom, the system would have selected Tax Rule 2.
+
diff --git a/erpnext/docs/user/accounts/tools/bank-reconciliation.md b/erpnext/docs/user/accounts/tools/bank-reconciliation.md
new file mode 100644
index 0000000..81c5e24
--- /dev/null
+++ b/erpnext/docs/user/accounts/tools/bank-reconciliation.md
@@ -0,0 +1,52 @@
+### Bank Reconciliation Statement
+
+A Bank Reconciliation is a process that explains the difference between the
+bank balance shown in an organisation's bank statement, as supplied by the
+bank, and the corresponding amount shown in the organisation's own accounting
+records at a particular point in time.  
+
+Such differences may occur, for example, because a cheque or a list of cheques
+issued by the organisation has not been presented to the bank, a banking
+transaction, such as a credit received, or a charge made by the bank, has not
+yet been recorded in the organisations books, or either the bank or the
+organisation itself has made an error.
+
+The Bank Reconciliation statement in ERPNext comes in the form of a report.
+
+#### Figure 1: Bank Reconciliation Statement
+
+![](/assets/manual_erpnext_com/old_images/erpnext/bank-reconciliation-2.png)  
+
+  
+
+When you get the report, check whether the field 'Balance as per bank' matches
+the Bank Account Statement. If there is a match then all the clearance dates
+are updated. If there is a mismatch then check clearance dates and journal
+entries.
+
+To add clearance entries go to Accounts > Tools > Bank Reconciliation
+
+### Bank Reconciliation Tool
+
+The Bank Reconciliation tool in ERPNext, helps add clearance dates to the
+account statements. To Reconcile cheque payments go to Accounts and click on
+Bank Reconciliation.  
+
+__Step 1:__ Select the Bank Account against which you intend to reconcile. For
+example; HDFC Bank, ICICI Bank, or Citibank etc.
+
+__Step 2:__ Select the Date range that you wish to reconcile for.
+
+__Step 3:__ Click on 'Get Reconciled Entries'
+
+All the entries in the specified date range will be shown in a table below.
+
+__Step 4:__ Click on the JV from the table and update clearance date.
+
+#### Figure 2: Bank Reconciliation Tool
+
+<img class="screenshot" alt="Bank Reconciliation" src="/assets/manual_erpnext_com/img/accounts/bank-reconciliation.png">
+
+__Step 5:__ Click on the button 'Update Clearance Date'.
+ 
+{next}
diff --git a/erpnext/docs/user/accounts/tools/index.md b/erpnext/docs/user/accounts/tools/index.md
new file mode 100644
index 0000000..7b45044
--- /dev/null
+++ b/erpnext/docs/user/accounts/tools/index.md
@@ -0,0 +1,3 @@
+### Topics
+
+{index}
\ No newline at end of file
diff --git a/erpnext/docs/user/accounts/tools/index.txt b/erpnext/docs/user/accounts/tools/index.txt
new file mode 100644
index 0000000..7f93166
--- /dev/null
+++ b/erpnext/docs/user/accounts/tools/index.txt
@@ -0,0 +1,4 @@
+bank-reconciliation
+payment-reconciliation
+period-closing-voucher
+payment-tool
\ No newline at end of file
diff --git a/erpnext/docs/user/accounts/tools/payment-reconciliation.md b/erpnext/docs/user/accounts/tools/payment-reconciliation.md
new file mode 100644
index 0000000..1508923
--- /dev/null
+++ b/erpnext/docs/user/accounts/tools/payment-reconciliation.md
@@ -0,0 +1,31 @@
+Reconciliation is an accounting process used to compare two sets of records to
+ensure the figures are in agreement and are accurate. It is the key process
+used to determine whether the money leaving an account matches the amount
+spent, ensuring the two values are balanced at the end of the recording
+period. In Payment Reconciliation, the invoices are matched against the
+payments made to the bank. Thus if you have many payments which are not
+reconciled with their respective invoices, you can use the payment
+reconciliation tool.
+
+To use Payment Reconciliation Tool go to,
+
+Accounts > Tools > Payment Reconciliation
+
+<img class="screenshot" alt="Payment Reconciliation" src="/assets/manual_erpnext_com/img/accounts/payment-reconcile-tool.png">
+
+__Step 1:__ Select the Account against whom the payments need to be reconciled.
+
+__Step 2:__ Mention the Voucher Type, whether it is Purchase Invoice, Sales
+Invoice or Journal Entry.
+
+__Step 3:__ Select the Voucher Number and click on 'Get Unreconcilled Entries'.  
+
+* All the payment entries will be pulled into a table below.
+
+__Step 4:__ Click on the entry row to allocate a particular amount.
+
+__Step 5:__ Click on the button 'Reconcile'
+
+* You will get a message that says 'Amount allocated successfully'
+
+{next}
diff --git a/erpnext/docs/user/accounts/tools/payment-tool.md b/erpnext/docs/user/accounts/tools/payment-tool.md
new file mode 100644
index 0000000..9a60e46
--- /dev/null
+++ b/erpnext/docs/user/accounts/tools/payment-tool.md
@@ -0,0 +1,24 @@
+###Payment Tool
+The Payment Tool Feature allows non-accounting personnel to generate Journal Entrys by populating relevant fields in the Journal Entry with account and payment details.
+
+To go to Payment Tool, click on Accounts > Tools > Payment Tool.
+
+1. Select the Company Name.
+2. Select the Party Type (Customer or Supplier) and the name of the customer or supplier against whom the payment has been made or received.
+3. Use the Received Or Paid field to specify 'Received' if payment is being received or 'Paid' if User is making the payment.
+4. Select the Mode of Payment and the Payment Account .
+5. Enter the Reference Number and Reference Date of the payment, for instance, the Cheque no. and Cheque date in case the payment is being made by cheque.
+6. Click on Get Outstanding Vouchers to fetch all the valid Vouchers, Invoices and Orders against which a payment can be made/received. These will appear in the Against Voucher section.
+	* __Note:__ In case User is paying a customer or receiving payment from a supplier, add the details regarding the relevant invoices and orders manually.
+
+<img class="screenshot" alt="Payment Tool" src="/assets/manual_erpnext_com/img/accounts/payment-tool-1.png">
+
+7. Once details have been fetched, click on the detail entry and enter the payment amount made against that Invoice/Order/Voucher
+
+<img class="screenshot" alt="Payment Tool" src="/assets/manual_erpnext_com/img/accounts/payment-tool-2.png">
+
+8. Click on 'Make Journal Entry' to generate a new Journal Entry with the relevant Party Details and Credit/Debit details filled in.
+
+<img class="screenshot" alt="Payment Tool" src="/assets/manual_erpnext_com/img/accounts/payment-tool-3.png">
+	
+{next}
diff --git a/erpnext/docs/user/accounts/tools/period-closing-voucher.md b/erpnext/docs/user/accounts/tools/period-closing-voucher.md
new file mode 100644
index 0000000..17e40c0
--- /dev/null
+++ b/erpnext/docs/user/accounts/tools/period-closing-voucher.md
@@ -0,0 +1,30 @@
+At the end of every year or (quarterly or maybe even monthly), after completing auditing, you can close your books of accounts. This means that you make all your special entries like:
+
+  * Depreciation
+  * Change in value of Assets
+  * Defer taxes and liabilities
+  * Update bad debts
+
+etc. and book your Profit or Loss.
+
+By doing this, your balance in your Income and Expense Accounts become zero. You start a new Fiscal Year (or period) with a balanced Balance Sheet and fresh Profit and Loss account.
+
+In ERPNext after making all the special entries via Journal Entry for the current fiscal year, you should set all your Income and Expense accounts to zero via:
+
+> Accounts > Tools > Period Closing Voucher
+
+**Posting Date** will be when this entry should be executed. If your Fiscal Year ends on 31st December, then that date should be selected as Posting Date in the Period Closing Voucher.
+
+**Transaction Date** will be Period Closing Voucher's creation date.
+
+**Closing Fiscal Year** will be an year for which you are closing your financial statement.
+
+<img class="screenshot" alt="Period Closing Voucher" src="/assets/manual_erpnext_com/img/accounts/period-closing-voucher.png">
+
+This voucher will transfer Profit or Loss (availed from P&L statment) to Closing Account Head. You should select a libility account like Reserves and Surplus, or Capital Fund account as Closing Account.
+
+The Period Closing Voucher will make accounting entries (GL Entry) making all your Income and Expense Accounts zero and transferring Profit/Loss balance to the Closing Account.
+
+<div class=well>If accounting entries are made in a closing fiscal year, even after Period Closing Voucher was created for that Fiscal Year, you should create another Period Closing Voucher. Later voucher will only transfer the pending P&L balance into Closing Account Head.</div>
+
+{next}
diff --git a/erpnext/docs/user/buying/index.md b/erpnext/docs/user/buying/index.md
new file mode 100644
index 0000000..55589ad
--- /dev/null
+++ b/erpnext/docs/user/buying/index.md
@@ -0,0 +1,15 @@
+# Buying
+
+If your business involves physical goods, buying is one of your core business
+activity. Your suppliers are as important as your customers and they must be
+provided with as much accurate information as possible.
+
+Buying in right amounts, in right quantities, can affect your cash flow and
+profitability.
+
+ERPNext contains a set of transactions that will make your buying process as
+efficient and seamless as possible.
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/buying/index.txt b/erpnext/docs/user/buying/index.txt
new file mode 100644
index 0000000..9c87d09
--- /dev/null
+++ b/erpnext/docs/user/buying/index.txt
@@ -0,0 +1,4 @@
+supplier
+supplier-quotation
+purchase-order
+setup
diff --git a/erpnext/docs/user/buying/purchase-order.md b/erpnext/docs/user/buying/purchase-order.md
new file mode 100644
index 0000000..29f6970
--- /dev/null
+++ b/erpnext/docs/user/buying/purchase-order.md
@@ -0,0 +1,86 @@
+A Purchase Order is analogous to a Sales Order. It is usually a binding
+contract with your Supplier that you promise to buy a set of Items under the
+given conditions.
+
+A Purchase Order can be automatically created from a Material Request or
+Supplier Quotation.
+
+#### Purchase Order Flow Chart
+
+![Purchase Order](/assets/manual_erpnext_com/old_images/erpnext/purchase-order-f.jpg)
+
+In ERPNext, you can also make a Purchase Order directly by going to:
+
+> Buying > Documents > Purchase Order > New Purchase Order
+
+#### Create Purchase Order
+
+<img class="screenshot" alt="Purchase Order" src="/assets/manual_erpnext_com/img/buying/purchase-order.png">
+
+Entering a Purchase Order is very similar to a Purchase Request, additionally
+you will have to set:
+
+  * Supplier.
+  * A “Required By” date on each Item: If you are expecting part delivery, your Supplier will know how much quantity to deliver at which date. This will help you from preventing over-supply. It will also help you to track how well your Supplier is doing on timeliness.
+
+### Taxes
+
+If your Supplier is going to charge you additional taxes or charge like a
+shipping or insurance charge, you can add it here. It will help you to
+accurately track your costs. Also, if some of these charges add to the value
+of the product you will have to mention them in the Taxes table. You can also
+use templates for your taxes. For more information on setting up your taxes
+see the Purchase Taxes and Charges Template.
+
+### Value Added Taxes (VAT)
+
+Many a times, the tax paid by you to a Supplier, for an Item, is the same tax
+which you collect from your Customer. In many regions, what you pay to your
+government is only the difference between what you collect from your Customer
+and what you pay to your Supplier. This is called Value Added Tax (VAT).
+
+For example you buy Items worth X and sell them for 1.3X. So your Customer
+pays 1.3 times the tax you pay your Supplier. Since you have already paid tax
+to your Supplier for X, what you owe your government is only the tax on 0.3X.
+
+This is very easy to track in ERPNext since each tax head is also an Account.
+Ideally you must create two Accounts for each type of VAT you pay and collect,
+“Purchase VAT-X” (asset) and “Sales VAT-X” (liability), or something to that
+effect. Please contact your accountant if you need more help or post a query
+on our forums!
+
+  
+
+#### Purchase UOM and Stock UOM Conversion
+
+You can change your UOM as per your stock requirements in the Purchase Order
+form.
+
+For example, If you have bought your raw material in large quantities with UOM
+-boxes, and wish to stock them in UOM- Nos; you can do so while making your
+Purchase Order.
+
+__Step 1:__ Store UOM as Nos in the Item form.
+
+Note: The UOM in the Item form is the stock UOM.
+
+__Step 2:__ In the Purchase Order mention UOM as Box. (Since material arrives in
+Boxes)
+
+__Step 3:__ In the Warehouse and Reference section, the UOM will be pulled in as
+Nos (from the Item form)
+
+#### Figure 3: Conversion of Purchase UOM to stock UOM
+
+
+<img class="screenshot" alt="Purchase Order - UOM" src="/assets/manual_erpnext_com/img/buying/purchase-order-uom.png">
+
+__Step 4:__ Mention the UOM conversion factor. For example, (100);If one box has
+100 pieces.  
+
+__Step 5:__  Notice that the stock quantity will be updated accordingly.
+
+__Step 6:__ Save and Submit the Form.
+
+  
+{next}
diff --git a/erpnext/docs/user/buying/purchase-taxes.md b/erpnext/docs/user/buying/purchase-taxes.md
new file mode 100644
index 0000000..e8b5de6
--- /dev/null
+++ b/erpnext/docs/user/buying/purchase-taxes.md
@@ -0,0 +1,38 @@
+For Tax Accounts that you want to use in the tax templates, you must mention
+them as type “Tax” in your Chart of Accounts.
+
+Similar to your Sales Taxes and Charges Template is the Purchase Taxes and
+Charges Master. This is the tax template that you can use in your Purchase
+Orders and Purchase Invoices.
+
+> Buying > Setup > Purchase Taxes and Charges Template > New Purchase Taxes and Charges
+Master
+
+![Purchase-Taxes](/assets/manual_erpnext_com/old_images/erpnext/purchase-taxes.png)
+
+  
+
+You can specify if the tax / charge is only for valuation (not a part of
+total) or only for total (does not add value to the item) or for both.
+
+If you select a particular tax as your Default tax, the system will apply this
+tax to all the purchase transactions by default. 
+
+### Calculation Type
+
+This can be on Net Total (that is the sum of basic amount). On Previous Row
+Total / Amount (for cumulative taxes or charges). If you select this option,
+the tax will be applied as a percentage of the previous row (in the tax table)
+amount or total. Actual (as mentioned).
+
+  * **Account Head:** The Account ledger under which this tax will be booked.
+  * **Cost Center:** If the tax / charge is an income (like shipping) or expense it needs to be booked against a Cost Center.
+  * **Description:** Description of the tax (that will be printed in invoices / quotes).
+  * **Rate:** Tax rate.
+  * **Amount:** Tax amount.
+  * **Total:** Cumulative total to this point.
+  * **Enter Row:** If based on "Previous Row Total" you can select the row number which will be taken as a base for this calculation (default is the previous row).
+  * **Consider Tax or Charge for:** In this section you can specify if the tax / charge is only for valuation (not a part of total) or only for total (does not add value to the item) or for both.
+  * **Add or Deduct:** Whether you want to add or deduct the tax.
+
+{next}
diff --git a/erpnext/docs/user/buying/setup/buying-settings.md b/erpnext/docs/user/buying/setup/buying-settings.md
new file mode 100644
index 0000000..22fd888
--- /dev/null
+++ b/erpnext/docs/user/buying/setup/buying-settings.md
@@ -0,0 +1,39 @@
+Buying Settings is where you can define properties which will be applied in the Buying module's transactions. 
+
+![Buying Settings](/assets/manual_erpnext_com/img/buying/buying-settings.png)
+
+Let us look at the various options that can be configured:
+
+### 1. Supplier Naming By
+
+When a Supplier is saved, system generates a unique identity or name for that Supplier which can be used to refer the Supplier in various Buying transactions.
+
+If not configured otherwise, ERPNext uses the Supplier's Name as the unique name. If you want to identify Suppliers using names like SUPP-00001, SUPP-00002, or such other patterned series, select the value of Supplier Naming By as "Naming Series".
+
+You can define or select the Naming Series pattern from:
+
+> Setup > Settings > Naming Series
+
+[Click here to know more about defining a Naming Series.](/contents/setting-up/settings/naming-series)
+
+### 2. Default Supplier Type
+
+Configure what should be the value of Supplier Type when a new Supplier is created.
+
+### 3. Default Buying Price List
+
+Configure what should be the value of Buying Price List when a new Buying transaction is created.
+
+### 4. Maintain Same Rate Throughout Purchase Cycle
+
+If this is checked, ERPNext will stop you if you change the Item's price in a Purchase Invoice or Purchase Receipt created based on a Purchase Order, i.e. it will maintain the same price throughout the purchase cycle. If there is a requirement where you need the Item's price to change, you should uncheck this option.
+
+### 5. Purchase Order Required
+
+If this option is configured "Yes", ERPNext will prevent you from creating a Purchase Invoice or a Purchase Receipt without first creating a Purchase Order.
+
+### 6. Purchase Receipt Required
+
+If this option is configured "Yes", ERPNext will prevent you from creating a Purchase Invoice without first creating a Purchase Receipt.
+
+{next}
diff --git a/erpnext/docs/user/buying/setup/index.md b/erpnext/docs/user/buying/setup/index.md
new file mode 100644
index 0000000..259b5eb
--- /dev/null
+++ b/erpnext/docs/user/buying/setup/index.md
@@ -0,0 +1,4 @@
+
+### Topics
+
+{index}
\ No newline at end of file
diff --git a/erpnext/docs/user/buying/setup/index.txt b/erpnext/docs/user/buying/setup/index.txt
new file mode 100644
index 0000000..980e226
--- /dev/null
+++ b/erpnext/docs/user/buying/setup/index.txt
@@ -0,0 +1,2 @@
+buying-settings
+supplier-type
\ No newline at end of file
diff --git a/erpnext/docs/user/buying/setup/supplier-type.md b/erpnext/docs/user/buying/setup/supplier-type.md
new file mode 100644
index 0000000..356d810
--- /dev/null
+++ b/erpnext/docs/user/buying/setup/supplier-type.md
@@ -0,0 +1,28 @@
+A supplier may be distinguished from a contractor or subcontractor, who
+commonly adds specialized input to deliverables. A supplier is also known as a
+vendor. There are different types of suppliers based on their goods and
+products.
+
+ERPNext allows you to create your own categories of suppliers. These
+categories are known as Supplier Type. For Example, if your suppliers are
+mainly pharmaceutical companies and FMCG distributors, You can create a new
+Type for them and name them accordingly.
+
+Based on what the suppliers supply, they are classified into different
+categories called Supplier Type. There can be different types of suppliers.
+You can create your own category of Supplier Type.
+
+> Buying > Setup > Supplier Type > New Supplier Type
+
+<img class="screenshot" alt="Supplier Type" src="/assets/manual_erpnext_com/img/buying/supplier-type.png">
+
+You can classify your suppliers from a range of choice available in ERPNext.
+Choose from a set of given options like Distributor, Electrical,Hardware,
+Local, Pharmaceutical, Raw material, Services etc.
+
+Classifying your supplier into different types facilitates accounting and
+payments.
+
+Type your new supplier category and Save.
+
+{next}
diff --git a/erpnext/docs/user/buying/supplier-quotation.md b/erpnext/docs/user/buying/supplier-quotation.md
new file mode 100644
index 0000000..8419e49
--- /dev/null
+++ b/erpnext/docs/user/buying/supplier-quotation.md
@@ -0,0 +1,33 @@
+A Supplier Quotation is a formal statement of promise by potential supplier to
+supply the goods or services required by a buyer, at specified prices, and
+within a specified period. A quotation may also contain terms of sale and
+payment, and warranties. Acceptance of quotation by the buyer constitutes an
+agreement binding on both parties.
+
+You can make a supplier quotation from a Material Request
+
+#### Supplier Quotation Flow-Chart
+
+![Supplier Quotation](/assets/manual_erpnext_com/old_images/erpnext/supplier-quotation-f.jpg)
+
+You can also make a Supplier Quotation directly from:
+
+> Buying > Documents > Supplier Quotation > New Supplier Quotation
+
+#### Create Supplier Quotation
+
+<img class="screenshot" alt="Supplier Quotation" src="/assets/manual_erpnext_com/img/buying/supplier-quotation.png">
+
+If you have multiple Suppliers who supply you with the same Item, you
+usually send out a message (Request for Quote) to various Suppliers. In
+many cases, especially if you have centralized buying, you may want to record
+all the quotes so that
+
+  * You can easily compare prices in the future 
+  * Audit whether all Suppliers were given the opportunity to quote.
+
+Supplier Quotations are not necessary for most small businesses. Always
+evaluate the cost of collecting information to the value it really provides!
+You could only do this for high value items.
+
+{next}
diff --git a/erpnext/docs/user/buying/supplier.md b/erpnext/docs/user/buying/supplier.md
new file mode 100644
index 0000000..e31955f
--- /dev/null
+++ b/erpnext/docs/user/buying/supplier.md
@@ -0,0 +1,37 @@
+Suppliers are companies or individuals who provide you with products or
+services. They are treated in exactly the same manner as Customers in ERPNext.
+
+You can create a new Supplier via:
+
+> Buying > Documents > Supplier > New Supplier
+
+<img class="screenshot" alt="Supplier Master" src="/assets/manual_erpnext_com/img/buying/supplier-master.png">
+
+### Contacts and Addresses
+
+Contacts and Addresses in ERPNext are stored separately so that you can attach
+multiple Contacts or Addresses to Customers and Suppliers. To add a Contact or
+Address go to Buying and click on “New Contact” or “New Address”.
+
+> Tip: When you select a Supplier in any transaction, one Contact and Address
+gets pre-selected. This is the “Default Contact or Address”. So make sure you
+set your defaults correctly!
+
+### Integration with Accounts
+
+In ERPNext, there is a separate Account record for each Supplier, of Each
+company.
+
+When you create a new Supplier, ERPNext will automatically create an Account
+Ledger for the Supplier under “Accounts Payable” in the Company set in the
+Supplier record.
+
+> Advanced Tip: If you want to change the Account Group under which the
+Supplier Account is created, you can set it in the Company master.
+
+If you want to create an Account in another Company, just change the Company
+value and “Save” the Supplier again.
+
+> Tip: You can also import from the Data Import Tool
+
+{next}
diff --git a/erpnext/docs/user/collaboration-tools/assignment.md b/erpnext/docs/user/collaboration-tools/assignment.md
new file mode 100644
index 0000000..51948ee
--- /dev/null
+++ b/erpnext/docs/user/collaboration-tools/assignment.md
@@ -0,0 +1,40 @@
+Assign To feature in ERPNext allows you to allocate particular document to specific user, whom needs to further work on that document.
+
+For example, if Sales Order needs to be approved/submitted by Sales Manager, first draft user can allocate that Sales Order to Sales Manager. On allocating document to Sales Manager, it will be added to that user's ToDo list. Same way, allocation can also be done to Material User and Account user who needs to create Delivery Note and Sales Invoice respectively against this Sales Note.
+
+<div class=well>Permissions restriction cannot be done based on Assigned To</div>
+
+Following are the steps to assign document to another user.
+
+#### Step 1: Click on the Assign To Button
+
+Assign to option is located at the footer of document. Clicking on Assignment Icon on the tool bar will fast-forward you to footer of same document.
+
+![Assigned To Icon](/assets/manual_erpnext_com/old_images/erpnext/assigned-to-icon.png)
+
+
+![Assigned To](/assets/manual_erpnext_com/old_images/erpnext/assigned-to.png)
+
+#### Step 2: Assign to User
+
+In the Assign To section, you will find option to select User to whom this document will be assigned to. You can assign one document to multiple people at a time.
+
+![Assign User](/assets/manual_erpnext_com/old_images/erpnext/assign-user.png)
+
+With assignment, you can also leave a comment for the review of asignee.
+
+####ToDo List of Assignee
+
+This transaction will appear in the To-do list of the ser in “Todo” section.
+
+![Assign Todo](/assets/manual_erpnext_com/old_images/erpnext/assign-todo.png)
+
+####Removing Assignment
+
+User will be able to remove assignment by clicking on "Assignment Completed" button in the document.
+
+![Assign Remove](/assets/manual_erpnext_com/old_images/erpnext/assign-remove.png)
+
+Once assignment is set as completed, Status of its ToDo record will be set as Closed.
+
+{next}
diff --git a/erpnext/docs/user/collaboration-tools/calendar.md b/erpnext/docs/user/collaboration-tools/calendar.md
new file mode 100644
index 0000000..9874eb9
--- /dev/null
+++ b/erpnext/docs/user/collaboration-tools/calendar.md
@@ -0,0 +1,63 @@
+The Calendar is a tool where you can create and share Events and also see
+auto-generated events from the system.
+
+You can switch calender view based on Month, Week and Day.
+
+###Creating Events in Calender
+
+####Creating Event Manually
+
+To create event manually, you should first determine Calender View. If Event's start and end time will be within one day, then you should first switch to Day view.
+
+This view will 24 hours of a day broken in various slots. You should click on slot for Event Start Time, and drag it down till you reach event end time.
+
+![Calender Event Manually](/assets/manual_erpnext_com/old_images/erpnext/calender-event-manually.png)
+
+Based on the selection of time slot, Start Time and End Time will be updated in the Event master. Then you can set subject for an event, and save it.
+
+####Event Based on Lead
+
+In the Lead form, you will find a field called Next Contact By and Next Contact Date. Event will be auto created for date and person person specified in this field.
+
+![Calender Event Lead](/assets/manual_erpnext_com/old_images/erpnext/calender-event-lead.png)
+
+####Birthday Event
+
+Birthday Event is created based on Date of Birth specified in the Employee master.
+
+###Recurring Events
+
+You can set events as recurring in specific interval by Checking the "Repeat This
+Event".
+
+![Calender Event Recurring](/assets/manual_erpnext_com/old_images/erpnext/calender-event-recurring.png)
+
+###Permission for Event
+
+You can set Event as Private or Public. Private Events will be visible only to you, and if any other user selected in the participants table. Instead of User, you can also assign permission for event based on Role.
+
+Public Event, like Birthday will be visible to all.
+
+![Calender Event Permission](/assets/manual_erpnext_com/old_images/erpnext/calender-event-permission.png)
+
+###Event Reminders
+
+There are two ways you can receive email reminder for an event.
+
+####Enable Reminder in Event
+
+In the Event master, checking "Send an email reminder in the morning" will trigger notifcation email to all the participants for this event.
+
+![Calender Event Notification](/assets/manual_erpnext_com/old_images/erpnext/calender-event-notification.png)
+
+####Create Email Digest
+
+To get email reminders for event, you should set Email Digest for Calender Events.
+
+Email Digest can be set from:
+
+`Setup > Email > Email Digest`
+
+![Calender Email Digest](/assets/manual_erpnext_com/old_images/erpnext/calender-email-digest.png)
+
+{next}
diff --git a/erpnext/docs/user/collaboration-tools/collaborating-around-forms.md b/erpnext/docs/user/collaboration-tools/collaborating-around-forms.md
new file mode 100644
index 0000000..103e3a2
--- /dev/null
+++ b/erpnext/docs/user/collaboration-tools/collaborating-around-forms.md
@@ -0,0 +1,19 @@
+### Assigned to
+
+You can email any transaction from the system by clicking on the “Assigned to”
+button in the right sidebar. A log of all your sent emails will be maintained
+in Communication.
+
+![Forms](/assets/manual_erpnext_com/old_images/erpnext/forms.png)
+
+### Comments
+
+Comments are a great way to add information about a transaction that is not a
+part of the transactions. Like some background information etc. Comments can
+be added in the right sidebar.
+
+### Tags
+
+[Read more about Tags](/contents/collaboration-tools/tags)  
+
+{next}
diff --git a/erpnext/docs/user/collaboration-tools/index.md b/erpnext/docs/user/collaboration-tools/index.md
new file mode 100644
index 0000000..93f080e
--- /dev/null
+++ b/erpnext/docs/user/collaboration-tools/index.md
@@ -0,0 +1,15 @@
+We live in an era when people are very comfortable communicating, discussing,
+asking, assigning work and getting feedback electronically. The Internet acts
+as a great medium to collaborate on work too. Taking this concept into ERP
+system, we have designed a bunch of tools whereby you can Assign transactions,
+manage your To Dos, share and maintain a Calendar, maintain a company wise
+Knowledge Base, Tag and Comment on transactions and send your Orders, Invoices
+etc via Email. You can also send instant messages to other users using the
+Messaging tool.
+
+These tools are integrated into all aspects of the product so that you can
+effectively manage your data and collaborate with your co-workers.
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/collaboration-tools/index.txt b/erpnext/docs/user/collaboration-tools/index.txt
new file mode 100644
index 0000000..d02b6d9
--- /dev/null
+++ b/erpnext/docs/user/collaboration-tools/index.txt
@@ -0,0 +1,7 @@
+to-do
+collaborating-around-forms
+messages
+notes
+calendar
+assignment
+tags
diff --git a/erpnext/docs/user/collaboration-tools/messages.md b/erpnext/docs/user/collaboration-tools/messages.md
new file mode 100644
index 0000000..102f6c9
--- /dev/null
+++ b/erpnext/docs/user/collaboration-tools/messages.md
@@ -0,0 +1,12 @@
+You can send and receive messages from the system by using the Messages tool.
+If you send a message to a user, and the user is logged in, it will appear as
+a popup message and the unread messages counter in the top toolbar will be
+updated.
+
+![Message List](/assets/manual_erpnext_com/old_images/erpnext/message-list.png)
+
+You can choose to send message to all the users, or to specific user.
+
+![Messsage To](/assets/manual_erpnext_com/old_images/erpnext/message-to.png)
+
+{next}
diff --git a/erpnext/docs/user/collaboration-tools/notes.md b/erpnext/docs/user/collaboration-tools/notes.md
new file mode 100644
index 0000000..5111cd1
--- /dev/null
+++ b/erpnext/docs/user/collaboration-tools/notes.md
@@ -0,0 +1,21 @@
+You can store your long notes under this section. It can contain your partner lists, frequently used passwords, terms and conditions, or any other document which needs to be shared. Following are the steps to create new Note.
+
+####Go to Note
+
+`Home > Note > New`
+
+####Notes Details
+
+Enter Title and Context.
+
+![Note](/assets/manual_erpnext_com/old_images/erpnext/note.png)
+
+####Set Permissions to select Users
+
+To make Note accessible for all, check "Public" under links section. If specific Note is to be made accessible to specific user, they shall be selected in the Share With table.
+
+![Note Permission](/assets/manual_erpnext_com/old_images/erpnext/note-permission.png)
+
+<div class=well>Notes can also be used as a knowledge base internally. You can also attach file in the Notes, and make it accessible to specific set of users only.</div>
+
+{next}
diff --git a/erpnext/docs/user/collaboration-tools/tags.md b/erpnext/docs/user/collaboration-tools/tags.md
new file mode 100644
index 0000000..76adb4f
--- /dev/null
+++ b/erpnext/docs/user/collaboration-tools/tags.md
@@ -0,0 +1,5 @@
+Like Assignments and Comments, you can also add your own tags to each type of transactions. These tags can help you search a document and also classify it. ERPNext will also show you all the important tags in the document list.
+
+![Tags](/assets/manual_erpnext_com/old_images/erpnext/tags-in-list.png)
+
+{next}
diff --git a/erpnext/docs/user/collaboration-tools/to-do.md b/erpnext/docs/user/collaboration-tools/to-do.md
new file mode 100644
index 0000000..a816bd2
--- /dev/null
+++ b/erpnext/docs/user/collaboration-tools/to-do.md
@@ -0,0 +1,10 @@
+To Do is a simple tool where all the activities [assigned](https://erpnext.com/collaboration-tools/assignment) to you and assigned
+by you are listed. You can also add your own to-do items in the list.
+
+![Todo List](/assets/manual_erpnext_com/old_images/erpnext/todo-list.png)
+
+When task is completed, you should simply remove assignment from the assigned document. With this, task will be removed from your Todo list as well. For Todo which are not assigned via document, you can set their status as Closed from the Todo record itself.
+
+![Todo Close](/assets/manual_erpnext_com/old_images/erpnext/todo-close.png)
+
+{next}
diff --git a/erpnext/docs/user/customer-portal/customer-orders-invoices-and-shipping-status.md b/erpnext/docs/user/customer-portal/customer-orders-invoices-and-shipping-status.md
new file mode 100644
index 0000000..33020a8
--- /dev/null
+++ b/erpnext/docs/user/customer-portal/customer-orders-invoices-and-shipping-status.md
@@ -0,0 +1,22 @@
+ERPNext Web Portal gives your customers quick access to their Orders, Invoices
+and Shipments Customers can check the status of their orders, invoices, and
+shipping status by logging on to the web.
+
+![Portal Menu](/assets/manual_erpnext_com/old_images/erpnext/portal-menu.png)
+
+Once an order is raised, either using the Shopping Cart or from within
+ERPNext, your customer can view the order and keep an eye on the billing and
+shipment status. When the invoice and payment against these orders are
+submitted, the customer can see the updated status on the portal, at a glance.
+
+![Customer Portal](/assets/manual_erpnext_com/old_images/erpnext/customer-portal-orders-1.png)
+
+#### Invoice with paid status.
+
+![Invoice Paid](/assets/manual_erpnext_com/old_images/erpnext/portal-invoice-paid.png)
+
+#### Invoice with billed status.
+
+![Billed Invoice](/assets/manual_erpnext_com/old_images/erpnext/portal-order-billed.png)
+
+{next}
diff --git a/erpnext/docs/user/customer-portal/index.md b/erpnext/docs/user/customer-portal/index.md
new file mode 100644
index 0000000..ddac7d2
--- /dev/null
+++ b/erpnext/docs/user/customer-portal/index.md
@@ -0,0 +1,8 @@
+Customer Portal is designed to give easy accesibility to customers of a
+company.
+
+This portal allows customers to login and find out information relevant to them.They can trace communication history of their mails. They can also check order status by logging into the website.
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/customer-portal/index.txt b/erpnext/docs/user/customer-portal/index.txt
new file mode 100644
index 0000000..a029f6b
--- /dev/null
+++ b/erpnext/docs/user/customer-portal/index.txt
@@ -0,0 +1,4 @@
+customer-orders-invoices-and-shipping-status
+portal-login
+sign-up
+issues
diff --git a/erpnext/docs/user/customer-portal/issues.md b/erpnext/docs/user/customer-portal/issues.md
new file mode 100644
index 0000000..abf4662
--- /dev/null
+++ b/erpnext/docs/user/customer-portal/issues.md
@@ -0,0 +1,22 @@
+The customer portal makes it very easy for a customer to raise concerns. A
+simple and intuitive interface facilitates your customer to report their
+concerns as Issues. They can view the complete thread of their
+conversation.
+
+#### Empty Ticket List
+
+![Ticket List](/assets/manual_erpnext_com/old_images/erpnext/portal-ticket-list-empty.png)
+
+#### New Issue
+
+![New Ticket](/assets/manual_erpnext_com/old_images/erpnext/portal-new-ticket.png)
+
+#### Open Issue
+
+![Open Issue](/assets/manual_erpnext_com/old_images/erpnext/portal-ticket-1.png)
+
+#### Reply on Issue
+
+![Reply Issue](/assets/manual_erpnext_com/old_images/erpnext/portal-ticket-reply.png)
+
+{next}
diff --git a/erpnext/docs/user/customer-portal/portal-login.md b/erpnext/docs/user/customer-portal/portal-login.md
new file mode 100644
index 0000000..a8aee26
--- /dev/null
+++ b/erpnext/docs/user/customer-portal/portal-login.md
@@ -0,0 +1,6 @@
+To login into the customer account, the customer has to use his email id and
+the password sent by ERPNext; generated through the sign-up process.
+
+![Login](/assets/manual_erpnext_com/old_images/erpnext/customer-portal-login.png)
+
+{next}
diff --git a/erpnext/docs/user/customer-portal/sign-up.md b/erpnext/docs/user/customer-portal/sign-up.md
new file mode 100644
index 0000000..4c54617
--- /dev/null
+++ b/erpnext/docs/user/customer-portal/sign-up.md
@@ -0,0 +1,22 @@
+Customers have to log-in to the Company Website, and sign-up as a customer.
+
+#### Step 1: Click on Login Icon
+
+![Sign Up](/assets/manual_erpnext_com/old_images/erpnext/customer-portal-sign-up-1.png)
+
+  
+
+#### Step 2: Click on Sign Up Icon
+
+![Sign Up](/assets/manual_erpnext_com/old_images/erpnext/customer-portal-sign-up-2.png)
+
+  
+
+#### Step 3: Enter Customer Name and ID
+
+![Sign Up](/assets/manual_erpnext_com/old_images/erpnext/customer-portal-sign-up-3.png)
+
+After the sign up process, a mail will be sent to the customers email id with
+the password details.
+
+{next}
diff --git a/erpnext/docs/user/customize-erpnext/custom-doctype.md b/erpnext/docs/user/customize-erpnext/custom-doctype.md
new file mode 100644
index 0000000..bcfa4dd
--- /dev/null
+++ b/erpnext/docs/user/customize-erpnext/custom-doctype.md
@@ -0,0 +1,74 @@
+DocType or Document Type is a tool to insert form in ERPNext. The forms like Sales Order,
+Sales Invoices, Production Order are added as Doctype in the backend. Let's assume we are
+creating a Custom Doctype for a Book.
+
+Custom Doctype allows you to insert custom forms in ERPNext as per your requirement.
+
+To create a new **DocType**, go to:
+
+`Setup > Customize > Doctype > New`
+
+#### Doctype Detail
+
+1. Module: Select module in which this Doctype should be placed.
+1. Document Type: Specify if this Doctype will be to carry master data, or to track transactions. Doctype
+for book will be added as Master.
+1. Is Child table: If this Doctype is to be inserted as table into another Doctype, like Item table
+in the Sales Order Doctype, then you should check Is Child Table. Else no.
+1. Is Single: If checked, this Doctype will become a single form, like Selling Setting, which user will
+not be able to re-produce.
+1. Custom?: This field will be checked by default when adding Custom Doctype.
+
+![Doctype Basic](/assets/manual_erpnext_com/img/setup/customize/doctype-basics.png)
+
+#### Fields
+
+In the Fields Table, you can add the fields (properties) of the DocType (Article).
+
+Fields are much more than database columns, they can be:
+
+1. Columns in the database
+1. For Layout (section / column breaks)
+1. Child tables (Table type field)
+1. HTML
+1. Actions (button)
+1. Attachments or Images
+
+![Doctype fields](/assets/manual_erpnext_com/img/setup/customize/Doctype-all-fields.png)
+
+When you add fields, you need to enter the **Type**. **Label** is optional for Section Break and Column Break. **Name** (`fieldname`) is the name of the database table column.
+
+You can also set other properties of the field like whether it is mandatory, read only etc.
+
+#### Naming
+
+In this section, you can define criteria based on which document for this doctype will be named. There are multiple criterion based on which document can be named, like naming based on the value in the specific field, or based on Naming Series, or based on value provided by the user in the prompt, which will be shown when saving document. In the following example, we are doing naming based on the value in the field **book_name**.
+
+![Doctype Naming](/assets/manual_erpnext_com/img/setup/customize/doctype-field-naming.png)
+
+#### Permission
+
+In this table, you should select roles and define permission roles for them for this Doctype.
+
+![Doctype Permissions](/assets/manual_erpnext_com/img/setup/customize/Doctype-permissions.png)
+
+#### Save Doctype
+
+On saving doctype, you will get pop-up to provide name for this Doctype.
+
+![Doctype Save](/assets/manual_erpnext_com/img/setup/customize/Doctype-save.png)
+
+#### Doctype in System
+
+To check this Doctype, open Module defined for this doctype. Since we have added Books doctype in the
+Human Resource module, to access this doctype, go to:
+
+`Human Resource > Document > Book`
+
+![Doctype List](/assets/manual_erpnext_com/img/setup/customize/Doctype-list-view.png)
+
+#### Book master
+
+Using the fields entered, following is the master one book.
+
+![Doctype List](/assets/manual_erpnext_com/img/setup/customize/Doctype-book-added.png)
diff --git a/erpnext/docs/user/customize-erpnext/custom-field.md b/erpnext/docs/user/customize-erpnext/custom-field.md
new file mode 100644
index 0000000..3c6ef41
--- /dev/null
+++ b/erpnext/docs/user/customize-erpnext/custom-field.md
@@ -0,0 +1,77 @@
+Custom Field feature allows you to insert fields in the existing masters and transactions as per your requirement. While inseting custom field, you can define its properties like.
+
+* Field Name/Label
+* Field Type
+* Mandatory/Non-Mandatory
+* Insert After Field
+
+To add a Custom Field, go to:
+
+> Setup > Customize > Custom Field > New Custom Field
+
+You can also insert new Custom Field from [Customize Form](https://erpnext.com/customize-erpnext/customize-form) tool.
+
+In Customize Form, for each field, you will find plus (+) option. When click on it, new row will be inserted above that field. You can enter properties for your Custom Field in the newly added blank row.
+
+![Customize Form Custom Field](/assets/manual_erpnext_com/old_images/erpnext/customize-form-custom-field.png)
+
+Following are the steps to insert Custom Field in the existing form.
+
+####New Custom Field form / Row in Customize Form
+
+As mentioned above, you can insert Custom Field from Custom Field form, and also from Customize Form.
+
+####Select Document/Form
+
+You should select transaction or master in which you want to insert custom field. Let's assume you need to insert a custom link field in the Quotation form. In this case, Document will be "Quotation".
+
+![Custom Field Document](/assets/manual_erpnext_com/old_images/erpnext/custom-field-document.png)
+
+####Set Field Label
+
+Custom Field's name will be set based on its Label. If you want to create Custom Field with specific name, but with different label, then you should first set Label as you want Field Name to be set. After Custom Field is saved, you can edit the Field Label again.
+
+![Custom Field Label](/assets/manual_erpnext_com/old_images/erpnext/custom-field-label.png)
+
+####Select Insert After
+
+This field will have all the existing field of the form/doctype selected. Your Custom Field will be placed after field you select in the Insert After field.
+
+![Custom Field Insert](/assets/manual_erpnext_com/old_images/erpnext/custom-field-insert.png)
+
+####Select Field Type
+
+Click [here](https://erpnext.com/kb/customize/field-types) to learn more about types of field you can set for your Custom Field.
+
+![Custom Field Type](/assets/manual_erpnext_com/old_images/erpnext/custom-field-type.png)
+
+####Set Option
+
+If you are creating a Link field, then Doctype name with which this field will be linked to will be entered in the Option field. Click [here](https://erpnext.com/kb/customize/creating-custom-link-field) to learn more about creating custom link field.
+
+![Custom Field Link](/assets/manual_erpnext_com/old_images/erpnext/custom-field-link.png)
+
+If field type is set as Select (drop down field), then all he possible result for this field should be listed in the Options field. Each possible result should be separate by row.
+
+![Custom Field Option](/assets/manual_erpnext_com/old_images/erpnext/custom-field-option.png)
+
+For other field types, like Data, Date, Currency etc., Opton field will be left blank.
+
+####Set More Properties
+
+You can set properties as:
+
+1. Mandatory: Should this field be mandatory or non-mandatory.
+1. Print Hide: Should this field be visible in the print format or no.
+1. Field Description: It will be short field description which will appear just below that field.
+1. Default Value: Value entered in this field will be auto-updated in this field.
+1. Read Only: Checking this option will make custom field non-editable.
+1. Allow on Submit: Checking this option will allow editing value in the field when in submitted transaction.
+
+![Custom Field Properties](/assets/manual_erpnext_com/old_images/erpnext/custom-field-properties.png)
+
+####Deleting Custom Field
+
+Given a permission, user will be able to delete Custom Fields. Incase, it was deleted by default, if you add another Custom Field with same name. Then you shall see new field auto-mapped with old-deleted Custom Field.
+
+{next}
diff --git a/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/custom-button.md b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/custom-button.md
new file mode 100644
index 0000000..12054be
--- /dev/null
+++ b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/custom-button.md
@@ -0,0 +1,23 @@
+# Add a Custom Button
+
+	frappe.ui.form.on("Event", "refresh", function(frm) {
+		frm.add_custom_button(__("Do Something"), function() {
+			// When this button is clicked, do this
+			
+			var subject = frm.doc.subject;
+			var event_type = frm.doc.event_type;
+			
+			// do something with these values, like an ajax request 
+			// or call a server side frappe function using frappe.call
+			$.ajax({
+				url: "http://example.com/just-do-it",
+				data: {
+					"subject": subject,
+					"event_type": event_type
+				}
+				
+				// read more about $.ajax syntax at http://api.jquery.com/jquery.ajax/
+			
+			});
+		});
+	});
diff --git a/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/custom-script-fetch-values-from-master.md b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/custom-script-fetch-values-from-master.md
new file mode 100644
index 0000000..d22f186
--- /dev/null
+++ b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/custom-script-fetch-values-from-master.md
@@ -0,0 +1,25 @@
+To pull a value of a link on selection, use the `add_fetch` method.
+
+    
+    
+    add_fetch(link_fieldname, source_fieldname, target_fieldname)
+    
+
+### Example
+
+You create Custom Field **VAT ID** (`vat_id`) in **Customer** and **Sales
+Invoice** and want to make sure this value gets updated every time you select
+a Customer in a Sales Invoice.
+
+Then in the Sales Invoice Custom Script, add this line:
+
+    
+    
+    cur_frm.add_fetch('customer','vat_id','vat_id')
+    
+
+* * *
+
+See: [How to create a custom script](/contents/customize-erpnext/custom-scripts)
+
+{next}
diff --git a/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/date-validation.md b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/date-validation.md
new file mode 100644
index 0000000..0d080af
--- /dev/null
+++ b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/date-validation.md
@@ -0,0 +1,11 @@
+# Date Validation
+
+
+	frappe.ui.form.on("Event", "validate", function(frm) {
+        if (frm.doc.from_date < get_today()) {
+            msgprint(__("You can not select past date in From Date"));
+            throw "past date selected"
+        }
+	});
+
+{next}
diff --git a/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/generate-item-code-based-on-custom-logic.md b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/generate-item-code-based-on-custom-logic.md
new file mode 100644
index 0000000..960aa89
--- /dev/null
+++ b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/generate-item-code-based-on-custom-logic.md
@@ -0,0 +1,39 @@
+Add this in the Custom Script of **Item**, so that the new Item Code is
+generated just before the a new Item is saved.
+
+
+(Thanks to Aditya Duggal)
+
+
+
+    cur_frm.cscript.custom_validate = function(doc) {
+        // clear item_code (name is from item_code)
+        doc.item_code = "";
+
+        // first 2 characters based on item_group
+        switch(doc.item_group) {
+            case "Test A":
+                doc.item_code = "TA";
+                break;
+            case "Test B":
+                doc.item_code = "TB";
+                break;
+            default:
+                doc.item_code = "XX";
+        }
+
+        // add next 2 characters based on brand
+        switch(doc.brand) {
+            case "Brand A":
+                doc.item_code += "BA";
+                break;
+            case "Brand B":
+                doc.item_code += "BB";
+                break;
+            default:
+                doc.item_code += "BX";
+        }
+    }
+
+
+{next}
diff --git a/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/index.md b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/index.md
new file mode 100644
index 0000000..78edcfc
--- /dev/null
+++ b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/index.md
@@ -0,0 +1,18 @@
+### How to Create a Custom Script
+
+Create a Custom Script (you must have System Manager role for this):
+
+  1. Got to: Setup > Custom Script > New Custom Script
+  2. Select the DocType in which you want to add the Custom Script
+
+* * *
+
+### Notes
+
+  1. Server Custom Scripts are only available for the Administrator.
+  2. Client Custom Scripts are in Javascript and Server Custom Scripts are in Python.
+  3. For testing, make sure to go to Tools > Clear Cache and refresh after updating a Custom Script.
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/index.txt b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/index.txt
new file mode 100644
index 0000000..2b49755
--- /dev/null
+++ b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/index.txt
@@ -0,0 +1,10 @@
+custom-script-fetch-values-from-master
+date-validation
+generate-item-code-based-on-custom-logic
+make-read-only-after-saving
+restrict-cancel-rights
+restrict-purpose-of-stock-entry
+restrict-user-based-on-child-record
+sales-invoice-id-based-on-sales-order-id
+update-date-field-based-on-value-in-other-date-field
+custom-button
diff --git a/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/make-read-only-after-saving.md b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/make-read-only-after-saving.md
new file mode 100644
index 0000000..4fda1bd
--- /dev/null
+++ b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/make-read-only-after-saving.md
@@ -0,0 +1,12 @@
+Use the method `cur_frm.set_df_property` to update the field's display.
+
+In this script we also use the `__islocal` property of the doc to check if the
+document has been saved atleast once or is never saved. If `__islocal` is `1`,
+then the document has never been saved.
+
+    frappe.ui.form.on("MyDocType", "refresh", function(frm) {
+        // use the __islocal value of doc, to check if the doc is saved or not
+        frm.set_df_property("myfield", "read_only", frm.doc.__islocal ? 0 : 1);
+    }
+
+{next}
diff --git a/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/restrict-cancel-rights.md b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/restrict-cancel-rights.md
new file mode 100644
index 0000000..e5037fe
--- /dev/null
+++ b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/restrict-cancel-rights.md
@@ -0,0 +1,17 @@
+Add a handler to `custom_before_cancel` event:
+
+
+
+    cur_frm.cscript.custom_before_cancel = function(doc) {
+        if (user_roles.indexOf("Accounts User")!=-1 && user_roles.indexOf("Accounts Manager")==-1
+                && user_roles.indexOf("System Manager")==-1) {
+            if (flt(doc.grand_total) > 10000) {
+                msgprint("You can not cancel this transaction, because grand total \
+                    is greater than 10000");
+                validated = false;
+            }
+        }
+    }
+
+
+{next}
diff --git a/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/restrict-purpose-of-stock-entry.md b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/restrict-purpose-of-stock-entry.md
new file mode 100644
index 0000000..9b37eb5
--- /dev/null
+++ b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/restrict-purpose-of-stock-entry.md
@@ -0,0 +1,10 @@
+
+    frappe.ui.form.on("Material Request", "validate", function(frm) {
+        if(user=="user1@example.com" && frm.doc.purpose!="Material Receipt") {
+            msgprint("You are only allowed Material Receipt");
+            throw "Not allowed";
+        }
+    }
+
+
+{next}
diff --git a/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/restrict-user-based-on-child-record.md b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/restrict-user-based-on-child-record.md
new file mode 100644
index 0000000..6c36a14
--- /dev/null
+++ b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/restrict-user-based-on-child-record.md
@@ -0,0 +1,20 @@
+
+    // restrict certain warehouse to Material Manager
+    cur_frm.cscript.custom_validate = function(doc) {
+        if(user_roles.indexOf("Material Manager")==-1) {
+
+            var restricted_in_source = wn.model.get("Stock Entry Detail",
+                {parent:cur_frm.doc.name, s_warehouse:"Restricted"});
+
+            var restricted_in_target = wn.model.get("Stock Entry Detail",
+                {parent:cur_frm.doc.name, t_warehouse:"Restricted"})
+
+            if(restricted_in_source.length || restricted_in_target.length) {
+                msgprint("Only Material Manager can make entry in Restricted Warehouse");
+                validated = false;
+            }
+        }
+    }
+
+
+{next}
diff --git a/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/sales-invoice-id-based-on-sales-order-id.md b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/sales-invoice-id-based-on-sales-order-id.md
new file mode 100644
index 0000000..72dbb6d
--- /dev/null
+++ b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/sales-invoice-id-based-on-sales-order-id.md
@@ -0,0 +1,19 @@
+Below script allows you to get naming series in Sales Invoice, same as of corresponding Sales Order.
+Invoice uses a prefix M- but the number duplicates the SO doc name (number).
+
+Example: If Sales Order id is SO-12345, then corresponding Sales Invoice id will be set as M-12345.
+
+    frappe.ui.form.on("Sales Invoice", "refresh", function(frm){
+        var sales_order = frm.doc.items[0].sales_order.replace("M", "M-");
+        if (!frm.doc.__islocal && sales_order && frm.doc.name!==sales_order){
+            frappe.call({
+            method: 'frappe.model.rename_doc.rename_doc',
+            args: {
+                doctype: frm.doctype,
+                old: frm.docname,
+                "new": sales_order,
+                "merge": false
+           },
+        });
+        }
+    });
diff --git a/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/update-date-field-based-on-value-in-other-date-field.md b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/update-date-field-based-on-value-in-other-date-field.md
new file mode 100644
index 0000000..b7a5e1c
--- /dev/null
+++ b/erpnext/docs/user/customize-erpnext/custom-scripts/custom-script-examples/update-date-field-based-on-value-in-other-date-field.md
@@ -0,0 +1,7 @@
+Below script would auto-set value for the date field, based on the value in another date field.
+
+Example: Production Due Date must be set as two days before Delivery Date. If you have Production Due Date field already, with field type as Date, as per the below given script, date will be auto-updated in it, two days prior Deliver Date.
+
+    cur_frm.cscript.custom_delivery_date = function(doc, cdt, cd){
+    cur_frm.set_value("production_due_date", frappe.datetime.add_days(doc.delivery_date, -2));
+     }
diff --git a/erpnext/docs/user/customize-erpnext/custom-scripts/index.md b/erpnext/docs/user/customize-erpnext/custom-scripts/index.md
new file mode 100644
index 0000000..27d4560
--- /dev/null
+++ b/erpnext/docs/user/customize-erpnext/custom-scripts/index.md
@@ -0,0 +1,11 @@
+If you wish to change any ERPNext form formats, you can do so by using Custom
+Scripts. For example, if you wish to add a submit button after saving, to a
+Lead form, you can do so by creating your own script.
+
+> Setup > Customization > Custom Script
+
+![Custom Script](/assets/manual_erpnext_com/old_images/erpnext/custom-script.png)
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/customize-erpnext/custom-scripts/index.txt b/erpnext/docs/user/customize-erpnext/custom-scripts/index.txt
new file mode 100644
index 0000000..0fd3d46
--- /dev/null
+++ b/erpnext/docs/user/customize-erpnext/custom-scripts/index.txt
@@ -0,0 +1 @@
+custom-script-examples
\ No newline at end of file
diff --git a/erpnext/docs/user/customize-erpnext/customize-form.md b/erpnext/docs/user/customize-erpnext/customize-form.md
new file mode 100644
index 0000000..62ffce3
--- /dev/null
+++ b/erpnext/docs/user/customize-erpnext/customize-form.md
@@ -0,0 +1,107 @@
+<!--markdown-->
+Before we venture to learn form customization tool, click [here](https://kb.frappe.io/kb/customization/form-architecture) to understand the architecture of forms in ERPNext. It shall help you in using Customize Form tool more efficiently.
+
+Customize Form is the tool which allows user to customize the property of standard fields as per the requirement. Let's assume we need to set Project Name field as mandatory in the Sales Order form. Following are the steps which shall be followed to achieve this.
+
+####Step 1: Go to Customize Form
+
+You can go to Customize Form from:
+
+> Setup >> Customize >> Customize Form
+
+System Manager will find Customize Form option in the Sales Order list (or any other form for that matter) view as well.
+
+![Customize Form List View](/assets/manual_erpnext_com/old_images/erpnext/customize-form-list-view.png)
+
+####Step 2: Select Docytpe/Document
+
+You should select Docytpe/Document which has field-to-be-customized located in it.
+
+![Customize Form Document](/assets/manual_erpnext_com/old_images/erpnext/customize-form-document.png)
+
+####Step 3:Edit Property
+
+On selecting Doctype/table, you will have all the fields of the table updated as rows in the Customize Form table. You should drill down to field you need to work on, Project Name in this case.
+
+On clicking Project Name row, fields to set various property for this field will be shown. To Customize the mandatory property for a field, there is a field called "Mandatory". Checking this field will set Project Name field as mandatory in the Quotation form.
+
+![Customize Form Mandatory](/assets/manual_erpnext_com/old_images/erpnext/customize-form-mandatory.png)
+
+Like this, you can customize following properties of the field.
+
+* Change field types (for e.g. you want to increase the number of decimal places, you can convert come fields from Float to Currency).
+* Change labels to suit your industry / language.
+* Make certain fields mandatory.
+* Hide certain fields.
+* Change layout (sequence of fields). To do this, select a field in the grid and click on“Up” or “Down” in the grid toolbar.
+* Add / edit “Select” Options. (for example, you can add more sources in Leads etc).
+
+####Step 4: Update
+
+![Customize Form Update](/assets/manual_erpnext_com/old_images/erpnext/customize-form-update.png)
+
+Before checking Sales Order form, you should clear cache and refresh browser tab for customization to take effect.
+
+For Customize Form, you can also allow attachments, set max number of attachments and set the default Print Format.
+
+>Note: Though we want you to do everything you can to customize your ERP based on your business needs, we recommend that you do not make “wild” changes to the forms. This is because, these changes may affect certain operations and may mess up your forms. Make small changes and see its effect before doing some more.
+
+Following are the properties which you can customize for a specific field from Customize Form.
+<style>
+    td {
+    padding:5px 10px 5px 5px;
+    };
+    img {
+    align:center;
+    };
+table, th, td {
+    border: 1px solid black;
+    border-collapse: collapse;
+}
+</style>
+<table border="1" width="700px">
+  <tbody>
+    <tr>
+      <td style="text-align: center;"><b>Field property</b></td>
+      <td style="text-align: center;"><b>Purpose</b></td>
+    </tr>
+    <tr>
+      <td>Print hide</td>
+      <td>Checking it will hide field from Standard print format.</td>
+    </tr>
+    <tr>
+      <td>Hidden</td>
+      <td>Checking it field will hide field in the data entry form.</td>
+    </tr>
+    <tr>
+      <td>Mandatory</td>
+      <td>Checking it will set field as mandatory.</td>
+    </tr>
+    <tr>
+      <td>Field Type</td>
+      <td>Click <a href="https://erpnext.com/kb/customize/field-types">here</a> to learn about of fields types.</td>
+    </tr>
+    <tr>
+      <td>Options</td>
+      <td>Possible result for a drop down fields can be listed here. Also for a link field, relevant Doctype can be provided.</td>
+    </tr>
+    <tr>
+      <td>Allow on submit</td>
+      <td>Checking it will let user update value in field even in submitted form.</td>
+    </tr>
+    <tr>
+      <td>Default</td>
+      <td>Value defined in default will be pulled on new record creation.</td>
+    </tr>
+    <tr>
+      <td>Description</td>
+      <td>Gives field description for users understanding.</td>
+    </tr>
+    <tr>
+      <td>Label</td>
+      <td>Label is the field name which appears in form.</td>
+    </tr>
+  </tbody>
+</table>
+
+{next}
diff --git a/erpnext/docs/user/customize-erpnext/document-title.md b/erpnext/docs/user/customize-erpnext/document-title.md
new file mode 100644
index 0000000..da2a6db
--- /dev/null
+++ b/erpnext/docs/user/customize-erpnext/document-title.md
@@ -0,0 +1,33 @@
+You can customize the title of documents based on properties so that you have meaningful information for the list views.
+
+For example the default title on **Quotation** is the customer name, but if you are dealing a few customers and sending lots of quotes to the same customer, you may want to customize.
+
+#### Setting Title Fields
+
+From ERPNext Version 6.0 onwards, all transactions have a `title` property. If there is not a title property, you can add a **Custom Field** as title and set the **Title Field** via **Customize Form**.
+
+You can set the default value of that property by using Python style string formatting in **Default** or **Options**
+
+To edit a default title, go to
+
+1. Setup > Customize > Customize Form
+2. Select your transaction
+3. Edit the **Default** field in your form
+
+#### Defining Titles
+
+You can define the title by setting document properties in braces `{}`. For example if your document has properties `customer_name` and `project` here is how you can set the default title:
+
+    {customer_name} for {project}
+
+<img class="screenshot" alt = "Customize Title"
+    src="/assets/manual_erpnext_com/img/customize/customize-title.gif">
+
+#### Fixed or Editable Titles
+
+If your title is generated as a default title, it can be edited by the user by clicking on the heading of the document.
+
+<img class="screenshot" alt = "Editable Title"
+    src="/assets/manual_erpnext_com/img/customize/editable-title.gif">
+
+If you want a fixed title, you can set the rule in the **Options** property. In this way, the title will be automatically updated everytime the document is updated.
diff --git a/erpnext/docs/user/customize-erpnext/hiding-modules-and-features.md b/erpnext/docs/user/customize-erpnext/hiding-modules-and-features.md
new file mode 100644
index 0000000..125a17a
--- /dev/null
+++ b/erpnext/docs/user/customize-erpnext/hiding-modules-and-features.md
@@ -0,0 +1,30 @@
+### Hiding Unused Features
+
+As you have seen from this manual that ERPNext contains tons of features which
+you may not use. We have observed that most users start with using 20% of the
+features, though a different 20%. To hide fields belonging to features you
+dont require, go to:
+
+> Setup > Tools > Hide/Unhide Features
+
+![Hide Features](/assets/manual_erpnext_com/old_images/erpnext/hide-features.png)
+
+Check / uncheck the features you want to use and refresh your page for the
+changes to take effect.
+
+* * *
+
+### Hiding Module Icons
+
+To hide modules (icons) from the home page, go to:
+
+Setup > Tools> Modules Setup
+
+![Hide/Unhide Modules](/assets/manual_erpnext_com/old_images/erpnext/hide-module.png)
+
+> Note: Modules are automatically hidden for users that have no permissions on
+the documents within that module. For example, if a user has no permissions on
+Purchase Order, Purchase Request, Supplier, the “Buying” module will
+automatically be hidden.
+
+{next}
diff --git a/erpnext/docs/user/customize-erpnext/index.md b/erpnext/docs/user/customize-erpnext/index.md
new file mode 100644
index 0000000..2132a95
--- /dev/null
+++ b/erpnext/docs/user/customize-erpnext/index.md
@@ -0,0 +1,13 @@
+# Customize ERPNext
+
+ERPNext offers many tools to customize the system.
+
+You simplify the forms by hiding features you don’t need using Disable
+Features and Module Setup, add Custom Fields, change form properties, like
+adding more options to drop-downs or hiding fields using Customize Form View
+and make your own Print Formats by using HTML Templates. You can also create
+multiple Letter Heads for your Prints.
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/customize-erpnext/index.txt b/erpnext/docs/user/customize-erpnext/index.txt
new file mode 100644
index 0000000..a225d44
--- /dev/null
+++ b/erpnext/docs/user/customize-erpnext/index.txt
@@ -0,0 +1,7 @@
+custom-field
+custom-doctype
+custom-scripts
+customize-form
+document-title
+hiding-modules-and-features
+print-format
diff --git a/erpnext/docs/user/customize-erpnext/print-format.md b/erpnext/docs/user/customize-erpnext/print-format.md
new file mode 100644
index 0000000..0cb9013
--- /dev/null
+++ b/erpnext/docs/user/customize-erpnext/print-format.md
@@ -0,0 +1,106 @@
+<!-- no-jinja -->
+
+Print Formats are the layouts that are generated when you want to Print or
+Email a transaction like a Sales Invoice. There are two types of Print
+Formats,
+
+  * The auto-generated “Standard” Print Format: This type of format follows the same layout as the form and is generated automatically by ERPNext.
+  * Based on the Print Format document. There are templates in HTML that will be rendered with data.
+
+ERPNext comes with a number of pre-defined templates in three styles: Modern,
+Classic and Standard.
+
+You can modify the templates or create your own. Editing
+ERPNext templates is not allowed because they may be over-written in an
+upcoming release.
+
+To create your own versions, open an existing template from:
+
+> Setup > Printing > Print Formats
+
+![Print Format](/assets/manual_erpnext_com/old_images/erpnext/customize/print-format.png)
+
+Select the type of Print Format you want to edit and click on the “Copy”
+button on the right column. A new Print Format will open up with “Is Standard”
+set as “No” and you can edit the Print Format.
+
+Editing a Print Format is a long discussion and you will have to know a bit of
+HTML, CSS, Python to learn this. For help, please post on our forum.
+
+Print Formats are rendered on the server side using the [Jinja Templating Language](http://jinja.pocoo.org/docs/templates/). All forms have access to the doc object which contains information about the document that is being formatted. You can also access common utilities via the frappe module.
+
+For styling, the [Boostrap CSS Framework](http://getbootstrap.com/) is provided and you can enjoy the full range of classes.
+
+> Note: Pre-printed stationary is usually not a good idea because your Prints
+will look incomplete (inconsistent) when you send them by mail.
+
+#### References
+
+1. [Jinja Tempalting Language: Reference](http://jinja.pocoo.org/docs/templates/)
+1. [Bootstrap CSS Framework](http://getbootstrap.com/)
+
+#### Print Settings
+
+To edit / update your print and PDF settings, go to:
+
+> Setup > Printing and Branding > Print Settings
+
+![Print Format](/assets/manual_erpnext_com/old_images/erpnext/customize/print-settings.png)
+
+#### Example
+
+{% set example = '''<h3>{{ doc.select_print_heading or "Invoice" }}</h3>
+	<div class="row">
+		<div class="col-md-3 text-right">Customer Name</div>
+		<div class="col-md-9">{{ doc.customer_name }}</div>
+	</div>
+	<div class="row">
+		<div class="col-md-3 text-right">Date</div>
+		<div class="col-md-9">{{ doc.get_formatted("invoice_date") }}</div>
+	</div>
+	<table class="table table-bordered">
+		<tbody>
+			<tr>
+				<th>Sr</th>
+				<th>Item Name</th>
+				<th>Description</th>
+				<th class="text-right">Qty</th>
+				<th class="text-right">Rate</th>
+				<th class="text-right">Amount</th>
+			</tr>
+			{%- for row in doc.items -%}
+			<tr>
+				<td style="width: 3%;">{{ row.idx }}</td>
+				<td style="width: 20%;">
+					{{ row.item_name }}
+					{% if row.item_code != row.item_name -%}
+					<br>Item Code: {{ row.item_code}}
+					{%- endif %}
+				</td>
+				<td style="width: 37%;">
+					<div style="border: 0px;">{{ row.description }}</div></td>
+				<td style="width: 10%; text-align: right;">{{ row.qty }} {{ row.uom or row.stock_uom }}</td>
+				<td style="width: 15%; text-align: right;">{{
+					row.get_formatted("rate", doc) }}</td>
+				<td style="width: 15%; text-align: right;">{{
+					row.get_formatted("amount", doc) }}</td>
+			</tr>
+			{%- endfor -%}
+		</tbody>
+	</table>''' %}
+
+    {{ example|e }}
+
+#### Notes
+
+1. To get date and currency formatted values use, `doc.get_formatted("fieldname")`
+1. For translatable strings, us `{{ _("This string is translated") }}`
+
+#### Footers
+
+Many times you may want to have a standard footer for your prints with your
+address and contact information. Unfortunately due to the limited print
+support in HTML pages, it is not possible unless you get it scripted. Either
+you can use pre-printed stationary or add this information in your header.
+
+{next}
diff --git a/erpnext/docs/user/human-resources/appraisal.md b/erpnext/docs/user/human-resources/appraisal.md
new file mode 100644
index 0000000..4596c39
--- /dev/null
+++ b/erpnext/docs/user/human-resources/appraisal.md
@@ -0,0 +1,24 @@
+In ERPNext, you can manage Employee Appraisals by creating an Appraisal
+Template for each role with the parameters that define the performance by
+giving appropriate weightage to each parameter.
+
+> Human Resource > Appraisal > New
+
+#### Step 1: Select an Appraisal Template
+
+<img class="screenshot" alt="Appraisal" src="/assets/manual_erpnext_com/img/human-resources/appraisal.png">
+
+After you select the template, the remaining form appears.
+
+#### Step 2: Enter Employee Details
+
+<img class="screenshot" alt="Appraisal" src="/assets/manual_erpnext_com/img/human-resources/appraisal-employee.png">
+
+Once the Appraisal Template is completed, you can create Appraisal records for
+each period where you track performance. You can give points out of 5 for each
+parameter and the system will calculate the overall performance of the
+Employee.
+
+To make the Appraisal final, make sure to “Submit” it.
+
+{next}
diff --git a/erpnext/docs/user/human-resources/attendance.md b/erpnext/docs/user/human-resources/attendance.md
new file mode 100644
index 0000000..dc95780
--- /dev/null
+++ b/erpnext/docs/user/human-resources/attendance.md
@@ -0,0 +1,14 @@
+An Attendance record stating that an Employee has been present on a particular
+day can be created manually by:
+
+> Human Resources > Attendance > New Attendance
+
+<img class="screenshot" alt="Attendence" src="/assets/manual_erpnext_com/img/human-resources/attendence.png">
+
+You can get a monthly report of your Attendance data by going to the “Monthly
+Attendance Details” report.
+
+You can also bulk uppload attendence using the [Upload Attendence Tool ](/contents/human-resources/tools/upload-attendance)
+
+{next}
+
diff --git a/erpnext/docs/user/human-resources/employee.md b/erpnext/docs/user/human-resources/employee.md
new file mode 100644
index 0000000..491aa36
--- /dev/null
+++ b/erpnext/docs/user/human-resources/employee.md
@@ -0,0 +1,9 @@
+There are many fields you can add in your Employee records.
+
+To create new Employee go to:
+
+> Human Resources > Employee > New
+
+<img class="screenshot" alt="Employee" src="/assets/manual_erpnext_com/img/human-resources/employee.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/human-resources/expense-claim.md b/erpnext/docs/user/human-resources/expense-claim.md
new file mode 100644
index 0000000..200b7fb
--- /dev/null
+++ b/erpnext/docs/user/human-resources/expense-claim.md
@@ -0,0 +1,39 @@
+Expense Claim is made when Employee’s make expenses out of their pocket on
+behalf of the company. For example, if they take a customer out for lunch,
+they can make a request for reimbursement via the Expense Claim form.
+
+To make a new Expense Claim, go to:
+
+> HR > Expense Claim > New Expense Claim
+
+<img class="screenshot" alt="Expense Claim" src="/assets/manual_erpnext_com/img/human-resources/expense_claim.png">
+
+Set the Employee ID, date and the list of expenses that are to be claimed and
+“Submit” the record.
+
+### Approving Expenses
+
+The person making the claim must also set the id of the user who will
+“Approve” these expenses and set the “Assign To” to notify the user of the
+request Approve.
+
+If the Approver sees the “form”, she or he can update the “Approved Amounts”
+and click on “Approve”. To cancel the claim, they can click on the “Reject”
+button.
+
+Comments can be added in the Comments section explaining why the claim was
+approved or rejected.
+
+### Booking the Expense and Reimbursement
+
+The approved Expense Claim must then be converted into a Journal Entry and a
+payment must be made. Note: This amount should not be clubbed with Salary
+because the amount will then be taxable to the Employee.
+
+### Linking with Task & Project
+
+* To Link Expense Claim with Task or Project specify the Task or the Project while making an Expense Claim
+
+<img class="screenshot" alt="Expense Claim - Project Link" src="/assets/manual_erpnext_com/img/project/project_expense_claim_link.png">
+
+{next}
diff --git a/erpnext/docs/user/human-resources/holiday-list.md b/erpnext/docs/user/human-resources/holiday-list.md
new file mode 100644
index 0000000..47dac5b
--- /dev/null
+++ b/erpnext/docs/user/human-resources/holiday-list.md
@@ -0,0 +1,59 @@
+Holiday List is a list which contains the dates of holidays along with the
+occasion of that holiday. The list is generally valid for one calendar year.  
+
+Most organisations have a standard Holiday-List for their employees. Some even
+have different holiday lists for laborers and a different one for management
+staff.
+
+  
+
+To set up a holiday list in the system, Go to Human Resources Module and Click
+on Holiday List.
+
+  
+
+> Human Resources >Holiday List > New Holiday List  
+
+  
+#### Figure 1: Holiday List
+
+![](/assets/manual_erpnext_com/old_images/erpnext/holiday-list-1.png)  
+
+  
+
+__Step 1:__ Give a name to the Holiday list
+
+__Step 2:__ Mention the Fiscal Year  
+
+__Step 3:__ State the Weekly  off.  
+
+__Step 4:__ Click on the button 'Get Weekly Off Dates'  
+
+This step will fill the box below with yearly off dates with day as the
+description.
+
+__Step 5:__ Click on Add new row to add more dates  
+
+Mention the holiday reason in the description and select the date from the
+'Date' field.
+
+  
+#### Figure 2: Adding new holidays to the list
+
+![](/assets/manual_erpnext_com/old_images/erpnext/holiday-list-2.png)  
+
+  
+
+> Note 1: If you have selected a holiday list in the Employment Details form,
+the system will give priority to the form mentioned here. It will fetch the
+list mentioned in the form rather than the one which you may have specified as
+Default; However, if there is no list in the employment details form, the
+default list will be fetched.
+
+
+> Note 2: You can form as many holiday lists as you wish. For example, if you
+have a mill, you can have one list for mill workers and another list for
+office staff. You can manage between lists by attaching their respective
+holiday list to their respective employment detail form.
+
+{next}
diff --git a/erpnext/docs/user/human-resources/human-resource-setup.md b/erpnext/docs/user/human-resources/human-resource-setup.md
new file mode 100644
index 0000000..8f29974
--- /dev/null
+++ b/erpnext/docs/user/human-resources/human-resource-setup.md
@@ -0,0 +1,35 @@
+The HR module has a setup process where you create the masters for all the
+major activities.
+
+### Organization Setup
+
+To setup your Employee master you must first create:
+
+  * Employment Type (like Permanent, Temp, Contractor, Intern etc).
+  * Branch (if there are multiple offices).
+  * Department (if any, like Accounting, Sales etc).
+  * Designation (CEO, Sales Manager etc).
+  * Grade (A, B, C etc, usually based on seniority).
+
+### Leave Setup
+
+To setup Leaves, create:
+
+  * Leave Type (like Sick Leave, Travel Leave etc)
+  * Holiday List (list of annual holidays for the year - these days will not be considered in Leave Applications).
+
+### Payroll (Salary) Setup
+
+In ERPNext, salaries have two types of components, earnings (basic salary,
+expenses paid by the company, like telephone bill, travel allowance etc) and
+deductions (amounts deducted for taxes, social security etc). To setup
+payroll, you must first setup all the different types of earnings and
+deductions. These are
+
+  * Earning Type
+  * Deduction Type
+
+These are just labels, we will see how to use them when we discuss the payroll
+section.
+
+{next}
diff --git a/erpnext/docs/user/human-resources/human-resources-reports.md b/erpnext/docs/user/human-resources/human-resources-reports.md
new file mode 100644
index 0000000..f73c1ab
--- /dev/null
+++ b/erpnext/docs/user/human-resources/human-resources-reports.md
@@ -0,0 +1,34 @@
+Human Resources Reports
+
+### Employee Leave Balance
+
+Employee Leave Balance Report shows employees and their respective balance leaves under various leave types. Report is generated as per the number of allowed leaves.
+
+<img alt="Employee Leave Balance" class="screenshot" src="/assets/manual_erpnext_com/img/human-resources/employee-leave-balance-report.png">
+
+### Employee Birthday
+
+Employee Birthday Report shows Birthdays of your employees.
+
+<img alt="Employee Birthday" class="screenshot" src="/assets/manual_erpnext_com/img/human-resources/employee-birthday-report.png">
+
+### Employee Information
+
+Employee Information Report shows Report View of important information recorded in Employee master.
+
+<img alt="Employee Information" class="screenshot" src="/assets/manual_erpnext_com/img/human-resources/employee-information-report.png">
+
+### Monthly Salary Register
+
+Monthly Salary Register shows net pay and its components of employee(s) at a glance.
+
+<img alt="Monthly Salary Register" class="screenshot" src="/assets/manual_erpnext_com/img/human-resources/monthly-salary-register-report.png">
+
+
+### Monthly Attendance Sheet
+
+Monthly Attendance Sheet shows monthly attendance of selected employee at a glance.
+
+<img alt="Monthly Attendance Sheet" class="screenshot" src="/assets/manual_erpnext_com/img/human-resources/monthly-attendance-sheet-report.png">
+
+{next}
diff --git a/erpnext/docs/user/human-resources/index.md b/erpnext/docs/user/human-resources/index.md
new file mode 100644
index 0000000..02fcfc6
--- /dev/null
+++ b/erpnext/docs/user/human-resources/index.md
@@ -0,0 +1,14 @@
+The Human Resources (HR) Module covers the processes linked to managing a team
+of co-workers. Most important feature here is processing the payroll by using
+Process Payroll to generate Salary Slips. Most countries have complex tax
+rules stating which expenses the company can make on behalf of the Employees.
+There are a set of rules for the company to deduct taxes and social security
+from employee payroll. ERPNext allows to accomodate all types of taxes and
+their calculation.
+
+It also maintains a complete employee database including contact information,
+salary details, attendance, performance evaluation, and appraisal records.
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/human-resources/index.txt b/erpnext/docs/user/human-resources/index.txt
new file mode 100644
index 0000000..eba8acc
--- /dev/null
+++ b/erpnext/docs/user/human-resources/index.txt
@@ -0,0 +1,12 @@
+employee
+leave-application
+expense-claim
+attendance
+salary-and-payroll
+appraisal
+job-applicant
+job-opening
+offer-letter
+tools
+human-resources-reports
+setup
diff --git a/erpnext/docs/user/human-resources/introduction-to-human-resources.md b/erpnext/docs/user/human-resources/introduction-to-human-resources.md
new file mode 100644
index 0000000..8d4da2f
--- /dev/null
+++ b/erpnext/docs/user/human-resources/introduction-to-human-resources.md
@@ -0,0 +1,11 @@
+The Human Resources (HR) Module covers the processes linked to managing a team
+of co-workers. Most important feature here is processing the payroll by using
+Process Payroll to generate Salary Slips. Most countries have complex tax
+rules stating which expenses the company can make on behalf of the Employees.
+There are a set of rules for the company to deduct taxes and social security
+from employee payroll. ERPNext allows to accomodate all types of taxes and
+their calculation.
+
+It also maintains a complete employee database including contact information,
+salary details, attendance, performance evaluation, and appraisal records.
+
diff --git a/erpnext/docs/user/human-resources/job-applicant.md b/erpnext/docs/user/human-resources/job-applicant.md
new file mode 100644
index 0000000..8ccd91a
--- /dev/null
+++ b/erpnext/docs/user/human-resources/job-applicant.md
@@ -0,0 +1,25 @@
+You can mantain a list of People who have applied for a [Job Opening](/contents/human-resources/job-opening).
+
+To create a new Job Applicant go to 
+
+> Human Resource > Job Applicant > New
+
+<img class="screenshot" alt="Job Applicant" src="/assets/manual_erpnext_com/img/human-resources/job-applicant.png">
+
+### Linking with an Email Account
+
+You can link Job Application with an Email account.
+Suppose you link Job Application with an email job@example.com 
+system shall create a New Job Applicant against each email received on the mailbox.
+
+* To link Email Account with Job Applicant, go to
+
+> Setup > Email Account > New 
+
+* Enter the email id and the password, and select 'Enable Incoming'
+
+* In 'Append To' select 'Job Applicant'
+
+<img class="screenshot" alt="Email Account" src="/assets/manual_erpnext_com/img/human-resources/email-account.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/human-resources/job-opening.md b/erpnext/docs/user/human-resources/job-opening.md
new file mode 100644
index 0000000..abe0af6
--- /dev/null
+++ b/erpnext/docs/user/human-resources/job-opening.md
@@ -0,0 +1,10 @@
+You can make a record of the open vacancies in your company using Job Opening.
+
+To create a new Job Opening go to 
+
+> Human Resource > Job Opening > New
+
+<img class="screenshot" alt="Job Opening" src="/assets/manual_erpnext_com/img/human-resources/job-opening.png">
+
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/human-resources/leave-application.md b/erpnext/docs/user/human-resources/leave-application.md
new file mode 100644
index 0000000..32cca01
--- /dev/null
+++ b/erpnext/docs/user/human-resources/leave-application.md
@@ -0,0 +1,24 @@
+If your company has a formal system where Employees have to apply for leaves
+to be able to qualify as paid leaveas, you can create Leave Application to
+track approval and usage of leaves. You have to mention the Employee, Leave
+Type and the period for which the leave is taken.
+
+> Human Resources > Leave Application > New Leave Application
+
+<img class="screenshot" alt="Leave Application" src="/assets/manual_erpnext_com/img/human-resources/leave-application.png">
+
+###Setting Leave Approver
+
+* A leave approver is a user who can approve an leave application for an employee. 
+
+* You need to mention a list of Leave Approvers against an Employee in the Employee Master.
+
+<img class="screenshot" alt="Leave Approver" src="/assets/manual_erpnext_com/img/human-resources/employee-leave-approver.png">
+
+> Tip : If you want all users to create their own Leave Applications, you can set
+their “Employee ID” as a match rule in the Leave Application Permission
+settings. See the earlier discussion on [Setting Up Permissions](/contents/setting-up/users-and-permissions)
+for more info.
+
+You assign Leaves aginast an Employee check [Leave Allocation](/contents/human-resources/setup/leave-allocation)
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/human-resources/offer-letter.md b/erpnext/docs/user/human-resources/offer-letter.md
new file mode 100644
index 0000000..75dd848
--- /dev/null
+++ b/erpnext/docs/user/human-resources/offer-letter.md
@@ -0,0 +1,16 @@
+Offer Letter is given to candidate after Interview & selection which states the offered salary package, 
+designation, grade, department working, no of days entitled for leave.
+
+In ERPNext you can make a record of the Offer Letters that you can given to candidates. To create a new offer Letter go to 
+
+> Human Resource > Offer Letter > New
+
+<img class="screenshot" alt="Offer Letter" src="/assets/manual_erpnext_com/img/human-resources/offer-letter.png">
+
+> Note: An offer letter can be made only against a [Job Applicant](/contents/human-resources/job-applicant)
+
+There is a pre-designed print format to print you offer letter.
+
+<img class="screenshot" alt="Offer Letter" src="/assets/manual_erpnext_com/img/human-resources/offer-letter-print.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/human-resources/salary-and-payroll.md b/erpnext/docs/user/human-resources/salary-and-payroll.md
new file mode 100644
index 0000000..168d605
--- /dev/null
+++ b/erpnext/docs/user/human-resources/salary-and-payroll.md
@@ -0,0 +1,116 @@
+Salary is a fixed amount of money or compensation paid to an employee by an employer in return for the work performed . 
+
+Payroll is the administration of financial records of employees' salaries, wages, bonuses, net pay, and deductions.
+
+To process Payroll in ERPNext,
+
+  1. Create Salary Structures for all Employees.
+  2. Generate Salary Slips via Process Payroll.
+  3. Book the Salary in your Accounts.
+
+### Salary Structure
+
+The Salary Structure represents how Salaries are calculated based on Earnings
+and Deductions. 
+
+Salary structures are used to help organizations:
+  1. Maintain pay levels that are competitive with the external labor market,
+  2. Maintain internal pay relationships among jobs,
+  3. Recognize and reward differences in level of responsibility, skill, and performance, and manage pay expenditures.
+
+The usual components of the salary structure (in india) include:
+
+__Basic Salary:__ It is the taxable base income and generally not more than 40% of CTC.
+
+__House Rent Allowance:__ The HRA constitutes 40 to 50% of the basic salary.
+
+__Special Allowances:__ Makes up for the remainder part of the salary, mostly smaller than the basic salary which is completely taxable.
+
+__Leave Travel Allowance:__ The non-taxable amount paid by the employer to the employee for vacation/trips with family within India.
+
+__Gratuity:__ It is basically a lump sum amount paid by the employer when the employee resigns from the organization or retires.
+
+__PF:__ Fund collected during emergency or old age. 12% of the basic salary is automatically deducted and goes to the employee provident fund.
+
+__Medical Allowance:__ The employer pays the employee for the medical expenditures incurred. It is tax free up to Rs.15,000.
+
+__Bonus:__ Taxable part of the CTC, usually a once a year lump sum amount, given to the employee based on the individual’s as well as the organizational performance for the year.
+
+__Employee Stock Options:__ ESOPS are Free/discounted shares given by the company to the employees. This is done to primarily increase employee retention.
+
+To create a new Salary Structure go to:
+
+> Human Resources > Setup > Salary Structure > New Salary Structure
+
+#### Figure 1:Salary Structure
+
+<img class="screenshot" alt="Salary Structure" src="/assets/manual_erpnext_com/img/human-resources/salary-structure.png">
+
+### In the Salary Structure,
+
+  * Select the Employee
+  * Set the starting date from which this is valid (Note: There can only be one Salary Structure that can be “Active” for an Employee during any period)
+  * In the “Earnings” and “Deductions” table all your defined Earning Type and Deductions Type will be auto-populated. Set the values of the Earnings and Deductions and save the Salary Structure.
+
+### Leave Without Pay (LWP)
+
+Leave Without Pay (LWP) happens when an Employee runs out of allocated leaves
+or takes a leave without an approval (via Leave Application). If you want
+ERPNext to automatically deduct salary in case of LWP, then you must check on
+the “Apply LWP” column in the Earning Type and Deduction Type masters. The
+amount of pay cut is the proportion of LWP days divided by the total working
+days for the month (based on the Holiday List).
+
+If you don’t want ERPNext to manage LWP, just don’t click on LWP in any of the
+Earning Types and Deduction Types.
+
+* * *
+
+### Creating Salary Slips
+
+Once the Salary Structure is created, you can make a salary slip from the same
+form or you can process your payroll for the month using Process Payroll.
+
+To create a salary slip from Salary Structure, click on the button Make Salary
+Slip.
+
+#### Figure 2: Salary Slip
+
+<img class="screenshot" alt="Salary Slip" src="/assets/manual_erpnext_com/img/human-resources/salary-slip.png">
+
+You can also create salary slip for multiple employees using Process Payroll:
+
+> Human Resources > Process Payroll
+
+#### Figure 3: Process Payroll
+
+<img class="screenshot" alt="Process Payroll" src="/assets/manual_erpnext_com/img/human-resources/process-payroll.png">
+
+In Process Payroll,
+
+  1. Select the Company for which you want to create the Salary Slips.
+  2. Select the Month and the Year for which you want to create the Salary Slips.
+  3. Click on “Create Salary Slips”. This will create Salary Slip records for each active Employee for the month selected. If the Salary Slips are created, the system will not create any more Salary Slips. All updates will be shown in the “Activity Log” section.
+  4. Once all Salary Slips are created, you can check if they are created correctly or edit it if you want to deduct Leave Without Pay (LWP).
+  5. After checking, you can “Submit” them all together by clicking on “Submit Salary Slips”. 1. If you want them to be automatically emailed to the Employee, make sure to check the “Send Email” box.
+
+### Booking Salaries in Accounts
+
+The final step is to book the Salaries in your Accounts.
+
+Salaries in businesses are usually dealt with extreme privacy. In most cases,
+the companies issues a single payment to the bank combining all salaries and
+the bank distributes the salaries to each employee’s salary account. This way
+there is only one payment entry in the company’s books of accounts and anyone
+with access to the company’s accounts will not have access to the individual
+salaries.
+
+The salary payment entry is a Journal Entry entry that debits the total
+salary of all Employees to the Salary Account and credits the company’s bank
+Account.
+
+To generate your salary payment voucher from Process Payroll, click on
+“Make Bank Voucher” and a new Journal Entry with the total salaries will be
+created.
+
+{next}
diff --git a/erpnext/docs/user/human-resources/setup/branch.md b/erpnext/docs/user/human-resources/setup/branch.md
new file mode 100644
index 0000000..bb982a2
--- /dev/null
+++ b/erpnext/docs/user/human-resources/setup/branch.md
@@ -0,0 +1,5 @@
+Branches of your organization
+
+<img class="screenshot" alt="Branch" src="/assets/manual_erpnext_com/img/human-resources/branch.png">
+
+{next}
diff --git a/erpnext/docs/user/human-resources/setup/deduction-type.md b/erpnext/docs/user/human-resources/setup/deduction-type.md
new file mode 100644
index 0000000..a2697b9
--- /dev/null
+++ b/erpnext/docs/user/human-resources/setup/deduction-type.md
@@ -0,0 +1,10 @@
+You can make a record of the tax and other salary deductions and describe it as Deduction Type
+
+To create a new Deduction Type
+
+> Human Resource > Setup > Deduction Type > New
+
+<img class="screenshot" alt="Deduction Type" src="/assets/manual_erpnext_com/img/human-resources/deduction-type.png">
+
+
+{next}
diff --git a/erpnext/docs/user/human-resources/setup/department.md b/erpnext/docs/user/human-resources/setup/department.md
new file mode 100644
index 0000000..57aa80f
--- /dev/null
+++ b/erpnext/docs/user/human-resources/setup/department.md
@@ -0,0 +1,5 @@
+Departments in your organization
+
+<img class="screenshot" alt="Department" src="/assets/manual_erpnext_com/img/human-resources/department.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/human-resources/setup/designation.md b/erpnext/docs/user/human-resources/setup/designation.md
new file mode 100644
index 0000000..1d115f9
--- /dev/null
+++ b/erpnext/docs/user/human-resources/setup/designation.md
@@ -0,0 +1,5 @@
+Designations in your organization
+
+<img class="screenshot" alt="Designation" src="/assets/manual_erpnext_com/img/human-resources/designation.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/human-resources/setup/earning-type.md b/erpnext/docs/user/human-resources/setup/earning-type.md
new file mode 100644
index 0000000..3e74db3
--- /dev/null
+++ b/erpnext/docs/user/human-resources/setup/earning-type.md
@@ -0,0 +1,10 @@
+You can make a record of the Salary Components and describe it as Earning Type
+
+To create a new Earning Type
+
+> Human Resource > Setup > Earning Type > New
+
+<img class="screenshot" alt="Earning Type" src="/assets/manual_erpnext_com/img/human-resources/earning-type.png">
+
+
+{next}
diff --git a/erpnext/docs/user/human-resources/setup/employment-type.md b/erpnext/docs/user/human-resources/setup/employment-type.md
new file mode 100644
index 0000000..b6f6cd3
--- /dev/null
+++ b/erpnext/docs/user/human-resources/setup/employment-type.md
@@ -0,0 +1,5 @@
+Various employment contracts you have with your employees.
+
+<img class="screenshot" alt="Employment Type" src="/assets/manual_erpnext_com/img/human-resources/employment-type.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/human-resources/setup/holiday-list.md b/erpnext/docs/user/human-resources/setup/holiday-list.md
new file mode 100644
index 0000000..600c781
--- /dev/null
+++ b/erpnext/docs/user/human-resources/setup/holiday-list.md
@@ -0,0 +1,5 @@
+You can specify the Holidays for a particular year using Holiday List.
+
+<img class="screenshot" alt="Holiday List" src="/assets/manual_erpnext_com/img/human-resources/holiday-list.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/human-resources/setup/hr-settings.md b/erpnext/docs/user/human-resources/setup/hr-settings.md
new file mode 100644
index 0000000..aa7cf6c
--- /dev/null
+++ b/erpnext/docs/user/human-resources/setup/hr-settings.md
@@ -0,0 +1,7 @@
+# HR Settings
+
+GLobal settings for HR related documents
+
+<img class="screenshot" alt="HR Settings" src="/assets/manual_erpnext_com/img/human-resources/hr-settings.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/human-resources/setup/index.md b/erpnext/docs/user/human-resources/setup/index.md
new file mode 100644
index 0000000..0dff60b
--- /dev/null
+++ b/erpnext/docs/user/human-resources/setup/index.md
@@ -0,0 +1 @@
+{index}
\ No newline at end of file
diff --git a/erpnext/docs/user/human-resources/setup/index.txt b/erpnext/docs/user/human-resources/setup/index.txt
new file mode 100644
index 0000000..550236a
--- /dev/null
+++ b/erpnext/docs/user/human-resources/setup/index.txt
@@ -0,0 +1,10 @@
+hr-settings
+employment-type
+branch
+department
+designation
+earning-type
+deduction-type
+leave-allocation
+leave-type
+holiday-list
diff --git a/erpnext/docs/user/human-resources/setup/leave-allocation.md b/erpnext/docs/user/human-resources/setup/leave-allocation.md
new file mode 100644
index 0000000..28c53a5
--- /dev/null
+++ b/erpnext/docs/user/human-resources/setup/leave-allocation.md
@@ -0,0 +1,7 @@
+Helps you allocate Leaves to a particular Employee
+
+<img class="screenshot" alt="Leave Allocation" src="/assets/manual_erpnext_com/img/human-resources/leave-allocation.png">
+
+To assign leaves to multiple employees use the [Leave Allocation Tool](/contents/human-resources/tools/leave-allocation-tool)
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/human-resources/setup/leave-type.md b/erpnext/docs/user/human-resources/setup/leave-type.md
new file mode 100644
index 0000000..6621c78
--- /dev/null
+++ b/erpnext/docs/user/human-resources/setup/leave-type.md
@@ -0,0 +1,9 @@
+Specify the Type of Leave that can be allocated against an Employee
+
+<img class="screenshot" alt="Leave Type" src="/assets/manual_erpnext_com/img/human-resources/leave-type.png">
+
+* 'Max Days Leave Allowed' specifies the maximum number of days this type of leave can be taken at a strech.
+* 'Is LWP' specifies if the Leave is without Pay.
+* 'Allow Negative Balance' specifies if system can maintain negative leaves.
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/human-resources/tools/index.md b/erpnext/docs/user/human-resources/tools/index.md
new file mode 100644
index 0000000..0dff60b
--- /dev/null
+++ b/erpnext/docs/user/human-resources/tools/index.md
@@ -0,0 +1 @@
+{index}
\ No newline at end of file
diff --git a/erpnext/docs/user/human-resources/tools/index.txt b/erpnext/docs/user/human-resources/tools/index.txt
new file mode 100644
index 0000000..3da2e71
--- /dev/null
+++ b/erpnext/docs/user/human-resources/tools/index.txt
@@ -0,0 +1,2 @@
+upload-attendance
+leave-allocation-tool
\ No newline at end of file
diff --git a/erpnext/docs/user/human-resources/tools/leave-allocation-tool.md b/erpnext/docs/user/human-resources/tools/leave-allocation-tool.md
new file mode 100644
index 0000000..9e9fbf3
--- /dev/null
+++ b/erpnext/docs/user/human-resources/tools/leave-allocation-tool.md
@@ -0,0 +1,5 @@
+Leave Allocation tool helps you allocated a specific number of leaves for your employees.
+
+<img class="screenshot" alt="Leave Application" src="/assets/manual_erpnext_com/img/human-resources/leave-application.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/human-resources/tools/upload-attendance.md b/erpnext/docs/user/human-resources/tools/upload-attendance.md
new file mode 100644
index 0000000..164460e
--- /dev/null
+++ b/erpnext/docs/user/human-resources/tools/upload-attendance.md
@@ -0,0 +1,9 @@
+This tool helps you to upload bulk attendence from a csv file.
+
+To upload the attendance go to:
+
+> Human Resources > Upload Attendance
+
+<img class="screenshot" alt="Attendence upload" src="/assets/manual_erpnext_com/img/human-resources/attendence-upload.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/index.md b/erpnext/docs/user/index.md
new file mode 100644
index 0000000..454b4a8
--- /dev/null
+++ b/erpnext/docs/user/index.md
@@ -0,0 +1,3 @@
+# User Manual
+
+{index}
\ No newline at end of file
diff --git a/erpnext/docs/user/index.txt b/erpnext/docs/user/index.txt
new file mode 100644
index 0000000..d5cf10d
--- /dev/null
+++ b/erpnext/docs/user/index.txt
@@ -0,0 +1,15 @@
+introduction
+setting-up
+accounts
+stock
+CRM
+selling
+buying
+manufacturing
+projects
+support
+human-resources
+customer-portal
+website
+collaboration-tools
+customize-erpnext
diff --git a/erpnext/docs/user/introduction/concepts-and-terms.md b/erpnext/docs/user/introduction/concepts-and-terms.md
new file mode 100644
index 0000000..e445963
--- /dev/null
+++ b/erpnext/docs/user/introduction/concepts-and-terms.md
@@ -0,0 +1,423 @@
+Before you start implementation, lets get familiar with the terminology that
+is used and some basic concepts in ERPNext.
+
+* * *
+
+### Basic Concepts
+
+#### Company
+
+This represents the Company records for which ERPNext is setup. With this same
+setup, you can create multiple Company records, each representing a different
+legal entity. The accounting for each Company will be different, but they will
+share the Customer, Supplier and Item records.
+
+> Setup > Company
+
+#### Customer
+
+Represents a customer. A Customer can be an individual or an organizations.
+You can create multiple Contacts and Addresses for each Customer.
+
+> Selling > Customer
+
+#### Supplier
+
+Represents a supplier of goods or services. Your telephone company is a
+Supplier, so is your raw materials Supplier. Again, a Supplier can be an
+individual or an organization and has multiple Contacts and Addresses.
+
+> Buying > Supplier
+
+#### Item
+
+A Product, sub-product or Service that is either bought, sold or manufactured
+and is uniquely identified.
+
+> Stock > Item
+
+#### Account
+
+An Account is a heading under which financial and business transactions are
+carried on. For example, “Travel Expense” is an account, “Customer Zoe”,
+“Supplier Mae” are accounts. ERPNext creates accounts for Customers and
+Suppliers automatically.
+
+> Accounts > Chart of Accounts
+
+#### Address
+
+An address represents location details of a Customer or Supplier. These can be
+of different locations such as Head Office, Factory, Warehouse, Shop etc.
+
+> Selling > Address
+
+#### Contact
+
+An individual Contact belongs to a Customer or Supplier or is just an
+independent. A Contact has a name and contact details like email and phone
+number.
+
+> Selling > Contact
+
+#### Communication
+
+A list of all Communication with a Contact or Lead. All emails sent from the
+system are added to the Communication table.
+
+> Support > Communication
+
+#### Price List
+
+A Price List is a place where different rate plans can be stored. It’s a name
+you give to a set of Item Prices stored under a particular List.
+
+> Selling > Price List
+
+
+> Buying > Price List
+
+* * *
+
+### Accounting
+
+#### Fiscal Year
+
+Represents a Financial Year or Accounting Year. You can operate multiple
+Fiscal Years at the same time. Each Fiscal Year has a start date and an end
+date and transactions can only be recorded in this period. When you “close” a
+fiscal year, it's balances are transferred as “opening” balances for the next
+fiscal year.
+
+> Setup > Company > Fiscal Year
+
+#### Cost Center
+
+A Cost Center is like an Account, but the only difference is that its
+structure represents your business more closely than Accounts.
+For example, in your Chart of Accounts, you can separate your expenses by its type 
+(i.e., travel, marketing, etc.). In your Chart of Cost Centers, you can separate 
+them by product line or business group (e.g., online sales, retail sales, etc.).
+
+> Accounts > Chart of Cost Centers
+
+#### Journal Entry
+
+A document that contains General Ledger (GL) entries and the sum of Debits and
+Credits of those entries is the same. In ERPNext you can update Payments,
+Returns, etc., using Journal Entrys.
+
+> Accounts > Journal Entry
+
+#### Sales Invoice
+
+A bill sent to Customers for delivery of Items (goods or services).
+
+> Accounts > Sales Invoice
+
+#### Purchase Invoice
+
+A bill sent by a Supplier for delivery of Items (goods or services).
+
+> Accounts > Purchase Invoice
+
+#### Currency
+
+ERPNext allows you to book transactions in multiple currencies. There is only
+one currency for your book of accounts though. While posting your Invoices with
+payments in different currencies, the amount is converted to the default
+currency by the specified conversion rate.
+
+> Setup > Currency
+
+* * *
+
+### Selling
+
+#### Customer Group
+
+A classification of Customers, usually based on market segment.
+
+> Selling > Setup > Customer Group
+
+#### Lead
+
+A person who could be a future source of business. A Lead may generate
+Opportunities. (from: “may lead to a sale”).
+
+> Selling > Lead
+
+#### Opportunity
+
+A potential sale. (from: “opportunity for a business”).
+
+> Selling > Opportunity
+
+#### Sales Order
+
+A note confirming the terms of delivery and price of an Item (product or
+service) by the Customer. Deliveries, Production Orders and Invoices are made
+on basis of Sales Orders.
+
+> Selling > Sales Order
+
+#### Territory
+
+A geographical area classification for sales management. You can set targets
+for Territories and each sale is linked to a Territory.
+
+> Selling > Setup > Territory
+
+#### Sales Partner
+
+A third party distributer / dealer / affiliate / commission agent who sells
+the company’s products usually for a commission.
+
+> Selling > Setup > Sales Partner
+
+#### Sales Person
+
+Someone who pitches to the Customer and closes deals. You can set targets for
+Sales Persons and tag them in transactions.
+
+> Selling > Setup > Sales Person
+
+* * *
+
+### Buying
+
+#### Purchase Order
+
+A contract given to a Supplier to deliver the specified Items at the specified
+cost, quantity, dates and other terms.
+
+> Buying > Purchase Order
+
+#### Material Request
+
+A request made by a system User, or automatically generated by ERPNext based
+on reorder level or projected quantity in Production Plan for purchasing a set
+of Items.
+
+> Buying > Material Request
+
+* * *
+
+### Stock (Inventory)
+
+#### Warehouse
+
+A logical Warehouse against which stock entries are made.
+
+> Stock > Warehouse
+
+#### Stock Entry
+
+Material transfer from a Warehouse, to a Warehouse or from one Warehouse to
+another.
+
+> Stock > Stock Entry
+
+#### Delivery Note
+
+A list of Items with quantities for shipment. A Delivery Note will reduce the
+stock of Items for the Warehouse from where you ship. A Delivery Note is
+usually made against a Sales Order.
+
+> Stock > Delivery Note
+
+#### Purchase Receipt
+
+A note stating that a particular set of Items were received from the Supplier,
+most likely against a Purchase Order.
+
+> Stock > Purchase Receipt
+
+#### Serial Number
+
+A unique number given to a particular unit of an Item.
+
+> Stock > Serial Number
+
+#### Batch
+
+A number given to a group of units of a particular Item that may be purchased
+or manufactured in a group.
+
+> Stock > Batch
+
+#### Stock Ledger Entry
+
+A unified table for all material movement from one warehouse to another. This
+is the table that is updated when a Stock Entry, Delivery Note, Purchase
+Receipt, and Sales Invoice (POS) is made.
+
+#### Stock Reconciliation
+
+Update Stock of multiple Items from a spreadsheet (CSV) file.
+
+> Stock > Stock Reconciliation
+
+#### Quality Inspection
+
+A note prepared to record certain parameters of an Item at the time of Receipt
+from Supplier, or Delivery to Customer.
+
+> Stock > Quality Inspection
+
+#### Item Group
+
+A classification of Item.
+
+> Stock > Setup > Item Group
+
+* * *
+
+### Human Resource Management
+
+#### Employee
+
+Record of a person who has been in present or past, in the employment of the
+company.
+
+> Human Resources > Employee
+
+#### Leave Application
+
+A record of an approved or rejected request for leave.
+
+> Human Resource > Leave Application
+
+#### Leave Type
+
+A type of leave (e.g., Sick Leave, Maternity Leave, etc.).
+
+> Human Resource > Leave and Attendance > Leave Type
+
+#### Process Payroll
+
+A tool that helps in creation of multiple Salary Slips for Employees.
+
+> Human Resource > Salary and Payroll > Process Payroll
+
+#### Salary Slip
+
+A record of the monthly salary given to an Employee.
+
+> Human Resource > Salary Slip
+
+#### Salary Structure
+
+A template identifying all the components of an Employees' salary (earnings), 
+tax and other social security deductions.
+
+> Human Resource > Salary and Payroll > Salary Structure
+
+#### Appraisal
+
+A record of the performance of an Employee over a specified period based on
+certain parameters.
+
+> Human Resources > Appraisal
+
+#### Appraisal Template
+
+A template recording the different parameters of an Employees' performance and
+their weightage for a particular role.
+
+> Human Resources > Employee Setup > Appraisal Template
+
+#### Attendance
+
+A record indicating presence or absence of an Employee on a particular day.
+
+> Human Resources > Attendance
+
+* * *
+
+### Manufacturing
+
+#### Bill of Materials (BOM)
+
+A list of Operations and Items with their quantities, that are required to
+produce another Item. A Bill of Materials (BOM) is used to plan purchases and
+do product costing.
+
+> Manufacturing > BOM
+
+#### Workstation
+
+A place where a BOM operation takes place. It is useful to calculate the
+direct cost of the product.
+
+> Manufacturing > Workstation
+
+#### Production Order
+
+A document signaling production (manufacture) of a particular Item with
+specified quantities.
+
+> Manufacturing > Production Order
+
+#### Production Planning Tool
+
+A tool for automatic creation of Production Orders and Purchase Requests based
+on Open Sales Orders in a given period.
+
+> Manufacturing > Production Planning Tool
+
+* * *
+
+### Website
+
+#### Blog Post
+
+A short article that appears in the “Blog” section of the website generated
+from the ERPNext website module. Blog is a short form of “Web Log”.
+
+> Website > Blog Post
+
+#### Web Page
+
+A web page with a unique URL (web address) on the website generated from
+ERPNext.
+
+> Website > Web Page
+
+* * *
+
+### Setup / Customization
+
+#### Custom Field
+
+A user defined field on a form / table.
+
+> Setup > Customize ERPNext > Custom Field
+
+#### Global Defaults
+
+This is the section where you set default values for various parameters of the
+system.
+
+> Setup > Data > Global Defaults
+
+#### Print Heading
+
+A title that can be set on a transaction just for printing. For example, you
+want to print a Quotation with a title “Proposal” or “Pro forma Invoice”.
+
+> Setup > Branding and Printing > Print Headings
+
+#### Terms and Conditions
+
+Text of your terms of contract.
+
+> Selling > Setup > Terms and Conditions
+
+#### Unit of Measure (UOM)
+
+How quantity is measured for an Item. E.g., Kg, No., Pair, Packet, etc.
+
+> Stock > Setup > UOM
+
+{next}
diff --git a/erpnext/docs/user/introduction/do-i-need-an-erp.md b/erpnext/docs/user/introduction/do-i-need-an-erp.md
new file mode 100644
index 0000000..0c2a0a5
--- /dev/null
+++ b/erpnext/docs/user/introduction/do-i-need-an-erp.md
@@ -0,0 +1,19 @@
+ERPNext is a modern tool that covers not only accounting but also all other
+business functions, on an integrated platform. It has many benefits over both
+traditional accounting as well as ERP applications.
+
+### Benefits over traditional accounting software:
+
+  * Do a lot more than just accounting! Manage inventory, billing, quotes, leads, payroll and a lot more.
+  * Keep all your data safe and in one place. Don’t keep hunting for data when you need it across spreadsheets and different computers. Manage everyone on the same page. All users get the same updated data.
+  * Stop repetitive work. Don’t enter the same information from your word processor to your accounting tool. It's all integrated.
+  * Keep track. Get the entire history of a customer or a deal in one place.
+
+### Benefits over big ERPs
+
+  * $$$ - Saves money.
+  * **Easier to configure:** Big ERPs are notoriously hard to setup and will ask you a zillion questions before you can do something meaningful.
+  * **Easier to use:** Modern web like user interface will keep your users happy and in familiar territory.
+  * **Open Source :** This software is always free and you can host it anywhere you like.
+
+{next}
diff --git a/erpnext/docs/user/introduction/getting-started-with-erpnext.md b/erpnext/docs/user/introduction/getting-started-with-erpnext.md
new file mode 100644
index 0000000..5439d51
--- /dev/null
+++ b/erpnext/docs/user/introduction/getting-started-with-erpnext.md
@@ -0,0 +1,35 @@
+There are many ways to get started with ERPNext.
+
+### 1\. See the Demo
+
+If you want to check out the user interface and **feel** the application, just
+see the demo at:
+
+  * <https://demo.erpnext.com>
+
+### 2\. Start a Free Account at ERPNext.com
+
+
+ERPNext.com is managed by the organization (Frappe) that publishes ERPNext.
+You can start with your own account by [signing up on the
+website](https://erpnext.com).
+
+You can also decide to host your application at erpnext.com by buying the
+hosting plans. This way you support the organization that develops and
+improves ERPNext. You also get one-to-one functional (usage) support with the
+hosting plans.
+
+### 3\. Download a Virtual Machine
+
+To avoid the trouble of installing an instance, ERPNext is available as a
+Virtual Image (a full loaded operating system with ERPNext installed). You can
+use this on **any** platform including Microsoft Windows.
+
+[Click here to see instructions on how to use the Virtual
+Image](https://erpnext.com/download)
+
+### 4\. Install ERPNext on your Unix/Linux/Mac machine
+
+If you are familiar to installing applications on *nix platforms, read the instructions on how to install using [Frappe Bench](https://github.com/frappe/frappe-bench).
+
+{next}
diff --git a/erpnext/docs/user/introduction/implementation-strategy.md b/erpnext/docs/user/introduction/implementation-strategy.md
new file mode 100644
index 0000000..bbfbbd6
--- /dev/null
+++ b/erpnext/docs/user/introduction/implementation-strategy.md
@@ -0,0 +1,32 @@
+Before you start managing your Operations in EPRNext, you must first become
+familiar with the system and the terms used. For this we recommend
+implementation should happen in two phases.
+
+  * A **Test Phase**, where you enter dummy records representing your day to day transactions and a **Live Phase**, where we start entering live data.
+
+### Test Phase
+
+  * Read the Manual
+  * Create a free account at [https://erpnext.com](https://erpnext.com) (the easiest way to experiment).
+  * Create your first Customer, Supplier and Item. Add a few more so you get familiar with them.
+  * Create Customer Groups, Item Groups, Warehouses, Supplier Groups, so that you can classify your Items.
+  * Complete a standard sales cycle - Lead > Opportunity > Quotation > Sales Order > Delivery Note > Sales Invoice > Payment (Journal Entry)
+  * Complete a standard purchase cycle - Material Request > Purchase Order > Purchase Receipt > Payment (Journal Entry).
+  * Complete a manufacturing cycle (if applicable) - BOM > Production Planning Tool > Production Order > Material Issue
+  * Replicate a real life scenario into the system.
+  * Create custom fields, print formats etc as required.
+
+### Live Phase
+
+Once you are familiar with ERPNext, start entering your live data!
+
+  * Clean up the account of test data or better, start a fresh install.
+  * If you just want to clear your transactions and not your master data like Item, Customer, Supplier, BOM etc, you can click delete the Company against which you have made the transactions and start with a fresh Bill of Materials. To delete a company, open the Company Record via Setup > Masters > Company and delete the company by clicking on the **Delete Company** button at the bottom.
+  * You can also setup a new account at [https://erpnext.com](https://erpnext.com), and use the 30-day free trial. [Find out more ways of deploying ERPNext](/introduction/getting-started-with-erpnext)
+  * Setup all the modules with Customer Groups, Item Groups, Warehouses, BOMs etc.
+  * Import Customers, Suppliers, Items, Contacts and Addresses using Data Import Tool.
+  * Import opening stock using Stock Reconciliation Tool.
+  * Create opening accounting entries via Journal Entry and create outstanding Sales Invoices and Purchase Invoices.
+  * If you need help, [you can buy support](https://erpnext.com/pricing) or [ask in the user forum](https://discuss.erpnext.com).
+
+{next}
diff --git a/erpnext/docs/user/introduction/index.md b/erpnext/docs/user/introduction/index.md
new file mode 100644
index 0000000..76e77b1
--- /dev/null
+++ b/erpnext/docs/user/introduction/index.md
@@ -0,0 +1,46 @@
+## What is an ERP and why should I care?
+
+(If you are already convinced you need an all-in-one system for your
+organization, you can skip this page.)
+
+If you are running a small business that has a few employees, you understand
+that it's hard to manage the dynamic nature of doing businesses. You are
+already using a software like Accounting, and may be some more to manage your
+inventory and sales (or CRM).
+
+An ERP brings all of this together in one place.
+
+Small businesses are not so different from large ones. They contain most of
+the complexities of a large business along with many other constraints. Small
+businesses have to communicate with customers, do accounts, pay taxes, do
+payroll, manage timelines, deliver quality, answer questions, and keep
+everyone happy just like in large businesses.
+
+Large businesses have the advantage of using advanced data systems to manage
+their process efficiently. Small businesses, on the other hand, typically
+struggle to keep things organized. They often use a mix of apps like
+spreadsheets, accounting software, web CRM etc to manage.The problem is, not
+everyone is on the same page. An ERP changes that.
+
+## What is ERPNext?
+
+ERPNext helps you to manage all your business information in one application
+and use it to manage operations and take decisions based on data.
+
+Among other things, ERPNext will help you to:
+
+  * Track all Invoices and Payments.
+  * Know what quantity of which product is available in stock.
+  * Identify open customer queries.
+  * Manage payroll.
+  * Assign tasks and follow up on them.
+  * Maintain a database of all your customers, suppliers and their contacts.
+  * Prepare quotes.
+  * Get reminders on maintenance schedules.
+  * Publish your website.
+
+And a lot lot lot more.
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/introduction/index.txt b/erpnext/docs/user/introduction/index.txt
new file mode 100644
index 0000000..535fcfe
--- /dev/null
+++ b/erpnext/docs/user/introduction/index.txt
@@ -0,0 +1,7 @@
+do-i-need-an-erp
+open-source
+getting-started-with-erpnext
+the-champion
+implementation-strategy
+key-workflows
+concepts-and-terms
diff --git a/erpnext/docs/user/introduction/key-workflows.md b/erpnext/docs/user/introduction/key-workflows.md
new file mode 100644
index 0000000..ddec7de
--- /dev/null
+++ b/erpnext/docs/user/introduction/key-workflows.md
@@ -0,0 +1,14 @@
+# Flow Chart Of Transactions In ERPNext
+
+This diagram covers how ERPNext tracks your company information across key
+functions. This diagram does not cover all the features of ERPNext.
+
+![](/assets/manual_erpnext_com/old_images/erpnext/overview.png)
+
+
+[Full Resolution](/assets/manual_erpnext_com/old_images/erpnext/overview.png)
+
+_Note: Not all of the steps are mandatory. ERPNext allows you to freely skip
+steps if you want to simplify the process._
+
+{next}
diff --git a/erpnext/docs/user/introduction/open-source.md b/erpnext/docs/user/introduction/open-source.md
new file mode 100644
index 0000000..0089ba8
--- /dev/null
+++ b/erpnext/docs/user/introduction/open-source.md
@@ -0,0 +1,33 @@
+The source code is an Open Source software. It is open for anyone to
+understand, extend or improve. And it is free!
+
+Advantages of an Open Source software are:
+
+  1. You can choose to change your service provider anytime.
+  2. You can host the application anywhere, including your own server to gain complete ownership and privacy of the data.
+  3. You can access a community to support you, incase you need help. You are not dependant on your service provider.
+  4. You can benefit from using a product that is critiqued and used by a wide range of people, who have reported hundreds of issues and suggestions to make this product better, and this will always continue.
+
+
+---
+
+### ERPNext Source Code
+
+ERPnext source repository is hosted at GitHub and can be found here
+
+- [https://github.com/frappe/erpnext](https://github.com/frappe/erpnext)
+
+
+---
+
+### Alternatives
+
+There are many Open Source ERPs you can consider. Popular ones are:
+
+  1. Odoo
+  2. OpenBravo
+  3. Apache OfBiz
+  4. xTuple
+  5. Compiere (and forks)
+
+{next}
diff --git a/erpnext/docs/user/introduction/the-champion.md b/erpnext/docs/user/introduction/the-champion.md
new file mode 100644
index 0000000..32d3cd3
--- /dev/null
+++ b/erpnext/docs/user/introduction/the-champion.md
@@ -0,0 +1,46 @@
+<!-- no-heading -->
+
+<h1 class="white">The Champion</h1>
+
+<img class="cover" src="/assets/manual_erpnext_com/old_images/erpnext/implementation-image.png">
+
+We have seen dozens of ERP implementations over the past few years and we
+realize that successful implementation is a lot about intangibles and
+attitude.
+
+**ERPs are not required.**
+
+Like exercise.
+
+Human body may seem like it does not require exercise today or even tomorrow,
+but in the long run, if you wish to maintain your body and its health, you
+should get on the treadmill.
+
+In the same way, ERPs improve the health of your organization over a long run
+by keeping it fit and efficient. The more you delay putting things in order,
+the more time you lose, and the closer you get to a major disaster.
+
+So when you start implementing an ERP, keep your sight on the long term
+benefits. Like exercise, its painful in the short run, but will do wonders if
+you stay on course.
+
+* * *
+
+## The Champion
+
+ERP means organization wide change and it does not happen without effort.
+Every change requires a champion and it is the duty of the champion to
+organize and energize the entire team towards implementation. The champion
+needs to be resilient incase something goes wrong .
+
+In many organizations we have seen, the champion is most often the owner or a
+senior manager. Occasionally, the champion is an outsider who is hired for a
+particular purpose.
+
+In either case, you must identify your champion first.
+
+Most likely it's **you!**
+
+Lets Begin!
+
+{next}
diff --git a/erpnext/docs/user/manufacturing/bill-of-materials.md b/erpnext/docs/user/manufacturing/bill-of-materials.md
new file mode 100644
index 0000000..7a40076
--- /dev/null
+++ b/erpnext/docs/user/manufacturing/bill-of-materials.md
@@ -0,0 +1,41 @@
+At the heart of the Manufacturing system is the **Bill of Materials** (BOM).
+The **BOM** is a list of all materials (either bought or made) and operations
+that go into a finished product or sub-Item. In ERPNext, the component could
+have its own BOM hence forming a tree of Items with multiple levels.
+
+To make accurate Purchase Requests, you must always maintain correct BOMs.
+To make a new BOM:
+
+> Manufacturing > Bill of Materials > New BOM
+
+<img class="screenshot" alt="Task" src="/assets/manual_erpnext_com/img/manufacturing/bom.png">
+
+* To add Operations select 'With Operation'. The Operations table shall appear.
+
+<img class="screenshot" alt="Task" src="/assets/manual_erpnext_com/img/manufacturing/bom-operations.png">
+
+  * Select the Item for which you want to make the BOM.
+  * Add the operations that you have to go through to make that particular Item in the “Operations” table. For each operation, you will be asked to enter a Workstation. You must create new Workstations as and when necessary.
+  * Workstations are defined only for product costing and Production Order Operations scheduling purposes not inventory. 
+  * Inventory is tracked in Warehouses not Workstations.
+
+###Costing of a BOM
+
+* The Costing section in BOM gives an approximate cost of producing the Item.
+
+* Add the list of Items you require for each operation, with its quantity. This Item could be a purchased Item or a sub-assembly with its own BOM. If the row Item is a manufactured Item and has multiple BOMs, select the appropriate BOM. You can also define if a part of the Item goes into scrap.
+
+<img class="screenshot" alt="Costing" src="/assets/manual_erpnext_com/img/manufacturing/bom-costing.png">
+
+* This cost can be updated on by using the 'Update Cost' button.
+
+<img class="screenshot" alt="Update Cost" src="/assets/manual_erpnext_com/img/manufacturing/bom-update-cost.png">
+
+### Materials Required(exploded) 
+
+This table lists down all the Material required for the Item to be Manufactured.
+It also fetches sub-assemblies along with the quantity.
+
+<img class="screenshot" alt="Exploded Section" src="/assets/manual_erpnext_com/img/manufacturing/bom-exploded.png">
+
+{next}
diff --git a/erpnext/docs/user/manufacturing/index.md b/erpnext/docs/user/manufacturing/index.md
new file mode 100644
index 0000000..3fcccf4
--- /dev/null
+++ b/erpnext/docs/user/manufacturing/index.md
@@ -0,0 +1,10 @@
+# Manufacturing
+
+The Manufacturing module in ERPNext helps you to maintain multi-level Bill of
+Materials (BOMs) for your Items. 
+It helps in product costing, production planning, creating production orders for your manufacturing shop floors and 
+planning inventory by getting your material requirement via BOMs (also called Material Requirements Planning MRP).
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/manufacturing/index.txt b/erpnext/docs/user/manufacturing/index.txt
new file mode 100644
index 0000000..1fe03a6
--- /dev/null
+++ b/erpnext/docs/user/manufacturing/index.txt
@@ -0,0 +1,8 @@
+introduction
+bill-of-materials
+production-order
+workstation
+operation
+subcontracting
+tools
+setup
\ No newline at end of file
diff --git a/erpnext/docs/user/manufacturing/introduction.md b/erpnext/docs/user/manufacturing/introduction.md
new file mode 100644
index 0000000..278dfaf
--- /dev/null
+++ b/erpnext/docs/user/manufacturing/introduction.md
@@ -0,0 +1,24 @@
+<img class="screenshot" alt="Task" src="/assets/manual_erpnext_com/img/manufacturing/manufacturing.png">
+
+### Types of Production Planning
+
+Broadly there are three types of Production Planning Systems
+
+  * __Make-to-Stock:__ In these systems, production is planned based on a forecast and the Items are then sold to distributors or customers. All fast moving consumer goods that are sold in retail shops like soaps, packaged water etc and electronics like phones etc are Made-to-Stock.
+  * __Make-to-Order:__ In these systems, manufacturing takes place after a firm order is placed by a customer.
+  * __Engineer-to-Order:__ In this case each sale is a separate project and has to be designed and engineered to the requirements of the customer. Common examples of this are any custom business like furniture, machine tools, speciality devices, metal fabrication etc.
+
+Most small and medium sized manufacturing businesses are based on a make-to-
+order or engineer-to-order system and so is ERPNext.
+
+For engineer-to-order systems, the Manufacturing module should be used along
+with the Projects module..
+
+#### Manufacturing and Inventory
+
+You can track work-in-progress by creating work-in-progress Warehouses.
+
+ERPNext will help you track material movement by automatically creating Stock
+Entries from your Production Orders by building from Bill of Materials.
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manufacturing/operation.md b/erpnext/docs/user/manufacturing/operation.md
new file mode 100644
index 0000000..f0b4c25
--- /dev/null
+++ b/erpnext/docs/user/manufacturing/operation.md
@@ -0,0 +1,11 @@
+### Operation
+
+Stores a list of all Manufacturing Operations, its description and the Default Workstation for the Operation.
+
+You can also create a Operation by:
+
+> Manufacturing > Documents > Operation > New
+
+<img class="screenshot" alt="Operation" src="/assets/manual_erpnext_com/img/manufacturing/operation.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manufacturing/production-order.md b/erpnext/docs/user/manufacturing/production-order.md
new file mode 100644
index 0000000..5ac1301
--- /dev/null
+++ b/erpnext/docs/user/manufacturing/production-order.md
@@ -0,0 +1,106 @@
+Production Order (also called as Work Order) is a document that is given to
+the manufacturing shop floor by the Production Planner as a signal to produce
+a certain quantity of a certain Item. Production Order also helps to generate
+the material requirements (Stock Entry) for the Item to be produced from its
+**Bill of Materials**.
+
+The **Production Order** is generated from the **Production Planning
+Tool** based on Sales Orders. You can also create a direct Production Order
+by:
+
+> Manufacturing > Documents > Production Order > New
+
+<img class="screenshot" alt="Production Order" src="/assets/manual_erpnext_com/img/manufacturing/production-order.png">
+
+### Creating Production Orders
+
+  * Select the Item to be produced.
+  * The default BOM for that item will be fetched by the system. You can also change BOM.
+  * If the selected BOM has operartion mentioned in it, the system shall fetch all operations from BOM.
+  * Mention the Planned Start Date (an Estimated Date at which you want the Production to begin.)
+  * Select Warehouses. Work-in-Progress Warehouse is where your Items will be transferred when you begin production and Target Warehouse is  where you store finished Items before they are shipped.
+
+> Note : You can save a Production Order without selecting the warehouses, but warehouses are mandatory for submitting a Production Order
+
+###Reassigning Workstation/Duration for Operations
+
+* By default the system fetchs workstation and duration for Production Order Operations from the selected BOM.
+
+<img class="screenshot" alt="PO Opeartions" src="/assets/manual_erpnext_com/img/manufacturing/PO-operations.png">
+
+* If you wish to reassign the wrokstation for a particular opeeration in the Production Order, you can do so before submitting the Production Order.
+
+<img class="screenshot" alt="PO reassigning Operations" src="/assets/manual_erpnext_com/img/manufacturing/PO-reassigning-operations.png">
+
+* Select the respective operation, and change its workstation.
+* You can also change the Operating Time for that operation
+
+### Capacity Planning in Production Order
+
+* When a Production Order is submitted, based on the Planned Start Date and the availability of the workstations, system schedules all operations for the Production Order (if Production Order has operations specified).
+* Drafts of Time Logs are also created based on the scheduled operations.
+
+### Transfering Materials for Manufacturing
+
+* Once you have submitted your Production Order, you need to Transfer the Raw Materials to initiate the Manufacturing Process.
+* This will create a Stock Entry with all the Items required to complete this Production Order to be added to the WIP Warehouse. (this will add sub-Items with BOM as one Item or explode their children based on your setting above).
+
+* Click on 'Transfer Materials for Manufacturing'.
+
+<img class="screenshot" alt="Transfer Materials" src="/assets/manual_erpnext_com/img/manufacturing/PO-material-transfer.png">
+
+* Mention the quantity of materials to be transfered.
+
+<img class="screenshot" alt="Material Transfer Qty" src="/assets/manual_erpnext_com/img/manufacturing/PO-material-transfer-qty.png">
+
+* Submit the Stock Entry
+
+<img class="screenshot" alt="Stock Entry for PO" src="/assets/manual_erpnext_com/img/manufacturing/PO-SE-for-material-transfer.png">
+
+* Material Transfered for Manufacturing will be updated in the Production Order based on the Stock Entry.
+
+<img class="screenshot" alt="Stock Entry for PO" src="/assets/manual_erpnext_com/img/manufacturing/PO-material-transfer-updated.png">
+
+### Making Time Logs
+
+* Progress in the Production Order can be tracked using [Time Log](/contents/projects/time-log)
+* Time Logs are created against Production Order Operations.
+* Drafts of Time Logs are also created based on the scheduled operations when an Production Order is Submitted.
+* To create more Time Logs against an operation select 'Make TIme Log' in the respective operation.
+
+<img class="screenshot" alt="Make TL against PO" src="/assets/manual_erpnext_com/img/manufacturing/PO-operations-make-tl.png">
+
+###Updating Finished Goods
+
+* Once you are done with the Production Order you need to update the Finished Goods.
+* This will create a Stock Entry that will deduct all the sub-Items from the WIP Warehouse and add them to the Finished Goods Warehouse.
+* Click on 'Update Finished Goods'.
+
+<img class="screenshot" alt="Update Finished Goods" src="/assets/manual_erpnext_com/img/manufacturing/PO-FG-update.png">
+
+* Mention the quantity of materials to be transfered.
+
+<img class="screenshot" alt="Update Finished Goods Qty" src="/assets/manual_erpnext_com/img/manufacturing/PO-FG-update-qty.png">
+
+ > Tip : You can also partially complete a Production Order by updating the Finished Goods stock creating a Stock Entry.
+ 
+### Stopping a Production Order
+
+* When you stop a Production Order its status is changed to Stop indicating that all production process against that Production Order is to be ceased.
+* To stop the Production Order click on the 'stop' Button
+
+  1. On Submitting the Production Order, the system will reserve a slot for each of the Production Order Operations serially after the planned start date based on the workstation availability. The Workstation availability depends on the Workstation timings, holiday list and if some other Production Order Operation was scheduled in that slot. You can mention the number of days for the system to try scheduling the operations in the Manufacturing Settings. This is set to 30 Days by default. If the operation requires time exceeding the available slot, system shall ask you to break the operations. Once the scheduling is done system shall create Time Logs and save them. You can Modify them and submit them later.
+  2. You can also create additional time logs against an Operation. For doing so select the respective operation and click on 'Make Time Log'
+  3. Transfer Raw Material: This will create a Stock Entry with all the Items required to complete this Production Order to be added to the WIP Warehouse. (this will add sub-Items with BOM as one Item or explode their children based on your setting above).
+  4. Update Finished Goods: This will create a Stock Entry that will deduct all the sub-Items from the WIP Warehouse and add them to the Finished Goods Warehouse.
+  5. To check all Time Logs made against the Production Order click on 'Show Time Logs'
+
+<img class="screenshot" alt="PO - stop" src="/assets/manual_erpnext_com/img/manufacturing/PO-stop.png">
+
+* You can Also re-start a stopped Production Order.
+
+> Note : In order to make a Production Order against an Item you must specify 'Yes' to "Allow Production Order" on the Item form.
+
+> Note : In order to make a Production Order against an Item you must specify 'Yes' to "Allow Production Order" on the Item form.
+
+{next}
diff --git a/erpnext/docs/user/manufacturing/setup/index.md b/erpnext/docs/user/manufacturing/setup/index.md
new file mode 100644
index 0000000..ec22505
--- /dev/null
+++ b/erpnext/docs/user/manufacturing/setup/index.md
@@ -0,0 +1,5 @@
+Global settings for manufacturing Processes
+
+### Topics
+
+{index}
\ No newline at end of file
diff --git a/erpnext/docs/user/manufacturing/setup/index.txt b/erpnext/docs/user/manufacturing/setup/index.txt
new file mode 100644
index 0000000..68a2ad8
--- /dev/null
+++ b/erpnext/docs/user/manufacturing/setup/index.txt
@@ -0,0 +1 @@
+manufacturing-settings
\ No newline at end of file
diff --git a/erpnext/docs/user/manufacturing/setup/manufacturing-settings.md b/erpnext/docs/user/manufacturing/setup/manufacturing-settings.md
new file mode 100644
index 0000000..6b2639c
--- /dev/null
+++ b/erpnext/docs/user/manufacturing/setup/manufacturing-settings.md
@@ -0,0 +1,15 @@
+* Manufacturing Settings can be found at 
+
+> Manufacturing > Production Order > Setup > Manufacturing Settings
+
+<img class="screenshot" alt="Manufacturing Settings" src="/assets/manual_erpnext_com/img/manufacturing/manufacturing-settings.png">
+
+* Allow Overtime - Specify if workstations are to allow overtime.(schedule operations outside working hours)
+
+* Allow Production on Holidays - Specify if system is to allow scheduling of operations on Holidays.
+
+* Capacity Planning for (Days) - Specify no. of Days for Capacity Planning.
+
+* Time Between Operations (in mins) - Specify the gap between two Production Operations.
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manufacturing/subcontracting.md b/erpnext/docs/user/manufacturing/subcontracting.md
new file mode 100644
index 0000000..aba0e70
--- /dev/null
+++ b/erpnext/docs/user/manufacturing/subcontracting.md
@@ -0,0 +1,40 @@
+Subcontracting is a type of job contract that seeks to outsource certain types
+of work to other companies. It allows work on more than one phase of the
+project to be done at once, often leading to a quicker completion.
+Subcontracting is practiced by various industries. For example, manufacturers
+making a number of products from complex components subcontract certain
+components and package them at their facilities.  
+
+If your business involves outsourcing certain processes to a third party
+Supplier, where you buy the raw material from, you can track this by using the
+sub-contracting feature of ERPNext.  
+
+### Setup Sub-Contracting:
+
+  1. Create separate Items for the unprocessed and the processed product. For example if you supply unpainted X to your Supplier and the Supplier returns you X, you can create two Items: “X-unpainted” and “X”.
+  2. Create a Warehouse for your Supplier so that you can keep track of Items supplied. (you may supply a months worth of Items in one go).
+  3. For the processed Item, in the Item master, set “Is Sub Contracted Item” to “Yes”.
+
+![Subcontract](/assets/manual_erpnext_com/old_images/erpnext/subcontract.png)
+
+  
+
+__Step 1:__ Make a Bill of Materials for the processed Item, with the unprocessed
+Items as sub-items. For example, If you are manufacturing a pen, the processed
+pen will be named under Bill of Materials(BOM), whereas, the refill, knob, and
+other items which go into the making of pen, will be categorized as sub-items.
+
+__Step 2:__ Make a Purchase Order for the processed Item. When you “Save”, in the “Raw Materials Supplied”, all your un-processed Items will be updated based on your Bill of Materials.
+
+__Step 3:__ Make a Stock Entry to deliver the raw material Items to your Supplier.
+
+__Step 4:__ Receive the Items from your Supplier via Purchase Receipt. Make sure to check the “Consumed Quantity” in the “Raw Materials” table so that the
+correct stock is maintained at the Supplier’s end.
+
+> Note 1: Make sure that the “Rate” of processed Item is the processing rate
+(excluding the raw material rate).
+
+> Note 2: ERPNext will automatically add the raw material rate for your
+valuation purpose when you receive the finished Item in your stock.
+
+{next}
diff --git a/erpnext/docs/user/manufacturing/tools/bom-replace-tool.md b/erpnext/docs/user/manufacturing/tools/bom-replace-tool.md
new file mode 100644
index 0000000..4a07abb
--- /dev/null
+++ b/erpnext/docs/user/manufacturing/tools/bom-replace-tool.md
@@ -0,0 +1,44 @@
+# BOM Replace Tool
+
+Replace BOM is the utility to replace BOM of sub-assembly item, which is already updated in the BOM of Finished Good item.
+
+To use the Production Planning Tool, go to:
+
+> Manufacturing > Tools > BOM Replace Tool
+
+Let's consider a scenario to understand this better.
+
+If company manufactures computers, Bill of Material of its finished item will constitute of:
+
+1. Monitor
+1. Key Board
+1. Mouse
+1. CPU
+
+Out of all the items above, CPU is asembled separately. Hence separate BOM will be created for the CPU. Following are the items from the BOM of CPU.
+
+1. 250 GB Hard Disk
+1. Mother Board
+1. Processor
+1. SMTP
+1. DVD player
+
+If we have more items to be added , or existing items to be edited in the BOM of CPU, then we should create new BOM for it.
+
+1. _350 GB Hard Disk_
+1. Mother Board
+1. Processor
+1. SMTP
+1. DVD player
+
+To update new BOM updated in the BOM of finished item, where CPU is selected as raw-material, you can use BOM Replace tool.
+
+<img class="screenshot" alt="BOM replace Tool" src="/assets/manual_erpnext_com/img/manufacturing/bom-replace-tool.png">
+
+In this tool, you should select Current BOM, and New BOM. On clicking Replace button, current BOM of CPU will be replaced with New BOM in the BOM of finished Item (Computer).
+
+**Will BOM Replace Tool work for replacing finsihed item in BOM?**
+
+No. You should Cancel and Amend current BOM, or create a new BOM for finished item.
+
+{next}
diff --git a/erpnext/docs/user/manufacturing/tools/index.md b/erpnext/docs/user/manufacturing/tools/index.md
new file mode 100644
index 0000000..259b5eb
--- /dev/null
+++ b/erpnext/docs/user/manufacturing/tools/index.md
@@ -0,0 +1,4 @@
+
+### Topics
+
+{index}
\ No newline at end of file
diff --git a/erpnext/docs/user/manufacturing/tools/index.txt b/erpnext/docs/user/manufacturing/tools/index.txt
new file mode 100644
index 0000000..aaf7cec
--- /dev/null
+++ b/erpnext/docs/user/manufacturing/tools/index.txt
@@ -0,0 +1,2 @@
+production-planning-tool
+bom-replace-tool
\ No newline at end of file
diff --git a/erpnext/docs/user/manufacturing/tools/production-planning-tool.md b/erpnext/docs/user/manufacturing/tools/production-planning-tool.md
new file mode 100644
index 0000000..aa07f40
--- /dev/null
+++ b/erpnext/docs/user/manufacturing/tools/production-planning-tool.md
@@ -0,0 +1,62 @@
+Production Planning Tool helps you plan production and purchase of Items for a
+period (usually a week or a month).
+
+This list of Items can be generated from the open Sales Orders in the system
+and will generate:
+
+  * Production Orders for each Item.
+  * Purchase Requests for Items whose Projected Quantity is likely to fall below zero.
+
+To use the Production Planning Tool, go to:
+
+> Manufacturing > Tools > Production Planning Tool
+
+<img class="screenshot" alt="Production Planing Tool" src="/assets/manual_erpnext_com/img/manufacturing/ppt.png">
+
+
+
+#### Step 1: Select and get Sales Order
+
+* Select sales orders for MRP using filters (Time, Item, and Customer)
+* Click on Get Sales Order to generate a list.
+
+<img class="screenshot" alt="Production Planing Tool" src="/assets/manual_erpnext_com/img/manufacturing/ppt-get-sales-orders.png">
+
+
+
+#### Step 2: Get Item from Sales Orders.
+
+You can add/remove or change quantity of these Items.
+
+<img class="screenshot" alt="Production Planing Tool" src="/assets/manual_erpnext_com/img/manufacturing/ppt-get-item.png">
+
+#### Step 3: Create Production Orders
+
+<img class="screenshot" alt="Production Planing Tool" src="/assets/manual_erpnext_com/img/manufacturing/ppt-create-production-order.png">
+
+
+
+#### Step 4: Create Material Request
+
+Create Material Request for Items with projected shortfall.
+
+<img class="screenshot" alt="Production Planing Tool" src="/assets/manual_erpnext_com/img/manufacturing/ppt-create-material-request.png">
+
+
+
+The Production Planning Tool is used in two stages:
+
+  * Selection of Open Sales Orders for the period based on “Expected Delivery Date”.
+  * Selection of Items from those Sales Orders.
+
+The tool will update if you have already created Production Orders for a
+particular Item against its Sales Order (“Planned Quantity”).
+
+You can always edit the Item list and increase / reduce quantities to plan
+your production.
+
+> Note: How do you change a Production Plan? The output of the Production
+Planning Tool is the Production Order. Once your orders are created, you can
+change them by amending the Production Orders.
+
+{next}
diff --git a/erpnext/docs/user/manufacturing/workstation.md b/erpnext/docs/user/manufacturing/workstation.md
new file mode 100644
index 0000000..168fddf
--- /dev/null
+++ b/erpnext/docs/user/manufacturing/workstation.md
@@ -0,0 +1,19 @@
+### Workstation
+
+Workstation stores information regarding the place where the workstation operations is carried out.
+Data regarding the operation cost of the place can be stored here.
+We can also specify the workstation operation timings and a Holiday List.
+
+You can also create a Workstation by:
+
+> Manufacturing > Documents > Workstation > New
+
+<img class="screenshot" alt="Workstation" src="/assets/manual_erpnext_com/img/manufacturing/workstation.png">
+
+In workstation specify the workstation working hours under the 'working hour' section. 
+You can also specify the working hours based on shifts.
+While scheduling Production Order, system will check for the availability of the workstation based on the working hours specified.	
+
+> Note : You can enable overtime for your workstation in [Manufacturing Settings](/contents/manufacturing/setup/manufacturing-settings)
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/projects/activity-cost.md b/erpnext/docs/user/projects/activity-cost.md
new file mode 100644
index 0000000..18d7245
--- /dev/null
+++ b/erpnext/docs/user/projects/activity-cost.md
@@ -0,0 +1,4 @@
+Activity Cost records the per-hour billing rate and costing rate of an Employee against an Activity Type.
+This rate is pulled by the system while making Time Logs. It is used for Project Costing.
+
+<img class="screenshot" alt="Activity Cost" src="/assets/manual_erpnext_com/img/project/activity_cost.png">
diff --git a/erpnext/docs/user/projects/activity-type.md b/erpnext/docs/user/projects/activity-type.md
new file mode 100644
index 0000000..10fe79b
--- /dev/null
+++ b/erpnext/docs/user/projects/activity-type.md
@@ -0,0 +1,13 @@
+Activity Type makes a list of the different types of activities against which a Time Log can be made.
+
+<img class="screenshot" alt="Activity Type" src="/assets/manual_erpnext_com/img/project/activity_type.png">
+
+By default the following Activity Types are created.
+
+* Planning
+* Research
+* Proposal Writing
+* Execution
+* Communication
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/projects/index.md b/erpnext/docs/user/projects/index.md
new file mode 100644
index 0000000..220c67f
--- /dev/null
+++ b/erpnext/docs/user/projects/index.md
@@ -0,0 +1,13 @@
+ERPNext helps you manage your Projects by breaking them into Tasks and
+allocating them to different people.
+
+Purchasing and selling can also be tracked against Projects and this can help
+the company keep tabs on its budget, delivery and profitability for a Project.
+
+Projects can be used to manage internal projects, manufacturing jobs or
+service jobs. For service jobs, Time Sheets can also be created that can be
+used to bill Customers if billing is done on a Time & Money basis.
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/projects/index.txt b/erpnext/docs/user/projects/index.txt
new file mode 100644
index 0000000..e5ef847
--- /dev/null
+++ b/erpnext/docs/user/projects/index.txt
@@ -0,0 +1,6 @@
+tasks
+project
+time-log
+time-log-batch
+activity-type
+activity-cost
\ No newline at end of file
diff --git a/erpnext/docs/user/projects/introduction-to-projects.md b/erpnext/docs/user/projects/introduction-to-projects.md
new file mode 100644
index 0000000..85a67b9
--- /dev/null
+++ b/erpnext/docs/user/projects/introduction-to-projects.md
@@ -0,0 +1,10 @@
+ERPNext helps you manage your Projects by breaking them into Tasks and
+allocating them to different people.  
+
+Purchasing and selling can also be tracked against Projects and this can help
+the company keep tabs on its budget, delivery and profitability for a Project.
+
+Projects can be used to manage internal projects, manufacturing jobs or
+service jobs. For service jobs, Time Sheets can also be created that can be
+used to bill Customers if billing is done on a Time & Money basis.
+
diff --git a/erpnext/docs/user/projects/project.md b/erpnext/docs/user/projects/project.md
new file mode 100644
index 0000000..e378d47
--- /dev/null
+++ b/erpnext/docs/user/projects/project.md
@@ -0,0 +1,87 @@
+Project management in ERPNext is Task driven. You can create Project and assign multiple Tasks against it.
+
+<img class="screenshot" alt="Project" src="/assets/manual_erpnext_com/img/project/project.png">
+
+### Managing tasks
+Project can be divided into multiple Tasks.
+Task can be created via Project document itself or can be created via  [Task](/contents/projects/tasks)
+
+<img class="screenshot" alt="Project" src="/assets/manual_erpnext_com/img/project/project_task.png">
+
+* To view Task made against a Project click on 'Tasks'
+
+<img class="screenshot" alt="Project - View Task" src="/assets/manual_erpnext_com/img/project/project_view_task.png">
+
+<img class="screenshot" alt="Project - Task List" src="/assets/manual_erpnext_com/img/project/project_task_list.png">
+
+* You can also view the Tasks from the Project document itself
+
+<img class="screenshot" alt="Project - Task Grid" src="/assets/manual_erpnext_com/img/project/project_task_grid.png">
+
+### Managing time
+
+ERPNext uses [Time Log](/contents/projects/time-log) to track the progress of a Project.
+You can create Time Logs against each task.
+The Actual Start and End Time along with the costing shall then be updated based on the Time Log.
+
+* To view Time Log made against a Project click on 'Time Logs'
+
+<img class="screenshot" alt="Project - View Time Log" src="/assets/manual_erpnext_com/img/project/project_view_time_log.png">
+
+<img class="screenshot" alt="Project - Time Log List" src="/assets/manual_erpnext_com/img/project/project_time_log_list.png">
+
+* You can also create a Time Log directlly and link it to the Project.
+
+<img class="screenshot" alt="Project - Link Time Log" src="/assets/manual_erpnext_com/img/project/project_time_log_link.png">
+
+### Managing expenses
+
+You can book [Expense Claim](/contents/human-resources/expense-claim) against a project task.
+The system shall update the total amount from expense claims in the project costing section.
+
+* To view Expense Claims made against a Project click on 'Expense Claims'
+
+<img class="screenshot" alt="Project - View Expense Claim" src="/assets/manual_erpnext_com/img/project/project_view_expense_claim.png">
+
+* You can also create a Expense Claims directlly and link it to the Project.
+
+<img class="screenshot" alt="Project - Link Expense Claim" src="/assets/manual_erpnext_com/img/project/project_expense_claim_link.png">
+
+* Total amount of Expense Claims booked against a project is shown under 'Total Expense Claim' in the Project Costing Section
+
+<img class="screenshot" alt="Project - Total Expense Claim" src="/assets/manual_erpnext_com/img/project/project_total_expense_claim.png">
+
+### Cost Center
+
+You can make a [Cost Center](/contents/accounts/setup/cost-center) against a Project or use an existing cost center to track all expenses made against that project.
+
+<img class="screenshot" alt="Project - Cost Center" src="/assets/manual_erpnext_com/img/project/project_cost_center.png">
+
+###Project Costing
+
+The Project Costing section helps you track the time and expenses incurred against the project.
+
+<img class="screenshot" alt="Project - Costing" src="/assets/manual_erpnext_com/img/project/project_costing.png">
+
+* The Costing Section is updated based on Time Logs made.
+
+* Gross Margin is the difference between Total Costing Amount and Total Billing Amount
+
+###Billing
+
+You can make/link a [Sales Order](/contents/selling/sales-order) against a project. Once linked you can use the standard sales module to bill your customer against the Project.
+
+<img class="screenshot" alt="Project - Sales Order" src="/assets/manual_erpnext_com/img/project/project_sales_order.png">
+
+###Gantt Chart
+
+A Gantt Chart illustrates a project schedule.
+ERPNext gives you a illustrated view of tasks scheduled against that project in Gantt Chart View.
+
+* To view gantt chart against a project, go to that project and click on 'Gantt Chart'
+
+<img class="screenshot" alt="Project - View Gantt Chart" src="/assets/manual_erpnext_com/img/project/project_view_gantt_chart.png">
+
+<img class="screenshot" alt="Project - Gantt Chart" src="/assets/manual_erpnext_com/img/project/project_gantt_chart.png">
+
+{next}
diff --git a/erpnext/docs/user/projects/tasks.md b/erpnext/docs/user/projects/tasks.md
new file mode 100644
index 0000000..49d8250
--- /dev/null
+++ b/erpnext/docs/user/projects/tasks.md
@@ -0,0 +1,59 @@
+Project is divided into Tasks. 
+In ERPNext, you can also create a Task independently.
+
+<img class="screenshot" alt="Task" src="/assets/manual_erpnext_com/img/project/task.png">
+
+### Status of the Task
+
+A Task can have either of the following status - Open, Working, Pending Review, Closed, Cancelled.
+
+<img class="screenshot" alt="Task - Status" src="/assets/manual_erpnext_com/img/project/task_status.png">
+
+* By default each new Task created shall have the status set to 'Open'.
+
+* If a Time Log is made against a task, its status shall be set to 'Working'.
+
+### Dependent Task
+
+You can specify a list of dependent task under the 'Depends On' section.
+
+<img class="screenshot" alt="Depends On" src="/assets/manual_erpnext_com/img/project/task_depends_on.png">
+
+* You cannot close the parent Task until all 'Dependant Task' are closed.
+
+* If the Dependent Task are delayed and overlap with the expected Start Date of the Parent task, the system will reschedule the parent task.
+
+### Managing Time
+
+ERPNext uses [Time Log](/contents/projects/time-log) to track the progress of a Task.
+You can create multiple Time Logs against each task.
+The Actual Start and End Time along with the costing shall then be updated based on the Time Log.
+
+* To view Time Log made against a Task click on 'Time Logs'
+
+<img class="screenshot" alt="Task - View Time Log" src="/assets/manual_erpnext_com/img/project/task_view_time_log.png">
+
+<img class="screenshot" alt="Task - Time Log List" src="/assets/manual_erpnext_com/img/project/task_time_log_list.png">
+
+* You can also create a Time Log directlly and link it to the Task.
+
+<img class="screenshot" alt="Task - Link Time Log" src="/assets/manual_erpnext_com/img/project/task_time_log_link.png">
+
+### Managing Expenses
+
+You can book [Expense Claim](/contents/human-resource-management/expense-claim) against a task.
+The system shall update the total amount from expense claims in the costing section.
+
+* To view Expense Claims made against a Task click on 'Expense Claims'
+
+<img class="screenshot" alt="Task - View Expense Claim" src="/assets/manual_erpnext_com/img/project/task_view_expense_claim.png">
+
+* You can also create a Expense Claims directlly and link it to the Task.
+
+<img class="screenshot" alt="Task - Link Expense Claim" src="/assets/manual_erpnext_com/img/project/task_expense_claim_link.png">
+
+* Total amount of Expense Claims booked against a task is shown under 'Total Expense Claim' in the Task Costing Section
+
+<img class="screenshot" alt="Task - Total Expense Claim" src="/assets/manual_erpnext_com/img/project/task_total_expense_claim.png">
+
+{next}
diff --git a/erpnext/docs/user/projects/time-log-batch.md b/erpnext/docs/user/projects/time-log-batch.md
new file mode 100644
index 0000000..c678d039
--- /dev/null
+++ b/erpnext/docs/user/projects/time-log-batch.md
@@ -0,0 +1,23 @@
+You can bill Time Logs by batching them together. This gives you the flexiblity to manage your customer billing in the way you want. To create a new Time Log Batch, go to 
+
+> Projects > Time Log Batch > New Time Log Batch
+
+OR
+
+Just open your Time Log list and check the Items to you want to add to the Time Log. Then click on "Make Time Log Batch" button and these Time Logs will be selected.
+
+<img class="screenshot" alt="Time Log - Drag Calender" src="/assets/manual_erpnext_com/img/project/time_log_batch.gif">
+
+###Making Sales Invoice
+
+* After submitting the Time Log Batch, "Make Invoice" button shall appear.
+
+<img class="screenshot" alt="Time Log - Drag Calender" src="/assets/manual_erpnext_com/img/project/time_log_batch_make_invoice.png">
+
+* Click on that button to raise a Sales Invoice against the Time Log Batch.
+
+<img class="screenshot" alt="Time Log - Drag Calender" src="/assets/manual_erpnext_com/img/project/time_log_batch_sales_invoice.png">
+
+* When you "Submit" the Sales Invoice, the Sales Invoice number will get updated in the Time Logs and Time Log Batch and their status will change to "Billed".
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/projects/time-log.md b/erpnext/docs/user/projects/time-log.md
new file mode 100644
index 0000000..1ddf9442
--- /dev/null
+++ b/erpnext/docs/user/projects/time-log.md
@@ -0,0 +1,49 @@
+Time Logs are a way to track time worked.
+They can be used to track the following
+
+* Billable work to Customers
+* Production Order Operations
+* Tasks
+* Project
+* Internal References
+
+<img class="screenshot" alt="Time Log" src="/assets/manual_erpnext_com/img/project/time_log.png">
+
+###Creating Time Logs
+
+1. To create a new Time Log, you can go to 
+> Projects > Time Log > new Time Log
+
+2. You can also create a new Time Log via Calendar
+
+To create Time Logs via Calender, go to Time Log and select Calendar.
+
+<img class="screenshot" alt="Time Log - View Calender" src="/assets/manual_erpnext_com/img/project/time_log_view_calendar.png">
+
+* To create a Time Log for multiple days, click and drag the cursor across days.
+
+<img class="screenshot" alt="Time Log - Drag Calender" src="/assets/manual_erpnext_com/img/project/time_log_calendar_day.gif">
+
+* You can also create Time Logs from 'week' and 'day' view of the calender.
+
+<img class="screenshot" alt="Time Log - Drag Calender" src="/assets/manual_erpnext_com/img/project/time_log_calendar_week.gif">
+
+* Time Logs for Manufacturing processes needs to be created from the Production Order. 
+* To create more Time Logs against Operations select the respective operation and click on the 'Make Time Log' button.
+
+###Billing using Time Logs
+
+* If you wish to bill against a Time Log you need to select the 'Billable' option.
+
+* In the costing section, the system will pull up the Costing & Billing rate from [Activity Cost](/contents/projects/activity-cost) 
+	based on the Employee and Activity Type specified.
+
+* The system shall then calculate the Costing and Billing amount based on the Hours mentioned in the Time Log.
+
+* If 'Billable' is not selected, the system shall display the 'Billing Amount' as 0.
+
+<img class="screenshot" alt="Time Log - Costing" src="/assets/manual_erpnext_com/img/project/time_log_costing.png">
+
+* After submitting the Time Log, you need to create [Time Log batch](/contents/projects/time-log-batch) to further bill the Time Log.
+
+{next}
diff --git a/erpnext/docs/user/selling/index.md b/erpnext/docs/user/selling/index.md
new file mode 100644
index 0000000..36a99d2
--- /dev/null
+++ b/erpnext/docs/user/selling/index.md
@@ -0,0 +1,11 @@
+# Selling
+
+Selling is the communication that happens with the customer prior to and
+during the sale. You might be managing all the communication yourself or you
+may have a small team of sales people to handle this. ERPNext helps you track
+the communication leading up to the sale, by keeping all your documents in an
+organized and searchable manner.
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/selling/index.txt b/erpnext/docs/user/selling/index.txt
new file mode 100644
index 0000000..e1d9efd
--- /dev/null
+++ b/erpnext/docs/user/selling/index.txt
@@ -0,0 +1,3 @@
+quotation
+sales-order
+setup
\ No newline at end of file
diff --git a/erpnext/docs/user/selling/quotation.md b/erpnext/docs/user/selling/quotation.md
new file mode 100644
index 0000000..ecee115
--- /dev/null
+++ b/erpnext/docs/user/selling/quotation.md
@@ -0,0 +1,89 @@
+During a sale, the customer may request for a written note about the products
+or services you are planning to offer, along with the prices and other terms
+of engagement. This is called a “Proposal” or an “Estimate” or a “Pro Forma
+Invoice”or a Quotation.
+
+To create a new Quotation go to:
+
+> Selling > Quotation > New Quotation
+
+###Creating Quotation from Oppurtunity
+
+You can also create a Quotation from an Opportunity.
+
+<img class="screenshot" alt="Make Quotation from Opportunity" src="/assets/manual_erpnext_com/img/selling/make-quote-from-opp.png">
+
+Or You can create a new Quotation and pull details from an Opportunity.
+
+<img class="screenshot" alt="Make Quotation from Opportunity" src="/assets/manual_erpnext_com/img/selling/make-quotation.gif">
+
+A Quotation contains details about:
+
+  * The recipient of the Quotation
+  * The Items and quantities you are offering.
+  * The rates at which they are offered. For details refer 
+  * The taxes applicable.
+  * Other charges (like shipping, insurance) if applicable.
+  * The validity of contract.
+  * The time of delivery.
+  * Other conditions.
+
+> Tip: Images look great on Quotations. To add images to your Quotations,
+attach the corresponding image in the Item master.
+
+### Rates
+
+The rates you quote may depend on two things.
+
+  * The Price List: If you have multiple Price Lists, you can select a Price List or tag it to the Customer (so that it is auto-selected). Your Item prices will automatically be updated from the Price List.For details refer [Price List](/contents/setting-up/price-lists)
+
+  * The Currency: If you are quoting to a Customer in a different currency, you will have to update the conversion rates to enable ERPNext to save the information in your standard Currency. This will help you to analyze the value of your Quotations in standard Currency.
+
+### Taxes
+
+To add taxes to your Quotation, you can either select a tax template, Sales
+Taxes and Charges Template or add the taxes on your own. To understand taxes in
+detail visit [Taxes](/contents/setting-up/setting-up-taxes)
+
+You can add taxes in the same manner as the Sales Taxes and Charges Template.
+
+### Terms and Conditions
+
+Each Quotation must ideally contain a set of terms, of your contract. It is
+usually a good idea to make templates of your Terms and Conditions, so that
+you have a standard set of terms. You can do this by going to:
+
+> Selling > Terms and Conditions
+
+#### What should Terms and Conditions Contain?
+
+  * Validity of the offer.
+  * Payment Terms (In Advance, On Credit, part advance etc).
+  * What is extra (or payable by the Customer).
+  * Safety / usage warning.
+  * Warranty if any.
+  * Returns Policy.
+  * Terms of shipping, if applicable.
+  * Ways of addressing disputes, indemnity, liability, etc.
+  * Address and Contact of your Company.
+
+### Submission
+
+Quotation is a “Submittable” transaction. Since you send this Quotation to
+your Customer or Lead, you must freeze it so that changes are not made after
+you send the Quotation. See Document Stages.
+
+> Tip: Quotations can also be titled as “Proforma Invoice” or “Proposal”.
+Select the right heading in the “Print Heading” field in the “More Info”
+section. To create new Print Headings go to Setup > Branding and Printing >
+Print Headings.
+
+### Discount
+
+While making your sales transactions like a Quotation (or Sales Order) you
+would already have noticed that there is a “Discount” column. On the left is
+the “Price List Rate” on the right is the “Basic Rate”. You can add a
+“Discount” value to update the basic rate. To understand more about discount
+read [Discount.](http://erpnext.org/discount)
+
+{next}
diff --git a/erpnext/docs/user/selling/sales-order.md b/erpnext/docs/user/selling/sales-order.md
new file mode 100644
index 0000000..e0984b0
--- /dev/null
+++ b/erpnext/docs/user/selling/sales-order.md
@@ -0,0 +1,119 @@
+# Sales Order
+
+The Sales Order confirms your sales and triggers purchase (**Material
+Request**) shipment (**Delivery Note**), billing (**Sales Invoice**) and
+manufacturing (**Production Plan**)
+
+A Sales Order is usually a binding Contract with your Customer.
+
+Once your customer confirms the Quotation you can convert your Quotation into
+a Sales Order.
+
+### Sales Order Flow-Chart
+
+![Sales Order](/assets/manual_erpnext_com/old_images/erpnext/sales-order-f.jpg)
+
+To create a new Sales Order go to:
+
+> Selling > Sales Order > New Sales Order
+
+### Creating Sales Order from Quotation
+
+You can also create a Sales Order from a submitted Quotation.
+
+<img class="screenshot" alt="Make Sales Order from Quotation" src="/assets/manual_erpnext_com/img/selling/make-SO-from-quote.png">
+
+Or you can create a new Sales Order and pull details from an Quotation.
+
+<img class="screenshot" alt="Make Sales Order from Quotation" src="/assets/manual_erpnext_com/img/selling/make-so.gif">
+
+Most of the information in your Sales Order is the same as the Quotation.
+There are a few amongst other things that a Sales Order will ask you to
+update.
+
+  * Expected date of delivery.
+  * Customer Purchase Order number: If your customer has sent you a Purchase Order, you can update its number for future reference (in billing).
+
+### Packing List
+
+The “Packing List” table will be automatically updated when you “Save” the
+Sales Order. If any Items in your table are Product Bundle (packets), then the
+“Packing List” will contain the exploded (detailed) list of your Items.
+
+### Reservation and Warehouses
+
+If your Sales Order contains Items for which inventory is tracked (Is Stock
+Item is “Yes”) then, ERPNext will ask you for “Reservation Warehouse”. If you
+have set a default Warehouse for the Item, it will automatically set this
+Warehouse here.
+
+This “reserved” quantity will help you project what is the quantity you need
+to purchase based on all your commitments.
+
+### Sales Team
+
+**Sales Partner:** If this Sale was booked via a Sales Partner, you can update the Sales Partner’s details with commission and other info that you can aggregate.
+
+**Sales Persons:** ERPNext allows you to tag multiple Sales Persons who may have worked on this deal. You can also split the amount in targets of different Sales Persons and track how much incentives they earned on this deal.
+
+### Recurring Sales Orders
+
+If you have a recurring contract with a Customer where you are required to generate a Sales Order on a monthly, quarterly, half-yearly or annual basis, you can check the “Convert To Recurring Order” box. 
+
+Here you can fill in the details like; of how frequently you want to generate an Order in the 'Recurring Type' field, specify the day of of the month on which the Order needs to be generated in the 'Repeat On Day Of Month' field and the date on which the recurring orders should stop in the 'End Date' field.
+
+**Recurring Type:** Here you can update how frequently you want to generate an Order.
+
+**Repeat On Day Of Month:** You can specify the day of of the month on which the Order needs to be generated.
+
+**End Date:** The date on which the recurring orders should stop can be specified here.
+
+On updating the Sales Order, a Recurring ID will be generated which will be same for all recurring orders generated from this particular Sales Order.
+
+ERPNext will automatically create new Order and mail a notification to the email IDs you set in the 'Notification Email Address'field.
+
+<img class="screenshot" alt="Reccuring Sales Order" src="/assets/manual_erpnext_com/img/selling/recurring-sales-order.png">
+
+### Next Steps
+
+Once you “Submit” your Sales Order, you can now trigger different aspects of
+your organization:
+
+  * To begin purchase click on “Make Purchase Request”
+  * To make a shipment entry click on “Make Delivery Note”
+  * To bill, make “Make Sales Invoice”
+  * To stop further process on this Sales Order, click on “Stop”
+
+### Submission
+
+Sales Order is a “Submittable” transaction. See Document Stages. You will be
+able to execute dependent steps (like making a Delivery Note) only after
+“Submitting” this Sales Order.
+
+### Sales Order with Order type Maintenance
+
+When the 'Order Type' of the Sales Order is 'Maintenance' follow the steps
+given below:
+
+__Step 1:__ Enter Currency, Price list and Item details.
+
+__Step 2:__ Mention taxes and other information.
+
+__Step 3:__ Save and Submit the form
+
+__Step 4:__ Once the form is submitted, the Action button will provide three
+choices.i) Maintenance Visit ii) Maintenance Schedule iii) Invoice.
+
+
+
+> **Note 1:**   
+By clicking on the Action button and selecting 'Maintenance Visit' you can directly fill the visit form. The Sales Order details will be fetched directly.    
+
+> **Note 2:**    
+By clicking on the Action button and selecting 'Maintenance Schedule' you can fill the schedule details. The Sales Order details will be fetched directly.
+
+> **Note 3:**    
+By clicking on the Invoice button you can make an Invoice for your
+services . The sales orders details will be fetched directly.
+
+{next}
diff --git a/erpnext/docs/user/selling/setup/index.md b/erpnext/docs/user/selling/setup/index.md
new file mode 100644
index 0000000..0ab4b5a
--- /dev/null
+++ b/erpnext/docs/user/selling/setup/index.md
@@ -0,0 +1,7 @@
+This section includes information on how to setup customer groups, sales partners, sales persons and terms and conditions.
+
+It has instructions on how to configure selling settings, in order to enable default fields.
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/selling/setup/index.txt b/erpnext/docs/user/selling/setup/index.txt
new file mode 100644
index 0000000..245c1a9
--- /dev/null
+++ b/erpnext/docs/user/selling/setup/index.txt
@@ -0,0 +1,4 @@
+selling-settings
+sales-partner
+shipping-rule
+product-bundle
\ No newline at end of file
diff --git a/erpnext/docs/user/selling/setup/item-price.md b/erpnext/docs/user/selling/setup/item-price.md
new file mode 100644
index 0000000..eea33ea
--- /dev/null
+++ b/erpnext/docs/user/selling/setup/item-price.md
@@ -0,0 +1,43 @@
+Item Price is the record in which you can log sellig and buying rate of an item.
+
+There are two ways to reach to new Item Price form.
+
+> Selling/Buying/Stock >> Setup >> Item Price >> New Item Price
+
+Or
+
+> Item >> Add/Edit Prices >> Click on "+"  >> New Item Price
+
+Following are the steps to create new Item Price.
+
+Step 1: Select Price List
+
+You can create multiple Price List in ERPNext to track Selling and Buying Price List of an item separtely. Also if item's selling prices id changing based on territory, or due to other criteria, you can create multiple selling Price List for it.
+
+![Item Price list](/assets/manual_erpnext_com/old_images/erpnext/item-price-list.png)
+
+On selection of Price List, its currency and for selling or buying property will be fetched as well.
+
+To have Item Price fetching in the sales or purchase transaction, you should have Price List id selected in the transaction, just above Item table.
+
+Step 2: Select Item
+
+Select item for which Item Price record is to be created. On selection of Item Code, Item Name and Description will be fetched as well.
+
+![Item Price Item](/assets/manual_erpnext_com/old_images/erpnext/item-price-item.png)
+
+Step 3: Enter Rate
+
+Enter selling/buying rate of an item in Price List currency.
+
+![Item Price Rate](/assets/manual_erpnext_com/old_images/erpnext/item-price-rate.png)
+
+Step 4: Save Item Price
+
+To check all Item Price together, go to:
+
+Stock >> Main Report >> Itemwise Price List Rate
+
+You will find option to create new Item Price record (+) in this report as well.
+
+{next}
diff --git a/erpnext/docs/user/selling/setup/product-bundle.md b/erpnext/docs/user/selling/setup/product-bundle.md
new file mode 100644
index 0000000..b80459d
--- /dev/null
+++ b/erpnext/docs/user/selling/setup/product-bundle.md
@@ -0,0 +1,47 @@
+#Product Bundle
+
+Product Bundle stands for Sales Bill-of-Material. It's a master where you can list item which are bundled together and 
+sold as one item. For instance, when laptop is delivered, you need to ensure that charger, mouse and laptop bag are 
+delivered and stock level of these items gets affected. To address this scenario, you can set create Product Bundle for 
+the main item, i.e. laptop, and list deliverable items i.e. laptop + charger + other accessories as child items.
+  
+Following are the steps on how to setup Product Bundle master, and how is it used in the sales transactions.
+
+####Create new Product Bundle
+
+To create new Product Bundle, Go to:
+
+Selling > Setup > Product Bundle > New
+
+<img class="screenshot" alt="Product Bundle" src="/assets/manual_erpnext_com/img/selling/product-bundle.png">
+
+###Select Parent Item
+
+In Product Bundle master, there are two sections. Product Bundle Item and Package Item.
+
+In Product Bundle item, you will select a Parent Item. The parent item must be a <b>non-stock item</b>. 
+This is non-stock item because there is no stock maintained for it but only the Package Items. 
+If you want to maintain stock for the Parent Item, then you must create a regular Bill of Material (BOM) 
+and package them using a Stock Entry Transactions.
+
+###Select Child Items
+
+In Package Item section, you will list all the child items for which we maintain stock and is delivered to customer.
+
+###Product Bundle in the Sales Transactions
+
+When making Sales transactions like Sales Invoice, Sales Order and Delivery Note, 
+Parent Item will be selected in the main item table.
+
+<img class="screenshot" alt="Product Bundle" src="/assets/manual_erpnext_com/img/selling/product-bundle.gif">
+
+On selection on Parent Item in the main item table, its child items will be fetched in Packing List 
+table of the transaction. If child item is the serialized item, you will be able to specify its Serial Mo. 
+in packing List table itself. On submission of transaction, system will reduce the stock level of child items from 
+warehouse specified in Packing List table.
+
+<div class="well"><b>Use Product Bundle to Manage Schemes:</b>
+<br>
+This work-around in Product Bundle was discovered when a customer dealing into nutrition product asked for feature to manage schemes like "Buy One Get One Free". To manage the same, he created a non-stock item which was used as Parent Item. In description of item, he entered scheme details with items image indicating the offer. The saleable product was selected in Package Item where qty was two. Hence every time they sold one qty of Parent item under scheme, system deducted two quantities of product from Warehouse.</div>
+
+{next}
diff --git a/erpnext/docs/user/selling/setup/sales-partner.md b/erpnext/docs/user/selling/setup/sales-partner.md
new file mode 100644
index 0000000..024c204
--- /dev/null
+++ b/erpnext/docs/user/selling/setup/sales-partner.md
@@ -0,0 +1,34 @@
+People who assist you in getting business are termed as Sales Partners. Sales Partners can be represented by different names in ERPNext. You can call them Channel Partner, Distributor, Dealer, Agent, Retailer, Implementation Partner, Reseller etc.
+
+For each Sales Partner, you can define commission offer to them. When Sales Partner is selected in transactions, there commission is calculated over Net Total of Sales Order/Invoice or Delivery Note.
+
+You can track Sales Personwise commission in the report under Selling module.
+
+To create a sales partner go to:
+
+`Selling > Setup > Sales Partner`
+
+Sales Partners are saved with Sales Partner name provided by user.
+
+<img class="screenshot" alt="Sales Partner" src="/assets/manual_erpnext_com/img/selling/sales-partner.png">
+
+You can track their address and contact details and also allocate Sales Partner for each Item Group, based on Qty and Amount.
+
+### Including Sales Partners in Your Website
+
+To include the name of your Partner on your website, check the "Show in
+Website" box. When click on "Show in Website", you will see field where you can attach logo of partner's company and enter brief and introduction of partner.
+
+<img class="screenshot" alt="Sales Partner" src="/assets/manual_erpnext_com/img/selling/sales-partner-website.png">
+
+To see listing of partner, you should go to:
+
+https://example.erpnext.com/partners
+
+![Sales Partner Listing](/assets/manual_erpnext_com/old_images/erpnext/sales-partner-listing.png)
+
+Following is the complete partners details published on the website.
+
+![Sales Partner Published](/assets/manual_erpnext_com/old_images/erpnext/sales-partner-published.png)
+
+{next}
diff --git a/erpnext/docs/user/selling/setup/sales-person-target-allocation.md b/erpnext/docs/user/selling/setup/sales-person-target-allocation.md
new file mode 100644
index 0000000..9358ec0
--- /dev/null
+++ b/erpnext/docs/user/selling/setup/sales-person-target-allocation.md
@@ -0,0 +1,86 @@
+With management of Sales Person, ERPNext also allow you to assign target to Sales Persons based on Item Group and Territory. Based on target allocated and actual sales booked by Sales Person, you will get target variance report for the Sales Person.
+
+###1. Sales Person - Item Groupwise Target Allocation
+
+####1.1 Open Sales Person's Master
+
+To allocate target, you should open specific Sales Person master.
+
+`Selling > Setup > Sales Person > (Open Sales Person)`
+
+####1.2 Allocate Item Groupwise Target
+
+In the Sales Person master, you will find table called Sales Person Target.
+
+![Sales Person Target Item Group](/assets/manual_erpnext_com/old_images/erpnext/sales-person-target-item-group.png)
+
+In this table, you should select Item Group, Fiscal Year, Target Qty and Amount. 
+
+<div class=well>You can give target in amount or quantity, or in both. Item Group can also be left blank. In this case the system will calculate target based on all the Items.</div>
+
+####1.3 Target Distribution
+
+If you wish to spread allocated target across months, then you shoult setup Target Distribution master, and select it in the Sales Person master. Considering our example, target for the month of December will be set as 5 qty (10% of total allocation).
+
+![Sales Person Target Distribution](/assets/manual_erpnext_com/old_images/erpnext/sales-person-target-distribution.png)
+
+####Report - Sales Person Target Variance Item Groupwise
+
+To check this report, go to:
+
+`Selling > Standard Report > Sales Person Target Variance (Item Group-wise)'
+
+This report will provide you variance between target and actual performance of Sales Person. This report is based on Sales Order report.
+
+![Sales Person Item Group Report](/assets/manual_erpnext_com/old_images/erpnext/sales-person-item-group-report.png)
+
+As per the report, allocated target to Sales Person for the month of December was 5 qty. However, Sales Order was made for this employee and Item Group for only 3 qty. Hence, variance of 2 qty is shown in the report.
+
+---
+
+###2. Sales Person - Territorywise Target Allocation
+
+To allocate target to Sales Person based on Territory, you can should select specific Sales Person in the Territory master. This Sales Person is entered just for the reference. Sales Person details are not updated in the variance report of Territorywise Target Allocation.
+
+####2.1 Go to Territory master
+
+`Selling > Setup > Territory > (Open specific Territory master)`
+
+In the Territory master, you will find field to select Territory Manager. This field is linked to "Sales Person" master.
+
+![Sales Person Territory Manager](/assets/manual_erpnext_com/old_images/erpnext/sales-person-territory-manager.png)
+
+####2.2 Allocating Target
+
+Allocation Target in the Territory master is same as in Sales Person master. You can follow same steps as given above to specify target in the Territory master as well.
+
+####2.3 Target Distribution
+
+Using this master, you can divide target Qty or Amount across various months.
+
+####2.4 Report - Territory Target Variance Item Groupwise
+
+This report will provide you variance between target and actual performance of Sales in particular territory. This report is based on Sales Order report. Though Sales Person is defined in the Territory master, its details are not pulled in the report.
+
+![Sales Person Territory Report](/assets/manual_erpnext_com/old_images/erpnext/sales-person-territory-report.png)
+
+---
+
+###3. Target Distribution
+
+Target Distribution master allows you to divide allocated target across multiple months. If your product and services is seasonal, you can distribute the sales target accordingly. For example, if you are into umbrella business, then target allocated in the monsoon seasion will be higher than in other months.
+
+To create new Budget Distriibution master, go to:
+
+`Accounts > Setup > Budget Distributon`
+
+![Target Distribution](/assets/manual_erpnext_com/old_images/erpnext/target-distribution.png)
+
+You can link target distribution while allocation targets in Sales Person as well as in Territory master.
+
+###See Also
+
+1. [Managing Sales Person](https://erpnext.com/selling/selling-setup/sales-person)
+2. [Using Sales Person in transactions](https://erpnext.com/kb/selling/managing-sales-persons-in-sales-transactions)
+
+{next}
diff --git a/erpnext/docs/user/selling/setup/selling-settings.md b/erpnext/docs/user/selling/setup/selling-settings.md
new file mode 100644
index 0000000..5fc7bb5
--- /dev/null
+++ b/erpnext/docs/user/selling/setup/selling-settings.md
@@ -0,0 +1,71 @@
+Selling Setting is where you can define propertiese which will be applied in your selling transactions. 
+Let's check into each property one by one.
+
+<img class="screenshot" alt="Selling Settings" src="/assets/manual_erpnext_com/img/selling/selling-settings.png">
+
+####1. Customer Naming By
+
+When customer is saved, system generated unique ID for that Customer. Using that Customer ID, 
+you can select Customer in other transactions.
+
+Bydefault Customer will be saved with Customer Name. If you wish to save Customer using 
+a naming series, you should set Customer Naming By as "Naming Series".
+
+Example of Customer Id's saved in Naming Series - `CUST00001,CUST00002, CUST00003...` and so on.
+
+You can set Naming Series for customer naming from:
+
+> Setup > Settings > Naming Series`
+
+####2. Campaign Naming By
+
+Just like for Customer, you can also configure as how ID will be generated for the Campaign master. 
+Bydefault Campaign will be saved with Campaign Name provided while its creation.
+
+####3. Default Customer Group
+
+Customer Group in this field will be auto-updated when you open new Customer form.
+While converting Quotation created for Lead into Sales Order, system attempts to convert 
+Lead into Customer in the backend. While creating Customer in the backend, system pickup 
+Customer Group and Territory as defined in the Selling Setting. If system doesn't find 
+any values, then following validation message will be raised.
+To resolve this, you should:
+Either manually convert Lead into Customer, and define Customer Group and Territory manually while 
+creating Customer or define Default Customer Group and Territory in the Selling Setting. 
+Then you should have Lead automatically converted into Customer when convert Quotation into Sales Order.
+
+####4. Default Territory
+
+Territory defined in this field will be auto-updated in the Territory field of Customer master.
+
+Just like Customer Group, Territory is also checked when system tries creating Customer in the backend.
+
+####5. Default Price List
+
+Price List set in this field will be auto-updated in the Price List field of Sales transactions.
+
+####6. Sales Order Required
+
+If you wish to make Sales Order creation mandatory before creation of Sales Invoice, then you should 
+set Sales Order Required field as Yes. Bydefault, this will be "No" for a value.
+
+####7. Delivery Note Required
+
+To make Delivery Note creation as mandatory before Sales Invoice creation, you should set 
+this field as "Yes". It will be "No" by default.
+
+####8. Maintain Same Rate Throughout Sales Cycle
+
+System bydefault validates that item price will be same throughout sales cycle 
+(Sales Order - Delivery Note - Sales Invoice). If you could have item price changing within the cycle, 
+and you need to bypass validation of same rate throughout cycle, then you should uncheck this field and save.
+
+####9. Allow User to Edit Price List Rate in Transaction
+
+Item table of the sale transactions has field called Price List Rate. This field be non-editale 
+by default in all the sales transactions. This is to ensure that price of an item is fetched from 
+Item Price record, and user is not able to edit it.
+
+If you need to enable user to edit Item Price, fetched from Price List of an item, you should uncheck this field.
+
+{next}
diff --git a/erpnext/docs/user/selling/setup/shipping-rule.md b/erpnext/docs/user/selling/setup/shipping-rule.md
new file mode 100644
index 0000000..a5f9477
--- /dev/null
+++ b/erpnext/docs/user/selling/setup/shipping-rule.md
@@ -0,0 +1,6 @@
+Using Shipping Rule you can define the cost for delivering the product to the customer.
+You can define different shipping rules for the same item across different territories.
+
+<img class="screenshot" alt="Shipping Rule" src="/assets/manual_erpnext_com/img/selling/shipping-rule.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/setting-up/authorization-rule.md b/erpnext/docs/user/setting-up/authorization-rule.md
new file mode 100644
index 0000000..fca4fd6
--- /dev/null
+++ b/erpnext/docs/user/setting-up/authorization-rule.md
@@ -0,0 +1,43 @@
+Authorization Rule is a tool to define rule for conditional authorization.
+
+If you sales and purchase transactions of higher value or discount requires an authorization from senior manager, you can set authorization rule for it.
+
+To create new Authorization Rule, go to:
+
+> Setup > Customize > Authorization Rule
+
+Let's consider an example of Authorization Rule to learn better.
+
+Assume that Sales Manager needs to authorize Sales Orders, only if its Grand Total value exceeds 10000. If Sales Orer values is less than 10000, then even Sales User will be able to submit it. It means Submit permision of Sales User will be restricted only upto Sales Order of Grand Total less than 10000.
+
+**Step 1:**
+
+Open new Authorization Rule
+
+**Step 2:**
+
+Select Company and Transaction on which Authorization Rule will be applicable. This functionality is available for limited transactions only.
+
+**Step 3:**
+
+Select Based On. Authorization Rule will be applied based on value selected in this field.
+
+**Step 4:**
+
+Select Role on whom this Authorization Rule will be applicable. As per the example considered, Sales User will be selected as Application To (Role). To be more specific you can also select Applicale To User, if you wish to apply to rule for specific Sales User, and not all Sales User. Its okay to not select Sales User, as its not mandatory.
+
+**Step 5:**
+
+Select approvers Role. It will be Sales Manager role which if assigned to user, will be able to submit Sales Order above 10000. Also you can select specific Sales Manager, and then rule should be applicable for that User only. Selecting Approving User field is not mandatory.
+
+**Step 6:**
+
+Set Above Value. Given the exmaple, Above Value will be set as 10000.
+
+<img class="screenshot" alt="Authorization Rule" src="/assets/manual_erpnext_com/img/setup/auth-rule.png">
+
+If Sales User tries submitting Sales Order of value higher than 10000, then he will get error message.
+
+>If you wish to restrict Sales User from submitting Sales Orders, then instead of creating Authorization Rule, you should remove submit previledge from Role Permission Manager for Sales User.
+
+{next}
diff --git a/erpnext/docs/user/setting-up/bar-code.md b/erpnext/docs/user/setting-up/bar-code.md
new file mode 100644
index 0000000..556d4e3
--- /dev/null
+++ b/erpnext/docs/user/setting-up/bar-code.md
@@ -0,0 +1,50 @@
+A Barcode is a machine-readable code in the form of numbers and a pattern of
+parallel lines of varying widths, printed on a commodity and used especially
+for stock control.
+
+When you purchase an item from any store, you will notice a label with thin,
+black lines across it, along with a variation of different numbers. This label
+is then scanned by the cashier, and the item's description and price
+automatically comes up. This set of lines and numbers on the label are termed
+as bar-code.
+
+A bar-code machine scans the number from the label of an Item. To work with
+ERPNext and the bar-code mechanism, connect the bar-code machine to your
+operating hardware. Then go to ERPNext setup and activate bar-code by going to
+tools and clicking on 'hide / unhide features'. Under Materials, feature
+setup, check the box that says Item Barcode.
+
+> Setup > Customize > Hide/ Unhide Features > Item Barcode.
+
+#### Figure 1: Check the box 'Item Barcode'
+
+<img class="screenshot" alt="Barcode" src="/assets/manual_erpnext_com/img/setup/barcode-1.png">
+
+
+To start scanning with a bar-code, go to  
+
+> Accounts > Sales Invoice
+
+Under Item, click on Add new row. The item row will expand to show new fields.
+Place your cursor on the bar-code field and begin scanning. The bar-code will
+be updated in the field. Once the bar-code is entered, all the Item details
+will be fetched automatically by the system.
+
+For more ease, activate the POS view in ERPnext. The activation process is
+same as the bar-code activation. Go to Setup and click on 'hide/unhide
+features'. Check the 'POS view' box.
+
+Then go to Accounts and click on Sales Invoice. Check the box 'Is POS'
+
+  
+#### Figure 2: Check the box 'Is POS'
+
+<img class="screenshot" alt="Barcode" src="/assets/manual_erpnext_com/img/setup/barcode-2.png">
+
+
+Go to Item and click on Add new row.  
+
+The cursor will automatically be placed in the bar-code field. Thus you can
+immediately scan the bar-code and proceed with your operations.
+
+{next}
diff --git a/erpnext/docs/user/setting-up/calculate-incentive-for-sales-team.md b/erpnext/docs/user/setting-up/calculate-incentive-for-sales-team.md
new file mode 100644
index 0000000..72f36c0
--- /dev/null
+++ b/erpnext/docs/user/setting-up/calculate-incentive-for-sales-team.md
@@ -0,0 +1,22 @@
+Can be used in any Sales Transaction with **Sales Team** Table:
+
+    
+    
+    cur_frm.cscript.custom_validate = function(doc) {
+        // calculate incentives for each person on the deal
+        total_incentive = 0
+        $.each(wn.model.get("Sales Team", {parent:doc.name}), function(i, d) {
+    
+            // calculate incentive
+            var incentive_percent = 2;
+            if(doc.grand_total > 400) incentive_percent = 4;
+    
+            // actual incentive
+            d.incentives = flt(doc.grand_total) * incentive_percent / 100;
+            total_incentive += flt(d.incentives)
+        });
+    
+        doc.total_incentive = total_incentive;
+    }
+    
+
diff --git a/erpnext/docs/user/setting-up/company-setup.md b/erpnext/docs/user/setting-up/company-setup.md
new file mode 100644
index 0000000..e73aa25
--- /dev/null
+++ b/erpnext/docs/user/setting-up/company-setup.md
@@ -0,0 +1,10 @@
+Enter your company details to complete Company Setup. Mention the type of
+business, under Domain. You can enter manufacturing, retail, or services
+depending on the nature of your business activity. If you have more than one
+companies, create the setup under the Company Setup page.
+
+After clicking on Setup, go to Masters and click on Company.
+
+> Setup > Masters > Company > New Company
+
+{next}
diff --git a/erpnext/docs/user/setting-up/data/bulk-rename.md b/erpnext/docs/user/setting-up/data/bulk-rename.md
new file mode 100644
index 0000000..216edc6
--- /dev/null
+++ b/erpnext/docs/user/setting-up/data/bulk-rename.md
@@ -0,0 +1,17 @@
+# Bulk Renaming of Records
+
+You can rename a document if ERPNext (if it is allowed) by going to **Menu > Rename** in the document.
+
+Alternatively, if you want to rename a whole bunch of records, just go to:
+
+> Setup > Data > Rename Tool
+
+This tool will allow you to rename multiple records at the same time.
+
+### Example
+
+To rename multiple records, upload a **.csv** file with the old name in the first column and the new name in the second column and click on **Upload**.
+
+<img class="screenshot" alt="Bulk Rename" src="/assets/manual_erpnext_com/img/setup/data/rename.png">
+
+{next}
diff --git a/erpnext/docs/user/setting-up/data/data-import-tool.md b/erpnext/docs/user/setting-up/data/data-import-tool.md
new file mode 100644
index 0000000..ffb700d
--- /dev/null
+++ b/erpnext/docs/user/setting-up/data/data-import-tool.md
@@ -0,0 +1,110 @@
+The Data Import Tool is a great way to upload (or edit) bulk data, specially
+master data, into the system.
+
+To Open the data import tool, you either go to Setup or go to the Transaction
+you want to Import. If Data Import is allowed, you will see an Import Button:
+
+<img alt="Start Import" class="screenshot" src="/assets/manual_erpnext_com/img/setup/data-import/data-import-1.png">
+
+The tool has two sections, one to download a template and the second to upload
+the data.
+
+(Note: Only those DocTypes are allowed for Import whose Document Type is
+"Master" or Allow Import property is set.)
+
+### 1\. Downloading The Template
+
+Data in ERPNext is stored in tables, much like a spreadsheet with columns and
+rows of data. Each entity in ERPNext can have multiple child tables associated
+with it too. The child tables are linked to the parent tables and are
+implemented where there are multiple values for any property. For example an
+Item can have multiple prices, An Invoice has multiple Items and so on.
+
+<img alt="Download Template" class="screenshot" src="/assets/manual_erpnext_com/img/setup/data-import/data-import-2.png">
+
+  * Click on the table you want to download or "All Tables"
+  * For bulk editing, you can click on "Download With Data"
+
+### 2\. Fill in the Template
+
+After downloading the template, open it in a spreadsheet application and fill
+in the data below the column headings.
+
+![Spreadsheet](/assets/manual_erpnext_com/old_images/erpnext/import-3.png)
+
+Then export your template or save it as a **Comma Separated Values** (CSV)
+file.
+
+![Spreadsheet](/assets/manual_erpnext_com/old_images/erpnext/import-4.png)
+
+### 3\. Upload the .csv File
+
+Finally attach the .csv file in the section. Click on the "Upload and Import"
+button.
+
+<img alt="Upload" class="screenshot" src="/assets/manual_erpnext_com/img/setup/data-import/data-import-3.png">
+
+#### Notes:
+
+1. Make sure that if your application allows, use encoding as UTF-8.
+1. Keep the ID column blank for new records.
+
+### 4\. Uploading All Tables (Main + Child)
+
+If you select all tables, you will get columns belonging to all the tables in
+one row separated by `~` columns.
+
+If you have multiple child rows then you must start a new main item on a new
+row. See the example:
+
+
+    Main Table                          ~   Child Table
+    Column 1    Column 2    Column 3    ~   Column 1    Column 2    Column 3
+    v11         v12         v13             c11         c12         c13
+                                            c14         c15         c17
+    v21         v22         v23             c21         c22         c23
+
+> To see how its done, enter a few records manually using forms and export
+"All Tables" with "Download with Data"
+
+### 5\. Overwriting
+
+ERPNext also allows you to overwrite all / certain columns. If you want to
+update certain columns, you can download the template with data. Remember to
+check on the “Overwrite” box before uploading.
+
+> Note: For child records, if you select Overwrite, it will delete all the
+child records of that parent.
+
+### 6\. Upload Limitations
+
+ERPNext restricts the amount of data you can upload in one file. Though the
+number may vary based on the type of data. It is usually safe to upload around
+1000 rows of a table at one go. If the system will not accept, then you will
+see an error.
+
+Why is this? Uploading a lot of data can cause your system to crash, specially
+if there are other users doing things in parallel. Hence ERPNext restricts the
+number of “writes” you can process in one request.
+
+***
+
+#### How to Attach files?
+
+When you open a form, on the right sidebar, you will see a section to attach
+files. Click on “Add” and select the file you want to attach. Click on
+“Upload” and you are set.
+
+#### What is a CSV file?
+
+A CSV (Comma Separated Value) file is a data file that you can upload into
+ERPNext to update various data. Any spreadsheet file from popular spreadsheet
+applications like MS Excel or Open Office Spreadsheet can be saved as a CSV
+file.
+
+If you are using Microsoft Excel and using non-English characters, make sure
+to save your file encoded as UTF-8. For older versions of Excel, there is no
+clear way of saving as UTF-8. So save your file as a CSV, then open it in
+Notepad, and save as “UTF-8”. (Sorry blame Microsoft for this!)
+
+{next}
diff --git a/erpnext/docs/user/setting-up/data/index.md b/erpnext/docs/user/setting-up/data/index.md
new file mode 100644
index 0000000..60942fd
--- /dev/null
+++ b/erpnext/docs/user/setting-up/data/index.md
@@ -0,0 +1,7 @@
+# Data Management
+
+You can import, export bulk edit data from and to spreadsheet files (**.csv**) from the Data Import Export Tool. This tool will be very helpful initially to setup your data from other systems.
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/setting-up/data/index.txt b/erpnext/docs/user/setting-up/data/index.txt
new file mode 100644
index 0000000..998b5a2
--- /dev/null
+++ b/erpnext/docs/user/setting-up/data/index.txt
@@ -0,0 +1,2 @@
+data-import-tool
+bulk-rename
diff --git a/erpnext/docs/user/setting-up/email/email-account.md b/erpnext/docs/user/setting-up/email/email-account.md
new file mode 100644
index 0000000..104341f
--- /dev/null
+++ b/erpnext/docs/user/setting-up/email/email-account.md
@@ -0,0 +1,39 @@
+# Email Accounts
+
+You can manage multiple incoming and outgoing Email Accounts in ERPNext. There has to be atleast one default outgoing account and one default incoming account. If you are on the ERPNext cloud, the default outgoing email is set by us.
+
+> **Note for self implementers:** For outgoing emails, you should setup your own SMTP server or sign up with an SMTP relay service like mandrill.com or sendgrid.com that allows a larger number of transactional emails to be sent. Regular email services like GMail will restrict you to a limited number of emails per day.
+
+### Default Email Accounts
+
+ERPNext will create templates for a bunch of email accounts by default. Not all of them are enabled. To enable them, you must set your account details.
+
+There are 2 types of email accounts, outgoing and incoming. Outgoing email accounts use an SMTP service to send emails and emails are retrived from your inbox using a POP service. Most email providers such as GMail, Outlook or Yahoo provide these services.
+
+<img class="screenshot" alt="Defining Criteria" src="/assets/manual_erpnext_com/img/setup/email/email-account-list.png">
+
+### Outgoing Email Accounts
+
+All emails sent from the system, either by the user to a contact or notifications or transaction emails, will be sent from an Outgoing Email Account.
+
+To setup an outgoing Email Account, check on **Enable Outgoing** and set your SMTP server settings, if you are using a popular email service, these will be preset for you.
+
+<img class="screenshot" alt="Outgoing EMail" src="/assets/manual_erpnext_com/img/setup/email/email-account-sending.png">
+
+### Incoming Email Accounts
+
+To setup an incoming Email Account, check on **Enable Incoming** and set your POP3 settings, if you are using a popular email service, these will be preset for you.
+
+<img class="screenshot" alt="Incoming EMail" src="/assets/manual_erpnext_com/img/setup/email/email-account-incoming.png">
+
+### How ERPNext handles replies
+
+In ERPNext when you send an email to a contact like a customer, the sender will be the user who sent the email. In the **Reply-To** property, the email id will be of the default incoming account (like `replies@yourcompany.com`). ERPNext will automatically extract these emails from the incoming account and tag it to the relvant communication
+
+### Notification for unreplied messages
+
+If you would like ERPNext to notify you if an email is unreplied for a certain amount of time, then you can set **Notify if Unreplied**. Here you can set the number of minutes to wait before notifications are sent and whom the notifications must go to.
+
+<img class="screenshot" alt="Incoming EMail" src="/assets/manual_erpnext_com/img/setup/email/email-account-unreplied.png">
+
+{next}
diff --git a/erpnext/docs/user/setting-up/email/email-alerts.md b/erpnext/docs/user/setting-up/email/email-alerts.md
new file mode 100644
index 0000000..c2d91a9
--- /dev/null
+++ b/erpnext/docs/user/setting-up/email/email-alerts.md
@@ -0,0 +1,41 @@
+# Email Alerts
+
+You can configure various email alerts in your system to remind you of important activities such as:
+
+1. Completion date of a Task.
+1. Expected Delivery Date of a Sales Order.
+1. Expected Payment Date.
+1. Reminder of followup.
+1. If an Order greater than a particular value is received or sent.
+1. Expiry notification for a Contract.
+1. Completion / Status change of a Task.
+
+For this, you need to setup an Email Alert.
+
+> Setup > Email > Email Alert
+
+### Setting Up An Alert
+
+To setup an Email Alert:
+
+1. Select which Document Type you want watch changes on
+1. Define what events you want to watch. Events are:
+	1. New: When a new document of the selected type is made.
+	2. Save / Submit / Cancel: When a document of the selected type is saved, submitted, cancelled.
+	3. Value Change: When a particular value in the selected type changes.
+	4. Days Before / Days After: Trigger this alert a few days before or after the **Reference Date.** To set the days, set **Days Before or After**. This can be useful in reminding you of upcoming due dates or reminding you to follow up on certain leads of quotations.
+1. Set additional conditions if you want.
+1. Set the recipients of this alert. The recipient could either be a field of the document or a list of fixed email ids.
+1. Compose the message
+
+---
+
+### Example
+
+1. Defining the Criteria
+    <img class="screenshot" alt="Defining Criteria" src="/assets/manual_erpnext_com/img/setup/email/email-alert-1.png">
+
+1. Setting the Recipients and Message
+    <img class="screenshot" alt="Set Message" src="/assets/manual_erpnext_com/img/setup/email/email-alert-2.png">
+
+{next}
diff --git a/erpnext/docs/user/setting-up/email/email-digest.md b/erpnext/docs/user/setting-up/email/email-digest.md
new file mode 100644
index 0000000..a53137a
--- /dev/null
+++ b/erpnext/docs/user/setting-up/email/email-digest.md
@@ -0,0 +1,17 @@
+# Email Digest
+
+Email Digests allow you to get regular updates about your sales, expenses and other critical numbers directly in your Inbox.
+
+Email Digests are a great way for top managers to keep track of the big numbers like “Sales Booked” or “Amount Collected” or “Invoices Raised” etc.
+
+To set up Email Digest, go to:
+
+> Setup > Email > Email Digest
+
+## Example
+
+Set your frequency, check all the items you want to receive in your weekly update and select the user ids whom you want to send the Digest to.
+
+<img class="screenshot" alt="Email Digest" src="/assets/manual_erpnext_com/img/setup/email/email-digest.png">
+
+{next}
diff --git a/erpnext/docs/user/setting-up/email/index.md b/erpnext/docs/user/setting-up/email/index.md
new file mode 100644
index 0000000..74ef1cc
--- /dev/null
+++ b/erpnext/docs/user/setting-up/email/index.md
@@ -0,0 +1,7 @@
+# Email
+
+Email is at the heart of electronic communication and ERPNext is deeply integrated with Email. You can create multiple email accounts, automatically create transactions like Lead, Issue from incoming emails, send documents to your contacts via ERPnext. You can also setup email digests and email alerts to send you reminders.
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/setting-up/email/index.txt b/erpnext/docs/user/setting-up/email/index.txt
new file mode 100644
index 0000000..01061d0
--- /dev/null
+++ b/erpnext/docs/user/setting-up/email/index.txt
@@ -0,0 +1,4 @@
+email-account
+email-alerts
+email-digest
+sending-email
diff --git a/erpnext/docs/user/setting-up/email/sending-email.md b/erpnext/docs/user/setting-up/email/sending-email.md
new file mode 100644
index 0000000..420372d
--- /dev/null
+++ b/erpnext/docs/user/setting-up/email/sending-email.md
@@ -0,0 +1,9 @@
+# Sending Email from any Document
+
+In ERPNext you can send any document as email (with a PDF attachment) by clicking on `Menu > Email` from any open document.
+
+<img class="screenshot" alt="Send Email" src="/assets/manual_erpnext_com/img/setup/email/send-email.gif">
+
+**Note:** You must have outgoing [email accounts](/contents/setting-up/email/email-account) setup for this.
+
+{next}
diff --git a/erpnext/docs/user/setting-up/email/setting-up-email.md b/erpnext/docs/user/setting-up/email/setting-up-email.md
new file mode 100644
index 0000000..c38789d
--- /dev/null
+++ b/erpnext/docs/user/setting-up/email/setting-up-email.md
@@ -0,0 +1,95 @@
+Emails are the nervous system of business communication and ERPNext has been
+designed to make good use of this.
+
+## Sending Emails
+
+You can email any document from the system, by clicking on the “Email” button
+on the right sidebar. Before that you will need to set your outgoing email
+settings (SMTP server).
+
+All emails sent from the system are added to the Communication table.
+
+> **Info:** What is SMTP? There are two types of email services, sending and
+receiving emails. Sending is done via a protocol called SMTP (Simple Mail
+Transfer Protocol) and the server (computer) that sends your email to its
+destination is called SMTP Server.
+
+
+Bulk Emails, especially those that are sent without consent (spam), are considered as bad behavior. While it may be okay to send emails to those who have “opted-in” to receive mails, it is very difficult for the internet community to know what is spam and what is allowed. To overcome this problem, most email servers share a black and white list of email senders. If your emails have been marked as spam, you will be blacklisted. So be careful. Many times, it may be a good idea to send email via whitelisted services also known as SMTP relay services which are paid services.These
+services will block you from sending spam while ensuring that most of your email does not go in the spam folder. There are many such services available like SendGrid and SMTP.com.
+
+To setup your outgoing mails, go to
+
+> Setup > Outgoing Email Settings
+
+#### Figure 1: Set up outgoing mail server.
+
+![Email Settings](/assets/manual_erpnext_com/old_images/erpnext/email-settings1.png)
+
+Set your outgoing mail server settings here. These are the same settings you
+would use in your Outlook, Thunderbird, Apple Mail or other such email
+applications. If you are not sure, get in touch with your email service
+provider.
+
+> **Tip:** If you are using EPRNext hosted service, keep the first section
+blank. Emails will still be sent from your email id, but via our SMTP relay
+service.
+
+### Creating Issues from Incoming Emails
+
+A very useful email integration is to sync the incoming emails from support
+inbox into Issue, so that you can track, assign and monitor support
+issues.
+
+> **Case Study:** Here at ERPNext, we have regularly tracked incoming support
+issues via email at “support@erpnext.com”. At the time of writing we had
+answered more than 3000 tickets via this system.
+
+To setup your Support integration, go to:
+
+> Setup > Support Email Settings
+
+#### Figure 2: Setup support Integration
+
+![Email Settings](/assets/manual_erpnext_com/old_images/erpnext/email-settings2.png)
+
+To make ERPNext pull emails from your mail box, enter the POP3 settings. (POP3
+is a way of extracting emails from your mailbox. It should be fairly easy to
+find out what your POP3 settings are. If you have problems, contact your email
+service provider). If you want to setup an auto reply, check on the “Send
+Autoreply” box and whenever someone sends an email, an autoreply will be sent.
+Add a custom signature which you want to send with your replies.
+
+### Setting Auto-notification on Documents
+
+ERPNext allows you to automatically email documents on “Submission” to the
+contact mentioned in the document. To set this up, go to:
+
+> Setup > Tools > Enable / Disable Notifications.
+
+#### Figure 3: Set Auto Notification
+
+![Auto Notification](/assets/manual_erpnext_com/old_images/erpnext/auto-notification.png)
+
+Check on the transactions you want to send via email directly on Submission
+and add a custom message if you want on these documents.
+
+### Email Digests
+
+Email Digests allow you to get regular updates about your sales, expenses and
+other critical numbers directly in your Inbox.
+
+Set your frequency, check all the items you want to receive in your weekly
+update and select the user ids whom you want to send the Digest to.
+
+Email Digests are a great way for top managers to keep track of the big
+numbers like “Sales Booked” or “Amount Collected” or “Invoices Raised” etc.
+
+To setup Email Digests, go to:
+
+> Setup > Email Digest > New Email Digest
+
+#### Figure 4: Set up Email Digest
+
+![Email Digest](/assets/manual_erpnext_com/old_images/erpnext/email-digest.png)
+
diff --git a/erpnext/docs/user/setting-up/index.md b/erpnext/docs/user/setting-up/index.md
new file mode 100644
index 0000000..9f5de0f
--- /dev/null
+++ b/erpnext/docs/user/setting-up/index.md
@@ -0,0 +1,13 @@
+# Setting Up
+
+Setting up an ERP system is like starting your business all over again,
+although in the virtual world. Thankfully it is not as hard as the real
+business and you get to do a trial too!
+
+Implementation requires the implementer to take a step back and set aside some
+time to do this right. This is usually not a couple-of-hours, after-work kind
+of a project.
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/setting-up/index.txt b/erpnext/docs/user/setting-up/index.txt
new file mode 100644
index 0000000..cbd14e5
--- /dev/null
+++ b/erpnext/docs/user/setting-up/index.txt
@@ -0,0 +1,17 @@
+setup-wizard
+users-and-permissions
+settings
+data
+email
+print
+setting-up-taxes
+pos-setting
+price-lists
+authorization-rule
+sms-setting
+stock-reconciliation-for-non-serialized-item
+territory
+third-party-backups
+workflows
+bar-code
+company-setup
diff --git a/erpnext/docs/user/setting-up/pos-setting.md b/erpnext/docs/user/setting-up/pos-setting.md
new file mode 100644
index 0000000..c64a8ed
--- /dev/null
+++ b/erpnext/docs/user/setting-up/pos-setting.md
@@ -0,0 +1,23 @@
+# Point of Sale Setting
+
+POS includes advanced features to cater to different functionality, such as
+inventory management, CRM, financials, warehousing, etc., all built into the
+POS software. Prior to the modern POS, all of these functions were done
+independently and required the manual re-keying of information, which could
+lead to entry errors.
+
+If you are in retail operations, you want your Point of Sale to be as quick
+and efficient as possible. To do this, you can create a POS Setting for a user
+from:
+
+> Accounts > Setup > Point-of-Sale Setting
+
+Set default values as defined.
+
+<img class="screenshot" alt="POS Setting" src="/assets/manual_erpnext_com/img/pos-setting/pos-setting.png">
+
+> Important : If you specify a particular User, the POS setting will be
+applied only to that User. If the User option is left blank, the setting will
+be set for all users. To understand POS in detail visit [Point of Sale](/contents/accounts/point-of-sale-pos-invoice)
+
+{next}
diff --git a/erpnext/docs/user/setting-up/price-lists.md b/erpnext/docs/user/setting-up/price-lists.md
new file mode 100644
index 0000000..772cb74
--- /dev/null
+++ b/erpnext/docs/user/setting-up/price-lists.md
@@ -0,0 +1,21 @@
+ERPNext lets you maintain multiple selling and buying prices for an Item using Price Lists. A PriceList is a name you can give to a set of Item prices. 
+
+Why would you want Price Lists? You have different prices for different zones (based on the shipping costs), for different currencies etc.
+
+An Item can have multiple prices based on customer, currency, region, shipping cost etc, which can be stored as different rate plans. In ERPNext, you are required to store all the lists separately. Buying Price List is different from Selling Price List and thus is stored separately.
+
+You can create new Price List
+
+> Selling/Buying/Stock  > Setup > Price List >> New
+
+<img class="screenshot" alt="Price List" src="/assets/manual_erpnext_com/img/price-list/price-list.png">
+
+* These Price List will be used when creating Item Price record to track selling or buying price of an item. Click here to learn more about Item Price.
+
+* To disable specific Price List, uncheck Enabled field in it. Disabled Price List will not be availale for selection in the Sales and Purchase transactions.
+
+* Standard Buying and Selling Price List are created by default.
+
+To disable specific Price List, uncheck Enabled field in it. Disabled Price List will not be availale for selection in the Sales and Purchase transactions.
+
+{next}
diff --git a/erpnext/docs/user/setting-up/print/address-template.md b/erpnext/docs/user/setting-up/print/address-template.md
new file mode 100644
index 0000000..802d258
--- /dev/null
+++ b/erpnext/docs/user/setting-up/print/address-template.md
@@ -0,0 +1,31 @@
+# Address Template
+
+Each region has its own way of defining Addresses. To manage multiple address formats for your Documents (like Quotation, Purchase Invoice etc.), you can create country-wise **Address Templates**.
+
+> Setup > Printing and Branding > Address Template
+
+A default Address Template is created when you setup the system. You can either edit or update it or create a new template.
+
+One template is default and will apply to all countries that do not have an specific template.
+
+#### Template
+
+The templating engine is based on HTML and the [Jinja Templating](http://jinja.pocoo.org/docs/templates/) system and all the fields (including Custom Fields) will be available for creating the template.
+
+Here is the default template:
+
+	{{ address_line1 }}<br>
+	{% if address_line2 %}{{ address_line2 }}<br>{% endif -%}
+	{{ city }}<br>
+	{% if state %}{{ state }}<br>{% endif -%}
+	{% if pincode %}PIN:  {{ pincode }}<br>{% endif -%}
+	{{ country }}<br>
+	{% if phone %}Phone: {{ phone }}<br>{% endif -%}
+	{% if fax %}Fax: {{ fax }}<br>{% endif -%}
+	{% if email_id %}Email: {{ email_id }}<br>{% endif -%}
+
+### Example
+
+<img class="screenshot" alt="Print Heading" src="/assets/manual_erpnext_com/img/setup/print/address-format.png">
+
+{next}
diff --git a/erpnext/docs/user/setting-up/print/index.md b/erpnext/docs/user/setting-up/print/index.md
new file mode 100644
index 0000000..1204cbc
--- /dev/null
+++ b/erpnext/docs/user/setting-up/print/index.md
@@ -0,0 +1,7 @@
+# Printing and Branding
+
+Documents that you send to your customers carry your brand and image and they must be tailored to your requirements. ERPNext gives you many options so that you can set your oraganization's branding in your documents.
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/setting-up/print/index.txt b/erpnext/docs/user/setting-up/print/index.txt
new file mode 100644
index 0000000..0ddb217
--- /dev/null
+++ b/erpnext/docs/user/setting-up/print/index.txt
@@ -0,0 +1,6 @@
+print-settings
+print-format-builder
+print-headings
+letter-head
+address-template
+terms-and-conditions
diff --git a/erpnext/docs/user/setting-up/print/letter-head.md b/erpnext/docs/user/setting-up/print/letter-head.md
new file mode 100644
index 0000000..71ad4f1
--- /dev/null
+++ b/erpnext/docs/user/setting-up/print/letter-head.md
@@ -0,0 +1,23 @@
+# Letter Heads
+
+You can manage multiple letter heads in ERPNext. In a letter head you can:
+
+  * Create an image with your logo, brand and other information that you want to put on your letter head.
+  * Attach the image in your Letter Head record by clicking on image icon to automatically generate the HTML required for this Letter Head.
+  * If you want to make this the default letter head, click on “Is Default”.
+
+Your letter head will now appear in all Prints and Emails of documents.
+
+You can create / manage Letter Heads from:
+
+> Setup > Printing > Letter Head > New Letter Head
+
+### Example
+
+<img class="screenshot" alt="Print Heading" src="/assets/manual_erpnext_com/img/setup/print/letter-head.png">
+
+This is how the letter head looks in a document print:
+
+<img class="screenshot" alt="Print Heading" src="/assets/manual_erpnext_com/img/setup/print/letter-head-1.png">
+
+{next}
diff --git a/erpnext/docs/user/setting-up/print/print-format-builder.md b/erpnext/docs/user/setting-up/print/print-format-builder.md
new file mode 100644
index 0000000..906ef9a
--- /dev/null
+++ b/erpnext/docs/user/setting-up/print/print-format-builder.md
@@ -0,0 +1,37 @@
+# Print Format Builder
+
+The Print Format Builder helps you quickly make a simple customized Print Format by dragging and dropping data fields and adding custom text or HTML.
+
+You can create a new Print Format either by going to:
+
+> Setup > Printing and Branding > Print Format Builder
+
+or Open the document for which you want to make a print format. Click the Printer icon, or go to Menu > Print and click on the **Edit** button. Note: You must have System Manager permission to do this.
+
+### Step 1: Make a new Format
+
+<img class="screenshot" alt="Send Email" src="/assets/manual_erpnext_com/img/setup/print/print-format-builder-1.gif">
+
+### Step 2: Add a new Field
+
+To add a field, just drag it from the left sidebar and add it in your layout. You can edit the layout by clicking on the settings <i class="octicon octicon-gear"></i> icon.
+
+<img class="screenshot" alt="Send Email" src="/assets/manual_erpnext_com/img/setup/print/print-format-builder-2.gif">
+
+### Step 3
+
+To remove a field, just drag it back into the fields sidebar.
+
+<img class="screenshot" alt="Send Email" src="/assets/manual_erpnext_com/img/setup/print/print-format-builder-3.gif">
+
+### Step 4
+
+You can add customized text, HTML in your print format, just add the **Custom HTML** field (in dark colour) and add it to the the place where you want to add the text.
+
+Then click on **Edit HTML** to edit your content.
+
+<img class="screenshot" alt="Send Email" src="/assets/manual_erpnext_com/img/setup/print/print-format-builder-4.gif">
+
+To save your format, just click on the **Save** button on the top.
+
+{next}
diff --git a/erpnext/docs/user/setting-up/print/print-headings.md b/erpnext/docs/user/setting-up/print/print-headings.md
new file mode 100644
index 0000000..3a2c49a
--- /dev/null
+++ b/erpnext/docs/user/setting-up/print/print-headings.md
@@ -0,0 +1,17 @@
+Print Headings are the names which you can give to your sales invoices,
+supplier quotations etc. You can create a list of names for different business
+communications.
+
+You can create print headings from :
+
+> Setup > Printing > Print Heading > New Print Heading
+
+#### Figure 1: Save Print Heading
+
+<img class="screenshot" alt="Print Heading" src="/assets/manual_erpnext_com/img/setup/print/print-heading.png">
+
+Example of a change in print heading is shown below:
+
+<img class="screenshot" alt="Print Heading" src="/assets/manual_erpnext_com/img/setup/print/print-heading-1.png">
+
+{next}
diff --git a/erpnext/docs/user/setting-up/print/print-settings.md b/erpnext/docs/user/setting-up/print/print-settings.md
new file mode 100644
index 0000000..02170e1
--- /dev/null
+++ b/erpnext/docs/user/setting-up/print/print-settings.md
@@ -0,0 +1,11 @@
+# Print Settings
+
+In Print Settings you can set your default printing preferences like Paper Size, default text size, whether you want output as PDF or HTML etc.
+
+To edit print settings, go to:
+
+> Setup > Printing and Branding > Print Settings
+
+<img class="screenshot" alt="Print Settings" src="/assets/manual_erpnext_com/img/setup/print/print-settings.png">
+
+{next}
diff --git a/erpnext/docs/user/setting-up/print/terms-and-conditions.md b/erpnext/docs/user/setting-up/print/terms-and-conditions.md
new file mode 100644
index 0000000..3a15d82
--- /dev/null
+++ b/erpnext/docs/user/setting-up/print/terms-and-conditions.md
@@ -0,0 +1,25 @@
+Terms and conditions are the general and special arrangements, provisions, requirements, rules, specifications, and standards that a company follows. These specifications are an integral part of an agreement or contract that the company gets into with its customers, suppliers or partners.
+
+### 1. Make a new Terms and Conditions
+
+To setup Terms and Condition master, go to:
+
+`Selling > Terms and Condition > New`
+
+<img class="screenshot" alt="Terms and Conditions" src="/assets/manual_erpnext_com/img/setup/print/terms-1.png">
+
+### 2. Editing in HTML
+
+Content of Terms and Condition can be formatted as per your preference, and also insert images where needed. If you have expertise in HTML, you will also find option to edit the content of Terms and Condition in HTML.
+
+<img class="screenshot" alt="Terms and Conditions, Edit HTML" src="/assets/manual_erpnext_com/img/setup/print/terms-2.png">
+
+This also allows you to use Terms and Condition master for footer, which otherwise is not availale in ERPNext as dedicated functionality. Since contents of Terms and Condition is always the last to appear in the print format, details of footer should be inserted at the end of the content, so that it actually appears as footer in the print format.
+
+### 3. Select in Transaction
+
+In transactions, you will find section of Terms and Condition where you will be able to search and fetched required Terms and Condition master.
+
+<img class="screenshot" alt="Terms and Conditions, Select in document" src="/assets/manual_erpnext_com/img/setup/print/terms-3.png">
+
+{next}
diff --git a/erpnext/docs/user/setting-up/setting-up-taxes.md b/erpnext/docs/user/setting-up/setting-up-taxes.md
new file mode 100644
index 0000000..fefb786
--- /dev/null
+++ b/erpnext/docs/user/setting-up/setting-up-taxes.md
@@ -0,0 +1,99 @@
+One of the primary motivator for compulsory use of accounting tools is
+calculation of Taxes. You may or may not make money but your government will
+(to help your country be safe and prosperous). And if you don’t calculate your
+taxes correctly, they get very unhappy. Ok, philosophy aside, ERPNext allows
+you to make configurable tax templates that you can apply to your sales or
+purchase.
+
+### Tax Accounts
+
+For Tax Accounts that you want to use in the tax templates, you must go to
+Chart of Accounts and mention them as type “Tax” in your Chart of Item.
+
+## Item Tax
+
+If some of your Items require different tax rates as compared to others,
+mention them in the Item tax table. Even if you have selected your sales and
+purchase taxes as default tax rates, the system will pull the Item tax rate
+for calculations. Item tax will get preference over other sales or purchase
+taxes. However, if you wish to apply default sales and purchase taxes, do not
+mention item tax rates in the Item master. The system will then select the
+sales or purchase tax rate specified by you as default rates.
+
+Item Tax table can be found as a section within the Item Master document.
+
+<img class="screenshot" alt="Item Tax" src="/assets/manual_erpnext_com/img/taxes/item-tax.png">
+
+  * **Inclusive and Exclusive Tax**: ERPNext allows you to enter Item rates which are tax inclusive.
+
+<img class="screenshot" alt="Inclusive Tax" src="/assets/manual_erpnext_com/img/taxes/inclusive-tax.png">
+
+  * **Exception to the rule**: Item tax settings are required only if a particular Item has a different tax rate than the rate defined in the standard tax Account
+  * **Item tax is overwrite-able**: You can overwrite or change the item tax rate by going to the Item master in the Item tax table.
+
+## Sales Taxes and Charges Template
+
+You must usually collect taxes from your Customer and pay them to the
+government. At times, you may have to pay multiple taxes to multiple
+government bodies like local government, state or provincial and federal or
+central government.
+
+The way ERPNext sets up taxes is via templates. Other types of charges that
+may apply to your invoices (like shipping, insurance etc.) can also be
+configured as taxes.
+
+Select template and modify as per your need.
+
+To create a new sales tax template called Sales Taxes and Charges Template, you
+have to go to:
+
+> Setup > Accounts > Sales Taxes and Charge Master
+
+<img class="screenshot" alt="Sales Tax Master" src="/assets/manual_erpnext_com/img/taxes/sales-tax-master.png">
+
+When you create a new master, you will have to add a row for each tax type.
+
+The tax rate you define here will be the standard tax rate for all Items. If
+there are Items that have different rates, they must be added in the Item Tax
+table in the Item master.
+
+In each row, you have to mention:
+
+  * Calculation Type:
+
+    * On Net Total : This can be on net total (total amount without taxes).
+    * On Previous Row Total/Amount: You can apply taxes on previous row total / amount. If you select this option, the tax will be applied as a percentage of the previous row (in the tax table) amount or total. Previous row amount means a particular tax amount.And, previous row total means net total plus taxes applied up to that row. In the Enter Row Field, mention row number on which you want to apply the current tax. If you want to apply the tax on the 3rd row, mention "3" in the Enter Row field.
+
+    * Actual : Enter as per actual amount in rate column.
+
+  * Account Head: The Account ledger under which this tax will be booked
+
+  * Cost Center: If the tax / charge is an income (like shipping) it needs to be booked against - a Cost Center.
+  * Description: Description of the tax (that will be printed in invoices / quotes).
+  * Rate: Tax rate.
+  * Amount: Tax amount.
+  * Total: Cumulative total to this point.
+  * Enter Row: If based on "Previous Row Total" you can select the row number which will be taken as a base for this calculation (default is the previous row).
+  * Is this Tax included in Basic Rate?: If you check this, it means that this tax will not be shown below the item table, but will be included in the rate in your main item table. This is useful when you want to give a flat price (inclusive of all taxes) to your customers.
+
+Once you setup your template, you can select this in your sales transactions.
+
+## Purchase Taxes and Charges Template
+
+Similar to your Sales Taxes and Charges Template is the Purchase Taxes and
+Charges Master.
+
+This is the tax template that you can use in your Purchase Orders and Purchase
+Invoices. If you have value added taxes (VAT), where you pay to the government
+the difference between your incoming and outgoing taxes, you can select the
+same Account that you use for sales taxes.
+
+The columns in this table are similar to the Sales Taxes and Charges Template
+with the difference as follows:
+
+Consider Tax or Charge for: In this section you can specify if the tax /
+charge is only for valuation (not a part of total) or only for total (does not
+add value to the item) or for both.
+
+{next}
+
diff --git a/erpnext/docs/user/setting-up/settings/global-defaults.md b/erpnext/docs/user/setting-up/settings/global-defaults.md
new file mode 100644
index 0000000..e1cced2
--- /dev/null
+++ b/erpnext/docs/user/setting-up/settings/global-defaults.md
@@ -0,0 +1,11 @@
+# Global Defaults
+
+You can set default values for your documents from Global Defaults
+
+> Setup > Settings > Global Defaults
+
+Whenever a new document is created, these values will be set as default.
+
+<img class="screenshot" alt="Global Defaults" src="/assets/manual_erpnext_com/img/setup/settings/global-defaults.png">
+
+{next}
diff --git a/erpnext/docs/user/setting-up/settings/index.md b/erpnext/docs/user/setting-up/settings/index.md
new file mode 100644
index 0000000..4cba991
--- /dev/null
+++ b/erpnext/docs/user/setting-up/settings/index.md
@@ -0,0 +1,7 @@
+# Settings
+
+In `Setup > Settings` you will find ways to manage your system settings like defaults, number and currency formats, global session timeout settings etc.
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/setting-up/settings/index.txt b/erpnext/docs/user/setting-up/settings/index.txt
new file mode 100644
index 0000000..e33aedc
--- /dev/null
+++ b/erpnext/docs/user/setting-up/settings/index.txt
@@ -0,0 +1,4 @@
+system-settings
+module-settings
+naming-series
+global-defaults
diff --git a/erpnext/docs/user/setting-up/settings/module-settings.md b/erpnext/docs/user/setting-up/settings/module-settings.md
new file mode 100644
index 0000000..81f10e5
--- /dev/null
+++ b/erpnext/docs/user/setting-up/settings/module-settings.md
@@ -0,0 +1,15 @@
+# Show or Hide Modules
+
+You can globally switch off certain desktop module via:
+
+> Setup > Settings > Show or Hide Modules
+
+For example if you are in the services business, you want to hide the Manufacturing Module, you can do this via **Show or Hide Modules**
+
+### Example
+
+Check / uncheck the items to show / hide.
+
+<img class="screenshot" alt="Module Settings" src="/assets/manual_erpnext_com/img/setup/settings/show-hide-modules.png">
+
+{next}
diff --git a/erpnext/docs/user/setting-up/settings/naming-series.md b/erpnext/docs/user/setting-up/settings/naming-series.md
new file mode 100644
index 0000000..d15404a
--- /dev/null
+++ b/erpnext/docs/user/setting-up/settings/naming-series.md
@@ -0,0 +1,48 @@
+# Naming Series
+
+### 1. Introduction
+
+Data records are broadly classified as “Master” or “Transaction”. A master
+record is a record that has a “name”, for example a Customer, Item, Supplier,
+Employee etc. A Transaction is a record that has a “number”. Examples of
+transactions include Sales Invoices, Quotations etc. You make transactions
+against a number of master records.
+
+ERPNext allows you to make prefixes to your transactions, with each prefix
+forming its own series. For example a series with prefix INV12 will have
+numbers INV120001, INV120002 and so on.
+
+You can have multiple series for all your transactions. It is common to have a
+separate series for each financial year. For example in Sales Invoice you
+could have:
+
+  * INV120001
+  * INV120002
+  * INV-A-120002
+
+etc. You could also have a separate series for each type of Customer or for
+each of your retail outlets.
+
+### 2. Managing Naming Series for Documents
+
+To setup a series, go to:
+
+> Setup > Tools > Update Numbering Series
+
+In this form,
+
+  1. Select the transaction for which you want to make the series The system will update the current series in the text box.
+  2. Edit the series as required with unique prefixes for each series. Each prefix must be on a new line.
+  3. The first prefix will be the default prefix. If you want the user to explicitly select a series instead of the default one, check the “User must always select” check box.
+
+You can also update the starting point of a series by entering the series
+name and the starting point in the “Update Series” section.
+
+### 3. Example
+
+See how to set the naming series
+
+<img class="screenshot" alt="Naming Series" src="/assets/manual_erpnext_com/img/setup/settings/naming-series.gif">
+
+{next}
+
diff --git a/erpnext/docs/user/setting-up/settings/system-settings.md b/erpnext/docs/user/setting-up/settings/system-settings.md
new file mode 100644
index 0000000..ca594c8
--- /dev/null
+++ b/erpnext/docs/user/setting-up/settings/system-settings.md
@@ -0,0 +1,11 @@
+# System Settings
+
+You can localize ERPNext to use particular timezone, date, number or currency format and also set global session expiry via System Settings.
+
+To open System Settings, go to:
+
+> Setup > Settings > System Settings
+
+<img class="screenshot" alt="System Settings" src="/assets/manual_erpnext_com/img/setup/settings/system-settings.png">
+
+{next}
diff --git a/erpnext/docs/user/setting-up/setup-wizard/index.md b/erpnext/docs/user/setting-up/setup-wizard/index.md
new file mode 100644
index 0000000..244d893
--- /dev/null
+++ b/erpnext/docs/user/setting-up/setup-wizard/index.md
@@ -0,0 +1,7 @@
+# Setup Wizard
+
+The Setup Wizard helps you quickly setup your ERPnext by helping you create your company, Items, Customer, Suppliers and will also setup a basic website with this data.
+
+Here is a quick overview of the steps:
+
+{index}
diff --git a/erpnext/docs/user/setting-up/setup-wizard/index.txt b/erpnext/docs/user/setting-up/setup-wizard/index.txt
new file mode 100644
index 0000000..74f6a42
--- /dev/null
+++ b/erpnext/docs/user/setting-up/setup-wizard/index.txt
@@ -0,0 +1,10 @@
+step-1-language
+step-2-currency-and-timezone
+step-3-user-details
+step-4-company-details
+step-5-letterhead-and-logo
+step-6-add-users
+step-7-tax-details
+step-8-customer-names
+step-9-suppliers
+step-10-item
diff --git a/erpnext/docs/user/setting-up/setup-wizard/step-1-language.md b/erpnext/docs/user/setting-up/setup-wizard/step-1-language.md
new file mode 100644
index 0000000..002e8bd
--- /dev/null
+++ b/erpnext/docs/user/setting-up/setup-wizard/step-1-language.md
@@ -0,0 +1,11 @@
+# Step 1: Language
+
+Select your language. ERPNext is available in more than 20 languages.
+
+<img alt="Language" class="screenshot" src="/assets/manual_erpnext_com/img/setup-wizard/step-1.png">
+
+---
+
+Translations are contributed by the ERPNext Community. If you want to contribute, [please checkout the translator portal](https://translate.erpnext.com).
+
+{next}
diff --git a/erpnext/docs/user/setting-up/setup-wizard/step-10-item.md b/erpnext/docs/user/setting-up/setup-wizard/step-10-item.md
new file mode 100644
index 0000000..34f5def
--- /dev/null
+++ b/erpnext/docs/user/setting-up/setup-wizard/step-10-item.md
@@ -0,0 +1,16 @@
+# Step 9: Item Names
+
+In this final step, please enter the names of the Items you buy or sell.
+
+<img alt="Add Items" class="screenshot"
+src="/assets/manual_erpnext_com/img/setup-wizard/step-10.png">
+
+Please set the group of the item (Product / Service) and unit of measure. Don't worry you will be able to edit all of this later.
+
+---
+
+## Thats it!
+
+Once you are done with the setup wizard you will see the familiar desktop page.
+
+{next}
diff --git a/erpnext/docs/user/setting-up/setup-wizard/step-2-currency-and-timezone.md b/erpnext/docs/user/setting-up/setup-wizard/step-2-currency-and-timezone.md
new file mode 100644
index 0000000..932900f
--- /dev/null
+++ b/erpnext/docs/user/setting-up/setup-wizard/step-2-currency-and-timezone.md
@@ -0,0 +1,13 @@
+# Step 2: Currency and Timezone
+
+Set your country name, currency and timezone.
+
+<img alt="Currency" class="screenshot" src="/assets/manual_erpnext_com/img/setup-wizard/step-2.png">
+
+---
+
+### Default Currency
+
+For most countries, your currency and timezone will be automatically set
+
+{next}
diff --git a/erpnext/docs/user/setting-up/setup-wizard/step-3-user-details.md b/erpnext/docs/user/setting-up/setup-wizard/step-3-user-details.md
new file mode 100644
index 0000000..b7bef77
--- /dev/null
+++ b/erpnext/docs/user/setting-up/setup-wizard/step-3-user-details.md
@@ -0,0 +1,12 @@
+# Step 3: User Details
+
+Enter Users Profile Details like Name, User ID and preferred password.
+
+<img alt="User" class="screenshot"
+src="/assets/manual_erpnext_com/img/setup-wizard/step-3.png">
+
+---
+
+Note: Add your own photograph, not your company's
+
+{next}
diff --git a/erpnext/docs/user/setting-up/setup-wizard/step-4-company-details.md b/erpnext/docs/user/setting-up/setup-wizard/step-4-company-details.md
new file mode 100644
index 0000000..fc8ba55
--- /dev/null
+++ b/erpnext/docs/user/setting-up/setup-wizard/step-4-company-details.md
@@ -0,0 +1,22 @@
+# Step 4: Company Details
+
+Enter Company Details like Name, Abbreviation and Financial Year Details.
+
+<img alt="Company Details" class="screenshot"
+src="/assets/manual_erpnext_com/img/setup-wizard/step-4.png">
+
+---
+
+### Company Abbreviation
+
+These will be appened to your **Account** Heads, for example if your abbreviation is **WP**, then your Sales account will be **Sales - WPL**
+
+For Example: East Wind will be abbreviated as EW. Shades of Green will be abbreviated as SOG. In case you wish to give your own abbreviation, you can do so. The text field allows any type of text.
+
+### Financial Year
+
+Any annual period at the end of which a firm's accounts are made up is called a Financial Year. Some countries have their account year starting from 1st January and some 1st April.
+
+The end date will be set automatically
+
+{next}
diff --git a/erpnext/docs/user/setting-up/setup-wizard/step-5-letterhead-and-logo.md b/erpnext/docs/user/setting-up/setup-wizard/step-5-letterhead-and-logo.md
new file mode 100644
index 0000000..706552d
--- /dev/null
+++ b/erpnext/docs/user/setting-up/setup-wizard/step-5-letterhead-and-logo.md
@@ -0,0 +1,24 @@
+# Step 5: Letterhead and Logo
+
+Attach Company Letterhead and Company Logo.
+
+<img alt="Company Logo and Letterhead" class="screenshot"
+src="/assets/manual_erpnext_com/img/setup-wizard/step-5.png">
+
+---
+
+### Letterhead
+
+A letterhead is the heading at the top of a sheet of letter paper (stationery). That heading usually consists of a name and an address, and a logo or corporate design.
+
+Click on the box ‘Attach Letterhead’ . Select the image file from the place it is stored and click enter.
+
+You may choose to skip this step if your letterhead is not ready.
+
+To select letterhead later through the setup module, read [Letter-head](/contents/setting-up/print/letter-head)
+
+#### To "attach as web-link"
+
+For any attachments in ERPNext, you can also attach as a web-link. If you are using other tools like Dropbox or Google Docs to manage your files, you can set its public link.
+
+{next}
diff --git a/erpnext/docs/user/setting-up/setup-wizard/step-6-add-users.md b/erpnext/docs/user/setting-up/setup-wizard/step-6-add-users.md
new file mode 100644
index 0000000..546bc5a
--- /dev/null
+++ b/erpnext/docs/user/setting-up/setup-wizard/step-6-add-users.md
@@ -0,0 +1,8 @@
+# Step 6: Add Users
+
+Add other users and assign them roles based on their job responsibilities.
+
+<img alt="Users" class="screenshot"
+src="/assets/manual_erpnext_com/img/setup-wizard/step-6.png">
+
+{next}
diff --git a/erpnext/docs/user/setting-up/setup-wizard/step-7-tax-details.md b/erpnext/docs/user/setting-up/setup-wizard/step-7-tax-details.md
new file mode 100644
index 0000000..0f8d7a1
--- /dev/null
+++ b/erpnext/docs/user/setting-up/setup-wizard/step-7-tax-details.md
@@ -0,0 +1,22 @@
+# Step 6: Tax Details
+
+Enter any three types of taxes which you regularly pay. This wizard will create a tax master which will calculate the taxes as per the tax-type.
+
+<img alt="Tax Details" class="screenshot"
+src="/assets/manual_erpnext_com/img/setup-wizard/step-7.png">
+
+Just set the tax name and the standard percentage levied.
+
+---
+
+Some examples of tax types are given below.
+
+#### VAT
+
+A value added tax (VAT) is a form of consumption tax. From the perspective of the buyer, it is a tax on the purchase price. From that of the seller, it is a tax only on the value added to a product, material, or a service. From an accounting point of view, by the stage of its manufacture or distribution. The manufacturer remits to the government the difference between these two amounts, and retains the rest for themselves to offset the taxes they had previously paid on the inputs.
+
+The purpose of VAT is to generate tax revenues to the government similar to the corporate income tax or the personal income tax. For Example: When you shop at a departmental store and avail discount on the products, the store charges you 5% extra on the total bill as the VAT.
+
+To setup VAT in the setup wizard , simply enter the percentage amount levied by your government. To setup VAT at a later stage read [setting-up-taxes](/contents/setting-up/setting-up-taxes)
+
+{next}
diff --git a/erpnext/docs/user/setting-up/setup-wizard/step-8-customer-names.md b/erpnext/docs/user/setting-up/setup-wizard/step-8-customer-names.md
new file mode 100644
index 0000000..b67c144
--- /dev/null
+++ b/erpnext/docs/user/setting-up/setup-wizard/step-8-customer-names.md
@@ -0,0 +1,23 @@
+# Step 7: Customers
+
+Enter your Customer names and the contact person from that organisation.
+
+
+<img alt="Customers" class="screenshot"
+src="/assets/manual_erpnext_com/img/setup-wizard/step-8.png">
+
+---
+
+#### Difference between a customer name and a contact name
+
+A customer name is the name of the organisation and a contact name is the name of the user who is operating the ERPNext system.
+
+For Example: If American Power Mills is an organisation name and their founder Shiv Agarwal has installed ERPNext on his system. Then,
+
+Customer Name: American Power Mills
+
+Contact Name:  Shiv Agarwal
+
+To understand Customer in detail visit [Customer Details](/contents/CRM/customer)
+
+{next}
diff --git a/erpnext/docs/user/setting-up/setup-wizard/step-9-suppliers.md b/erpnext/docs/user/setting-up/setup-wizard/step-9-suppliers.md
new file mode 100644
index 0000000..743a96b
--- /dev/null
+++ b/erpnext/docs/user/setting-up/setup-wizard/step-9-suppliers.md
@@ -0,0 +1,12 @@
+# Step 8: Suppliers
+
+Enter a few of your Suppliers' names.
+
+<img alt="Suppliers" class="screenshot"
+src="/assets/manual_erpnext_com/img/setup-wizard/step-9.png">
+
+---
+
+To understand Suppliers in detail visit [Supplier Master](/contents/buying/supplier-master)
+
+{next}
diff --git a/erpnext/docs/user/setting-up/sms-setting.md b/erpnext/docs/user/setting-up/sms-setting.md
new file mode 100644
index 0000000..113405e
--- /dev/null
+++ b/erpnext/docs/user/setting-up/sms-setting.md
@@ -0,0 +1,40 @@
+# SMS Setting
+
+To integrate SMS in ERPNext, approach a SMS Gateway Provider who provides HTTP
+API. They will create an account for you and will provide an unique username
+and password.
+
+To configure SMS Settings in ERPNext, find out their HTTP API (a document
+which describes the method of accessing their SMS interface from 3rd party
+applications). In this document, you will get an URL which is used to send the
+SMS using HTTP request. Using this URL, you can configure SMS Settings in
+ERPNext.
+
+Example URL:  
+
+    
+    
+    http://instant.smses.com/web2sms.php?username=<USERNAME>&password;=<PASSWORD>&to;=<MOBILENUMBER>&sender;=<SENDERID>&message;=<MESSAGE>
+    
+
+![SMS Settings](/assets/manual_erpnext_com/old_images/erpnext/sms-setting2.jpg)
+
+> Note: the string up to the "?" is the SMS Gateway URL
+
+Example:
+
+    
+    
+    http://instant.smses.com/web2sms.php?username=abcd&password;=abcd&to;=9900XXXXXX&sender;
+    =DEMO&message;=THIS+IS+A+TEST+SMS
+
+The above URL will send SMS from account abcd to mobile number 9900XXXXXX with
+sender ID as DEMO with text message as "THIS IS A TEST SMS"
+
+Note that some parameters in the URL are static.You will get static values
+from your SMS Provider like username, password etc. These static values should
+be entered in the Static Parameters table.
+
+![SMS Setting](/assets/manual_erpnext_com/old_images/erpnext/sms-settings1.png)
+
+{next}
diff --git a/erpnext/docs/user/setting-up/stock-reconciliation-for-non-serialized-item.md b/erpnext/docs/user/setting-up/stock-reconciliation-for-non-serialized-item.md
new file mode 100644
index 0000000..5c4effe
--- /dev/null
+++ b/erpnext/docs/user/setting-up/stock-reconciliation-for-non-serialized-item.md
@@ -0,0 +1,158 @@
+Stock Reconciliation is the process of counting and evaluating stock-in-trade,
+usually at an organisations year end in order to value the total stock for
+preparation of the accounts. In this process actual physical stocks are
+checked and recorded in the system. The actual stocks and the stock in the system should be in agreement and accurate. If they are not, you can
+use the stock reconciliation tool to reconcile stock balance and value with actuals.
+
+**Difference between Serialized and Non-serialized Items.**
+
+A serial number is a unique, identifying number or group of numbers and
+letters assigned to an individual Item. Serialized items are generally high value items for which you need to warranty's and service agreements. Mostly items as machinery, equipments and high-value electronics (computers, printers etc.) are serialized.
+
+Non Serialized items are generally fast moving and low value item, hence doesn't need tracking for each unit. Items like screw, cotton waste, other consumables, stationary products can be categorized as non-serialized.
+
+> Stock Reconciliation option is available for the non serialized Items only. For seriazlized and batch items, you should create Material Receipt entry in Stock Entry form.
+
+### Opening Stocks
+
+You can upload your opening stock balance in the system using Stock Reconciliation.
+Stock Reconciliation will update your stock for a given Item on a given date
+for a given Warehouse to the given quantity.
+
+To perform Stock Reconciliation, go to:
+
+> Stock > Tools > Stock Reconciliation > New
+
+#### Step 1: Download Template
+
+A predefined template of an spreadsheet file should be followed for importing item's stock levels and valuations. Open new Stock Reconciliation form to see download option.
+
+<img class="screenshot" alt="Stock Reconciliation" src="/assets/manual_erpnext_com/img/setup/stock-recon-1.png">
+
+#### Step 2: Enter Data in csv file.
+
+![Stock Reco Data](/assets/manual_erpnext_com/old_images/erpnext/stock-reco-data.png)
+
+The csv format is case-sensitive. Do not edit the headers which are preset in the template. In the Item Code and Warehouse column, enter exact Item Code and Warehouse as created in your ERPNext account. For quatity, enter stock level you wish to set for that item, in a specific warehouse. If you do not want to change the quantity or valuation rate of an Item, you should leave it blank.
+
+Note: Make sure you do not put zero if you do not want to change the quantity
+amount or valuation amount. The system will calculate zero as zero quantity.
+So leave the field blank.
+
+#### **Step 3: Upload file and Enter Values in Stock Reconciliation Form
+
+<img class="screenshot" alt="Stock Reconciliation" src="/assets/manual_erpnext_com/img/setup/stock-recon-2.png">
+
+**Posting Date**
+
+Posting Date will be date when you want uploaded stock to reflect in the report. Posting Date selection option allows you making back dated stock reconcialiation as well.
+
+**Difference Account:**
+
+When making Stock Reconciliation for updating **opening balance**, then you should select Balance Sheet account. By default **Temporary Opening** is created in the chart of account which can be used here.
+
+If you are making Stock Reconciliation for **correcting stock level or valuation of an item**, then you can select any expense account in which you would want difference amount (derived from difference of valuation of item) should be booked. If Expense Account is selected as Difference Account, you will also need to select Cost Center as it is mandatory with any income and expense account selection.
+
+After reviewing saved Reconciliation Data, submit the Stock Reconciliation. On
+successful submission, the data will be updated in the system. To check the
+submitted data go to stock and view stock level report.
+
+Note: While filling the valuation rates of Items, if you wish to find out the
+valuation rates of all items, you can go to stock and click on Item Prices
+report. The report will show you all types of rates.
+
+#### Step 4: Review the reconciliation data
+
+![Stock Reco Review](/assets/manual_erpnext_com/old_images/erpnext/stock-reco-upload.png)
+
+### Stock Ledger Report
+
+![Stock Reco Ledger](/assets/manual_erpnext_com/old_images/erpnext/stock-reco-ledger.png)
+
+**How Stock Reconciliation Works**
+
+Stock Reconciliation on a specific date means balance quantity frozen for that item on reconciliation date, and shall not get affected due to stock entries made before its date.
+
+Example:
+
+Item Code: ABC001
+Warehouse: Mumbai
+Let's assume stock as on 10th January is 100 nos.
+Stock Reconciliation is made on 12th January to bring stock balance to 150 nos.
+Existing Stock Ledger:
+<html>
+<style>
+    td {
+    padding:5px 10px 5px 5px;
+    };
+    img {
+    align:center;
+    };
+	table, th, td {
+    border: 1px solid black;
+    border-collapse: collapse;
+	}
+</style>
+ <table border="1" cellspacing="0px">
+            <tbody>
+                <tr align="center" bgcolor="#EEE">
+                    <td><b>Posting Date</b>
+                    </td>
+                    <td><b>Qty</b>
+                    </td>
+                    <td><b>Balance Qty</b>
+                    </td>
+                    <td><b>Voucher Type</b>
+                    </td>
+                </tr>
+                <tr>
+                    <td>10/01/2014</td>
+                    <td align="center">100</td>
+                    <td>100&nbsp;</td>
+                    <td>Purchase Receipt</td>
+                </tr>
+                <tr>
+                    <td>12/01/2014</td>
+                    <td align="center">50</td>
+                    <td>150</td>
+                    <td>Stock Reconciliation</td>
+                </tr>
+            </tbody>
+        </table>
+</html>
+Let's assume Purchase Receipt entry is made on 5th January, 2014, that is on date before Stock Reconciliation entry.
+<html>
+	<table border="1" cellspacing="0px">
+        <tbody>
+            <tr align="center" bgcolor="#EEE">
+                <td><b>Posting Date</b></td>
+                <td><b>Qty</b></td>
+                <td><b>Balance Qty</b></td>
+                <td><b>Voucher Type</b></td>
+            </tr>
+            <tr>
+                <td>05/01/2014</td>
+                <td align="center">20</td>
+                <td style="text-align: center;">20</td>
+                <td>Purchase Receipt</td>
+            </tr>
+            <tr>
+                <td>10/01/2014</td>
+                <td align="center">100</td>
+                <td style="text-align: center;">120</td>
+                <td>Purchase Receipt</td>
+            </tr>
+            <tr>
+                <td>12/01/2014</td>
+                <td align="center"><br></td>
+                <td style="text-align: center;"><b>150</b></td>
+                <td>Stock Reconciliation<br></td>
+            </tr>
+        </tbody>
+	</table>
+</html>
+As per the updated logic, irrespective of receipt/issue entry made for an item, balance quantity as set via Stock Reconciliation will not be affected.
+
+> Check out the video tutorial at https://www.youtube.com/watch?v=0yPgrtfeCTs
+
+{next}
diff --git a/erpnext/docs/user/setting-up/territory.md b/erpnext/docs/user/setting-up/territory.md
new file mode 100644
index 0000000..007542a
--- /dev/null
+++ b/erpnext/docs/user/setting-up/territory.md
@@ -0,0 +1,10 @@
+If your business operates in multiple Territories (could be countries, states
+or cities) it is usually a great idea to build your structure in the system.
+Once you group your Customers by Territories, you can set annual targets for
+each Item Group and get reports that will show your actual performance in the
+territory v/s what you had planned.
+You can also set different pricing for the same product sold across different territories.
+
+<img class="screenshot" alt="Territory Tree" src="/assets/manual_erpnext_com/img/crm/territory-tree.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/setting-up/third-party-backups.md b/erpnext/docs/user/setting-up/third-party-backups.md
new file mode 100644
index 0000000..0a93b36
--- /dev/null
+++ b/erpnext/docs/user/setting-up/third-party-backups.md
@@ -0,0 +1,54 @@
+If you wish to store your backups on a periodic basis,on Dropbox, you can do
+it directly through ERPNext.
+
+> Setup > Manage 3rd Party Backups
+
+__Step 1:__ Click on Setup.
+
+__Step 2:__ Click on Manage Third Party Backup
+
+#### Figure 1: Manage Third Party Backup
+
+![Third Party Backups](/assets/manual_erpnext_com/old_images/erpnext/third-party-backups.png)
+
+On the Backup Manager page, enter the email addresses of those people whom you
+wish to notify about the upload status. Under the topic 'Sync with Dropbox',
+select whether you wish to upload Daily, Weekly or Never. 
+
+__Step 3__ Click on **Allow Dropbox Access**.
+
+> Tip: In future, if you wish to discontinue uploading backups to dropbox,
+then select the Never option.
+
+#### Figure 2: Allow Dropbox Access
+
+![Backup Manager](/assets/manual_erpnext_com/old_images/erpnext/backup-manager.png)
+
+You need to login to your dropbox account, with your user id and password.
+
+![Dropbox Access](/assets/manual_erpnext_com/old_images/erpnext/dropbox-access.png)
+
+## Open Source Users
+
+Installing Pre-Requisites
+
+    
+    
+    pip install dropbox
+    pip install google-api-python-client
+    
+
+  
+
+#### Create an App in Dropbox
+
+First create your Dropbox account and create a new app (https://www.dropbox.com/developers/apps).
+After successful creation of account you will receive `app_key`, `app_secret` and `access_type`. Now edit `site_config.json` of your site (/frappe-bench/sites/your-site/) and add the following lines:
+- `"dropbox_access_key": "app_key",` and 
+- `"dropbox_secret_key": "app_secret"`
+
+Then you can go to the "Integrations" module and Allow Dropbox Access.
+
+> Note: Please ensure Allow Pop-ups are enabled in your browser.
+
+{next}
diff --git a/erpnext/docs/user/setting-up/users-and-permissions/adding-users.md b/erpnext/docs/user/setting-up/users-and-permissions/adding-users.md
new file mode 100644
index 0000000..a4201cd
--- /dev/null
+++ b/erpnext/docs/user/setting-up/users-and-permissions/adding-users.md
@@ -0,0 +1,43 @@
+# Adding Users
+
+Users can be added by the System Manager. If you are a System Manager, you can add Users via
+
+> Setup > User
+
+### 1. List of Users
+
+<img class="screenshot" src="/assets/manual_erpnext_com/img/setup/users/user-1.png" alt="User List">
+
+
+To add a new user, click on "New"
+
+### 2. Add the user details
+
+Add user details such as First Name, Last Name, Email etc.
+
+The user's Email will become the user id.
+
+After adding these details, save the user.
+
+### 3. Setting Roles
+
+After saving, you will see a list of roles and a checkbox next to it. Just check the roles you want the
+the user to have and save the document. To click on what permissions translate into roles, click on the role
+name.
+
+<img class="screenshot" src="/assets/manual_erpnext_com/img/setup/users/user-2.png" alt="User Roles">
+
+### 4. Setting Module Access
+
+Users will have access to all modules for which they have role based access. If you want to block certain modules for certain users, un-check the module from the list.
+
+<img class="screenshot" src="/assets/manual_erpnext_com/img/setup/users/user-3.png" alt="User Block Module">
+
+### 5. Security Settings
+
+If you wish to give the user access to the system only between office hours,
+or during weekends, mention it under security settings.
+
+<img class="screenshot" src="/assets/manual_erpnext_com/img/setup/users/user-4.png" alt="User Security">
+
+{next}
diff --git a/erpnext/docs/user/setting-up/users-and-permissions/index.md b/erpnext/docs/user/setting-up/users-and-permissions/index.md
new file mode 100644
index 0000000..05ad060
--- /dev/null
+++ b/erpnext/docs/user/setting-up/users-and-permissions/index.md
@@ -0,0 +1,11 @@
+
+In ERPNext, you can create multiple users and assign them different roles. There are some users which can only access the public facing part of ERPNext (i.e. the website). Such users are called "Website Users".
+
+ERPNext implements permission control at the User and Role level. Each user in the system can be assigned multiple
+roles and permissions.
+
+The most important role is the "System Manager". Any user having this role can add other users and set roles to all users.
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/setting-up/users-and-permissions/index.txt b/erpnext/docs/user/setting-up/users-and-permissions/index.txt
new file mode 100644
index 0000000..b00f32a
--- /dev/null
+++ b/erpnext/docs/user/setting-up/users-and-permissions/index.txt
@@ -0,0 +1,4 @@
+adding-users
+role-based-permissions
+user-permissions
+sharing
diff --git a/erpnext/docs/user/setting-up/users-and-permissions/role-based-permissions.md b/erpnext/docs/user/setting-up/users-and-permissions/role-based-permissions.md
new file mode 100644
index 0000000..bbbc4da
--- /dev/null
+++ b/erpnext/docs/user/setting-up/users-and-permissions/role-based-permissions.md
@@ -0,0 +1,74 @@
+# Role Based Permissions
+
+ERPNext has a role-based permission system. It means that you can assign Roles to Users, and set Permissions on Roles. The permission structure also allows you to define different permission rules for different fields, using a concept called **Permission "Level"** of a field. Once roles are assigned to a user, it gives you the ability to limit access for a user to only specific documents.
+
+To start with, go to:
+> Setup > Permissions > Role Permissions Manager
+
+<img alt="Manage Read, Write, Create, Submit, Amend access using the Role Permissions Manager" class="screenshot" src="/assets/manual_erpnext_com/img/users-and-permissions/setting-up-permissions-leave-application.png">
+
+Permissions are applied on a combination of:
+
+  * **Roles:** As we saw earlier, Users are assigned to Roles and it is on these Roles that permission rules are applied.
+
+  *Examples of Roles include Accounts Manager, Employee, HR User.*
+
+  * **Document Types:** Each type of document, master or transaction, has a separate list of Role based permissions.
+
+  *Examples of Document Types are Sales Invoice, Leave Application, Stock Entry, etc.*
+
+  * **Permission "Levels":** In each document, you can group fields by "levels". Each group of field is denoted by a unique number (0, 1, 2, 3, etc.). A separate set of permission rules can be applied to each field group. By default all fields are of level 0.
+
+    *Permission "Level" connects the group of fields with level X to a permission rule with level X.*
+
+  * **Document Stages:** Permissions are applied on each stage of the document like on Creation, Saving, Submission, Cancellation and Amendment. A role can be permitted to Print, Email, Import or Export data, access Reports, or define User Permissions.
+
+  * **Apply User Permissions:** This switch decides whether User Permissions should be applied for the role on selected Document Stages.
+
+	If enabled, a user with that role will be able to access only specific Documents for that Document Type. Such specific Document access is defined in the list of User Permissions. Additionally, User Permissions defined for other Document Types also get applied if they are related to the current Document Type through Link Fields.
+
+	To set, User Permissions go to:
+    > Setup > Permissions > [User Permissions Manager](/contents/setting-up/users-and-permissions/user-permissions)
+
+---
+
+**To add a new rule**, click on "Add a New Rule" button and a pop-up box will ask you to select a Role and a Permission Level. Once you select this and click on "Add", this will add a new row to your rules table.
+
+---
+
+Leave Application is a good **example** that encompasses all areas of Permission System.
+
+<img class="screenshot" alt="Leave Application Form should be created by an Employee, and approved by Leave Approver or HR User" src="/assets/manual_erpnext_com/img/users-and-permissions/setting-up-permissions-leave-application-form.png">
+
+   1. **It should be created by an Employee.**
+     For this, Employee Role should be given Read, Write, Create permissions.
+
+<img class="screenshot" alt="Giving Read, Write and Create Permissions to Employee for Leave Application"  src="/assets/manual_erpnext_com/img/users-and-permissions/setting-up-permissions-employee-role.png">
+
+   1. **An Employee should only be able to access his/her Leave Application.**
+     Hence, Apply User Permissions should be enabled for Employee Role, and a User Permission record should be created for each User Employee combination. (This effort is reduced for Employee Document Type, by programmatically creating User Permission records.)
+
+<img class="screenshot" alt="Limiting access to Leave Applications for a user with Employee Role via User Permissions Manager" src="/assets/manual_erpnext_com/old_images/erpnext/setting-up-permissions-employee-user-permissions.png">
+
+   1. **HR Manager should be able to see all Leave Applications.**
+     Create a Permission Rule for HR Manager at Level 0, with Read permissions. Apply User Permissions should be disabled.
+
+<img class="screenshot" alt="Giving Submit and Cancel permissions to HR Manager for Leave Applications. 'Apply User Permissions' is unchecked to give full access." src="/assets/manual_erpnext_com/img/users-and-permissions/setting-up-permissions-hr-manager-role.png">
+
+   2. **Leave Approver should be able to see and update Leave Applications applicable to him/her.**
+     Leave Approver is given Read and Write access at Level 0, with Apply User Permissions enabled. Relevant Employee Documents should be enlisted in the User Permissions of Leave Approvers. (This effort is reduced for Leave Approvers mentioned in Employee Documents, by programmatically creating User Permission records.)
+
+<img class="screenshot" alt="Giving Read, Write and Submit permissions to Leave Approver for Leave Applications.'Apply User Permissions' is checked to limit access based on Employee." src="/assets/manual_erpnext_com/img/users-and-permissions/setting-up-permissions-leave-approver-role.png">
+
+   3. **It should be Approved / Rejected only by HR User or Leave Approver.**
+     The Status field of Leave Application is set at Level 1. HR User and Leave Approver are given Read and Write permissions for Level 1, while everyone else (All) are given Read permission for Level 1.
+
+<img class="screenshot" alt="Limiting read access for a set of fields to certain Roles" src="/assets/manual_erpnext_com/old_images/erpnext/setting-up-permissions-level-1.png">
+
+
+   4. **HR User should be able to delegate Leave Applications to his/her subordinates**
+     HR User is given the right to Set User Permissions. A User with HR User role would be able to defined User Permissions on Leave Application for other users.
+
+<img class="screenshot" alt="Let HR User delegate access to Leave Applications by checking 'Set User Permissions'. This will allow HR User to access User Permissions Manager for 'Leave Application'" src="/assets/manual_erpnext_com/img/users-and-permissions/setting-up-permissions-hr-user-role.png">
+
+{next}
diff --git a/erpnext/docs/user/setting-up/users-and-permissions/sharing.md b/erpnext/docs/user/setting-up/users-and-permissions/sharing.md
new file mode 100644
index 0000000..76b162e
--- /dev/null
+++ b/erpnext/docs/user/setting-up/users-and-permissions/sharing.md
@@ -0,0 +1,9 @@
+# Sharing
+
+In addition to user and role permissions, you can also Share a document with another user if you have sharing rights.
+
+To share a document, open the document, click on the "+" icon under sharing and select the user
+
+<img class="screenshot" src="/assets/manual_erpnext_com/img/setup/users/share.gif">
+
+{next}
diff --git a/erpnext/docs/user/setting-up/users-and-permissions/user-permissions.md b/erpnext/docs/user/setting-up/users-and-permissions/user-permissions.md
new file mode 100644
index 0000000..640c6f9
--- /dev/null
+++ b/erpnext/docs/user/setting-up/users-and-permissions/user-permissions.md
@@ -0,0 +1,72 @@
+# User Permissions
+
+Limit access for a User to a set of documents using User Permissions Manager
+
+Role Base Permissions define the periphery of document types within which a user with a set of Roles can move around in. However, you can have an even finer control by defining User Permissions for a User. By setting specific documents in User Permissions list, you can limit access for that User to specific documents of a particular DocType, on the condition that "Apply User Permissions" is checked in Role Permissions Manager.
+
+To start with, go to:
+> Setup > Permissions > User Permissions Manager
+
+<figure>
+	<img src="/assets/manual_erpnext_com/img/users-and-permissions/user-permissions-company.png"
+		class="img-responsive" alt="User Permissions Manager">
+	<figcaption>User Permissions Manager displaying how users can access only a specific Company.</figcaption>
+</figure>
+
+#### Example
+
+User 'aromn@example.com' has Sales User role and we want to limit the user to access records for only a specific Company 'Wind Power LLC'.
+
+  1. We add a User Permissions row for Company.
+	<figure>
+		<img src="/assets/manual_erpnext_com/img/users-and-permissions/user-permission-user-limited-by-company.png"
+			class="img-responsive" alt="User Permissions For Company">
+		<figcaption>Add User Permissions row for a combination of User 'aromn@example.com' and Company 'Wind Power LLC'.</figcaption>
+	</figure>
+
+  1. Also Role "All" has only Read permission for Company, with 'Apply User Permissions' checked.
+	<figure>
+		<img src="/assets/manual_erpnext_com/img/users-and-permissions/user-permissions-company-role-all.png"
+			class="img-responsive" alt="Role Permissions for All on Company">
+		<figcaption>Read Permission with Apply User Permissions checked for DocType Company.</figcaption>
+	</figure>
+
+  1. The combined effect of the above two rules lead to User 'aromn@example.com' having only Read access to Company 'Wind Power LLC'.
+	<figure>
+		<img src="/assets/manual_erpnext_com/img/users-and-permissions/user-permissions-company-wind-power-llc.png"
+			class="img-responsive" alt="Effect of Role and User Permissions on Company">
+		<figcaption>Access is limited to Company 'Wind Power LLC'.</figcaption>
+	</figure>
+
+  1. We want this User Permission on Company to get applied on other documents like Quotation, Sales Order, etc.
+These forms have a **Link Field based on Company**. As a result, User Permissions on Company also get applied on these documents, which leads to User 'aromn@example.com' to acces these documents having Company 'Wind Power LLC'.
+	<figure>
+		<img src="/assets/manual_erpnext_com/img/users-and-permissions/user-permissions-quotation-sales-user.png"
+			class="img-responsive" alt="Sales User Role Permissions for Quotation">
+		<figcaption>Users with Sales User Role can Read, Write, Create, Submit and Cancel Quotations based on their User Permissions, since 'Apply User Permissions' is checked.</figcaption>
+	</figure>
+	<figure>
+		<img src="/assets/manual_erpnext_com/old_images/erpnext/user-permissions-quotation-list.png"
+			class="img-responsive" alt="Quotation List limited to results for Company 'Wind Power LLC'">
+		<figcaption>Quotation List is limited to results for Company 'Wind Power LLC' for User 'aromn@example.com'.</figcaption>
+	</figure>
+
+  1. User Permissions get applied automatically based on Link Fields, just like how it worked for Quotation. But, Lead Form has 4 Link fields: Territory, Company, Lead Owner and Next Contact By. Say, you want Leads to limit access to Users based only on Territory, even though you have defined User Permissions for DocTypes User, Territory and Company. You can do this by setting 'Ignore User Permissions' for Link fields: Company, Lead Owner and Next Contact By.
+	<figure>
+		<img src="/assets/manual_erpnext_com/img/users-and-permissions/user-permissions-lead-role-permissions.png"
+			class="img-responsive" alt="Role Permissions on Lead for Sales User Role">
+		<figcaption>Sales User can Read, Write and Create Leads limited by User Permissions.</figcaption>
+	</figure>
+	<figure>
+		<img src="/assets/manual_erpnext_com/img/users-and-permissions/user-permissions-ignore-user-permissions.png"
+			class="img-responsive" alt="Set Ingore User Permissions from Setup > Customize > Customize Form">
+		<figcaption>Check 'Ingore User Permissions' for Company, Lead Owner and Next Contact By fields using Setup > Customize > Customize Form for Lead.</figcaption>
+	</figure>
+	<figure>
+		<img src="/assets/manual_erpnext_com/old_images/erpnext/user-permissions-lead-based-on-territory.png"
+			class="img-responsive" alt="Lead List is limited to records with Territory 'United States'">
+		<figcaption>Due to the effect of the above combination, User 'aromn@example.com' can only access Leads with Territory 'United States'.</figcaption>
+	</figure>
+
+{next}
+
diff --git a/erpnext/docs/user/setting-up/workflows.md b/erpnext/docs/user/setting-up/workflows.md
new file mode 100644
index 0000000..5ae4bae
--- /dev/null
+++ b/erpnext/docs/user/setting-up/workflows.md
@@ -0,0 +1,66 @@
+In order to allow multiple people to submit multiple requests, for approvals,
+by multiple users, ERPNext requires you to fill the workflow conditions.
+ERPNext tracks the multiple permissions before submission.
+
+Example of a leave application workflow is given below:
+
+If an user applies for a leave, then his request will be sent to the HR
+department. The HR department(HR User) will either reject or approve this
+request. Once this process is completed, the user's Manager(leave approver)
+will get an indication that the HR department has Accepted or Rejected. The
+Manager, who is the approving authority, will either Approve or Reject this
+request. Accordingly,the user will get his Approved or Rejected status.
+
+![Workflow](/assets/manual_erpnext_com/old_images/erpnext/workflow-leave-fl.jpg)
+
+To make this Workflow and transition rules go to :
+
+> Setup > Workflow > New Workflow
+
+#### Step 1: Enter the different states of Leave Approval Process.
+
+<img class="screenshot" alt="Workflow" src="/assets/manual_erpnext_com/img/setup/workflow-1.png">
+
+#### Step 2: Enter Transition Rules.
+
+<img class="screenshot" alt="Workflow" src="/assets/manual_erpnext_com/img/setup/workflow-2.png">
+
+#### Notes:
+
+> Note 1: When you make a workflow you essentially overwrite the code that is
+written for that document. Thus the document will function based on your
+workflow and not based on the pre-set code settings. Hence there might be no
+submit button / option if you have not specified it in the workflow.
+
+> Note 2: Document status of saved is 0, of submitted is 1, and of cancelled is
+2.
+
+> Note 3: A document cannot be cancelled unless it is submitted.
+
+> Note 4: If you wish to give the option to cancel, you will have to write a
+workflow transition step that says from submitted you can cancel.
+
+  
+
+#### Example of a Leave Application Process:  
+
+Go to the Human Resources Module and click on Leave Application. Apply for a
+Leave.
+
+When a Leave Application is submitted, the status on the right hand corner of
+the page shows as "Applied"
+
+![Workflow Employee LA](/assets/manual_erpnext_com/old_images/erpnext/workflow-employee-la.png)
+
+When the HR User logs in, he can either Approve or Reject. If approved the
+status on the right hand corner of the page shows as Approved. However, a blue
+band of information is displayed saying approval is pending by leave approver.
+
+![Leave Approver](/assets/manual_erpnext_com/old_images/erpnext/workflow-hr-user-la.png)
+
+When the leave approver opens the Leave Application page, he should select the
+status and convert to Approved or Rejected.
+
+![Workflow Leave Approver](/assets/manual_erpnext_com/old_images/erpnext/workflow-leave-approver-la.png)
+
+{next}
diff --git a/erpnext/docs/user/stock/accounting-of-inventory-stock/index.md b/erpnext/docs/user/stock/accounting-of-inventory-stock/index.md
new file mode 100644
index 0000000..972c7aa
--- /dev/null
+++ b/erpnext/docs/user/stock/accounting-of-inventory-stock/index.md
@@ -0,0 +1,69 @@
+The value of available inventory is treated as an Asset in company's Chart of
+Accounts. Depending on the type of items, it can be treated as Fixed Asset or
+Current Asset. To prepare Balance Sheet, you should make the accounting
+entries for those assets. There are generally two different methods of
+accounting for inventory:
+
+### **Auto / Perpetual Inventory**
+
+In this process, for each stock transactions, the system posts relevant
+accounting entries to sync stock balance and accounting balance. This is the
+default setting in ERPNext for new accounts.
+
+When you buy and receive items, those items are booked as the company’s assets
+(stock-in-hand / fixed-assets). When you sell and deliver those items, an
+expense (cost-of-goods-sold) equal to the buying cost of the items is booked.
+General Ledger entries are made after every stock transaction. As a result,
+the value as per Stock Ledger always remains same with the relevant account
+balance. This improves accuracy of Balance Sheet and Profit and Loss
+statement.
+
+To check accounting entries for a particular stock transaction, please check
+[examples](/contents/stock/accounting-of-inventory-stock/perpetual-inventory)
+
+#### **Advantages**
+
+Perpetual Inventory system will make it easier for you to maintain accuracy of
+company's asset and expense values. Stock balances will always be synced with
+relevant account balances, so no more periodic manual entry has to be done to
+balance them.
+
+In case of new back-dated stock transactions or cancellation/amendment of an
+existing transaction, all the future Stock Ledger entries and GL Entries will
+be recalculated for all items of that transaction. The same is applicable if
+any cost is added to the submitted Purchase Receipt, later through the Landed
+Cost Wizard.
+
+> Note: Perpetual Inventory totally depends upon the item valuation rate.
+Hence, you have to be more careful entering valuation rate while making any
+incoming stock transactions like Purchase Receipt, Material Receipt, or
+Manufacturing / Repack.
+
+* * *
+
+### **Periodic Inventory**
+
+In this method, accounting entries are manually created periodically, to sync
+stock balance and relevant account balance. The system does not create
+accounting entries automatically for assets, at the time of material purchases
+or sales.
+
+In an accounting period, when you buy and receive items, an expense is booked
+in your accounting system. You sell and deliver some of these items.
+
+At the end of an accounting period, the total value of items to be sold, need
+to be booked as the company’s assets, often known as stock-in-hand.
+
+The difference between the value of the items remaining to be sold and the
+previous period’s stock-in-hand value can be positive or negative. If
+positive, this value is removed from expenses (cost-of-goods-sold) and is
+added to assets (stock-in-hand / fixed-assets). If negative, a reverse entry
+is passed.
+
+This complete process is called Periodic Inventory.
+
+If you are an existing user using Periodic Inventory and want to use Perpetual
+Inventory, you have to follow some steps to migrate. For details, check
+[Migration From Periodic Inventory](/contents/stock/accounting-of-inventory-stock/migrate-to-perpetual-inventory).
+
+{next}
diff --git a/erpnext/docs/user/stock/accounting-of-inventory-stock/index.txt b/erpnext/docs/user/stock/accounting-of-inventory-stock/index.txt
new file mode 100644
index 0000000..21624e5
--- /dev/null
+++ b/erpnext/docs/user/stock/accounting-of-inventory-stock/index.txt
@@ -0,0 +1,2 @@
+perpetual-inventory
+migrate-to-perpetual-inventory
diff --git a/erpnext/docs/user/stock/accounting-of-inventory-stock/migrate-to-perpetual-inventory.md b/erpnext/docs/user/stock/accounting-of-inventory-stock/migrate-to-perpetual-inventory.md
new file mode 100644
index 0000000..0e64fce
--- /dev/null
+++ b/erpnext/docs/user/stock/accounting-of-inventory-stock/migrate-to-perpetual-inventory.md
@@ -0,0 +1,38 @@
+Existing Users, need to follow some steps to activate the new Perpetual
+Inventory system. As Perpetual Inventory always maintains a sync between stock
+and account balance, it is not possible to enable it with existing Warehouse
+setup. You have to create a whole new set of Warehouses, each linked to
+relevant account.
+
+Steps:
+
+  * Nullify the balance of account heads (stock-in-hand / fixed-asset) which you are using to maintain available stock value, through a Journal Entry.
+
+  * As existing warehouses are linked to stock transactions which does not have corresponding accounting entries, those warehouses can not be used for perpetual inventory. You have to create new warehouses for the future stock transactions which will be linked to their respective accounts. While creating new warehouses, select an account group under which the child account for the warehouse will be created.
+
+  * Setup the following default accounts for each Company 
+
+    * Stock Received But Not Billed
+    * Stock Adjustment Account
+    * Expenses Included In Valuation
+    * Cost Center
+  * Activate Perpetual Inventory
+
+> Setup > Accounts Settings > Make Accounting Entry For Every Stock Movement
+
+![Activation](/assets/manual_erpnext_com/old_images/erpnext/accounting-for-stock-1.png)  
+  
+
+  * Create Stock Entry (Material Transfer) to transfer available stock from existing warehouse to new warehouse. As stock will be available in the new warehouse, you should select the new warehouse for all the future transactions.
+
+System will not post any accounting entries for existing stock transactions
+submitted prior to the activation of Perpetual Inventory as those old
+warehouses will not be linked to any account. If you create any new
+transaction or modify/amend existing transactions, with old warehouse, there
+will be no corresponding accounting entries. You have to manually sync stock
+and account balance through Journal Entry.
+
+> Note: If you are already using old Perpetual Inventory system, it will be
+deactivated automatically. You need to follow the above steps to reactivate
+it.
+
diff --git a/erpnext/docs/user/stock/accounting-of-inventory-stock/perpetual-inventory.md b/erpnext/docs/user/stock/accounting-of-inventory-stock/perpetual-inventory.md
new file mode 100644
index 0000000..870bc98
--- /dev/null
+++ b/erpnext/docs/user/stock/accounting-of-inventory-stock/perpetual-inventory.md
@@ -0,0 +1,371 @@
+In perpetual inventory, system creates accounting entries for each stock
+transactions, so that stock and account balance will always remain same. The
+account balance will be posted against their respective account heads for each
+Warehouse. On saving of a Warehouse, the system will automatically create an
+account head with the same name as warehouse. As account balance is maintained
+for each Warehouse, you should create Warehouses, based on the type of items
+(Current / Fixed Assets) it stores.
+
+At the time of items received in a particular warehouse, the balance of asset
+account (linked to that warehouse) will be increased. Similarly when you
+deliver some items from that warehouse, an expense will be booked and the
+asset account will be reduced, based on the valuation amount of those items.
+
+## **Activation**
+
+  1. Setup the following default accounts for each Company 
+
+    * Stock Received But Not Billed
+    * Stock Adjustment Account
+    * Expenses Included In Valuation
+    * Cost Center
+  2. In perpetual inventory, the system will maintain seperate account balance for each warehouse under separate account head. To create that account head, enter "Create Account Under" in Warehouse master.
+
+  3. Activate Perpetual Inventory
+
+> Setup > Accounts Settings > Make Accounting Entry For Every Stock Movement
+
+* * *
+
+## **Example**
+
+Consider following Chart of Accounts and Warehouse setup for your company:
+
+#### Chart of Accounts
+
+  * Assets (Dr) 
+    * Current Assets
+    * Accounts Receivable 
+      * Jane Doe
+    * Stock Assets 
+      * Stores
+      * Finished Goods
+      * Work In Progress
+    * Tax Assets 
+      * VAT
+    * Fixed Assets
+    * Fixed Asset Warehouse
+  * Liabilities (Cr) 
+    * Current Liabilities
+    * Accounts Payable 
+      * East Wind Inc.
+    * Stock Liabilities 
+      * Stock Received But Not Billed
+    * Tax Liabilities 
+      * Service Tax
+  * Income (Cr) 
+    * Direct Income
+    * Sales Account
+  * Expenses (Dr) 
+    * Direct Expenses
+    * Stock Expenses 
+      * Cost of Goods Sold
+      * Expenses Included In Valuation
+      * Stock Adjustment
+      * Shipping Charges
+      * Customs Duty
+
+#### Warehouse - Account Configuration
+
+  * Stores
+  * Work In Progress
+  * Finished Goods
+  * Fixed Asset Warehouse
+
+### **Purchase Receipt**
+
+Suppose you have purchased _10 nos_ of item "RM0001" at _$200_ and _5 nos_ of
+item "Desktop" at **$100** from supplier "East Wind Inc". Following are the
+details of Purchase Receipt:
+
+**Supplier:** East Wind Inc.
+
+**Items:**
+
+<table class="table table-bordered">
+    <thead>
+        <tr>
+            <th>Item</th>
+            <th>Warehouse</th>
+            <th>Qty</th>
+            <th>Rate</th>
+            <th>Amount</th>
+            <th>Valuation Amount</th>
+        </tr>
+    </thead>
+    <tbody>
+        <tr>
+            <td>RM0001</td>
+            <td>Stores</td>
+            <td>10</td>
+            <td>200</td>
+            <td>2000</td>
+            <td>2200</td>
+        </tr>
+        <tr>
+            <td>Desktop</td>
+            <td>Fixed Asset Warehouse</td>
+            <td>5</td>
+            <td>100</td>
+            <td>500</td>
+            <td>550</td>
+        </tr>
+    </tbody>
+</table>
+<p><strong>Taxes:</strong>
+</p>
+<table class="table table-bordered">
+    <thead>
+        <tr>
+            <th>Account</th>
+            <th>Amount</th>
+            <th>Category</th>
+        </tr>
+    </thead>
+    <tbody>
+        <tr>
+            <td>Shipping Charges</td>
+            <td>100</td>
+            <td>Total and Valuation</td>
+        </tr>
+        <tr>
+            <td>VAT</td>
+            <td>120</td>
+            <td>Total</td>
+        </tr>
+        <tr>
+            <td>Customs Duty</td>
+            <td>150</td>
+            <td>Valuation</td>
+        </tr>
+    </tbody>
+</table>
+<p><strong>Stock Ledger</strong>
+</p>
+
+![pr<em>stock</em>ledger](/assets/manual_erpnext_com/old_images/erpnext/accounting-for-stock-2.png)
+
+**General Ledger**
+
+![pr<em>general</em>ledger](/assets/manual_erpnext_com/old_images/erpnext/accounting-for-stock-3.png)
+
+As stock balance increases through Purchase Receipt, "Store" and "Fixed Asset
+Warehouse" accounts are debited and a temporary account "Stock Receipt But Not
+Billed" account is credited, to maintain double entry accounting system. At the same time, negative expense is booked in account "Expense included in Valuation" for the amount added for valuation purpose, to avoid double expense booking.
+
+* * *
+
+### **Purchase Invoice**
+
+On receiving Bill from supplier, for the above Purchase Receipt, you will make
+Purchase Invoice for the same. The general ledger entries are as follows:
+
+**General Ledger**
+
+![pi<em>general</em>ledger](/assets/manual_erpnext_com/old_images/erpnext/accounting-for-stock-4.png)
+
+Here "Stock Received But Not Billed" account is debited and nullified the
+effect of Purchase Receipt.
+
+* * *
+
+### **Delivery Note**
+
+Lets say, you have an order from "Jane Doe" to deliver 5 nos of item "RM0001"
+at $300. Following are the details of Delivery Note:
+
+**Customer:** Jane Doe
+
+**Items:**
+<table class="table table-bordered">
+    <thead>
+        <tr>
+            <th>Item</th>
+            <th>Warehouse</th>
+            <th>Qty</th>
+            <th>Rate</th>
+            <th>Amount</th>
+        </tr>
+    </thead>
+    <tbody>
+        <tr>
+            <td>RM0001</td>
+            <td>Stores</td>
+            <td>5</td>
+            <td>300</td>
+            <td>1500</td>
+        </tr>
+    </tbody>
+</table>
+<p><strong>Taxes:</strong>
+</p>
+<table class="table table-bordered">
+    <thead>
+        <tr>
+            <th>Account</th>
+            <th>Amount</th>
+        </tr>
+    </thead>
+    <tbody>
+        <tr>
+            <td>Service Tax</td>
+            <td>150</td>
+        </tr>
+        <tr>
+            <td>VAT</td>
+            <td>100</td>
+        </tr>
+    </tbody>
+</table>
+
+**Stock Ledger**
+
+![dn<em>stock</em>ledger](/assets/manual_erpnext_com/old_images/erpnext/accounting-for-stock-5.png)
+
+**General Ledger**
+
+![dn<em>general</em>ledger](/assets/manual_erpnext_com/old_images/erpnext/accounting-for-stock-6.png)
+
+As item is delivered from "Stores" warehouse, "Stores" account is credited and
+equal amount is debited to the expense account "Cost of Goods Sold". The
+debit/credit amount is equal to the total valuation amount (buying cost) of
+the selling items. And valuation amount is calculated based on your prefferred
+valuation method (FIFO / Moving Average) or actual cost of serialized items.
+
+    
+    
+        
+    In this example, we have considered valuation method as FIFO. 
+    Valuation Rate  = Purchase Rate + Charges Included in Valuation 
+                    = 200 + (250 * (2000 / 2500) / 10) 
+                    = 220
+    Total Valuation Amount  = 220 * 5 
+                            = 1100
+        
+    
+
+* * *
+
+### **Sales Invoice with Update Stock**
+
+Lets say, you did not make Delivery Note against the above order and instead
+you have made Sales Invoice directly, with "Update Stock" options. The details
+of the Sales Invoice are same as the above Delivery Note.
+
+**Stock Ledger**
+
+![si<em>stock</em>ledger](/assets/manual_erpnext_com/old_images/erpnext/accounting-for-stock-7.png)
+
+**General Ledger**
+
+![si<em>general</em>ledger](/assets/manual_erpnext_com/old_images/erpnext/accounting-for-stock-8.png)
+
+Here, apart from normal account entries for invoice, "Stores" and "Cost of
+Goods Sold" accounts are also affected based on the valuation amount.
+
+* * *
+
+### **Stock Entry (Material Receipt)**
+
+**Items:**
+
+<table class="table table-bordered">
+    <thead>
+        <tr>
+            <th>Item</th>
+            <th>Target Warehouse</th>
+            <th>Qty</th>
+            <th>Rate</th>
+            <th>Amount</th>
+        </tr>
+    </thead>
+    <tbody>
+        <tr>
+            <td>RM0001</td>
+            <td>Stores</td>
+            <td>50</td>
+            <td>220</td>
+            <td>11000</td>
+        </tr>
+    </tbody>
+</table>
+
+**Stock Ledger**
+
+![mr<em>stock</em>ledger](/assets/manual_erpnext_com/old_images/erpnext/accounting-for-stock-9.png)
+
+**General Ledger**
+
+![mr<em>stock</em>ledger](/assets/manual_erpnext_com/old_images/erpnext/accounting-for-stock-10.png)
+
+* * *
+
+### **Stock Entry (Material Issue)**
+
+**Items:**
+
+<table class="table table-bordered">
+    <thead>
+        <tr>
+            <th>Item</th>
+            <th>Source Warehouse</th>
+            <th>Qty</th>
+            <th>Rate</th>
+            <th>Amount</th>
+        </tr>
+    </thead>
+    <tbody>
+        <tr>
+            <td>RM0001</td>
+            <td>Stores</td>
+            <td>10</td>
+            <td>220</td>
+            <td>2200</td>
+        </tr>
+    </tbody>
+</table>
+
+**Stock Ledger**
+
+![mi<em>stock</em>ledger](/assets/manual_erpnext_com/old_images/erpnext/accounting-for-stock-11.png)
+
+**General Ledger**
+
+![mi<em>stock</em>ledger](/assets/manual_erpnext_com/old_images/erpnext/accounting-for-stock-12.png)
+
+* * *
+
+### **Stock Entry (Material Transfer)**
+
+**Items:**
+
+<table class="table table-bordered">
+    <thead>
+        <tr>
+            <th>Item</th>
+            <th>Source Warehouse</th>
+            <th>Target Warehouse</th>
+            <th>Qty</th>
+            <th>Rate</th>
+            <th>Amount</th>
+        </tr>
+    </thead>
+    <tbody>
+        <tr>
+            <td>RM0001</td>
+            <td>Stores</td>
+            <td>Work In Progress</td>
+            <td>10</td>
+            <td>220</td>
+            <td>2200</td>
+        </tr>
+    </tbody>
+</table>
+
+**Stock Ledger**
+
+![mtn<em>stock</em>ledger](/assets/manual_erpnext_com/old_images/erpnext/accounting-for-stock-13.png)
+
+**General Ledger**
+
+![mtn<em>general</em>ledger](/assets/manual_erpnext_com/old_images/erpnext/accounting-for-stock-14.png)
\ No newline at end of file
diff --git a/erpnext/docs/user/stock/batch.md b/erpnext/docs/user/stock/batch.md
new file mode 100644
index 0000000..20ff42d
--- /dev/null
+++ b/erpnext/docs/user/stock/batch.md
@@ -0,0 +1,25 @@
+Batch inventory feature in ERPNext allows you to group multiple units of an item, 
+and assign them a unique value/number/tag called Batch No.
+
+The practise of stocking based on batch is mainly followed in the pharmaceutical industry. 
+Medicines/drugs produced in a particular batched is assigned a unique id. 
+This helps them updating and tracking manufacturing and expiry date for all the units produced under specific batch.
+
+> Note: To set item as a batch item, "Has Batch No" field should be updated as Yes in the Item master.
+
+On every stock transaction (Purchase Receipt, Delivery Note, POS Invoice) made for batch item, 
+you should provide item's Batch No. To create new Batch No. master for an item, go to:
+
+> Stock > Setup > Batch > New
+
+Batch master is created before creation of Purchase Receipt. 
+Hence eveytime there is Purchase Receipt or Production entry being made for a batch item, 
+you will first create its Batch No, and then select it in Purcase order or Production Entry.
+
+<img class="screenshot" alt="batch" src="/assets/manual_erpnext_com/img/stock/batch.png">
+
+> Note: In stock transactions, Batch IDs will be filtered based on Item Code, Warehouse, 
+Batch Expiry Date (compared with Posting date of a transaction) and Actual Qty in Warehouse. 
+While searching for Batch ID  without value in Warehouse field, then Actual Qty filter won't be applied.
+
+{next}
diff --git a/erpnext/docs/user/stock/delivery-note.md b/erpnext/docs/user/stock/delivery-note.md
new file mode 100644
index 0000000..c5c19d6
--- /dev/null
+++ b/erpnext/docs/user/stock/delivery-note.md
@@ -0,0 +1,56 @@
+A Delivery Note is made when a shipment is shipped from the company’s
+Warehouse.
+
+A copy of the Delivery Note is usually sent with the transporter. The Delivery
+Note contains the list of Items that are sent in the shipment and updates the
+inventory.
+
+The entry of the Delivery Note is very similar to a Purchase Receipt. You can
+create a new Delivery Note from:
+
+> Stock > Delivery Note > New
+
+or from a “Submitted” Sales Order (that is not already shipped) by clicking on
+“Make Delivery Note”.
+
+<img class="screenshot" alt="Delivery Note" src="/assets/manual_erpnext_com/img/stock/delivery-note.png">
+
+You can also “fetch” the details from an unshipped Sales Order.
+
+You will notice that all the information about unshipped Items and other
+details are carried over from your Sales Order.
+
+### Shipping Packets or Items with Product Bundle
+
+If you are shipping Items that have a [Product Bundle](/contents/selling/setup/sales-bom), ERPNext will automatically
+create a “Packing List” table for you based on the sub-Items in that Item.
+
+If your Items are serialized, then for Product Bundle type of Items, you will have
+to update the Serial Number in the “Packing List” table.
+
+### Packing Items in to Cases, for Container Shipment
+
+If you are doing container shipment or by weight, then you can use the Packing
+Slip to breakup your Delivery Note into smaller units. To make a Packing Slip
+go to:
+
+> Stock > Packing Slip > New Packing Slip
+
+You can create multiple Packing Slips for your Delivery Note and ERPNext will
+ensure that the quantities in the Packing Slip do not exceed the quantities in
+the Delivery Note.
+
+* * *
+
+#### Q. How to Print Without Amounts?
+
+If you want to print your Delivery Notes without the amount (this might be
+useful if you are shipping high value items), just check the “Print without
+Amount” box in the “More Info” section.
+
+#### What happens when the Delivery Note is “Submitted”?
+
+A Stock Ledger Entry is made for each Item and stock is updated. Pending
+Quantity in the Sales Order is updated (if applicable).
+
+{next}
diff --git a/erpnext/docs/user/stock/index.md b/erpnext/docs/user/stock/index.md
new file mode 100644
index 0000000..971c33c
--- /dev/null
+++ b/erpnext/docs/user/stock/index.md
@@ -0,0 +1,27 @@
+For most small business that deal in physical goods, a large part of their net
+worth is invested in the stock in hand.
+
+### Material Flow
+
+There are three main types of entries:
+
+  * Purchase Receipt: Items received from Suppliers against Purchase Orders.
+  * Stock Entry: Items transferred from one Warehouse to another.
+  * Delivery Note: Items shipped to Customers.
+
+#### How does ERPNext track stock movement / levels?
+
+Tracking stock is not just about adding and subtracting quantities. Some
+complications arise when:
+
+  * Back-dated (past) entries are made / edited: This affects future stock levels and may lead to negative stock.
+  * Stock has to be valued based on First-in-First-out: ERPNext needs to maintain a sequence of all transactions to know the exact value of your Items.
+  * Stock reports are required at any point in time in the past: You have to lookup what was the quantity / value your stock of Item X on date Y.
+
+To manage this, ERPNext collects all inventory transactions in a table called
+the Stock Ledger Entry. All Purchase Receipts, Stock Entries and Delivery
+Notes update this table.
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/stock/index.txt b/erpnext/docs/user/stock/index.txt
new file mode 100644
index 0000000..75e9cbf
--- /dev/null
+++ b/erpnext/docs/user/stock/index.txt
@@ -0,0 +1,15 @@
+material-request
+stock-entry
+delivery-note
+purchase-receipt
+installation-note
+item
+warehouse
+serial-no
+batch
+projected-quantity
+accounting-of-inventory-stock
+tools
+setup
+sales-return
+purchase-return
\ No newline at end of file
diff --git a/erpnext/docs/user/stock/installation-note.md b/erpnext/docs/user/stock/installation-note.md
new file mode 100644
index 0000000..514f287
--- /dev/null
+++ b/erpnext/docs/user/stock/installation-note.md
@@ -0,0 +1,5 @@
+You can use installation note to record the instalation of a product having a serial number.
+
+<img class="screenshot" alt="Installation Note" src="/assets/manual_erpnext_com/img/stock/installation-note.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/stock/item-price.md b/erpnext/docs/user/stock/item-price.md
new file mode 100644
index 0000000..eea33ea
--- /dev/null
+++ b/erpnext/docs/user/stock/item-price.md
@@ -0,0 +1,43 @@
+Item Price is the record in which you can log sellig and buying rate of an item.
+
+There are two ways to reach to new Item Price form.
+
+> Selling/Buying/Stock >> Setup >> Item Price >> New Item Price
+
+Or
+
+> Item >> Add/Edit Prices >> Click on "+"  >> New Item Price
+
+Following are the steps to create new Item Price.
+
+Step 1: Select Price List
+
+You can create multiple Price List in ERPNext to track Selling and Buying Price List of an item separtely. Also if item's selling prices id changing based on territory, or due to other criteria, you can create multiple selling Price List for it.
+
+![Item Price list](/assets/manual_erpnext_com/old_images/erpnext/item-price-list.png)
+
+On selection of Price List, its currency and for selling or buying property will be fetched as well.
+
+To have Item Price fetching in the sales or purchase transaction, you should have Price List id selected in the transaction, just above Item table.
+
+Step 2: Select Item
+
+Select item for which Item Price record is to be created. On selection of Item Code, Item Name and Description will be fetched as well.
+
+![Item Price Item](/assets/manual_erpnext_com/old_images/erpnext/item-price-item.png)
+
+Step 3: Enter Rate
+
+Enter selling/buying rate of an item in Price List currency.
+
+![Item Price Rate](/assets/manual_erpnext_com/old_images/erpnext/item-price-rate.png)
+
+Step 4: Save Item Price
+
+To check all Item Price together, go to:
+
+Stock >> Main Report >> Itemwise Price List Rate
+
+You will find option to create new Item Price record (+) in this report as well.
+
+{next}
diff --git a/erpnext/docs/user/stock/item-valuation-fifo-and-moving-average.md b/erpnext/docs/user/stock/item-valuation-fifo-and-moving-average.md
new file mode 100644
index 0000000..ef0a413
--- /dev/null
+++ b/erpnext/docs/user/stock/item-valuation-fifo-and-moving-average.md
@@ -0,0 +1,28 @@
+### How are Items Valued?
+
+One of the major features of any inventory system is that you can find out the
+value of any item based on its historic or average price. You can also find
+the value of all your items for your balance sheet.
+
+Valuation is important because:
+
+  * The buying price may fluctuate.
+  * The value may change because of some process (value add).
+  * The value may change because of decay, loss etc.
+
+You may encounter these terms, so lets clarify:
+
+  * Rate: Rate at which the transaction takes place.
+  * Valuation Rate: Rate at which the items value is set for your valuation.
+
+There are two major ways in which ERPNext values your items.
+
+  * **FIFO (First In First Out):** In this system, ERPNext assumes that you will consume / sell those Items first which you bought first. For example, if you buy an Item at price X and then after a few days at price Y, whenever you sell your Item, ERPNext will reduce the quantity of the Item priced at X first and then Y.
+
+![FIFO](/assets/manual_erpnext_com/old_images/erpnext/fifo.png)
+
+  * **Moving Average:** In this method, ERPNext assumes that the value of the item at any point is the average price of the units of that Item in stock. For example, if the value of an Item is X in a Warehouse with quantity Y and another quantity Y1 is added to the Warehouse at cost X1, the new value X2 would be:
+
+> New Value X2 = (X * Y + X1 * Y1) / (Y + Y1)
+
+{next}
diff --git a/erpnext/docs/user/stock/item/index.md b/erpnext/docs/user/stock/item/index.md
new file mode 100644
index 0000000..5db91e5
--- /dev/null
+++ b/erpnext/docs/user/stock/item/index.md
@@ -0,0 +1,91 @@
+An Item is your companys' product or a service. The term Item is applicable to your core products as well as your raw materials. It can be a product or service that you buy/sell from your customers/ suppliers. ERPNext allows you to manage all sorts of items like raw-materials, sub-assemblies, finished goods, item variants and service items.
+
+ERPNext is optimized for itemized management of your sales and purchase. If you are in services, you can create an Item for each services that your offer. Completing the Item Master is very essential for successful implementation of ERPNext.
+
+## Item Properties
+
+  * **Item Name:** Item name is the actual name of your product or service.
+  * **Item Code:** Item Code is a short-form to denote your Item. If you have very few Items, it is advisable to keep the Item Name and the Item Code same. This helps new users to recognise and update Item details in all transactions. In case you have lot of Items with long names and the list runs in hundreds, it is advisable to code. To understand naming Item codes see [Item Codification](/contents/stock/item/item-codification)
+  * **Item Group:** Item Group is used to categorize an Item under various criterias like products, raw materials, services, sub-assemblies, consumables or all Item groups. Create your default Item Group list under Setup> Item Group and pre-select the option while filling your New Item details under [Item Group](/contents/stock/setup/item-group)
+  * **Default Unit of Measure:** This is the default measuring unit that you will use for your product. It could be in nos, kgs, meters, etc. You can store all the UOM’s that your product will require under Set Up> Master Data > UOM. These can be preselected while filling New Item by using % sign to get a pop up of the UOM list.
+  * **Brand:** If you have more than one brand save them under Set Up> Master Data> Brand and pre-select them while filling a New Item.
+  * **Variant:** A Item Variant is a different version of a Item.To learn more about managing varaints see [Item Variants](/contents/stock/item/item-variants)
+  
+### Upload an Image
+
+To upload an image for your icon that will appear in all transactions, save
+the partially filled form. Only after your file is saved  the 'upload' button will
+work above the Image icon. Click on this sign and upload the image.
+
+### Inventory : Warehouse and Stock Setting
+
+In ERPNext, you can select different type of Warehouses to stock your
+different Items. This can be selected based on Item types. It could be Fixed
+Asset Item, Stock Item or even Manufacturing Item.
+
+  * **Stock Item:** If you are maintaining stock of this Item in your Inventory, ERPNext will make a stock ledger entry for each transaction of this item.
+  * **Default Warehouse:** This is the Warehouse that is automatically selected in your transactions. 
+  * **Allowance Percentage:** This is the percent by which you will be allowed to over-bill or over-deliver this Item. If not set, it will select from the Global Defaults. 
+  * **Valuation Method:** There are two options to maintain valuation of stock. FIFO (first in - first out) and Moving Average. To understand this topic in detail please visit “ Item Valuation, FIFO and Moving Average”.
+
+### Serialized and Batched Inventory
+
+These numbers help to track individual units or batches of Items which you sell. It also tracks warranty and returns. In case any individual Item is recalled by the supplier the number system helps to track individual Item. The numbering system also manages expiry dates. Please note that if you sell your items in thousands, and if the items are very small like pens or erasers, you need not serialize them. In ERPNext, you will have to mention the serial number in some accounting entries. To create serial numbers you will have to manually create all the numbers in your entries. If your product is not a big consumer durable Item, if it has no warranty and has no chances of being recalled, avoid giving serial numbers.
+
+> Important: Once you mark an item as serialized or batched or neither, you cannot change it after you have made any stock entry.
+
+  * [Discussion on Serialized Inventory](/contents/setting-up/stock-reconciliation-for-non-serialized-item)  
+
+### Re Ordering
+
+  * **Re-order level** suggests the amount of stock balance in the Warehouse. 
+  * **Re-order Qty** suggests the amount of stock to be ordered to maintain minimum stock levels.
+  * **Minimum Order Qty** is the minimum quantity for which a Material Request / Purchase Order must be made.
+
+### Item Tax
+
+These settings are required only if a particular Item has a different tax rate
+than the rate defined in the standard tax Account. For example, If you have a
+tax Account, “VAT 10%” and this particular Item is exempted from tax, then you
+select “VAT 10%” in the first column, and set “0” as the tax rate in the
+second column.
+
+Go to [Setting Up Taxes](/contents/setting-up/setting-up-taxes) to understand this topic in detail.
+
+### Inspection
+
+Inspection Required: If an incoming inspection (at the time of delivery from
+the Supplier) is mandatory for this Item, mention “Inspection Required” as
+“Yes”. The system will ensure that a Quality Inspection will be prepared and
+approved before a Purchase Receipt is submitted.
+
+Inspection Criteria: If a Quality Inspection is prepared for this Item, then
+this template of criteria will automatically be updated in the Quality
+Inspection table of the Quality Inspection. Examples of Criteria are: Weight,
+Length, Finish etc.
+
+### Purchase Details
+
+![Purchase Details](/assets/manual_erpnext_com/old_images/erpnext/item-purchase.png)
+
+**Lead time days:** Lead time days are the number of days required for the Item to reach the warehouse.
+
+**Default Expense Account:** It is the account in which cost of the Item will be debited.
+
+**Default Cost Centre:** It is used for tracking expense for this Item.
+
+### Sales Details
+
+![Sales Details](/assets/manual_erpnext_com/old_images/erpnext/item-sales.png)
+
+**Default Income Account:** Income account selected here will be fetched automatically in sales invoice for this item.
+
+**Cost Centre:** Cost center selected here will be fetched automatically in sales invoice for this item.
+
+### Manufacturing And Website
+
+![Manufacturing](/assets/manual_erpnext_com/old_images/erpnext/item-manufacturing-website.png)
+
+Visit [Manufacturing](/contents/manufacturing) and [Website ](/contents/website)to understand these topics in detail.
+
+{next}
diff --git a/erpnext/docs/user/stock/item/index.txt b/erpnext/docs/user/stock/item/index.txt
new file mode 100644
index 0000000..deaa805
--- /dev/null
+++ b/erpnext/docs/user/stock/item/index.txt
@@ -0,0 +1,2 @@
+item-codification
+item-variants
\ No newline at end of file
diff --git a/erpnext/docs/user/stock/item/item-codification.md b/erpnext/docs/user/stock/item/item-codification.md
new file mode 100644
index 0000000..eeb4f49
--- /dev/null
+++ b/erpnext/docs/user/stock/item/item-codification.md
@@ -0,0 +1,78 @@
+If you already have a full-fledged business with a number of physical items,
+you would have probably coded your items. If you have not, you have a choice.
+We recommend that you should codify if you have lot of products with long or
+complicated names. In case you have few products with short names, it is
+preferable to keep the Item Code same as Item Name.
+
+Item codification has been a sensitive topic and wars have been fought on this
+(not joking). In our experience, when you have items that cross a certain
+size, life without codification is a nightmare.
+
+### Benefits
+
+  * Standard way of naming things.
+  * Less likely to have duplicates.
+  * Explicit definition.
+  * Helps to quickly find if a similar item exists.
+  * Item names get longer and longer as more types get introduced. Codes are shorter.
+
+### Pain
+
+  * You have to remember the codes!
+  * Harder for new team members to pick up.
+  * You have to create new codes all the time.
+
+### Example
+
+You should have a simple manual / cheat-sheet to codify your Items instead of
+just numbering them sequentially. Each letter should mean something. Here is
+an example:
+
+If your business involves wooden furniture, then you may codify as follows:
+
+Item Codification Summary Sheet (SAMPLE)
+
+    
+    
+    First letter: "Material"            Third letter: "Size"
+    
+    - W - Wood                          - 0 - less than 1mm
+    - H - Hardware                      - 1 - 1mm - 5mm
+    - G - Glass                         - 2 - 5mm - 10mm
+    - U - Upholstery                    - 3 - 10mm - 10cm
+    - P - Plastic
+    
+    Second Letter: "Type"
+    
+    For Wood:                           For Hardware:
+    
+    - S - Sheet                         - S - Screw
+    - B - Bar                           - N - Nut
+    - L - L-section                     - W - Washer
+    - M - Molded                        - B - Bracket
+    - R - Round
+    
+
+The last few letters could be sequential. So by looking at code **WM304** \-
+you know its a wooden molding less than 10cm in size
+
+### Standardization
+
+If you have more than one person naming items, the style of naming items will
+change for everyone. Sometimes, even for one person, he or she may forget how
+they had named the item and may create a duplicate name _"Wooden Sheet 3mm" or
+"3mm Sheet of Wood"?_
+
+### Rationalizing
+
+It is a good practice to have minimum varieties of items so that you keep
+minimum stock, housekeeping is simpler etc. When you are planning a new
+product and you want to know if you are already purchasing a part in some
+other product, the item codes will help you quickly determine if you are using
+a similar raw material in another product.
+
+We believe if you do this small investment, it will help you rationalize
+things as your business grows, though its okay not to codify if you have less
+items.
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/stock/item/item-variants.md b/erpnext/docs/user/stock/item/item-variants.md
new file mode 100644
index 0000000..149e0b5
--- /dev/null
+++ b/erpnext/docs/user/stock/item/item-variants.md
@@ -0,0 +1,24 @@
+A Item Variant is a different version of a Item, such as differing sizes or differing colours.
+Without Item variants, you would have to treat the small, medium and large versions of a t-shirt as three separate Items; 
+Item variants let you treat the small, medium and large versions of a t-shirt as variations of the same Item.
+
+To use Item Variants in ERPNext, create an Item and check 'Has Variants'
+
+* The Item shall then be referred as a 'Template'
+
+<img class="screenshot" alt="Has Variants" src="/assets/manual_erpnext_com/img/stock/item-has-variants.png">
+
+On selecting 'Has Variants' a table shall appear. Specify the variant attributes for the Item in the table.
+In case the attribute has Numeric Values, you can specify the range and increment values here. 
+
+<img class="screenshot" alt="Valid Attributes" src="/assets/manual_erpnext_com/img/stock/item-attributes.png">
+
+> Note: You cannot make Transactions against a 'Template'
+
+To create 'Item Variants' against a 'Template' select 'Make Variants'
+
+<img class="screenshot" alt="Make Variants" src="/assets/manual_erpnext_com/img/stock/make-variant.png">
+
+<img class="screenshot" alt="Make Variants" src="/assets/manual_erpnext_com/img/stock/make-variant-1.png">
+
+To learn more about setting Attributes Master check [Item Attributes](/contents/stock/setup/item-attribute)
diff --git a/erpnext/docs/user/stock/item/purchase-details.md b/erpnext/docs/user/stock/item/purchase-details.md
new file mode 100644
index 0000000..ce3cbd6
--- /dev/null
+++ b/erpnext/docs/user/stock/item/purchase-details.md
@@ -0,0 +1,22 @@
+# purchase details
+
+# How Do I Track Warranty Status?
+
+To track a warranty period, it is necessary that the Item is a serialized Item.
+When this Item is delivered, the delivery date and the expiry period is saved in the serial number master. Through the serial number master you can track the warranty status.
+
+A warranty means a guarantee or a promise which provides assurance by one party to the other party which allows for a legal remedy if that promise is not true or followed. A warranty period is a time period in which a purchased product may be returned or exchanged.
+
+![Warranty](/assets/manual_erpnext_com/old_images/erpnext/faq-warranty.png)
+
+# How To Name A Manufacturer Part Number?
+
+Go to the purchase details section of the Item form, and enter the number on the right hand side in the field ‘Manufacturer Part Number’
+
+> Stock > Item
+
+A manufacturer part number is a series of numbers and /or letters that has been given to a part by the manufacturer. The manufacturer part number belongs to the manufacturer and helps distinguish the part from other manufacturers. If two parts come from different manufacturers, they will have different MPNs. This allows businesses to identify which company made the part.
+
+![Part No](/assets/manual_erpnext_com/old_images/erpnext/faq-manufacturer-part-no.png)
+
+__For Example:__ A refrigerator will have different parts which will have manufacturer part number. Thus, when any part fails and you want to replace it, you can simply order that part based on its part number.
diff --git a/erpnext/docs/user/stock/item/reorder.md b/erpnext/docs/user/stock/item/reorder.md
new file mode 100644
index 0000000..7ae57cf
--- /dev/null
+++ b/erpnext/docs/user/stock/item/reorder.md
@@ -0,0 +1,26 @@
+# Re-Order 
+
+# How To Setup Re-order Level?
+
+Go to the Re-order section of the Item form in the Stock module.
+
+> Stock > Item
+
+The Re-order level is the point at which stock on a particular item has diminished to a point where it needs to be replenished. To order based on Re-order level can avoid shortages. Re-order level can be determined based on the lead time and the average daily consumption.
+
+![Reorder Level](/assets/manual_erpnext_com/old_images/erpnext/faq-reorder-level.png)
+
+__For example:__ You can set your reorder level of bath towels at 10. When there are only 10 towels remaining in stock, the system will either send a mail or take action depending upon what you have selected in global settings.
+
+# How To Setup Reorder Quantity?
+
+To setup Reorder quantity, go to the Re-order section of the Item form. In the field ‘Re-order Qty’ type the amount that is needed.
+
+> Stock> Item
+
+Re-order quantity is the quantity to order, so that the sum of ordering cost and holding cost is at its minimum.The re-order quantity is based on the minimum order quantity specified by the supplier and many other factors.
+
+![Reorder Quantity](/assets/manual_erpnext_com/old_images/erpnext/faq-reorder-qty.png)
+
+__For example:__ If reorder level is 100 items, your reorder quantity may not necessarily be 100 items. The Reorder quantity can be greater than or equal to reorder level. It may depend upon lead time, discount, transportation and average daily consumption.
+
diff --git a/erpnext/docs/user/stock/material-request.md b/erpnext/docs/user/stock/material-request.md
new file mode 100644
index 0000000..b886a0b
--- /dev/null
+++ b/erpnext/docs/user/stock/material-request.md
@@ -0,0 +1,30 @@
+A Material Request is a simple document identifying a requirement of a set of
+Items (products or services) for a particular reason.
+
+![Workflow](/assets/manual_erpnext_com/old_images/erpnext/material-request-workflow.jpg)
+
+To generate a Material Request manually go to:
+
+> Stock > Documents > Material Request > New
+
+#### Creating Material Request 
+
+<img class="screenshot" alt="Material Request" src="/assets/manual_erpnext_com/img/buying/material-request.png">
+
+A Material Request can be generated:
+
+  * Automatically from a Sales Order.
+  * Automatically when the Projected Quantity of an Item in stores reaches a particular level.
+  * Automatically from your Bill of Materials if you use Production Plan to plan your manufacturing activities.
+  * If your Items are inventory items, you must also mention the Warehouse where you expect these Items to be delivered. This helps to keep track of the [Projected Quantity](/contents/stock/projected-quantity) for this Item.
+
+A Material Request can be of type:
+
+* Purchase - If the request material is to be purchased.
+* Material Transfer - If the requested material is to be shifted from one warehouse to another.
+* Material Issue - If the requested material is to be Issued.
+
+> Info: Material Request is not mandatory. It is ideal if you have centralized
+buying so that you can collect this information from various departments.
+
+{next}
diff --git a/erpnext/docs/user/stock/opening-stock.md b/erpnext/docs/user/stock/opening-stock.md
new file mode 100644
index 0000000..4288f66
--- /dev/null
+++ b/erpnext/docs/user/stock/opening-stock.md
@@ -0,0 +1,15 @@
+# Opening Stock
+
+<p class="lead"> Opening Stock is the Stock quantity in the beginning of every accounting year of an organisation. The closing Stock with the prior accounting year becomes the opening Stock with the existing accounting year.</p>
+
+Opening Stock can be done for serialized Items as well as non-serialized Items.To update opening stock for non-serialized Item, you should perform Stock Reconciliation. For serialised Item, you can make Stock Entry of type Material Receipt.
+
+> Stock > Stock Reconciliation > New Stock Reconciliation
+
+In both cases, you should enter "Difference/Expense Account" as **Temporary Opening** account. On submission of the document, system will debit Warehouse account which is an asset account and credit difference/expense account. Before making these entries, make sure you have enabled "Perpetual Inventory" by checking Stock Settings page.
+
+If you are not making opening Stock Entry, you can select "Stock Adjustment" account in Difference/Expense Account field which is an expense account.
+
+To understand Opening Stock for serialzed Items visit [Stock Reconciliation](/contents/setting-up/stock-reconciliation-for-non-serialized-item)
+
+{next}
diff --git a/erpnext/docs/user/stock/projected-quantity.md b/erpnext/docs/user/stock/projected-quantity.md
new file mode 100644
index 0000000..0d7bd38
--- /dev/null
+++ b/erpnext/docs/user/stock/projected-quantity.md
@@ -0,0 +1,26 @@
+Projected Quantity is the level of stock that is predicted for a particular
+Item, based on the current stock levels and other requirements. It is the
+quantity of gross inventory that includes supply and demand in the past which
+is done as part of the planning process.
+
+The projected inventory is used by the planning system to monitor the reorder
+point and to determine the reorder quantity. The projected Quantity is used by
+the planning engine to monitor the safety stock levels. These levels are
+maintained to serve unexpected demands.
+
+Having a tight control of the projected inventory is crucial to determine
+shortages and to calculate the right order quantity.
+
+![Projected Quantity Stock Report](/assets/manual_erpnext_com/old_images/erpnext/projected-quantity-stock-report.png)
+
+
+> Projected Qty = Actual Qty + Planned Qty + Requested Qty + Ordered Qty -
+Reserved Qty
+
+  * Actual Qty: Quantity available in the warehouse.
+  * Planned Qty: Quantity, for which, Production Order has been raised, but is pending to be manufactured.
+  * Requested Qty: Quantity requested for purchase, but not ordered.
+  * Ordered Qty: Quantity ordered for purchase, but not received.
+  * Reserved Qty: Quantity ordered for sale, but not delivered.
+
+{next}
diff --git a/erpnext/docs/user/stock/purchase-receipt.md b/erpnext/docs/user/stock/purchase-receipt.md
new file mode 100644
index 0000000..ff7c8ef
--- /dev/null
+++ b/erpnext/docs/user/stock/purchase-receipt.md
@@ -0,0 +1,78 @@
+Purchase Receipts are made when you accept material from your Supplier usually
+against a Purchase Order.
+
+You can also accept Purchase Receipts directly ( Set Purchase Order
+Required as “No” in Global Defaults).
+
+You can make a Purchase Receipt directly from:
+
+> Stock > Purchase Receipt > New Purchase Receipt
+
+or from a “Submitted” Purchase Order, by clicking on “Make Purchase Receipt”.
+
+<img class="screenshot" alt="Purchase Receipt" src="/assets/manual_erpnext_com/img/stock/purchase-receipt.png">
+
+### Rejections
+
+In the Purchase Receipt, you are required to enter whether all the materials
+you receive are of acceptable quality (in case you check). If you have any
+rejections, update the “Rejected Quantity” column in the Items table.
+
+If you reject, you are required to enter a “Rejected Warehouse” to indicate
+where you are storing the rejected Items.
+
+### Quality Inspections
+
+If for certain Items, it is mandatory to record Quality Inspections (if you
+have set it in your Item master), you will need to update the “Quality
+Inspection No” (QA No) column. The system will only allow you to “Submit” the
+Purchase Receipt if you update the “Quality Inspection No”.
+
+### UOM Conversions
+
+If your Purchase Order for an Item is in a different Unit of Measure (UOM)
+than what you stock (Stock UOM), then you will need to update the “UOM
+Conversion Factor”. 
+
+### Currency Conversions
+
+Since the incoming Item affects the value of your inventory, it is important
+to convert it into your base Currency, if you have ordered in another
+Currency. You will need to update the Currency Conversion Rate if applicable.
+
+### Taxes and Valuation
+
+Some of your taxes and charges may affect your Items value. For example, a Tax
+may not be added to your Item’s valuation, because if you sell the Item, you
+will have to add the tax at that time. So make sure to mark all your taxes in
+the Taxes and Charges table correctly for accurate valuation.
+
+### Serial Numbers and Batches
+
+If your Item is serialized or batched, you will have to enter Serial Number
+and Batch in the Item's table. You are allowed to enter multiple Serial Numbers
+in one row (each on a separate line) and you must enter the same number of
+Serial Numbers as the quantity. You must enter each Batch number on a separate
+line.
+
+* * *
+
+#### What happens when the Purchase Receipt is “Submitted”?
+
+A Stock Ledger Entry is created for each Item adding the Item in the Warehouse
+by the “Accepted Quantity” If you have rejections, a Stock Ledger Entry is
+made for each Rejection. The “Pending Quantity” is updated in the Purchase
+Order.
+
+* * *
+
+#### Adding value to your Items post Purchase Receipt:
+
+Some times, certain expenses that add value to your purchased Items are known
+only after a while. Common example is, if you are importing the Items, you
+will come to know of Customs Duty etc only when your “Clearing Agent” sends
+you a bill. If you want to attribute this cost to your purchased Items, you
+will have to use the Landed Cost Wizard. Why “Landed Cost”? Because it
+represents the charges that you paid when it landed in your possession.
+
+{next}
diff --git a/erpnext/docs/user/stock/purchase-return.md b/erpnext/docs/user/stock/purchase-return.md
new file mode 100644
index 0000000..1feb813
--- /dev/null
+++ b/erpnext/docs/user/stock/purchase-return.md
@@ -0,0 +1,21 @@
+ERPNext has an option for products that are need to be returned to the
+supplier. This may be on account of a number of reasons like defects in goods,
+quality not matching, the buyer not needing the stock, etc.
+
+You can create a Purchase Return by simply making a Purchase Receipt with negative quantity.
+
+First open the original Purchase Receipt, against which supplier delivered the items.
+
+<img class="screenshot" alt="Original Purchase Receipt" src="/assets/manual_erpnext_com/img/stock/purchase-return-original-purchase-receipt.png">
+
+Then click on "Make Purchase Return", it will open a new Purchase Receipt with "Is Return" checked, items and taxes with negative amount.
+
+<img class="screenshot" alt="Return Against Purchase Receipt" src="/assets/manual_erpnext_com/img/stock/purchase-return-against-purchase-receipt.png">
+
+On submission of Return Purchase Return, system will decrease item qty from the mentioned warehouse. To maintain correct stock valuation, stock balance will also go up according to the original purchase rate of the returned items.
+
+<img class="screenshot" alt="Return Stock Ledger" src="/assets/manual_erpnext_com/img/stock/purchase-return-stock-ledger.png">
+
+If Perpetual Inventory enabled, system will also post accounting entry against warehouse account to sync warehouse account balance with stock balance as per Stock Ledger.
+
+<img class="screenshot" alt="Return Stock Ledger" src="/assets/manual_erpnext_com/img/stock/purchase-return-general-ledger.png">
\ No newline at end of file
diff --git a/erpnext/docs/user/stock/sales-return.md b/erpnext/docs/user/stock/sales-return.md
new file mode 100644
index 0000000..83c7fbe
--- /dev/null
+++ b/erpnext/docs/user/stock/sales-return.md
@@ -0,0 +1,27 @@
+Goods sold being returned is quite a common practice in business. They could
+be returned by the customer on quality issues, non-delivery on agreed date, or
+any other reason. 
+
+In ERPNext, you can create a Sales Return by simply making a Delivery Note / Sales Invoice with negative quantity.
+
+First open the original Delivery Note / Sales Invoice, against which customer returned the items.
+
+<img class="screenshot" alt="Original Delivery Note" src="/assets/manual_erpnext_com/img/stock/sales-return-original-delivery-note.png">
+
+Then click on "Make Sales Return", it will open a new Delivery Note with "Is Return" checked, items and taxes with negative amount.
+
+<img class="screenshot" alt="Return Against Delivery Note" src="/assets/manual_erpnext_com/img/stock/sales-return-against-delivery-note.png">
+
+You can also create the return entry against original Sales Invoice, to return stock along with credit note, check "Update Stock" option in Return Sales Invoice.
+
+<img class="screenshot" alt="Return Against Sales Invoice" src="/assets/manual_erpnext_com/img/stock/sales-return-against-sales-invoice.png">
+
+On submission of Return Delivery Note / Sales Invoice, system will increase stock balance in the mentioned warehouse. To maintain correct stock valuation, stock balance will go up according to the original purchase rate of the returned items.
+
+<img class="screenshot" alt="Return Stock Ledger" src="/assets/manual_erpnext_com/img/stock/sales-return-stock-ledger.png">
+
+In case of Return Sales Invoice, Customer account will be credited and associated income and tax account will be debited.
+
+If Perpetual Inventory enabled, system will also post accounting entry against warehouse account to sync warehouse account balance with stock balance as per Stock Ledger.
+
+<img class="screenshot" alt="Return Stock Ledger" src="/assets/manual_erpnext_com/img/stock/sales-return-general-ledger.png">
\ No newline at end of file
diff --git a/erpnext/docs/user/stock/serial-no.md b/erpnext/docs/user/stock/serial-no.md
new file mode 100644
index 0000000..d714d25
--- /dev/null
+++ b/erpnext/docs/user/stock/serial-no.md
@@ -0,0 +1,33 @@
+As we discussed in the **Item** section, if an **Item** is _serialized_, a
+**Serial Number** (Serial No) record is maintained for each quantity of that
+**Item**. This information is helpful in tracking the location of the Serial
+No, its warranty and end-of-life (expiry) information.
+
+**Serial Nos** are also useful to maintain fixed assets. **Maintenance Schedules** can also be created against serial numbers for planning and scheduling maintenance activity for these assets (if they require maintenance).
+
+You can also track from which **Supplier** you purchased the **Serial No** and
+to which **Customer** you have sold it. The **Serial No** status will tell you
+its current inventory status.
+
+If your Item is _serialized_ you will have to enter the Serial Nos in the
+related column with each Serial No in a new line.
+You can maintain single units of serialized items using Serial Number.
+
+### Serial Nos and Inventory
+
+Inventory of an Item can only be affected if the Serial No is transacted via a
+Stock transaction (Stock Entry, Purchase Receipt, Delivery Note, Sales
+Invoice). When a new Serial No is created directly, its warehouse cannot be
+set.
+
+<img class="screenshot" alt="Serial Number" src="/assets/manual_erpnext_com/img/stock/serial-no.png">
+
+* The Status is set based on Stock Entry.
+
+* Only Serial Numbers with status 'Available' can be delivered.
+
+* Serial Nos can automatically be created from a Stock Entry or Purchase Receipt. If you mention Serial No in the Serial Nos column, it will automatically create those serial Nos.
+
+* If in the Item Master, the Serial No Series is mentioned, you can leave the Serial No column blank in a Stock Entry / Purchase Receipt and Serial Nos will automatically be set from that series.
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/stock/setup/index.md b/erpnext/docs/user/stock/setup/index.md
new file mode 100644
index 0000000..6f3f1cb
--- /dev/null
+++ b/erpnext/docs/user/stock/setup/index.md
@@ -0,0 +1,3 @@
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/stock/setup/index.txt b/erpnext/docs/user/stock/setup/index.txt
new file mode 100644
index 0000000..b21c4f9
--- /dev/null
+++ b/erpnext/docs/user/stock/setup/index.txt
@@ -0,0 +1,3 @@
+stock-settings
+item-group
+item-attribute
diff --git a/erpnext/docs/user/stock/setup/item-attribute.md b/erpnext/docs/user/stock/setup/item-attribute.md
new file mode 100644
index 0000000..fc7ea2d
--- /dev/null
+++ b/erpnext/docs/user/stock/setup/item-attribute.md
@@ -0,0 +1,16 @@
+You can define Attributes and attribute values for your Item Variants here.
+
+<img class="screenshot" alt="Attribute Master" src="/assets/manual_erpnext_com/img/stock/item-attribute.png">
+
+#### Non Numeric Attributes
+
+* For Non Numeric Attributes, specify attributes values along with its abbreviation in the Attribute Value Table.
+
+<img class="screenshot" alt="Attribute Master" src="/assets/manual_erpnext_com/img/stock/item-attribute-non-numeric.png">
+
+#### Numeric Attributes
+
+* If your attribute is Numeric, select Numeric Values
+* Specify the Range and the Increment Value
+
+<img class="screenshot" alt="Attribute Master" src="/assets/manual_erpnext_com/img/stock/item-attribute-numeric.png">
diff --git a/erpnext/docs/user/stock/setup/item-group.md b/erpnext/docs/user/stock/setup/item-group.md
new file mode 100644
index 0000000..5a56ec1
--- /dev/null
+++ b/erpnext/docs/user/stock/setup/item-group.md
@@ -0,0 +1,26 @@
+Item Group is the classification category. Depending on the type of product,
+categorise it under its respective field. If the product is
+service oriented, name it under the group head - service. If the
+product is used as a raw-material, you have to name it under the Raw-material
+category. In case, your product is used only in trading, you can categorise it
+under Trading.
+
+<img class="screenshot" alt="Item Group Tree" src="/assets/manual_erpnext_com/img/stock/item-group-tree.png">
+
+### Create a Item Group
+
+* Select an Item Group under which you wish to create the group.
+
+* Select 'Add Child'
+
+<img class="screenshot" alt="Add Item Group" src="/assets/manual_erpnext_com/img/stock/item-group-new.gif">
+
+### Delete an Item Group
+
+* Select the Item Group you want to delete.
+
+* Select 'delete'
+
+<img class="screenshot" alt="Add Item Group" src="/assets/manual_erpnext_com/img/stock/item-group-del.gif">
+
+{next}
diff --git a/erpnext/docs/user/stock/setup/stock-settings.md b/erpnext/docs/user/stock/setup/stock-settings.md
new file mode 100644
index 0000000..b2f7635
--- /dev/null
+++ b/erpnext/docs/user/stock/setup/stock-settings.md
@@ -0,0 +1,5 @@
+You can set default settings for your stock related transactions here.
+
+<img class="screenshot" alt="Stock Settings" src="/assets/manual_erpnext_com/img/stock/stock-settings.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/stock/stock-entry.md b/erpnext/docs/user/stock/stock-entry.md
new file mode 100644
index 0000000..113163c
--- /dev/null
+++ b/erpnext/docs/user/stock/stock-entry.md
@@ -0,0 +1,43 @@
+A Stock Entry is a simple document that lets you record Item movement from a
+Warehouse, to a Warehouse and between Warehouses.
+
+To make a Stock Entry you have to go to:
+
+> Stock > Stock Entry > New
+
+<img class="screenshot" alt="Stock Entry" src="/assets/manual_erpnext_com/img/stock/stock-entry.png">
+
+Stock Entries can be made for the following purposes:
+
+* Material Issue - If the material is being issued. (Outgoing Material)
+* Material Receipt - If the material is being received. (Incoming Material)
+* Material Transfer - If the material is being moved from one warehouse to another.
+* Material Transfer for Manufacturing - If the material being transfered is for Manufacturing Process.
+* Manufacture - If the Material is being received from a Manufacturing/Production Operation.
+* Repack - If the Original item/items is being repacked into new item/items.
+* Subcontract - If the Material is being issued for a sub-contract activity.
+
+In the Stock Entry you have to update the Items table with all your
+transactions. For each row, you must enter a “Source Warehouse” or a “Target
+Warehouse” or both (if you are recording a movement).
+
+**Additional Costs:**
+
+If the stock entry is an incoming entry i.e any item is receiving at a target warehouse, you can add related additional costs (like Shipping Charges, Customs Duty, Operating Costs etc) assotiated with the process. The additional costs will be considered to calculate valuation rate of the items.
+
+To add additional costs, enter the description and amount of the cost in the Additional Costs table.
+
+<img class="screenshot" alt="Stock Entry Additional Costs" src="/assets/manual_erpnext_com/img/stock/additional-costs-table.png">
+
+The added additional costs will be distributed among the receiving items (where the target warehouse mentioned) proportionately based on Basic Amount of the items. And the distributed additional cost will be added to the basic rate of the item, to calculate valuation rate.
+
+<img class="screenshot" alt="Stock Entry Item Valuation Rate" src="/assets/manual_erpnext_com/img/stock/stock-entry-item-valuation-rate.png">
+
+If perpetual inventory system is enabled, additional costs will be booked in "Expense Included In Valuation" account.
+
+<img class="screenshot" alt="Additional Costs General Ledger" src="/assets/manual_erpnext_com/img/stock/additional-costs-general-ledger.png">
+
+
+> **Note:** To update Stock from a spreadsheet, see Stock Reconciliation.
+
+{next}
diff --git a/erpnext/docs/user/stock/stock-how-to.md b/erpnext/docs/user/stock/stock-how-to.md
new file mode 100644
index 0000000..e0f5b2f
--- /dev/null
+++ b/erpnext/docs/user/stock/stock-how-to.md
@@ -0,0 +1,2 @@
+This page contains most frequently asked questions on Stocks.
+
diff --git a/erpnext/docs/user/stock/tools/index.md b/erpnext/docs/user/stock/tools/index.md
new file mode 100644
index 0000000..6f3f1cb
--- /dev/null
+++ b/erpnext/docs/user/stock/tools/index.md
@@ -0,0 +1,3 @@
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/stock/tools/index.txt b/erpnext/docs/user/stock/tools/index.txt
new file mode 100644
index 0000000..d6a5816
--- /dev/null
+++ b/erpnext/docs/user/stock/tools/index.txt
@@ -0,0 +1,4 @@
+packing-slip
+quality-inspection
+landed-cost-voucher
+stock-uom-replace-utility
\ No newline at end of file
diff --git a/erpnext/docs/user/stock/tools/landed-cost-voucher.md b/erpnext/docs/user/stock/tools/landed-cost-voucher.md
new file mode 100644
index 0000000..211011a
--- /dev/null
+++ b/erpnext/docs/user/stock/tools/landed-cost-voucher.md
@@ -0,0 +1,33 @@
+Landed Cost is the total cost of a product to reach the product at the buyer’s door. Landed costs include the original cost of the item, complete shipping costs, customs duties, taxes, insurance and currency conversion fees etc. All of these components might not be applicable in every shipment, but relevant components must be considered as a part of the landed cost.
+
+> To understand landed cost better, let’s take an example based on our daily lives. You need to purchase a new washing machine for your home. Before making actual purchase, you probably do some investigation to know the best price. In this process, you often found a better deal from a store which is long away from your home. But you should also consider shipping cost while buying from that store. Total cost including transportation might be more than the price you get in your nearby store. In that case you will choose to buy from  your nearest store, as landed cost of the item is cheaper in the nearest store.
+
+Similarly in business, identifying landed cost for a item / product is very crucial, as it helps to decide selling cost of that item and impacts company’s profitability. Hence all applicable landed cost charges should be included in item’s valuation rate.
+
+According to the [Third-Party Logistics Study](http://www.3plstudy.com/), only 45% of the respondents stated that they use Landed Cost extensively. The main reasons of not using Landed Cost are unavailability of necessary data (49%), lack of right tools (48%), do not have sufficient time (31%) and not sure how to apply landed cost (27%).
+
+### Landed Cost via Purchase Receipt
+
+In ERPNext, you can add landed cost related charges in “Taxes and Charges” table while creating Purchase Receipt (PR). You should add those charges for “Total and Valuation” or “Valuation”. Charges which are payable to the same supplier from whom you are buying the items, should be tagged as “Total and Valuation”. Otherwise if applicable charges are payable to a 3rd party, it should be tagged as “Valuation”. On submission of PR, system will calculate landed cost of all items, considering those charges and that landed cost will be considered to calculate item’s valuation rate (based on FIFO / Moving Average method).
+
+But in reality, while making Purchase Receipt we might not know all the charges which are applicable for landed cost. Your transporter can send the invoice after 1 month, but there is no point in waiting for booking Purchase Receipt till then. Companies who imports their products / parts, pays a huge amount as Customs Duty. And generally they get invoices from Customs Department after a period of time. In these cases, “Landed Cost Voucher” becomes handy, as it allows you to add those additional charges on a later date, and to update landed cost of purchased items.
+
+### Landed Cost Voucher
+
+You can update landed cost any time in the future via Landed Cost Voucher.
+
+> Stock > Tools > Landed Cost Voucher
+
+In the document, you can select multiple Purchase Receipts and fetch all items from those Purchase Receipts. Then you should add applicable charges in “Taxes and Charges” table. You can easily delete an item if the added charges is not applicable to that item. The added charges are proportionately distributed among all the items based their amount.
+
+<img class="screenshot" alt="Landed Cost Vouher" src="/assets/manual_erpnext_com/img/stock/landed-cost.png">
+
+### What happend on submission?
+
+1. On submission of Landed Cost Voucher, the applicable landed cost charges are updated in Purchase Receipt Item table.
+
+2. Valuation Rate of items are recalculated based on new landed cost. 
+
+3. If you are using “Perpetual Inventory”, the system will post general ledger entries to correct Stock-in-Hand balance. It will debit (increase) corresponding “warehouse account” and credit (decrease) “Expense Included in Valuation” account. If items are already delivered, the Cost-of-Goods-Sold (CoGS) value has been booked as per old valuation rate. Hence, general ledger entries are reposted for all future outgoing entries of associated items, to correct CoGS value.
+
+{next}
diff --git a/erpnext/docs/user/stock/tools/packing-slip.md b/erpnext/docs/user/stock/tools/packing-slip.md
new file mode 100644
index 0000000..c2b0c6b
--- /dev/null
+++ b/erpnext/docs/user/stock/tools/packing-slip.md
@@ -0,0 +1,7 @@
+A packing slip is a document listing the items in a shipment. Usually attached to the goods delivered.
+While Shipping a product 'Draft' for Delivery Notes are created.
+You can make a Packing Slip from these Delivery Notes (Draft)
+
+<img class="screenshot" alt="Packing Slip" src="/assets/manual_erpnext_com/img/stock/packing-slip.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/stock/tools/quality-inspection.md b/erpnext/docs/user/stock/tools/quality-inspection.md
new file mode 100644
index 0000000..f76c3f2
--- /dev/null
+++ b/erpnext/docs/user/stock/tools/quality-inspection.md
@@ -0,0 +1,8 @@
+In ERPNext, you can mark your incoming or outgoing products for Quality
+Inspection. To enable ERPNext to perform this function, go to :
+
+> Stock > Quality Inspection > New
+
+<img class="screenshot" alt="Quality Inspection" src="/assets/manual_erpnext_com/img/stock/quality-inspection.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/stock/tools/stock-uom-replace-utility.md b/erpnext/docs/user/stock/tools/stock-uom-replace-utility.md
new file mode 100644
index 0000000..9e96b36
--- /dev/null
+++ b/erpnext/docs/user/stock/tools/stock-uom-replace-utility.md
@@ -0,0 +1,10 @@
+#Stock UOM Replace Utility
+
+This tool will help you to change the UOM (Unit of measurement) of an existing Item.
+
+You need to select an Item, system fetches the Existing UOM of that item. You can then select the new UOM for that item 
+and specify the conversion factor.
+
+<img class="screenshot" alt="Stock Uom Replace" src="/assets/manual_erpnext_com/img/stock/uom-replace.png">
+
+{next}
diff --git a/erpnext/docs/user/stock/warehouse.md b/erpnext/docs/user/stock/warehouse.md
new file mode 100644
index 0000000..5ec786a
--- /dev/null
+++ b/erpnext/docs/user/stock/warehouse.md
@@ -0,0 +1,38 @@
+A warehouse is a commercial building for storage of goods. Warehouses are used
+by manufacturers, importers, exporters, wholesalers, transport businesses,
+customs, etc. They are usually large plain buildings in industrial areas of
+cities, towns, and villages. They mostly have loading docks to load and unload
+goods from trucks.
+
+To go to Warehouse, click on Stock and go to Warehouse under Masters.  You
+could also go to the Setup module and click on Warehouse under Master Data.
+
+> Stock > Warehouse > New Warehouse
+
+<img class="screenshot" alt="Warehouse" src="/assets/manual_erpnext_com/img/stock/warehouse.png">
+
+In ERPNext, every Warehouse must belong to a specific company, to maintain
+company wise stock balance. The Warehouses are saved with their respective
+company’s abbreviations. This facilitates in identifying which Warehouse
+belongs to which company, at a glance.
+
+You can include user restrictions for these Warehouses. In case you do not
+wish a particular user to operate on a particular Warehouse, you can refrain
+the user from accessing that Warehouse.
+
+### Merge Warehouse
+
+In day to day transactions, duplicate entries are done by mistake, resulting
+in duplicate Warehouses. Duplicate records can be merged into a single
+Warehouse. From the top bar of the system select the File menu. Select Rename
+and Enter the correct Warehouse and check the Merge button. The system will
+replace all the links of wrong Warehouse with the correct Warehouse, in all
+transactions. Also, the available quantity (actual qty, reserved qty, ordered
+qty etc) of all items in the duplicate warehouse will be transferred to the
+correct warehouse. Once merging is done, delete the duplicate Warehouse.
+
+> Note: ERPNext system maintains stock balance for every distinct combination
+of Item and Warehouse. Thus you can get stock balance for any specific Item in
+a particular Warehouse on any particular date.
+
+{next}
diff --git a/erpnext/docs/user/support/index.md b/erpnext/docs/user/support/index.md
new file mode 100644
index 0000000..7777049
--- /dev/null
+++ b/erpnext/docs/user/support/index.md
@@ -0,0 +1,15 @@
+Great customer support and maintenance is at the heart of any successful small
+business. ERPNext gives you the tools to track all incoming requests and issues
+from your customers so that you can respond quickly. Your database of incoming
+queries will also help you track where the biggest opportunities are for
+improvements.
+
+In this module, you can track incoming queries from your email using Support
+Ticket. You can keep track on Customer Issues raised by Customers on specific
+Serial No and respond to them based on their warranty and other information.
+You can also make Maintenance Schedules for Serial Nos and keep a record of
+all Maintenance Visits made to your Customers.
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/support/index.txt b/erpnext/docs/user/support/index.txt
new file mode 100644
index 0000000..eaff69e
--- /dev/null
+++ b/erpnext/docs/user/support/index.txt
@@ -0,0 +1,4 @@
+issue
+warranty-claim
+maintenance-visit
+maintenance-schedule
diff --git a/erpnext/docs/user/support/issue.md b/erpnext/docs/user/support/issue.md
new file mode 100644
index 0000000..2e84952
--- /dev/null
+++ b/erpnext/docs/user/support/issue.md
@@ -0,0 +1,47 @@
+Issue is an incoming query from your Customer, usually via email or
+from the “Contact” section of your website. (To fully integrate the Support
+Ticket to email, see the Email Settings section).
+
+> Tip: A dedicated support email id is a good way to integrate incoming
+queries via email. For example, you can send support queries to ERPNext at
+support@erpnext.com and it will automatically create a Issue in the
+Frappe system.
+
+
+
+> Support > Issue > New Issue
+
+<img class="screenshot" alt="Issue" src="/assets/manual_erpnext_com/img/support/issue.png">
+
+#### Discussion Thread
+
+When a new email is fetched from your mailbox, a new Issue record is
+created and an automatic reply is sent to the sender indicating the Support
+Ticket Number. The sender can send additional information to this email. All
+subsequent emails containing this Issue number in the subject will be
+added to this Issue thread. The sender can also add attachments to
+the email.
+
+Issue maintains all the emails which are sent back and forth against
+this issue in the system so that you can track what transpired between the
+sender and the person responding.
+
+#### Status
+
+When a new Issue is created, its status is “Open”, when it is
+replied, its status becomes “Waiting for Reply”. If the sender replies back
+its status again becomes “Open”.
+
+#### Closing
+
+You can either “Close” the Issue manually by clicking on “Close
+Ticket” in the toolbar or if its status is “Waiting For Reply” . If the sender
+does not reply in 7 days, then the Issue closes automatically.
+
+#### Allocation
+
+You can allocate the Issue by using the “Assign To” feature in the
+right sidebar. This will add a new To Do to the user and also send a message
+indicating that this Issue is allocated.
+
+{next}
diff --git a/erpnext/docs/user/support/maintenance-schedule.md b/erpnext/docs/user/support/maintenance-schedule.md
new file mode 100644
index 0000000..09cb460
--- /dev/null
+++ b/erpnext/docs/user/support/maintenance-schedule.md
@@ -0,0 +1,31 @@
+All machines require regular maintenance, specially those that contain a lot
+of moving parts, so if you are in the business of maintaining those or have
+some of them in your own premises, this is a useful tool to plan a calendar of
+activities for its maintenance.
+
+If the Customer Issue refers to “Breakdown Maintenance”, this refers to
+“Preventive Maintenance”.
+
+To create a new Maintenance Schedule go to:
+
+> Support > Maintenance Schedule > New Maintenance Schedule
+
+<img class="screenshot" alt="Maintenance Schedule" src="/assets/manual_erpnext_com/img/support/maintenance-schedule.png">
+
+In the Maintenance Schedule, there are two sections:
+
+In the first section, you select the Items for which you want to generate the
+schedule and set how frequently you want to plan a visit or a maintenance.
+These can be optionally fetched from a Sales Order. After selecting the Items,
+“Save” the record.
+
+The second section contains the maintenance activities planned in the
+schedule. “Generate Schedule” will generate a separate row for each
+maintenance activity.
+
+Each Item in a Maintenance Schedule is allocated to a Sales Person.
+
+When the document is “Submitted” Calendar events are created in the User of
+the Sales Person for each maintenance.
+
+{next}
diff --git a/erpnext/docs/user/support/maintenance-visit.md b/erpnext/docs/user/support/maintenance-visit.md
new file mode 100644
index 0000000..f544ead
--- /dev/null
+++ b/erpnext/docs/user/support/maintenance-visit.md
@@ -0,0 +1,17 @@
+A Maintenance Visit is a record of a visit made by an engineer to a
+Customer’s premise usually against a Customer Issue. You can create a new
+Maintenance Visit from:
+
+> Support > Maintenance Visit > New Maintenance Visit
+
+<img class="screenshot" alt="Maintenance Visit" src="/assets/manual_erpnext_com/img/support/maintenance-visit.png">
+
+The Maintenance Visit contains information about the:
+
+  * Customer.
+  * The Items that were inspected / maintenance activity was carried out on.
+  * Details of actions taken.
+  * The person who carried out the actions.
+  * Feedback from the Customer.
+
+{next}
diff --git a/erpnext/docs/user/support/warranty-claim.md b/erpnext/docs/user/support/warranty-claim.md
new file mode 100644
index 0000000..4b2250a
--- /dev/null
+++ b/erpnext/docs/user/support/warranty-claim.md
@@ -0,0 +1,23 @@
+If you are selling **Items** under warranty or if you have sold and extended
+service contract like the Annual Maintenance Contract (AMC), your **Customer**
+may call you about an issue or a break-down and give you the Serial No of this
+Item.
+
+To record this, you can create a new **Warranty Claim** and add the
+**Customer** and **Item** / **Serial No**. The system will then automatically
+fetch the Serial No’s details and indicate whether this is under warranty or
+AMC.
+
+You must also add a description of the **Customer**’s issue and assign it to
+the person who needs to look into solving the issue.
+
+To create a new **Warranty Claim**:
+
+> Support > Warranty Claim > New Warranty Claim
+
+![Warranty Claim](/assets/manual_erpnext_com/img/support/warranty-claim.png)
+
+If a Customer visit is required to address the issue, you can create a new
+Maintenance Visit record from this.
+
+{next}
diff --git a/erpnext/docs/user/website/add-products-to-website.md b/erpnext/docs/user/website/add-products-to-website.md
new file mode 100644
index 0000000..66e27f4
--- /dev/null
+++ b/erpnext/docs/user/website/add-products-to-website.md
@@ -0,0 +1,69 @@
+### Add Products to the Website
+
+To list your Item on the Website, fill the Item details and save the file.
+Once the file is saved, a plus (+) button will appear next to the Image icon.
+Click on the plus button and add your Item image. The html code will be
+generated automatically.
+
+##### Step 1: Save Image
+
+![Webimage](/assets/manual_erpnext_com/old_images/erpnext/item-webimage.png)
+
+  
+
+##### Step 2: Check the 'Show in Website' box.
+
+Under the Website section, please check the box that says 'show in Website'.
+Once the box is checked, the page will display other fields for entering
+information.
+
+![Webimage](/assets/manual_erpnext_com/old_images/erpnext/item-webimage-1.png)
+
+  
+
+##### Step 3: Enter Website Details
+
+![Webimage](/assets/manual_erpnext_com/old_images/erpnext/item-webimage-2.png)
+
+The page name will be generated automatically. Mention the Item-Group under
+which the Item will be displayed.
+
+#### Item Groups
+
+Mention the Item Group under this column. If you wish to list your Item under
+the broad category products, name your Item Group as Products. In case you
+have various varieties of Item and want to classify them under different
+names, make Item Groups with those names and check the box that says 'show in
+Website'. For Example, if you wish to create a category called 'Bags', create
+a Item Group named Bags.
+
+![Item Group](/assets/manual_erpnext_com/old_images/erpnext/itemgroup-webimage-bags.png)
+
+Once the Item Group is created go to the Website Settings page under Website.
+Enter the Label, Url, and Parent Label.
+
+![Item Group](/assets/manual_erpnext_com/old_images/erpnext/itemgroup-website-settings.png)
+
+  
+
+#### Webpage labels
+
+![Webpage](/assets/manual_erpnext_com/old_images/erpnext/webpage-labels.png)
+
+Add more Items under a particular Item Group.
+
+To add more Items under a certain Label, mention the Item Group on the Item
+Page. The Items will be added automatically on the Webpage, under the Item
+Group Label. For Example, To add Item-Kiddies Bag and Butterfly Print Bag,
+check the 'Show in Website'box. The Items will be placed under the Label Bags
+on the Webpage.
+
+![Item Group](/assets/manual_erpnext_com/old_images/erpnext/itemgroup-websettings.png)
+
+  
+
+Item Group Display
+
+![Item Group Display](/assets/manual_erpnext_com/old_images/erpnext/webpage-itemgroup-display.png)
+
+{next}
diff --git a/erpnext/docs/user/website/blog-post.md b/erpnext/docs/user/website/blog-post.md
new file mode 100644
index 0000000..619c173
--- /dev/null
+++ b/erpnext/docs/user/website/blog-post.md
@@ -0,0 +1,20 @@
+Blogs are a great way to share your thoughts about your business and keep your
+customers and readers updated of what you are up to.
+
+In the age of internet, writing assumes a lot of significance because when
+people come to your website, they want to read about you and your product.
+
+To create a new blog, just create a new Blog from:
+
+> Website > Blog > New Blog
+
+<img class="screenshot" alt="Blog Post" src="/assets/manual_erpnext_com/img/website/blog-post.png">
+
+You can format a blog using the Markdown format.You can also access your blog
+by going to the page “blog.html”.
+
+#### A sample blog-page.
+
+<img class="screenshot" alt="Blog Sample" src="/assets/manual_erpnext_com/img/website/blog-sample.png">
+
+{next}
diff --git a/erpnext/docs/user/website/blogger.md b/erpnext/docs/user/website/blogger.md
new file mode 100644
index 0000000..1d6b40e
--- /dev/null
+++ b/erpnext/docs/user/website/blogger.md
@@ -0,0 +1,6 @@
+Blogger is a user who can post blogs. 
+You can mention a shori bio about the blogger and also set a avatar here.
+
+<img class="screenshot" alt="Blogger" src="/assets/manual_erpnext_com/img/website/blogger.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/website/index.md b/erpnext/docs/user/website/index.md
new file mode 100644
index 0000000..a499316
--- /dev/null
+++ b/erpnext/docs/user/website/index.md
@@ -0,0 +1,30 @@
+Websites are a core component of any business and having a good website
+usually means:
+
+  * Invest lot of money.
+  * Difficult to update.
+  * Not interactive.
+
+Unless you are a web designer yourself.
+
+Wouldn't it be nice if there was a way to update your product catalog on your
+site automatically from your ERP?
+
+We thought exactly the same and hence built a small Website Development app
+right inside ERPNext! Using ERPNext’s Website module, you can
+
+  1. Create Web Pages
+  2. Write a Blog
+  3. Publish your Product Catalog using the Item master
+
+We will soon be adding a shopping cart facility so that your customers can
+place orders and pay you online!
+
+Though not necessary, to make a good website, you might have to know a bit of
+HTML / CSS or hire the services of a professional. The good part is that once
+this is setup, you can add and edit content, blogs and products directly from
+your ERP.
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/website/index.txt b/erpnext/docs/user/website/index.txt
new file mode 100644
index 0000000..cf794db
--- /dev/null
+++ b/erpnext/docs/user/website/index.txt
@@ -0,0 +1,5 @@
+web-page
+blog-post
+web-form
+blogger
+setup
\ No newline at end of file
diff --git a/erpnext/docs/user/website/introduction-to-website.md b/erpnext/docs/user/website/introduction-to-website.md
new file mode 100644
index 0000000..82f95cb
--- /dev/null
+++ b/erpnext/docs/user/website/introduction-to-website.md
@@ -0,0 +1,27 @@
+Websites are a core component of any business and having a good website
+usually means:
+
+  * Invest lot of money.
+  * Difficult to update.
+  * Not interactive.
+
+Unless you are a web designer yourself.
+
+Wouldn't it be nice if there was a way to update your product catalog on your
+site automatically from your ERP?
+
+We thought exactly the same and hence built a small Website Development app
+right inside ERPNext! Using ERPNext’s Website module, you can
+
+  1. Create Web Pages
+  2. Write a Blog
+  3. Publish your Product Catalog using the Item master
+
+We will soon be adding a shopping cart facility so that your customers can
+place orders and pay you online!
+
+Though not necessary, to make a good website, you might have to know a bit of
+HTML / CSS or hire the services of a professional. The good part is that once
+this is setup, you can add and edit content, blogs and products directly from
+your ERP.
+
diff --git a/erpnext/docs/user/website/product-listing-on-website.md b/erpnext/docs/user/website/product-listing-on-website.md
new file mode 100644
index 0000000..cc5ca6d
--- /dev/null
+++ b/erpnext/docs/user/website/product-listing-on-website.md
@@ -0,0 +1,68 @@
+### Listing Item on Website
+
+To list your Item on the Website, fill the Item details and save the file.
+Once the file is saved, a plus (+) button will appear next to the Image icon.
+Click on the plus button and add your Item image. The html code will be
+generated automatically.
+
+##### Step 1: Save Image
+
+![Webimage](/assets/manual_erpnext_com/old_images/erpnext/item-webimage.png)
+
+  
+
+##### Step 2: Check the 'Show in Website' box.
+
+Under the Website section, please check the box that says 'show in Website'.
+Once the box is checked, the page will display other fields for entering
+information.
+
+![Webimage](/assets/manual_erpnext_com/old_images/erpnext/item-webimage-1.png)
+
+  
+
+##### Step 3: Enter Website Details
+
+![Webimage](/assets/manual_erpnext_com/old_images/erpnext/item-webimage-2.png)
+
+The page name will be generated automatically. Mention the Item-Group under
+which the Item will be displayed.
+
+#### Item Groups
+
+Mention the Item Group under this column. If you wish to list your Item under
+the broad category products, name your Item Group as Products. In case you
+have various varieties of Item and want to classify them under different
+names, make Item Groups with those names and check the box that says 'show in
+Website'. For Example, if you wish to create a category called 'Bags', create
+a Item Group named Bags.
+
+![Item Group](/assets/manual_erpnext_com/old_images/erpnext/itemgroup-webimage-bags.png)
+
+Once the Item Group is created go to the Website Settings page under Website.
+Enter the Label, Url, and Parent Label.
+
+![Item Group](/assets/manual_erpnext_com/old_images/erpnext/itemgroup-website-settings.png)
+
+  
+
+#### Webpage labels
+
+![Webpage](/assets/manual_erpnext_com/old_images/erpnext/webpage-labels.png)
+
+Add more Items under a particular Item Group.
+
+To add more Items under a certain Label, mention the Item Group on the Item
+Page. The Items will be added automatically on the Webpage, under the Item
+Group Label. For Example, To add Item-Kiddies Bag and Butterfly Print Bag,
+check the 'Show in Website'box. The Items will be placed under the Label Bags
+on the Webpage.
+
+![Item Group](/assets/manual_erpnext_com/old_images/erpnext/itemgroup-websettings.png)
+
+  
+
+Item Group Display
+
+![Item Group Display](/assets/manual_erpnext_com/old_images/erpnext/webpage-itemgroup-display.png)
+
diff --git a/erpnext/docs/user/website/setup/index.md b/erpnext/docs/user/website/setup/index.md
new file mode 100644
index 0000000..e14b2fd
--- /dev/null
+++ b/erpnext/docs/user/website/setup/index.md
@@ -0,0 +1,5 @@
+Settings for your website can be mentioned under setup.
+
+###Topics
+
+{index}
\ No newline at end of file
diff --git a/erpnext/docs/user/website/setup/index.txt b/erpnext/docs/user/website/setup/index.txt
new file mode 100644
index 0000000..c3aaac9
--- /dev/null
+++ b/erpnext/docs/user/website/setup/index.txt
@@ -0,0 +1,2 @@
+website-settings
+social-login-keys
\ No newline at end of file
diff --git a/erpnext/docs/user/website/setup/social-login-keys.md b/erpnext/docs/user/website/setup/social-login-keys.md
new file mode 100644
index 0000000..b8784a3
--- /dev/null
+++ b/erpnext/docs/user/website/setup/social-login-keys.md
@@ -0,0 +1,11 @@
+Social Login enables users to login to ERPNext via their Google, Facebook or GitHub account.
+
+### Enabling Social Logins.
+
+Checkout the following Video Tutorials to understand how to enable social logins on ERPNext
+
+* for FaceBook - https://www.youtube.com/watch?v=zC6Q6gIfiw8
+* for Google - https://www.youtube.com/watch?v=w_EAttrE9sw
+* for GitHub - https://www.youtube.com/watch?v=bG71DxxkVjQ
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/website/setup/website-settings.md b/erpnext/docs/user/website/setup/website-settings.md
new file mode 100644
index 0000000..541d98a
--- /dev/null
+++ b/erpnext/docs/user/website/setup/website-settings.md
@@ -0,0 +1,45 @@
+Most of the website related settings can be defined here.
+
+<img class="screenshot" alt="Website Settings" src="/assets/manual_erpnext_com/img/website/website-settings.png">
+
+####Landing Page
+
+* Home Page: You can specify which [Web Page](/contents/website/web-page) must be the homepage of the website
+
+* Home Page is Products: if Checked, the Home page will be the default Item Group for the website.
+
+* Title Prefix: Set the browser title.
+
+####Website Theme
+
+Select the theme for the website. You can create new Theme for you website also.
+
+<img class="screenshot" alt="Website Theme" src="/assets/manual_erpnext_com/img/website/website-theme.png">
+
+* Select 'create new website theme' if you wish to customize the default website theme.
+
+####Banner
+
+You can add a banner/ logo to your website here. Attach the image and click on set banner from Image.
+An HTML code will be generated by the system under Banner HTML.
+
+<img class="screenshot" alt="Banner" src="/assets/manual_erpnext_com/img/website/banner.png">
+
+####Top Bar
+
+You can set the menus items in the Top Bar here.
+
+<img class="screenshot" alt="Top Bar" src="/assets/manual_erpnext_com/img/website/top-bar.png">
+
+ * Similarlly you can also set sidebar and footer links.
+ 
+####Integrations & Miscellaneous Settings
+
+You can integrate the website using Google Analytics and enable social media sharing for post shared on the website.
+
+<img class="screenshot" alt="Integrations" src="/assets/manual_erpnext_com/img/website/integrations.png">
+
+* You can disable public signup to your ERPNext account by checking 'disable signup'
+
+{next}
+
diff --git a/erpnext/docs/user/website/shopping-cart.md b/erpnext/docs/user/website/shopping-cart.md
new file mode 100644
index 0000000..20be819
--- /dev/null
+++ b/erpnext/docs/user/website/shopping-cart.md
@@ -0,0 +1,41 @@
+On the Webpage, a shopping cart is an icon that allows you to store all the
+things that you have earmarked for purchasing. It is a graphical
+representation of a shopping basket or a shopping cart that allows you to save
+the items you intend to buy.
+
+This software displays the price of the product . It also displays shipping
+and handling charges, along with taxes, if applicable.
+
+To set up a shopping cart, go to the selling module.
+
+> Selling > Shopping Cart Settings
+
+#### Step 1: Enter Company Details and Default Territory.
+
+![Shopping Cart](/assets/manual_erpnext_com/old_images/erpnext/shopping-cart-1.png)
+
+  
+
+#### Step 2: Enter Price List, Tax Master and Shipping Rule.
+
+![Shopping Cart](/assets/manual_erpnext_com/old_images/erpnext/shopping-cart-2.png)
+
+  
+
+#### Shopping Cart Display
+
+On the Website, the shopping cart image will be seen below the Item price.
+Customers can click on the cart and enter the amount of quantity they wish to
+buy. The Item number will be stored on the right hand corner of the page, next
+to the flower sign.
+
+![Shopping Cart](/assets/manual_erpnext_com/old_images/erpnext/shopping-cart-display-1.png)
+
+  
+
+Click on the flower sign on the right hand side to see the cart details. Click
+on the cart to get the final amount details.
+
+![Shopping Cart](/assets/manual_erpnext_com/old_images/erpnext/shopping-cart-display-amount.png)
+
+{next}
diff --git a/erpnext/docs/user/website/styling-the-website.md b/erpnext/docs/user/website/styling-the-website.md
new file mode 100644
index 0000000..60af9bc
--- /dev/null
+++ b/erpnext/docs/user/website/styling-the-website.md
@@ -0,0 +1,23 @@
+You can set some basic styles to your page using the styles feature.
+
+#### Background
+
+You can either set a solid background by selecting a color. You can attach a
+file and select it in the “Background Image” box.
+
+#### Fonts
+
+Fonts: Font family of your body text (includes some Open Source fonts). Font-
+size: Font-size of your website body text (large is good). Heading Font: Font
+family of your headings.
+
+Apart from this you can also add custom style rules using CSS
+
+#### Custom CSS
+
+There are tons of CSS rules and tricks that fall out of scope of this manual.
+But you could add your own style to certain elements like h1, h2 etc and also
+create your own style classes that you can use in elements in your body
+content.
+
+{next}
diff --git a/erpnext/docs/user/website/web-form.md b/erpnext/docs/user/website/web-form.md
new file mode 100644
index 0000000..3eb432a
--- /dev/null
+++ b/erpnext/docs/user/website/web-form.md
@@ -0,0 +1,36 @@
+# Web Forms
+
+<p class="lead">Add forms to the website that will add / update data in your tables. Allow users to edit / manage multiple web forms</p>
+
+You can add forms in your website for example, Contact Us, Inquiry, Complaint etc. Data from these can fill up records like Lead, Opportunity, Issue etc. The user can also be allowed manage multiple records (like Complaints etc.)
+
+---
+
+### Creating
+
+To create a new **Web Form** go to:
+
+> Website > Web Form > New
+
+1. Set the Web Form title and url.
+1. Select the **DocType** in which you want the user to store the records.
+1. Select if you require the user to login, edit records, manage multiple records etc.
+1. Add the fields you want in the record.
+
+<img class="screenshot" alt="Web Form" src="/assets/manual_erpnext_com/img/website/web-form.png">
+
+---
+
+### Viewing
+
+Once you create the web form, you can view it on the url and test it out!
+
+<img class="screenshot" alt="Web form" src="/assets/manual_erpnext_com/img/website/web-form-view.png">
+
+---
+
+### Results
+
+Your data will be stored in the table you have selected
+
+{next}
diff --git a/erpnext/docs/user/website/web-page.md b/erpnext/docs/user/website/web-page.md
new file mode 100644
index 0000000..103b1cb
--- /dev/null
+++ b/erpnext/docs/user/website/web-page.md
@@ -0,0 +1,32 @@
+<p class="lead">Static Content like your Home Page, About Us, Contact Us, Terms pages can be created using the Web Page. </p>
+
+To create a new Web Page, go to:
+
+> Website > Web Page > New
+
+<img class="screenshot" alt="Web Page" src="/assets/manual_erpnext_com/img/website/web-page.png">
+
+#### Title
+
+The first thing to set is the title of your page. The title has the maximum
+weight for search engines so choose a title that reflects the keywords that
+you are targeting for your audience.
+
+#### Content
+
+After selecting your layout, you can add content (text, images, etc) to each
+of your content boxes. You can add content in Markdown or HTML format. Read
+the section on how to format using Markdown, for more details.
+
+#### Page Link
+
+The web link to your page will be the value of the “Page Name” field +
+“.html”. For example if your page name is contact-us, the web link of your
+page will be yoursite.com/contact-us.html.
+
+#### Images
+
+You can attach images to your web page and show them using the  HTML tag or
+using markdown format. the link to your file will be assets/manual_erpnext_com/old_images/erpnext/filename
+
+{next}
diff --git a/erpnext/hooks.py b/erpnext/hooks.py
index 51d0b5c..9af2d21 100644
--- a/erpnext/hooks.py
+++ b/erpnext/hooks.py
@@ -30,6 +30,8 @@
 app_icon = "icon-th"
 app_color = "#e74c3c"
 app_version = "6.7.7"
+app_email = "info@erpnext.com"
+app_license = "GNU General Public License (v3)"
 source_link = "https://github.com/frappe/erpnext"
 
 error_report_email = "support@erpnext.com"
diff --git a/erpnext/templates/pages/edit-profile.html b/erpnext/templates/pages/edit-profile.html
new file mode 100644
index 0000000..82ad6fa
--- /dev/null
+++ b/erpnext/templates/pages/edit-profile.html
@@ -0,0 +1,53 @@
+{% block title %} {{ "My Profile" }} {% endblock %}
+
+{% block header %}<h2>My Profile</h2>{% endblock %}
+
+{% block content %}
+<div class="user-content" style="max-width: 500px;">
+	<div class="alert alert-warning" id="message" style="display: none;"></div>
+	<form>
+		<fieldset>
+			<label>Full Name</label>
+			<input class="form-control" type="text" id="fullname" placeholder="Your Name">
+		</fieldset>
+		<fieldset>
+			<label>Company Name</label>
+			<input class="form-control" type="text" id="company_name" placeholder="Company Name" value="{{ company_name }}">
+		</fieldset>
+		<fieldset>
+			<label>Mobile No</label>
+			<input class="form-control" type="text" id="mobile_no" placeholder="Mobile No" value="{{ mobile_no }}">
+		</fieldset>
+		<fieldset>
+			<label>Phone</label>
+			<input class="form-control" type="text" id="phone" placeholder="Phone" value="{{ phone }}">
+		</fieldset>
+		<button id="update_user" type="submit" class="btn btn-default">Update</button>
+	</form>
+</div>
+<script>
+$(document).ready(function() {
+	$("#fullname").val(getCookie("full_name") || "");
+	$("#update_user").click(function() {
+		frappe.call({
+			method: "erpnext.templates.pages.edit_profile.update_user",
+			type: "POST",
+			args: {
+				fullname: $("#fullname").val(),
+				company_name: $("#company_name").val(),
+				mobile_no: $("#mobile_no").val(),
+				phone: $("#phone").val()
+			},
+			btn: this,
+			msg: $("#message"),
+			callback: function(r) {
+				if(!r.exc) $("#user-full-name").html($("#fullname").val());
+			}
+		});
+		return false;
+	})
+})
+</script>
+<!-- no-sidebar -->
+{% endblock %}
+
diff --git a/erpnext/templates/pages/user.py b/erpnext/templates/pages/edit_profile.py
similarity index 100%
rename from erpnext/templates/pages/user.py
rename to erpnext/templates/pages/edit_profile.py
diff --git a/erpnext/templates/pages/user.html b/erpnext/templates/pages/user.html
deleted file mode 100644
index e9f356d..0000000
--- a/erpnext/templates/pages/user.html
+++ /dev/null
@@ -1,57 +0,0 @@
-{% block title %} {{ "My Profile" }} {% endblock %}
-
-{% block header %}<h2>My Profile</h2>{% endblock %}
-
-{% block content %}
-<div class="user-content" style="max-width: 500px;">
-    <ul class="breadcrumb">
-    	<li><a href="/index">Home</a></li>
-    	<li class="active"><i class="icon-user icon-fixed-width"></i> My Profile</li>
-    </ul>
-	<div class="alert alert-warning" id="message" style="display: none;"></div>
-	<form>
-		<fieldset>
-			<label>Full Name</label>
-			<input class="form-control" type="text" id="fullname" placeholder="Your Name">
-		</fieldset>
-		<fieldset>
-			<label>Company Name</label>
-			<input class="form-control" type="text" id="company_name" placeholder="Company Name" value="{{ company_name }}">
-		</fieldset>
-		<fieldset>
-			<label>Mobile No</label>
-			<input class="form-control" type="text" id="mobile_no" placeholder="Mobile No" value="{{ mobile_no }}">
-		</fieldset>
-		<fieldset>
-			<label>Phone</label>
-			<input class="form-control" type="text" id="phone" placeholder="Phone" value="{{ phone }}">
-		</fieldset>
-		<button id="update_user" type="submit" class="btn btn-default">Update</button>
-	</form>
-</div>
-<script>
-$(document).ready(function() {
-	$("#fullname").val(getCookie("full_name") || "");
-	$("#update_user").click(function() {
-		frappe.call({
-			method: "erpnext.templates.pages.user.update_user",
-			type: "POST",
-			args: {
-				fullname: $("#fullname").val(),
-				company_name: $("#company_name").val(),
-				mobile_no: $("#mobile_no").val(),
-				phone: $("#phone").val()
-			},
-			btn: this,
-			msg: $("#message"),
-			callback: function(r) {
-				if(!r.exc) $("#user-full-name").html($("#fullname").val());
-			}
-		});
-		return false;
-	})
-})
-</script>
-<!-- no-sidebar -->
-{% endblock %}
-