diff --git a/erpnext/docs/assets/img/human-resources/leave-allocation-tool.png b/erpnext/docs/assets/img/human-resources/leave-allocation-tool.png
new file mode 100644
index 0000000000..c79bd952b2
Binary files /dev/null and b/erpnext/docs/assets/img/human-resources/leave-allocation-tool.png differ
diff --git a/erpnext/docs/assets/img/human-resources/leave-block-list.png b/erpnext/docs/assets/img/human-resources/leave-block-list.png
new file mode 100644
index 0000000000..bd0aa152a5
Binary files /dev/null and b/erpnext/docs/assets/img/human-resources/leave-block-list.png differ
diff --git a/erpnext/docs/assets/img/human-resources/manual-leave-allocation.png b/erpnext/docs/assets/img/human-resources/manual-leave-allocation.png
new file mode 100644
index 0000000000..67ad8144ba
Binary files /dev/null and b/erpnext/docs/assets/img/human-resources/manual-leave-allocation.png differ
diff --git a/erpnext/docs/assets/img/human-resources/new-leave-application.png b/erpnext/docs/assets/img/human-resources/new-leave-application.png
new file mode 100644
index 0000000000..e02b7ddc42
Binary files /dev/null and b/erpnext/docs/assets/img/human-resources/new-leave-application.png differ
diff --git a/erpnext/docs/assets/img/human-resources/new-leave-type.png b/erpnext/docs/assets/img/human-resources/new-leave-type.png
new file mode 100644
index 0000000000..3004b091ae
Binary files /dev/null and b/erpnext/docs/assets/img/human-resources/new-leave-type.png differ
diff --git a/erpnext/docs/current/api/controllers/erpnext.controllers.item_variant.html b/erpnext/docs/current/api/controllers/erpnext.controllers.item_variant.html
index 3720e8227b..39f6545929 100644
--- a/erpnext/docs/current/api/controllers/erpnext.controllers.item_variant.html
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.item_variant.html
@@ -100,7 +100,7 @@
erpnext.controllers.item_variant.find_variant
- (item, args)
+ (template, args, variant_item_code=None)
Validates Attributes and their Values, then looks for an exactly matching Item Variant
diff --git a/erpnext/docs/current/api/setup/erpnext.setup.install.html b/erpnext/docs/current/api/setup/erpnext.setup.install.html
index a1c18af002..02c58d287e 100644
--- a/erpnext/docs/current/api/setup/erpnext.setup.install.html
+++ b/erpnext/docs/current/api/setup/erpnext.setup.install.html
@@ -49,6 +49,22 @@
+
+
+
+ erpnext.setup.install.check_setup_wizard_not_completed
+ ()
+
+
+
+
+
+
+
+
+
+
diff --git a/erpnext/docs/current/api/setup/setup_wizard/erpnext.setup.setup_wizard.setup_wizard.html b/erpnext/docs/current/api/setup/setup_wizard/erpnext.setup.setup_wizard.setup_wizard.html
index 83a4a2390b..db1c3f313c 100644
--- a/erpnext/docs/current/api/setup/setup_wizard/erpnext.setup.setup_wizard.setup_wizard.html
+++ b/erpnext/docs/current/api/setup/setup_wizard/erpnext.setup.setup_wizard.setup_wizard.html
@@ -33,6 +33,22 @@
+
+
+
+ erpnext.setup.setup_wizard.setup_wizard.create_bank_account
+ (args)
+
+
+
+
+
+
+
+
+
+
diff --git a/erpnext/docs/current/index.html b/erpnext/docs/current/index.html
index 4247622382..10582bef30 100644
--- a/erpnext/docs/current/index.html
+++ b/erpnext/docs/current/index.html
@@ -35,7 +35,7 @@
Version
- 6.15.0
+ 6.15.1
|
diff --git a/erpnext/docs/current/models/accounts/account.html b/erpnext/docs/current/models/accounts/account.html
index 5b3103d65c..bbc0203e32 100644
--- a/erpnext/docs/current/models/accounts/account.html
+++ b/erpnext/docs/current/models/accounts/account.html
@@ -946,6 +946,10 @@ Credit
+
+
+
+
diff --git a/erpnext/docs/current/models/accounts/shipping_rule.html b/erpnext/docs/current/models/accounts/shipping_rule.html
index beadc90ff4..8f859cbc60 100644
--- a/erpnext/docs/current/models/accounts/shipping_rule.html
+++ b/erpnext/docs/current/models/accounts/shipping_rule.html
@@ -413,6 +413,15 @@ Net Weight
+
+
+
+
+Shopping Cart Shipping Rule
+
+
+
+
diff --git a/erpnext/docs/current/models/buying/purchase_order.html b/erpnext/docs/current/models/buying/purchase_order.html
index dc502d159c..202cb44a10 100644
--- a/erpnext/docs/current/models/buying/purchase_order.html
+++ b/erpnext/docs/current/models/buying/purchase_order.html
@@ -1583,6 +1583,20 @@ Yearly
+
+
+
+ is_against_so
+ (self)
+
+
+
+
+
+
+
+
diff --git a/erpnext/docs/current/models/setup/company.html b/erpnext/docs/current/models/setup/company.html
index bafb0191ae..27e2294966 100644
--- a/erpnext/docs/current/models/setup/company.html
+++ b/erpnext/docs/current/models/setup/company.html
@@ -111,7 +111,8 @@ Legal Entity / Subsidiary with a separate Chart of Accounts belonging to the Org
Distribution
Manufacturing
Retail
-Services
+Services
+Education
diff --git a/erpnext/docs/current/models/stock/delivery_note.html b/erpnext/docs/current/models/stock/delivery_note.html
index 64a872b006..2213e24150 100644
--- a/erpnext/docs/current/models/stock/delivery_note.html
+++ b/erpnext/docs/current/models/stock/delivery_note.html
@@ -1316,8 +1316,20 @@ Campaign
-
+
86 |
+ per_billed |
+
+ Currency |
+
+ % Amount Billed
+
+ |
+ |
+
+
+
+ 87 |
printing_details |
Section Break |
@@ -1329,7 +1341,7 @@ Campaign
- 87 |
+ 88 |
letter_head |
Link |
@@ -1350,7 +1362,7 @@ Campaign
- 88 |
+ 89 |
select_print_heading |
Link |
@@ -1371,7 +1383,7 @@ Campaign
- 89 |
+ 90 |
column_break_88 |
Column Break |
@@ -1383,7 +1395,7 @@ Campaign
- 90 |
+ 91 |
print_without_amount |
Check |
@@ -1395,7 +1407,7 @@ Campaign
- 91 |
+ 92 |
section_break_83 |
Section Break |
@@ -1407,7 +1419,7 @@ Campaign
- 92 |
+ 93 |
status |
Select |
@@ -1418,14 +1430,15 @@ Campaign
Draft
-Submitted
+To Bill
+Completed
Cancelled
Closed
|
- 93 |
+ 94 |
per_installed |
Percent |
@@ -1438,7 +1451,7 @@ Closed
- 94 |
+ 95 |
installation_status |
Select |
@@ -1450,7 +1463,7 @@ Closed
- 95 |
+ 96 |
column_break_89 |
Column Break |
@@ -1462,7 +1475,7 @@ Closed
- 96 |
+ 97 |
to_warehouse |
Link |
@@ -1484,7 +1497,7 @@ Closed
- 97 |
+ 98 |
excise_page |
Data |
@@ -1496,7 +1509,7 @@ Closed
- 98 |
+ 99 |
instructions |
Text |
@@ -1508,7 +1521,7 @@ Closed
- 99 |
+ 100 |
sales_team_section_break |
Section Break |
@@ -1522,7 +1535,7 @@ Closed
- 100 |
+ 101 |
sales_partner |
Link |
@@ -1543,7 +1556,7 @@ Closed
- 101 |
+ 102 |
column_break7 |
Column Break |
@@ -1555,7 +1568,7 @@ Closed
- 102 |
+ 103 |
commission_rate |
Float |
@@ -1567,7 +1580,7 @@ Closed
- 103 |
+ 104 |
total_commission |
Currency |
@@ -1581,7 +1594,7 @@ Closed
- 104 |
+ 105 |
section_break1 |
Section Break |
@@ -1593,7 +1606,7 @@ Closed
- 105 |
+ 106 |
sales_team |
Table |
diff --git a/erpnext/docs/current/models/stock/delivery_note_item.html b/erpnext/docs/current/models/stock/delivery_note_item.html
index c7abefed9d..1c48c11e0e 100644
--- a/erpnext/docs/current/models/stock/delivery_note_item.html
+++ b/erpnext/docs/current/models/stock/delivery_note_item.html
@@ -746,6 +746,20 @@
49 |
+ billed_amt |
+
+ Currency |
+
+ Billed Amt
+
+ |
+
+ currency
+ |
+
+
+
+ 50 |
page_break |
Check |
diff --git a/erpnext/docs/current/models/stock/price_list.html b/erpnext/docs/current/models/stock/price_list.html
index 60d5b2eabe..28e2cec31e 100644
--- a/erpnext/docs/current/models/stock/price_list.html
+++ b/erpnext/docs/current/models/stock/price_list.html
@@ -391,6 +391,8 @@ Price List Master
+
+
diff --git a/erpnext/docs/current/models/stock/purchase_receipt.html b/erpnext/docs/current/models/stock/purchase_receipt.html
index ee9ed2768d..0a3cc11f24 100644
--- a/erpnext/docs/current/models/stock/purchase_receipt.html
+++ b/erpnext/docs/current/models/stock/purchase_receipt.html
@@ -1082,7 +1082,8 @@ Yes
Draft
-Submitted
+To Bill
+Completed
Cancelled
Closed
|
@@ -1157,6 +1158,18 @@ Closed
77 |
+ per_billed |
+
+ Percent |
+
+ % Amount Billed
+
+ |
+ |
+
+
+
+ 78 |
company |
Link |
@@ -1177,7 +1190,7 @@ Closed
- 78 |
+ 79 |
fiscal_year |
Link |
@@ -1198,7 +1211,7 @@ Closed
- 79 |
+ 80 |
printing_settings |
Section Break |
@@ -1210,7 +1223,7 @@ Closed
- 80 |
+ 81 |
letter_head |
Link |
@@ -1231,7 +1244,7 @@ Closed
- 81 |
+ 82 |
select_print_heading |
Link |
@@ -1252,7 +1265,7 @@ Closed
- 82 |
+ 83 |
other_details |
HTML |
@@ -1264,7 +1277,7 @@ Closed
- 83 |
+ 84 |
instructions |
Small Text |
@@ -1276,7 +1289,7 @@ Closed
- 84 |
+ 85 |
remarks |
Small Text |
@@ -1288,7 +1301,7 @@ Closed
- 85 |
+ 86 |
transporter_info |
Section Break |
@@ -1302,7 +1315,7 @@ Closed
- 86 |
+ 87 |
transporter_name |
Data |
@@ -1314,7 +1327,7 @@ Closed
- 87 |
+ 88 |
column_break5 |
Column Break |
@@ -1326,7 +1339,7 @@ Closed
- 88 |
+ 89 |
lr_no |
Data |
@@ -1338,7 +1351,7 @@ Closed
- 89 |
+ 90 |
lr_date |
Date |
diff --git a/erpnext/docs/current/models/stock/purchase_receipt_item.html b/erpnext/docs/current/models/stock/purchase_receipt_item.html
index 025f291cdc..1ee6b14086 100644
--- a/erpnext/docs/current/models/stock/purchase_receipt_item.html
+++ b/erpnext/docs/current/models/stock/purchase_receipt_item.html
@@ -794,6 +794,18 @@
53 |
+ billed_amt |
+
+ Currency |
+
+ Billed Amt
+
+ |
+ |
+
+
+
+ 54 |
brand |
Link |
@@ -814,7 +826,7 @@
- 54 |
+ 55 |
item_group |
Link |
@@ -835,7 +847,7 @@
- 55 |
+ 56 |
rm_supp_cost |
Currency |
@@ -849,7 +861,7 @@
- 56 |
+ 57 |
item_tax_amount |
Currency |
@@ -863,7 +875,7 @@
- 57 |
+ 58 |
landed_cost_voucher_amount |
Currency |
@@ -875,7 +887,7 @@
- 58 |
+ 59 |
valuation_rate |
Currency |
@@ -889,7 +901,7 @@
- 59 |
+ 60 |
item_tax_rate |
Small Text |
@@ -903,7 +915,7 @@ Used for Taxes and Charges
- 60 |
+ 61 |
page_break |
Check |
diff --git a/erpnext/docs/current/models/stock/warehouse.html b/erpnext/docs/current/models/stock/warehouse.html
index c0fa5d3d6b..2d7108b2b0 100644
--- a/erpnext/docs/current/models/stock/warehouse.html
+++ b/erpnext/docs/current/models/stock/warehouse.html
@@ -629,6 +629,8 @@ A logical Warehouse against which stock entries are made.
+
+
diff --git a/erpnext/docs/user/manual/en/human-resources/index.txt b/erpnext/docs/user/manual/en/human-resources/index.txt
index caa3292951..33ee4bb3c2 100644
--- a/erpnext/docs/user/manual/en/human-resources/index.txt
+++ b/erpnext/docs/user/manual/en/human-resources/index.txt
@@ -1,5 +1,5 @@
employee
-leave-application
+leave
expense-claim
attendance
salary-and-payroll
diff --git a/erpnext/docs/user/manual/en/human-resources/leave.md b/erpnext/docs/user/manual/en/human-resources/leave.md
new file mode 100644
index 0000000000..5b32a2b34d
--- /dev/null
+++ b/erpnext/docs/user/manual/en/human-resources/leave.md
@@ -0,0 +1,92 @@
+#Overview
+This section enables you to manage leave schedule of your organization. It also explains the way employees can apply for leaves.
+Employees create leave request and manager (leave approver) approves or rejects the request. You can select from a number of leave types such as sick leave, casual leave, privilege leave and so on. You can also allocate leaves to your employees and generate reports to track leaves record.
+
+---
+
+#Leave Type
+
+> Human Resources > Setup > Leave Type > New Leave Type
+
+Leave Type refers to types of leave allotted to an employee by a company. An employee can select a particular Leave Type while requesting for a leave. You can create any number of Leave Types based on your company’s
+requirement.
+
+
+
+**Max Days Leave Allowed:** It refers to maximum number of days this particular Leave Type can be availed at a stretch. If an employee exceeds the maximum number of days under a particular Leave Type, his/her extended leave may be considered as ‘Leave Without Pay’ and this may affect his/her salary calculation.
+
+**Is Carry Forward:** If checked, the balance leave will be carried forwarded to the next allocation period.
+
+**Is Leave Without Pay:** This ensures that the Leave Type will be treated as leaves whithout pay and salary will get deducted for this Leave Type.
+
+**Allow Nagative Balance:** If checked, system will always allow to approve leave application for the Leave Type, even if there is no leave balance.
+
+**Include holidays within leaves as leaves:** Check this option if you wish to count holidays within leaves as a ‘leave’. Such holidays will be deducted from the total number of leaves.
+
+###Default Leave Types
+There are some pre-loaded Leave Types in the system, as below:
+
+- **Leave Without Pay:** You can avail these leaves for different purposes, such as, extended medical issues, educational purpose or unavoidable personal reason. Employee does not get paid for such leaves.
+- **Privilege leave:** These are like earned leaves which can be availed for the purpose of travel, family vacation and so on.
+- **Sick leave:** You can avail these leaves if you are unwell.
+- **Compensatory off:** These are compensatory leave allotted to employees for overtime work.
+- **Casual leave:** You can avail this leave to take care of urgent and unseen matters.
+
+---
+
+#Leave Allocation
+
+Leave Allocation enables you to allot a specific number of leaves to a particular employee. You can allocate a number of leaves to different types of leave. You also have the option to allocate leaves to your employees manually or via the Leave Allocation Tool.
+
+###Manual Allocation
+> Human Resources > Setup > Leave Allocation > New Leave Allocation
+
+To allocate leaves to an Employee, select the period and the number of leaves you want to allocate. You can also add unused leaves from previous allocation period.
+
+
+
+###Via Leave Allocation Tool
+> Human Resources > Tools > Leave Allocation Tool
+
+This tool enables you to allocate leaves for a category of employees, instead of individual ones. You can allocate leaves based on Employee Type, Branch, Department and Designation. Leave Allocation Tool is also known as Leave Control Panel.
+
+
+
+---
+
+#Leave Application
+> Human Resources > Documents > Leave Application > New Leave Application
+
+Leave Application section enables an employee to apply for leaves. Employee can select the type of leave and the Leave Approver who will authorize the Leave Application. User with "Leave Approver" role are considered as Leave approver. Leave Approvers can also be restricted/pre-defined in the Employee record. Based on selected dates and applicable Holiday List, total leave days is calculated automatically.
+
+**Basic Workflow:**
+
+- Employee applies for leave through Leave Application
+- Approver gets notification via email, "Follow via Email" should be checked for this.
+- Approver reviews Leave Application
+- Approver approves/rejects Leave Application
+- Employee gets notification on the status of his/her Leave Application
+
+
+
+
+**Notes:**
+
+- Leave Application period must be within a single Leave Allocation period. In case, you are applying for leave across leave allocation period, you have to create two Leave Application records.
+- Application period must be in the latest Allocation period.
+- Employee can't apply for leave on the dates which are added in the "Leave Block List".
+
+---
+
+#Leave Block List
+
+> Human Resources > Setup > Leave Block List > New Leave Block List
+
+Leave Block List is a list of dates in a year, on which employees can not apply for leave. You can define a list of users who can approve Leave Application on blocked days, in case of urgency. You can also define whether the list will applied on entire company or any specific departments.
+
+
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/human-resources/setup/index.txt b/erpnext/docs/user/manual/en/human-resources/setup/index.txt
index 550236a2b3..b8681864b4 100644
--- a/erpnext/docs/user/manual/en/human-resources/setup/index.txt
+++ b/erpnext/docs/user/manual/en/human-resources/setup/index.txt
@@ -5,6 +5,4 @@ department
designation
earning-type
deduction-type
-leave-allocation
-leave-type
holiday-list
diff --git a/erpnext/docs/user/manual/en/human-resources/setup/leave-allocation.md b/erpnext/docs/user/manual/en/human-resources/setup/leave-allocation.md
deleted file mode 100644
index 0e8ee945b3..0000000000
--- a/erpnext/docs/user/manual/en/human-resources/setup/leave-allocation.md
+++ /dev/null
@@ -1,7 +0,0 @@
-Helps you allocate Leaves to a particular Employee
-
-
-
-To assign leaves to multiple employees use the [Leave Allocation Tool]({{docs_base_url}}/user/manual/en/human-resources/tools/leave-allocation-tool.html)
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/human-resources/setup/leave-type.md b/erpnext/docs/user/manual/en/human-resources/setup/leave-type.md
deleted file mode 100644
index d52cb2e8a2..0000000000
--- a/erpnext/docs/user/manual/en/human-resources/setup/leave-type.md
+++ /dev/null
@@ -1,9 +0,0 @@
-Specify the Type of Leave that can be allocated against an Employee
-
-
-
-* '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/manual/en/human-resources/tools/index.txt b/erpnext/docs/user/manual/en/human-resources/tools/index.txt
index 3da2e7166a..0d74de7e12 100644
--- a/erpnext/docs/user/manual/en/human-resources/tools/index.txt
+++ b/erpnext/docs/user/manual/en/human-resources/tools/index.txt
@@ -1,2 +1 @@
-upload-attendance
-leave-allocation-tool
\ No newline at end of file
+upload-attendance
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/human-resources/tools/leave-allocation-tool.md b/erpnext/docs/user/manual/en/human-resources/tools/leave-allocation-tool.md
deleted file mode 100644
index 56e8d3dee0..0000000000
--- a/erpnext/docs/user/manual/en/human-resources/tools/leave-allocation-tool.md
+++ /dev/null
@@ -1,5 +0,0 @@
-Leave Allocation tool helps you allocated a specific number of leaves for your employees.
-
-
-
-{next}
\ No newline at end of file