[docs] merged kb and cleanup. warning: don't see the commit
diff --git a/erpnext/docs/assets/img/articles/$SGrab_223.png b/erpnext/docs/assets/img/articles/$SGrab_223.png
new file mode 100644
index 0000000..5091620
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_223.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_238.png b/erpnext/docs/assets/img/articles/$SGrab_238.png
new file mode 100644
index 0000000..5f59d4f
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_238.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_241.png b/erpnext/docs/assets/img/articles/$SGrab_241.png
new file mode 100644
index 0000000..ad74fc4
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_241.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_242.png b/erpnext/docs/assets/img/articles/$SGrab_242.png
new file mode 100644
index 0000000..751fbb1
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_242.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_253.png b/erpnext/docs/assets/img/articles/$SGrab_253.png
new file mode 100644
index 0000000..6964925
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_253.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_254.png b/erpnext/docs/assets/img/articles/$SGrab_254.png
new file mode 100644
index 0000000..7b2ea78
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_254.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_256.png b/erpnext/docs/assets/img/articles/$SGrab_256.png
new file mode 100644
index 0000000..1fabda3
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_256.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_258.png b/erpnext/docs/assets/img/articles/$SGrab_258.png
new file mode 100644
index 0000000..c5d59f8
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_258.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_260.png b/erpnext/docs/assets/img/articles/$SGrab_260.png
new file mode 100644
index 0000000..4ba692b
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_260.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_261.png b/erpnext/docs/assets/img/articles/$SGrab_261.png
new file mode 100644
index 0000000..a8a9fa4
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_261.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_306.png b/erpnext/docs/assets/img/articles/$SGrab_306.png
new file mode 100644
index 0000000..ebbb007
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_306.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_307.png b/erpnext/docs/assets/img/articles/$SGrab_307.png
new file mode 100644
index 0000000..f3d1ee1
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_307.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_316.png b/erpnext/docs/assets/img/articles/$SGrab_316.png
new file mode 100644
index 0000000..79eea96
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_316.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_317.png b/erpnext/docs/assets/img/articles/$SGrab_317.png
new file mode 100644
index 0000000..b80e98c
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_317.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_318.png b/erpnext/docs/assets/img/articles/$SGrab_318.png
new file mode 100644
index 0000000..6aa68be
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_318.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_323.png b/erpnext/docs/assets/img/articles/$SGrab_323.png
new file mode 100644
index 0000000..e97f343
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_323.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_327.png b/erpnext/docs/assets/img/articles/$SGrab_327.png
new file mode 100644
index 0000000..8e63c70
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_327.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_328.png b/erpnext/docs/assets/img/articles/$SGrab_328.png
new file mode 100644
index 0000000..88882c1
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_328.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_329.png b/erpnext/docs/assets/img/articles/$SGrab_329.png
new file mode 100644
index 0000000..fa3711b
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_329.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_330.png b/erpnext/docs/assets/img/articles/$SGrab_330.png
new file mode 100644
index 0000000..f1fe4f2
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_330.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_331.png b/erpnext/docs/assets/img/articles/$SGrab_331.png
new file mode 100644
index 0000000..3c4d10d
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_331.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_349.png b/erpnext/docs/assets/img/articles/$SGrab_349.png
new file mode 100644
index 0000000..dec8468
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_349.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_350.png b/erpnext/docs/assets/img/articles/$SGrab_350.png
new file mode 100644
index 0000000..aa5793a
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_350.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_352.png b/erpnext/docs/assets/img/articles/$SGrab_352.png
new file mode 100644
index 0000000..0c34c11
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_352.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_353.png b/erpnext/docs/assets/img/articles/$SGrab_353.png
new file mode 100644
index 0000000..159d2e2
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_353.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_383.png b/erpnext/docs/assets/img/articles/$SGrab_383.png
new file mode 100644
index 0000000..720ecdf
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_383.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_384.png b/erpnext/docs/assets/img/articles/$SGrab_384.png
new file mode 100644
index 0000000..d67bcb2
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_384.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_385.png b/erpnext/docs/assets/img/articles/$SGrab_385.png
new file mode 100644
index 0000000..c2cad13
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_385.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_386.png b/erpnext/docs/assets/img/articles/$SGrab_386.png
new file mode 100644
index 0000000..e530064
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_386.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_387.png b/erpnext/docs/assets/img/articles/$SGrab_387.png
new file mode 100644
index 0000000..c7ec59b
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_387.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_389.png b/erpnext/docs/assets/img/articles/$SGrab_389.png
new file mode 100644
index 0000000..ee1b8cb
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_389.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_390.png b/erpnext/docs/assets/img/articles/$SGrab_390.png
new file mode 100644
index 0000000..b936c07
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_390.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_391.png b/erpnext/docs/assets/img/articles/$SGrab_391.png
new file mode 100644
index 0000000..79595ae
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_391.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_392.png b/erpnext/docs/assets/img/articles/$SGrab_392.png
new file mode 100644
index 0000000..677e7c9
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_392.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_393.png b/erpnext/docs/assets/img/articles/$SGrab_393.png
new file mode 100644
index 0000000..9ba5acf
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_393.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_394.png b/erpnext/docs/assets/img/articles/$SGrab_394.png
new file mode 100644
index 0000000..222a5dc
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_394.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_406.png b/erpnext/docs/assets/img/articles/$SGrab_406.png
new file mode 100644
index 0000000..022eeb8
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_406.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_407.png b/erpnext/docs/assets/img/articles/$SGrab_407.png
new file mode 100644
index 0000000..bc75a10
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_407.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_408.png b/erpnext/docs/assets/img/articles/$SGrab_408.png
new file mode 100644
index 0000000..bcd3d83
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_408.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_418.png b/erpnext/docs/assets/img/articles/$SGrab_418.png
new file mode 100644
index 0000000..f778921
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_418.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_419.png b/erpnext/docs/assets/img/articles/$SGrab_419.png
new file mode 100644
index 0000000..c396ba7
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_419.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_420.png b/erpnext/docs/assets/img/articles/$SGrab_420.png
new file mode 100644
index 0000000..9b3522e
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_420.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_422.png b/erpnext/docs/assets/img/articles/$SGrab_422.png
new file mode 100644
index 0000000..e1eabe9
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_422.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_428.png b/erpnext/docs/assets/img/articles/$SGrab_428.png
new file mode 100644
index 0000000..4ef2c60
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_428.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_429.png b/erpnext/docs/assets/img/articles/$SGrab_429.png
new file mode 100644
index 0000000..80039fa
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_429.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_431.png b/erpnext/docs/assets/img/articles/$SGrab_431.png
new file mode 100644
index 0000000..ae79a3e
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_431.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_432.png b/erpnext/docs/assets/img/articles/$SGrab_432.png
new file mode 100644
index 0000000..cc49d85
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_432.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_439.png b/erpnext/docs/assets/img/articles/$SGrab_439.png
new file mode 100644
index 0000000..2afa5fd
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_439.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/$SGrab_440.png b/erpnext/docs/assets/img/articles/$SGrab_440.png
new file mode 100644
index 0000000..6f62d34
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/$SGrab_440.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Order Copy.png b/erpnext/docs/assets/img/articles/Order Copy.png
new file mode 100644
index 0000000..5f7ede8
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Order Copy.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/SGrab_250.png b/erpnext/docs/assets/img/articles/SGrab_250.png
new file mode 100644
index 0000000..d0a24e0
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/SGrab_250.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/SGrab_282.png b/erpnext/docs/assets/img/articles/SGrab_282.png
new file mode 100644
index 0000000..3fb138a
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/SGrab_282.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/SGrab_283.png b/erpnext/docs/assets/img/articles/SGrab_283.png
new file mode 100644
index 0000000..d726339
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/SGrab_283.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/SGrab_342.png b/erpnext/docs/assets/img/articles/SGrab_342.png
new file mode 100644
index 0000000..c56f211
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/SGrab_342.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/SGrab_343.png b/erpnext/docs/assets/img/articles/SGrab_343.png
new file mode 100644
index 0000000..6dd89db
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/SGrab_343.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/SGrab_344.png b/erpnext/docs/assets/img/articles/SGrab_344.png
new file mode 100644
index 0000000..ce78397
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/SGrab_344.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-02-05 at 4.35.12 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-05 at 4.35.12 pm.png
new file mode 100644
index 0000000..804192a
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-05 at 4.35.12 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-02-10 at 5.32.56 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-10 at 5.32.56 pm.png
new file mode 100644
index 0000000..0b7045b
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-10 at 5.32.56 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-02-10 at 5.35.44 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-10 at 5.35.44 pm.png
new file mode 100644
index 0000000..59a2351
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-10 at 5.35.44 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-02-10 at 5.36.23 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-10 at 5.36.23 pm.png
new file mode 100644
index 0000000..ea5bd6a
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-10 at 5.36.23 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-02-16 at 2.52.56 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-16 at 2.52.56 pm.png
new file mode 100644
index 0000000..e20b65f
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-16 at 2.52.56 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 4.10.35 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 4.10.35 pm.png
new file mode 100644
index 0000000..bdbf34c
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 4.10.35 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 4.11.58 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 4.11.58 pm.png
new file mode 100644
index 0000000..151a0ca
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 4.11.58 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 4.13.16 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 4.13.16 pm.png
new file mode 100644
index 0000000..c491c0a
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 4.13.16 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 4.14.46 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 4.14.46 pm.png
new file mode 100644
index 0000000..63701a3
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 4.14.46 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 4.15.27 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 4.15.27 pm.png
new file mode 100644
index 0000000..d016ec0
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 4.15.27 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 5.13.50 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 5.13.50 pm.png
new file mode 100644
index 0000000..f446efc
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 5.13.50 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 5.20.52 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 5.20.52 pm.png
new file mode 100644
index 0000000..404a1cd
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 5.20.52 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 5.28.57 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 5.28.57 pm.png
new file mode 100644
index 0000000..8467e6d
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-19 at 5.28.57 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-02-26 at 3.52.10 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-26 at 3.52.10 pm.png
new file mode 100644
index 0000000..ae9f7fc
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-26 at 3.52.10 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-02-26 at 3.58.45 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-26 at 3.58.45 pm.png
new file mode 100644
index 0000000..cc16776
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-26 at 3.58.45 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-02-26 at 4.10.37 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-26 at 4.10.37 pm.png
new file mode 100644
index 0000000..186732c
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-26 at 4.10.37 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-02-26 at 4.20.30 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-26 at 4.20.30 pm.png
new file mode 100644
index 0000000..1095cb5
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-02-26 at 4.20.30 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-04-01 at 5.32.57 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-04-01 at 5.32.57 pm.png
new file mode 100644
index 0000000..44fa23f
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-04-01 at 5.32.57 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-04-02 at 3.26.51 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-04-02 at 3.26.51 pm.png
new file mode 100644
index 0000000..ac32083
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-04-02 at 3.26.51 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-04-02 at 3.58.19 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-04-02 at 3.58.19 pm.png
new file mode 100644
index 0000000..bcb05a3
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-04-02 at 3.58.19 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.26.23 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.26.23 pm.png
new file mode 100644
index 0000000..d4efcf4
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.26.23 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.27.31 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.27.31 pm.png
new file mode 100644
index 0000000..8b4f089
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.27.31 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.28.05 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.28.05 pm.png
new file mode 100644
index 0000000..dc52a73
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.28.05 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.30.27 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.30.27 pm.png
new file mode 100644
index 0000000..dab2750
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.30.27 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.31.01 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.31.01 pm.png
new file mode 100644
index 0000000..3e14711
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.31.01 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.33.24 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.33.24 pm.png
new file mode 100644
index 0000000..0dd14f6
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.33.24 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.36.29 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.36.29 pm.png
new file mode 100644
index 0000000..b848b23
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.36.29 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.37.38 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.37.38 pm.png
new file mode 100644
index 0000000..46c2047
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-04-09 at 1.37.38 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-06-11 at 4.57.01 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-06-11 at 4.57.01 pm.png
new file mode 100644
index 0000000..f4f2cd2
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-06-11 at 4.57.01 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-06-11 at 4.59.49 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-06-11 at 4.59.49 pm.png
new file mode 100644
index 0000000..8aa9371
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-06-11 at 4.59.49 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-06-11 at 5.00.06 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-06-11 at 5.00.06 pm.png
new file mode 100644
index 0000000..f7d3cd8
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-06-11 at 5.00.06 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-06-11 at 5.02.29 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-06-11 at 5.02.29 pm.png
new file mode 100644
index 0000000..13de7b7
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-06-11 at 5.02.29 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screen Shot 2015-06-11 at 5.02.54 pm.png b/erpnext/docs/assets/img/articles/Screen Shot 2015-06-11 at 5.02.54 pm.png
new file mode 100644
index 0000000..631555f
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screen Shot 2015-06-11 at 5.02.54 pm.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screenshot from 2014-11-18 17:56:19.png b/erpnext/docs/assets/img/articles/Screenshot from 2014-11-18 17:56:19.png
new file mode 100644
index 0000000..955c580
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screenshot from 2014-11-18 17:56:19.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screenshot from 2014-11-18 18:00:57.png b/erpnext/docs/assets/img/articles/Screenshot from 2014-11-18 18:00:57.png
new file mode 100644
index 0000000..73bf284
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screenshot from 2014-11-18 18:00:57.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screenshot from 2014-11-18 18:09:42.png b/erpnext/docs/assets/img/articles/Screenshot from 2014-11-18 18:09:42.png
new file mode 100644
index 0000000..a0554c8
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screenshot from 2014-11-18 18:09:42.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Screenshot from 2014-11-18 18:13:22.png b/erpnext/docs/assets/img/articles/Screenshot from 2014-11-18 18:13:22.png
new file mode 100644
index 0000000..4e73f8e
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Screenshot from 2014-11-18 18:13:22.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_001f1e2ff.png b/erpnext/docs/assets/img/articles/Selection_001f1e2ff.png
new file mode 100644
index 0000000..43f9ceb
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_001f1e2ff.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_0027e4d09.png b/erpnext/docs/assets/img/articles/Selection_0027e4d09.png
new file mode 100644
index 0000000..488906d
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_0027e4d09.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_0028c9f9a.png b/erpnext/docs/assets/img/articles/Selection_0028c9f9a.png
new file mode 100644
index 0000000..baf3ba0
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_0028c9f9a.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_003bf981b.png b/erpnext/docs/assets/img/articles/Selection_003bf981b.png
new file mode 100644
index 0000000..1595e1f
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_003bf981b.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_005d73bc7.png b/erpnext/docs/assets/img/articles/Selection_005d73bc7.png
new file mode 100644
index 0000000..13b6861
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_005d73bc7.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_00616c670.png b/erpnext/docs/assets/img/articles/Selection_00616c670.png
new file mode 100644
index 0000000..a9b5d45
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_00616c670.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_007f81dc2.png b/erpnext/docs/assets/img/articles/Selection_007f81dc2.png
new file mode 100644
index 0000000..774bac3
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_007f81dc2.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_0085ca13e.png b/erpnext/docs/assets/img/articles/Selection_0085ca13e.png
new file mode 100644
index 0000000..922c13d
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_0085ca13e.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_010496ae2.png b/erpnext/docs/assets/img/articles/Selection_010496ae2.png
new file mode 100644
index 0000000..f2e2326
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_010496ae2.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_01087d575.png b/erpnext/docs/assets/img/articles/Selection_01087d575.png
new file mode 100644
index 0000000..52c6e2d
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_01087d575.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_011.png b/erpnext/docs/assets/img/articles/Selection_011.png
new file mode 100644
index 0000000..8bf4cfa
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_011.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_0124080f1.png b/erpnext/docs/assets/img/articles/Selection_0124080f1.png
new file mode 100644
index 0000000..cca65ac
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_0124080f1.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_01244aec7.png b/erpnext/docs/assets/img/articles/Selection_01244aec7.png
new file mode 100644
index 0000000..3a1c50c
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_01244aec7.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_013.png b/erpnext/docs/assets/img/articles/Selection_013.png
new file mode 100644
index 0000000..0a76617
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_013.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_014.png b/erpnext/docs/assets/img/articles/Selection_014.png
new file mode 100644
index 0000000..f830942
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_014.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_0149d98bf.png b/erpnext/docs/assets/img/articles/Selection_0149d98bf.png
new file mode 100644
index 0000000..2a2d8fb
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_0149d98bf.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_014dd1559.png b/erpnext/docs/assets/img/articles/Selection_014dd1559.png
new file mode 100644
index 0000000..1e4d65c
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_014dd1559.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_0173436a8.png b/erpnext/docs/assets/img/articles/Selection_0173436a8.png
new file mode 100644
index 0000000..249a450
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_0173436a8.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_018ef32b6.png b/erpnext/docs/assets/img/articles/Selection_018ef32b6.png
new file mode 100644
index 0000000..7513648
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_018ef32b6.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_019811b13.png b/erpnext/docs/assets/img/articles/Selection_019811b13.png
new file mode 100644
index 0000000..dc669b8
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_019811b13.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_019bf0547.png b/erpnext/docs/assets/img/articles/Selection_019bf0547.png
new file mode 100644
index 0000000..00ffb87
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_019bf0547.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_020f01c1e.png b/erpnext/docs/assets/img/articles/Selection_020f01c1e.png
new file mode 100644
index 0000000..68ccaab
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_020f01c1e.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_021.png b/erpnext/docs/assets/img/articles/Selection_021.png
new file mode 100644
index 0000000..f4a61cf
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_021.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_02178f9d6.png b/erpnext/docs/assets/img/articles/Selection_02178f9d6.png
new file mode 100644
index 0000000..49b9c8c
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_02178f9d6.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_021ac61a5.png b/erpnext/docs/assets/img/articles/Selection_021ac61a5.png
new file mode 100644
index 0000000..49ad7e3
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_021ac61a5.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_022.png b/erpnext/docs/assets/img/articles/Selection_022.png
new file mode 100644
index 0000000..79eefa7
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_022.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_022b7c6d5.png b/erpnext/docs/assets/img/articles/Selection_022b7c6d5.png
new file mode 100644
index 0000000..7c3ca5e
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_022b7c6d5.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_026.png b/erpnext/docs/assets/img/articles/Selection_026.png
new file mode 100644
index 0000000..6617068
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_026.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_028.png b/erpnext/docs/assets/img/articles/Selection_028.png
new file mode 100644
index 0000000..cbe0d09
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_028.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_029.png b/erpnext/docs/assets/img/articles/Selection_029.png
new file mode 100644
index 0000000..adee68d
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_029.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_030.png b/erpnext/docs/assets/img/articles/Selection_030.png
new file mode 100644
index 0000000..ce37124
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_030.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_043.png b/erpnext/docs/assets/img/articles/Selection_043.png
new file mode 100644
index 0000000..55c7c91
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_043.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_044.png b/erpnext/docs/assets/img/articles/Selection_044.png
new file mode 100644
index 0000000..cbbbd97
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_044.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_046.png b/erpnext/docs/assets/img/articles/Selection_046.png
new file mode 100644
index 0000000..ec00c01
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_046.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_049.png b/erpnext/docs/assets/img/articles/Selection_049.png
new file mode 100644
index 0000000..2cf490e
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_049.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_050.png b/erpnext/docs/assets/img/articles/Selection_050.png
new file mode 100644
index 0000000..f3c1b01
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_050.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_052.png b/erpnext/docs/assets/img/articles/Selection_052.png
new file mode 100644
index 0000000..33b758d
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_052.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_052f7b160.png b/erpnext/docs/assets/img/articles/Selection_052f7b160.png
new file mode 100644
index 0000000..0ed575e
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_052f7b160.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_053.png b/erpnext/docs/assets/img/articles/Selection_053.png
new file mode 100644
index 0000000..d9e509e
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_053.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_054.png b/erpnext/docs/assets/img/articles/Selection_054.png
new file mode 100644
index 0000000..a17b1ea
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_054.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_061.png b/erpnext/docs/assets/img/articles/Selection_061.png
new file mode 100644
index 0000000..176d8c5
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_061.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_062.png b/erpnext/docs/assets/img/articles/Selection_062.png
new file mode 100644
index 0000000..a230c93
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_062.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_064.png b/erpnext/docs/assets/img/articles/Selection_064.png
new file mode 100644
index 0000000..95a0032
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_064.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_066.png b/erpnext/docs/assets/img/articles/Selection_066.png
new file mode 100644
index 0000000..5a48927
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_066.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_069.png b/erpnext/docs/assets/img/articles/Selection_069.png
new file mode 100644
index 0000000..0e19f82
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_069.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_071.png b/erpnext/docs/assets/img/articles/Selection_071.png
new file mode 100644
index 0000000..86b7cff
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_071.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_072.png b/erpnext/docs/assets/img/articles/Selection_072.png
new file mode 100644
index 0000000..e8dd519
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_072.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_078.png b/erpnext/docs/assets/img/articles/Selection_078.png
new file mode 100644
index 0000000..174cc47
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_078.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_080.png b/erpnext/docs/assets/img/articles/Selection_080.png
new file mode 100644
index 0000000..a1acd6c
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_080.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_084.png b/erpnext/docs/assets/img/articles/Selection_084.png
new file mode 100644
index 0000000..a346a74
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_084.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_085.png b/erpnext/docs/assets/img/articles/Selection_085.png
new file mode 100644
index 0000000..d8a5151
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_085.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_433.png b/erpnext/docs/assets/img/articles/Selection_433.png
new file mode 100644
index 0000000..531645c
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_433.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_434.png b/erpnext/docs/assets/img/articles/Selection_434.png
new file mode 100644
index 0000000..d1f6a76
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_434.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_435.png b/erpnext/docs/assets/img/articles/Selection_435.png
new file mode 100644
index 0000000..5153871
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_435.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_436.png b/erpnext/docs/assets/img/articles/Selection_436.png
new file mode 100644
index 0000000..097eb3f
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_436.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_437.png b/erpnext/docs/assets/img/articles/Selection_437.png
new file mode 100644
index 0000000..1faa12f
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_437.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_439.png b/erpnext/docs/assets/img/articles/Selection_439.png
new file mode 100644
index 0000000..5cf5243
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_439.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_440.png b/erpnext/docs/assets/img/articles/Selection_440.png
new file mode 100644
index 0000000..63fb04c
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_440.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_442.png b/erpnext/docs/assets/img/articles/Selection_442.png
new file mode 100644
index 0000000..55d0735
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_442.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_443.png b/erpnext/docs/assets/img/articles/Selection_443.png
new file mode 100644
index 0000000..6d045f2
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_443.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_445.png b/erpnext/docs/assets/img/articles/Selection_445.png
new file mode 100644
index 0000000..bab8185
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_445.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_446.png b/erpnext/docs/assets/img/articles/Selection_446.png
new file mode 100644
index 0000000..ecd0edd
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_446.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_447.png b/erpnext/docs/assets/img/articles/Selection_447.png
new file mode 100644
index 0000000..683c289
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_447.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_576.png b/erpnext/docs/assets/img/articles/Selection_576.png
new file mode 100644
index 0000000..5bc4f70
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_576.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_577.png b/erpnext/docs/assets/img/articles/Selection_577.png
new file mode 100644
index 0000000..abf08a1
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_577.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Selection_578.png b/erpnext/docs/assets/img/articles/Selection_578.png
new file mode 100644
index 0000000..db33446
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Selection_578.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Sselection_013.png b/erpnext/docs/assets/img/articles/Sselection_013.png
new file mode 100644
index 0000000..046de3c
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Sselection_013.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Supplier Item Code in Purchase Order.png b/erpnext/docs/assets/img/articles/Supplier Item Code in Purchase Order.png
new file mode 100644
index 0000000..2fc511c
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Supplier Item Code in Purchase Order.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/Supplier Item Code.png b/erpnext/docs/assets/img/articles/Supplier Item Code.png
new file mode 100644
index 0000000..cea3f14
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/Supplier Item Code.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/allowance_percentage.png b/erpnext/docs/assets/img/articles/allowance_percentage.png
new file mode 100644
index 0000000..519a837
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/allowance_percentage.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/allowance_percentage_item.png b/erpnext/docs/assets/img/articles/allowance_percentage_item.png
new file mode 100644
index 0000000..3d30fdc
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/allowance_percentage_item.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/delete-company.png b/erpnext/docs/assets/img/articles/delete-company.png
new file mode 100644
index 0000000..17c3bb4
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/delete-company.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/delivery-note-barcode.png b/erpnext/docs/assets/img/articles/delivery-note-barcode.png
new file mode 100644
index 0000000..25814c6
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/delivery-note-barcode.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/feature-setup-barcode.png b/erpnext/docs/assets/img/articles/feature-setup-barcode.png
new file mode 100644
index 0000000..667e3a1
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/feature-setup-barcode.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/item-barcode.png b/erpnext/docs/assets/img/articles/item-barcode.png
new file mode 100644
index 0000000..6fd0f72
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/item-barcode.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/kb_allowonsubmit_checkinfield.png b/erpnext/docs/assets/img/articles/kb_allowonsubmit_checkinfield.png
new file mode 100644
index 0000000..278d7fc
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/kb_allowonsubmit_checkinfield.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/kb_allowonsubmit_checkinform.png b/erpnext/docs/assets/img/articles/kb_allowonsubmit_checkinform.png
new file mode 100644
index 0000000..3feb746
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/kb_allowonsubmit_checkinform.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/kb_custom_name.png b/erpnext/docs/assets/img/articles/kb_custom_name.png
new file mode 100644
index 0000000..4914201
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/kb_custom_name.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/kb_po_forsupp.png b/erpnext/docs/assets/img/articles/kb_po_forsupp.png
new file mode 100644
index 0000000..4c336af
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/kb_po_forsupp.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/kb_po_itemtable.png b/erpnext/docs/assets/img/articles/kb_po_itemtable.png
new file mode 100644
index 0000000..ec7b406
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/kb_po_itemtable.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/kb_po_popup.png b/erpnext/docs/assets/img/articles/kb_po_popup.png
new file mode 100644
index 0000000..f642fdd
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/kb_po_popup.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/precision-fieldwise.png b/erpnext/docs/assets/img/articles/precision-fieldwise.png
new file mode 100644
index 0000000..45ad6c0
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/precision-fieldwise.png
Binary files differ
diff --git a/erpnext/docs/assets/img/articles/precision-global.png b/erpnext/docs/assets/img/articles/precision-global.png
new file mode 100644
index 0000000..6a5cbc0
--- /dev/null
+++ b/erpnext/docs/assets/img/articles/precision-global.png
Binary files differ
diff --git a/erpnext/docs/assets/img/home.png b/erpnext/docs/assets/img/home.png
deleted file mode 100644
index 9b24870..0000000
--- a/erpnext/docs/assets/img/home.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/img/human-resources/leave-allocation-tool.png b/erpnext/docs/assets/img/human-resources/leave-allocation-tool.png
deleted file mode 100644
index 867b8fb..0000000
--- a/erpnext/docs/assets/img/human-resources/leave-allocation-tool.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/img/manufacturing/PO-TL-buttons.png b/erpnext/docs/assets/img/manufacturing/PO-TL-buttons.png
deleted file mode 100644
index e9b8453..0000000
--- a/erpnext/docs/assets/img/manufacturing/PO-TL-buttons.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/img/manufacturing/PO-stop-confirm.png b/erpnext/docs/assets/img/manufacturing/PO-stop-confirm.png
deleted file mode 100644
index ab8b7da..0000000
--- a/erpnext/docs/assets/img/manufacturing/PO-stop-confirm.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/img/setup-wizard/step-1.png b/erpnext/docs/assets/img/setup-wizard/step-1.png
deleted file mode 100644
index 0a3c230..0000000
--- a/erpnext/docs/assets/img/setup-wizard/step-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/img/setup/customize/Doctype-adding-field.png b/erpnext/docs/assets/img/setup/customize/Doctype-adding-field.png
deleted file mode 100644
index 245ac5e..0000000
--- a/erpnext/docs/assets/img/setup/customize/Doctype-adding-field.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/img/setup/customize/Doctype-naming.png b/erpnext/docs/assets/img/setup/customize/Doctype-naming.png
deleted file mode 100644
index 91ccf23..0000000
--- a/erpnext/docs/assets/img/setup/customize/Doctype-naming.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/img/setup/customize/Doctype-other-options.png b/erpnext/docs/assets/img/setup/customize/Doctype-other-options.png
deleted file mode 100644
index 894b6b5..0000000
--- a/erpnext/docs/assets/img/setup/customize/Doctype-other-options.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/img/setup/email/email-list.png b/erpnext/docs/assets/img/setup/email/email-list.png
deleted file mode 100644
index 9567e11..0000000
--- a/erpnext/docs/assets/img/setup/email/email-list.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/img/setup/email/standard-reply.png b/erpnext/docs/assets/img/setup/email/standard-reply.png
deleted file mode 100644
index e661885..0000000
--- a/erpnext/docs/assets/img/setup/email/standard-reply.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/img/setup/print/test.gif b/erpnext/docs/assets/img/setup/print/test.gif
deleted file mode 100644
index 364a9aa..0000000
--- a/erpnext/docs/assets/img/setup/print/test.gif
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/img/setup/users/permission-1.png b/erpnext/docs/assets/img/setup/users/permission-1.png
deleted file mode 100644
index 5cad001..0000000
--- a/erpnext/docs/assets/img/setup/users/permission-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/img/setup/users/permission-2.png b/erpnext/docs/assets/img/setup/users/permission-2.png
deleted file mode 100644
index 4261bdb..0000000
--- a/erpnext/docs/assets/img/setup/users/permission-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/img/setup/users/permission-3.png b/erpnext/docs/assets/img/setup/users/permission-3.png
deleted file mode 100644
index 3d2dbb3..0000000
--- a/erpnext/docs/assets/img/setup/users/permission-3.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/img/setup/users/permission-4.png b/erpnext/docs/assets/img/setup/users/permission-4.png
deleted file mode 100644
index 80bc117..0000000
--- a/erpnext/docs/assets/img/setup/users/permission-4.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/img/setup/users/role-1.png b/erpnext/docs/assets/img/setup/users/role-1.png
deleted file mode 100644
index 15864ac..0000000
--- a/erpnext/docs/assets/img/setup/users/role-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/img/stock/item-1.png b/erpnext/docs/assets/img/stock/item-1.png
deleted file mode 100644
index 2bd7a81..0000000
--- a/erpnext/docs/assets/img/stock/item-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/img/stock/manage-variants.png b/erpnext/docs/assets/img/stock/manage-variants.png
deleted file mode 100644
index 342a12f..0000000
--- a/erpnext/docs/assets/img/stock/manage-variants.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/img/stock/uom-replace.png b/erpnext/docs/assets/img/stock/uom-replace.png
deleted file mode 100644
index 2817e61..0000000
--- a/erpnext/docs/assets/img/stock/uom-replace.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/conf/erpnext-conf-14.png b/erpnext/docs/assets/old_images/conf/erpnext-conf-14.png
deleted file mode 100644
index 30786ba..0000000
--- a/erpnext/docs/assets/old_images/conf/erpnext-conf-14.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/conf/matunga-1.jpg b/erpnext/docs/assets/old_images/conf/matunga-1.jpg
deleted file mode 100644
index 9b678df..0000000
--- a/erpnext/docs/assets/old_images/conf/matunga-1.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/conf/matunga-2.jpg b/erpnext/docs/assets/old_images/conf/matunga-2.jpg
deleted file mode 100644
index 43b36b0..0000000
--- a/erpnext/docs/assets/old_images/conf/matunga-2.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/conf/matunga-3.jpg b/erpnext/docs/assets/old_images/conf/matunga-3.jpg
deleted file mode 100644
index b28baa0..0000000
--- a/erpnext/docs/assets/old_images/conf/matunga-3.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/conf/matunga-4.jpg b/erpnext/docs/assets/old_images/conf/matunga-4.jpg
deleted file mode 100644
index d4e63a6..0000000
--- a/erpnext/docs/assets/old_images/conf/matunga-4.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/conf/matunga-5.jpg b/erpnext/docs/assets/old_images/conf/matunga-5.jpg
deleted file mode 100644
index 9b7a100..0000000
--- a/erpnext/docs/assets/old_images/conf/matunga-5.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/conf/videos/aditya-duggal.jpg b/erpnext/docs/assets/old_images/conf/videos/aditya-duggal.jpg
deleted file mode 100644
index 30bc6f1..0000000
--- a/erpnext/docs/assets/old_images/conf/videos/aditya-duggal.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/conf/videos/anand-doshi.jpg b/erpnext/docs/assets/old_images/conf/videos/anand-doshi.jpg
deleted file mode 100644
index e8832f1..0000000
--- a/erpnext/docs/assets/old_images/conf/videos/anand-doshi.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/conf/videos/deepak-gupta.jpg b/erpnext/docs/assets/old_images/conf/videos/deepak-gupta.jpg
deleted file mode 100644
index 6d9eb7f..0000000
--- a/erpnext/docs/assets/old_images/conf/videos/deepak-gupta.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/conf/videos/global-community.jpg b/erpnext/docs/assets/old_images/conf/videos/global-community.jpg
deleted file mode 100644
index 9a48d38..0000000
--- a/erpnext/docs/assets/old_images/conf/videos/global-community.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/conf/videos/mahesh-malani.jpg b/erpnext/docs/assets/old_images/conf/videos/mahesh-malani.jpg
deleted file mode 100644
index d244d0b..0000000
--- a/erpnext/docs/assets/old_images/conf/videos/mahesh-malani.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/conf/videos/nabin-hait.jpg b/erpnext/docs/assets/old_images/conf/videos/nabin-hait.jpg
deleted file mode 100644
index 732de4e..0000000
--- a/erpnext/docs/assets/old_images/conf/videos/nabin-hait.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/conf/videos/prashant-thakkar.jpg b/erpnext/docs/assets/old_images/conf/videos/prashant-thakkar.jpg
deleted file mode 100644
index 0f2c662..0000000
--- a/erpnext/docs/assets/old_images/conf/videos/prashant-thakkar.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/conf/videos/rushabh-mehta.jpg b/erpnext/docs/assets/old_images/conf/videos/rushabh-mehta.jpg
deleted file mode 100644
index 50e2ae9..0000000
--- a/erpnext/docs/assets/old_images/conf/videos/rushabh-mehta.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/conf/videos/sonal-ramnathkar.jpg b/erpnext/docs/assets/old_images/conf/videos/sonal-ramnathkar.jpg
deleted file mode 100644
index 26ab4ea..0000000
--- a/erpnext/docs/assets/old_images/conf/videos/sonal-ramnathkar.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/conf/videos/tarun-gupta.jpg b/erpnext/docs/assets/old_images/conf/videos/tarun-gupta.jpg
deleted file mode 100644
index ed13a29..0000000
--- a/erpnext/docs/assets/old_images/conf/videos/tarun-gupta.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/conf/videos/umair-sayyed.jpg b/erpnext/docs/assets/old_images/conf/videos/umair-sayyed.jpg
deleted file mode 100644
index 915482c..0000000
--- a/erpnext/docs/assets/old_images/conf/videos/umair-sayyed.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/coverdesk.png b/erpnext/docs/assets/old_images/coverdesk.png
deleted file mode 100644
index 6ff2e15..0000000
--- a/erpnext/docs/assets/old_images/coverdesk.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/engineering.jpg b/erpnext/docs/assets/old_images/engineering.jpg
deleted file mode 100644
index 62c92e8..0000000
--- a/erpnext/docs/assets/old_images/engineering.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext-logo.png b/erpnext/docs/assets/old_images/erpnext-logo.png
deleted file mode 100644
index 9fc2066..0000000
--- a/erpnext/docs/assets/old_images/erpnext-logo.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/BOM-Replace-Tool.png b/erpnext/docs/assets/old_images/erpnext/BOM-Replace-Tool.png
deleted file mode 100644
index 14e879e..0000000
--- a/erpnext/docs/assets/old_images/erpnext/BOM-Replace-Tool.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/Customer-group-add.png b/erpnext/docs/assets/old_images/erpnext/Customer-group-add.png
deleted file mode 100644
index 322b6dd..0000000
--- a/erpnext/docs/assets/old_images/erpnext/Customer-group-add.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/Customer-group-form.png b/erpnext/docs/assets/old_images/erpnext/Customer-group-form.png
deleted file mode 100644
index 266ddc1..0000000
--- a/erpnext/docs/assets/old_images/erpnext/Customer-group-form.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/Customer-group-new.png b/erpnext/docs/assets/old_images/erpnext/Customer-group-new.png
deleted file mode 100644
index 5e42a0d..0000000
--- a/erpnext/docs/assets/old_images/erpnext/Customer-group-new.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/Make-to-order.png b/erpnext/docs/assets/old_images/erpnext/Make-to-order.png
deleted file mode 100644
index cd3c890..0000000
--- a/erpnext/docs/assets/old_images/erpnext/Make-to-order.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/accounting-for-stock-15.png b/erpnext/docs/assets/old_images/erpnext/accounting-for-stock-15.png
deleted file mode 100644
index 28d4970..0000000
--- a/erpnext/docs/assets/old_images/erpnext/accounting-for-stock-15.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/accounting-for-stock-16.png b/erpnext/docs/assets/old_images/erpnext/accounting-for-stock-16.png
deleted file mode 100644
index dbd0cf2..0000000
--- a/erpnext/docs/assets/old_images/erpnext/accounting-for-stock-16.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/accounting-for-stock-17.png b/erpnext/docs/assets/old_images/erpnext/accounting-for-stock-17.png
deleted file mode 100644
index 3d3edf2..0000000
--- a/erpnext/docs/assets/old_images/erpnext/accounting-for-stock-17.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/accounting-for-stock-18.png b/erpnext/docs/assets/old_images/erpnext/accounting-for-stock-18.png
deleted file mode 100644
index e006bf0..0000000
--- a/erpnext/docs/assets/old_images/erpnext/accounting-for-stock-18.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/appraisal-1.png b/erpnext/docs/assets/old_images/erpnext/appraisal-1.png
deleted file mode 100644
index 4227490..0000000
--- a/erpnext/docs/assets/old_images/erpnext/appraisal-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/appraisal-2.png b/erpnext/docs/assets/old_images/erpnext/appraisal-2.png
deleted file mode 100644
index 30f865e..0000000
--- a/erpnext/docs/assets/old_images/erpnext/appraisal-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/assignment.png b/erpnext/docs/assets/old_images/erpnext/assignment.png
deleted file mode 100644
index c2213b3..0000000
--- a/erpnext/docs/assets/old_images/erpnext/assignment.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/attendance.png b/erpnext/docs/assets/old_images/erpnext/attendance.png
deleted file mode 100644
index e878c1a..0000000
--- a/erpnext/docs/assets/old_images/erpnext/attendance.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/auth-applicable.png b/erpnext/docs/assets/old_images/erpnext/auth-applicable.png
deleted file mode 100644
index 7694e45..0000000
--- a/erpnext/docs/assets/old_images/erpnext/auth-applicable.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/auth-approver.png b/erpnext/docs/assets/old_images/erpnext/auth-approver.png
deleted file mode 100644
index 42ff623..0000000
--- a/erpnext/docs/assets/old_images/erpnext/auth-approver.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/auth-based-on.png b/erpnext/docs/assets/old_images/erpnext/auth-based-on.png
deleted file mode 100644
index f8d3d97..0000000
--- a/erpnext/docs/assets/old_images/erpnext/auth-based-on.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/auth-transaction.png b/erpnext/docs/assets/old_images/erpnext/auth-transaction.png
deleted file mode 100644
index 0165679..0000000
--- a/erpnext/docs/assets/old_images/erpnext/auth-transaction.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/auth-validation.png b/erpnext/docs/assets/old_images/erpnext/auth-validation.png
deleted file mode 100644
index 3902e36..0000000
--- a/erpnext/docs/assets/old_images/erpnext/auth-validation.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/auth-value.png b/erpnext/docs/assets/old_images/erpnext/auth-value.png
deleted file mode 100644
index 57d6eb9..0000000
--- a/erpnext/docs/assets/old_images/erpnext/auth-value.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/authorization-rule-1.png b/erpnext/docs/assets/old_images/erpnext/authorization-rule-1.png
deleted file mode 100644
index 41ac7d9..0000000
--- a/erpnext/docs/assets/old_images/erpnext/authorization-rule-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/authorization-rule-2.png b/erpnext/docs/assets/old_images/erpnext/authorization-rule-2.png
deleted file mode 100644
index 77f493d..0000000
--- a/erpnext/docs/assets/old_images/erpnext/authorization-rule-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/authorization-rule.png b/erpnext/docs/assets/old_images/erpnext/authorization-rule.png
deleted file mode 100644
index 529a396..0000000
--- a/erpnext/docs/assets/old_images/erpnext/authorization-rule.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/bank-reconciliation-1.png b/erpnext/docs/assets/old_images/erpnext/bank-reconciliation-1.png
deleted file mode 100644
index 7135ab6..0000000
--- a/erpnext/docs/assets/old_images/erpnext/bank-reconciliation-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/barcode-1.png b/erpnext/docs/assets/old_images/erpnext/barcode-1.png
deleted file mode 100644
index 8912a01..0000000
--- a/erpnext/docs/assets/old_images/erpnext/barcode-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/barcode-2.png b/erpnext/docs/assets/old_images/erpnext/barcode-2.png
deleted file mode 100644
index f66344f..0000000
--- a/erpnext/docs/assets/old_images/erpnext/barcode-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/batch-delivery.png b/erpnext/docs/assets/old_images/erpnext/batch-delivery.png
deleted file mode 100644
index efac451..0000000
--- a/erpnext/docs/assets/old_images/erpnext/batch-delivery.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/batch-details.png b/erpnext/docs/assets/old_images/erpnext/batch-details.png
deleted file mode 100644
index b0d143a..0000000
--- a/erpnext/docs/assets/old_images/erpnext/batch-details.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/batch-id.png b/erpnext/docs/assets/old_images/erpnext/batch-id.png
deleted file mode 100644
index 89929fc..0000000
--- a/erpnext/docs/assets/old_images/erpnext/batch-id.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/batch-item.png b/erpnext/docs/assets/old_images/erpnext/batch-item.png
deleted file mode 100644
index dd39583..0000000
--- a/erpnext/docs/assets/old_images/erpnext/batch-item.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/batch-receipt.png b/erpnext/docs/assets/old_images/erpnext/batch-receipt.png
deleted file mode 100644
index de64bdb..0000000
--- a/erpnext/docs/assets/old_images/erpnext/batch-receipt.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/batch-report.png b/erpnext/docs/assets/old_images/erpnext/batch-report.png
deleted file mode 100644
index 4b68082..0000000
--- a/erpnext/docs/assets/old_images/erpnext/batch-report.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/blog-look.png b/erpnext/docs/assets/old_images/erpnext/blog-look.png
deleted file mode 100644
index 6bca9e8..0000000
--- a/erpnext/docs/assets/old_images/erpnext/blog-look.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/blog.png b/erpnext/docs/assets/old_images/erpnext/blog.png
deleted file mode 100644
index fc4fdb4..0000000
--- a/erpnext/docs/assets/old_images/erpnext/blog.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/bom-wind-turbine.png b/erpnext/docs/assets/old_images/erpnext/bom-wind-turbine.png
deleted file mode 100644
index a929ab3..0000000
--- a/erpnext/docs/assets/old_images/erpnext/bom-wind-turbine.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/bom.png b/erpnext/docs/assets/old_images/erpnext/bom.png
deleted file mode 100644
index b24e7fc..0000000
--- a/erpnext/docs/assets/old_images/erpnext/bom.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/book-keeping-sp.png b/erpnext/docs/assets/old_images/erpnext/book-keeping-sp.png
deleted file mode 100644
index 7ce66d8..0000000
--- a/erpnext/docs/assets/old_images/erpnext/book-keeping-sp.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/bulb.jpg b/erpnext/docs/assets/old_images/erpnext/bulb.jpg
deleted file mode 100644
index 6412f50..0000000
--- a/erpnext/docs/assets/old_images/erpnext/bulb.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/butterfly-print.jpg b/erpnext/docs/assets/old_images/erpnext/butterfly-print.jpg
deleted file mode 100644
index e503d77..0000000
--- a/erpnext/docs/assets/old_images/erpnext/butterfly-print.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/campaign.png b/erpnext/docs/assets/old_images/erpnext/campaign.png
deleted file mode 100644
index 0e1d521..0000000
--- a/erpnext/docs/assets/old_images/erpnext/campaign.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/celebrate-1.jpg b/erpnext/docs/assets/old_images/erpnext/celebrate-1.jpg
deleted file mode 100644
index 0966785..0000000
--- a/erpnext/docs/assets/old_images/erpnext/celebrate-1.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/chart-of-accounts-1.png b/erpnext/docs/assets/old_images/erpnext/chart-of-accounts-1.png
deleted file mode 100644
index 67c764b..0000000
--- a/erpnext/docs/assets/old_images/erpnext/chart-of-accounts-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/chart-of-accounts-2.png b/erpnext/docs/assets/old_images/erpnext/chart-of-accounts-2.png
deleted file mode 100644
index 6dd8b22..0000000
--- a/erpnext/docs/assets/old_images/erpnext/chart-of-accounts-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/chart-of-accounts.png b/erpnext/docs/assets/old_images/erpnext/chart-of-accounts.png
deleted file mode 100644
index 399adbe..0000000
--- a/erpnext/docs/assets/old_images/erpnext/chart-of-accounts.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/company.png b/erpnext/docs/assets/old_images/erpnext/company.png
deleted file mode 100644
index 2a76eb8..0000000
--- a/erpnext/docs/assets/old_images/erpnext/company.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/contact.png b/erpnext/docs/assets/old_images/erpnext/contact.png
deleted file mode 100644
index f664bb4..0000000
--- a/erpnext/docs/assets/old_images/erpnext/contact.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/credit-controller.png b/erpnext/docs/assets/old_images/erpnext/credit-controller.png
deleted file mode 100644
index da108ac..0000000
--- a/erpnext/docs/assets/old_images/erpnext/credit-controller.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/credit-limit-1.png b/erpnext/docs/assets/old_images/erpnext/credit-limit-1.png
deleted file mode 100644
index d1e725e..0000000
--- a/erpnext/docs/assets/old_images/erpnext/credit-limit-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/custom-field.png b/erpnext/docs/assets/old_images/erpnext/custom-field.png
deleted file mode 100644
index 309030b..0000000
--- a/erpnext/docs/assets/old_images/erpnext/custom-field.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/customer-1.png b/erpnext/docs/assets/old_images/erpnext/customer-1.png
deleted file mode 100644
index afb99ef..0000000
--- a/erpnext/docs/assets/old_images/erpnext/customer-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/customer-issue.png b/erpnext/docs/assets/old_images/erpnext/customer-issue.png
deleted file mode 100644
index 2c5ec7b..0000000
--- a/erpnext/docs/assets/old_images/erpnext/customer-issue.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/customer.png b/erpnext/docs/assets/old_images/erpnext/customer.png
deleted file mode 100644
index 37b8450..0000000
--- a/erpnext/docs/assets/old_images/erpnext/customer.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/customize-form-1.png b/erpnext/docs/assets/old_images/erpnext/customize-form-1.png
deleted file mode 100644
index 2d70df6..0000000
--- a/erpnext/docs/assets/old_images/erpnext/customize-form-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/customize-form-2.png b/erpnext/docs/assets/old_images/erpnext/customize-form-2.png
deleted file mode 100644
index 204d46a..0000000
--- a/erpnext/docs/assets/old_images/erpnext/customize-form-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/delivery-note.png b/erpnext/docs/assets/old_images/erpnext/delivery-note.png
deleted file mode 100644
index 93edc4e..0000000
--- a/erpnext/docs/assets/old_images/erpnext/delivery-note.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/dog-bow.gif b/erpnext/docs/assets/old_images/erpnext/dog-bow.gif
deleted file mode 100644
index 0edad37..0000000
--- a/erpnext/docs/assets/old_images/erpnext/dog-bow.gif
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/dogs-3.jpg b/erpnext/docs/assets/old_images/erpnext/dogs-3.jpg
deleted file mode 100644
index 684af92..0000000
--- a/erpnext/docs/assets/old_images/erpnext/dogs-3.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/employee-1.png b/erpnext/docs/assets/old_images/erpnext/employee-1.png
deleted file mode 100644
index e14a97a..0000000
--- a/erpnext/docs/assets/old_images/erpnext/employee-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/employee-master-1.png b/erpnext/docs/assets/old_images/erpnext/employee-master-1.png
deleted file mode 100644
index f41fd9f..0000000
--- a/erpnext/docs/assets/old_images/erpnext/employee-master-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/employee-master-2.png b/erpnext/docs/assets/old_images/erpnext/employee-master-2.png
deleted file mode 100644
index c22b3bb..0000000
--- a/erpnext/docs/assets/old_images/erpnext/employee-master-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/employee-master-3.png b/erpnext/docs/assets/old_images/erpnext/employee-master-3.png
deleted file mode 100644
index abe035a..0000000
--- a/erpnext/docs/assets/old_images/erpnext/employee-master-3.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/erpnext-introduction.png b/erpnext/docs/assets/old_images/erpnext/erpnext-introduction.png
deleted file mode 100644
index 9dcf4df..0000000
--- a/erpnext/docs/assets/old_images/erpnext/erpnext-introduction.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/event-1.png b/erpnext/docs/assets/old_images/erpnext/event-1.png
deleted file mode 100644
index 9f0bfd6..0000000
--- a/erpnext/docs/assets/old_images/erpnext/event-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/event-2.png b/erpnext/docs/assets/old_images/erpnext/event-2.png
deleted file mode 100644
index 5ce4584..0000000
--- a/erpnext/docs/assets/old_images/erpnext/event-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/expense-claim.png b/erpnext/docs/assets/old_images/erpnext/expense-claim.png
deleted file mode 100644
index cc3d920..0000000
--- a/erpnext/docs/assets/old_images/erpnext/expense-claim.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/faq-allowance-percent.png b/erpnext/docs/assets/old_images/erpnext/faq-allowance-percent.png
deleted file mode 100644
index b8ff9c9..0000000
--- a/erpnext/docs/assets/old_images/erpnext/faq-allowance-percent.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/faq-branch.png b/erpnext/docs/assets/old_images/erpnext/faq-branch.png
deleted file mode 100644
index 7663eae..0000000
--- a/erpnext/docs/assets/old_images/erpnext/faq-branch.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/faq-employment-type.png b/erpnext/docs/assets/old_images/erpnext/faq-employment-type.png
deleted file mode 100644
index 17924a6..0000000
--- a/erpnext/docs/assets/old_images/erpnext/faq-employment-type.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/faq-eol.png b/erpnext/docs/assets/old_images/erpnext/faq-eol.png
deleted file mode 100644
index d0bbea5..0000000
--- a/erpnext/docs/assets/old_images/erpnext/faq-eol.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/faq-is-sales-item.png b/erpnext/docs/assets/old_images/erpnext/faq-is-sales-item.png
deleted file mode 100644
index 4d0d9eb..0000000
--- a/erpnext/docs/assets/old_images/erpnext/faq-is-sales-item.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/faq-is-service-item.png b/erpnext/docs/assets/old_images/erpnext/faq-is-service-item.png
deleted file mode 100644
index fa6a34c..0000000
--- a/erpnext/docs/assets/old_images/erpnext/faq-is-service-item.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/faq-lead-time.png b/erpnext/docs/assets/old_images/erpnext/faq-lead-time.png
deleted file mode 100644
index d50c4fb..0000000
--- a/erpnext/docs/assets/old_images/erpnext/faq-lead-time.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/faq-leave-allocation.png b/erpnext/docs/assets/old_images/erpnext/faq-leave-allocation.png
deleted file mode 100644
index f71ad4c..0000000
--- a/erpnext/docs/assets/old_images/erpnext/faq-leave-allocation.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/faq-leave-application.png b/erpnext/docs/assets/old_images/erpnext/faq-leave-application.png
deleted file mode 100644
index 11ef581..0000000
--- a/erpnext/docs/assets/old_images/erpnext/faq-leave-application.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/faq-leave-without-pay.png b/erpnext/docs/assets/old_images/erpnext/faq-leave-without-pay.png
deleted file mode 100644
index 55ff93e..0000000
--- a/erpnext/docs/assets/old_images/erpnext/faq-leave-without-pay.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/faq-min-ord-qty.png b/erpnext/docs/assets/old_images/erpnext/faq-min-ord-qty.png
deleted file mode 100644
index 22a2b6e..0000000
--- a/erpnext/docs/assets/old_images/erpnext/faq-min-ord-qty.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/faq-process-payroll.png b/erpnext/docs/assets/old_images/erpnext/faq-process-payroll.png
deleted file mode 100644
index 81e9686..0000000
--- a/erpnext/docs/assets/old_images/erpnext/faq-process-payroll.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/faq-purchase-item-yes.png b/erpnext/docs/assets/old_images/erpnext/faq-purchase-item-yes.png
deleted file mode 100644
index ce39087..0000000
--- a/erpnext/docs/assets/old_images/erpnext/faq-purchase-item-yes.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/faq-sales-partner-commissions.png b/erpnext/docs/assets/old_images/erpnext/faq-sales-partner-commissions.png
deleted file mode 100644
index 19d9f9b..0000000
--- a/erpnext/docs/assets/old_images/erpnext/faq-sales-partner-commissions.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/faq-sales-partner.png b/erpnext/docs/assets/old_images/erpnext/faq-sales-partner.png
deleted file mode 100644
index 19d9f9b..0000000
--- a/erpnext/docs/assets/old_images/erpnext/faq-sales-partner.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/faq-sales-person-1.png b/erpnext/docs/assets/old_images/erpnext/faq-sales-person-1.png
deleted file mode 100644
index 09271fe..0000000
--- a/erpnext/docs/assets/old_images/erpnext/faq-sales-person-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/faq-standard-rate.png b/erpnext/docs/assets/old_images/erpnext/faq-standard-rate.png
deleted file mode 100644
index e2d9d7c..0000000
--- a/erpnext/docs/assets/old_images/erpnext/faq-standard-rate.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/faq-status.png b/erpnext/docs/assets/old_images/erpnext/faq-status.png
deleted file mode 100644
index 01bd517..0000000
--- a/erpnext/docs/assets/old_images/erpnext/faq-status.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/faq-stock-item-yes.png b/erpnext/docs/assets/old_images/erpnext/faq-stock-item-yes.png
deleted file mode 100644
index 61e3b7a..0000000
--- a/erpnext/docs/assets/old_images/erpnext/faq-stock-item-yes.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/faq-sub-contract.png b/erpnext/docs/assets/old_images/erpnext/faq-sub-contract.png
deleted file mode 100644
index 3cd665c..0000000
--- a/erpnext/docs/assets/old_images/erpnext/faq-sub-contract.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/faq-user-id.png b/erpnext/docs/assets/old_images/erpnext/faq-user-id.png
deleted file mode 100644
index 6d63c1e..0000000
--- a/erpnext/docs/assets/old_images/erpnext/faq-user-id.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/faq-warranty-period.png b/erpnext/docs/assets/old_images/erpnext/faq-warranty-period.png
deleted file mode 100644
index 0571fe7..0000000
--- a/erpnext/docs/assets/old_images/erpnext/faq-warranty-period.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/fifthdaysetup-tasks.png b/erpnext/docs/assets/old_images/erpnext/fifthdaysetup-tasks.png
deleted file mode 100644
index e387560..0000000
--- a/erpnext/docs/assets/old_images/erpnext/fifthdaysetup-tasks.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/financial-analytic-bs.png b/erpnext/docs/assets/old_images/erpnext/financial-analytic-bs.png
deleted file mode 100644
index a927878..0000000
--- a/erpnext/docs/assets/old_images/erpnext/financial-analytic-bs.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/financial-analytic-pl.png b/erpnext/docs/assets/old_images/erpnext/financial-analytic-pl.png
deleted file mode 100644
index 00630b2..0000000
--- a/erpnext/docs/assets/old_images/erpnext/financial-analytic-pl.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/general-ledger.png b/erpnext/docs/assets/old_images/erpnext/general-ledger.png
deleted file mode 100644
index 1e6e274..0000000
--- a/erpnext/docs/assets/old_images/erpnext/general-ledger.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/global-defaults.png b/erpnext/docs/assets/old_images/erpnext/global-defaults.png
deleted file mode 100644
index 037a06d..0000000
--- a/erpnext/docs/assets/old_images/erpnext/global-defaults.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/human-resources-sp.png b/erpnext/docs/assets/old_images/erpnext/human-resources-sp.png
deleted file mode 100644
index cf7b259..0000000
--- a/erpnext/docs/assets/old_images/erpnext/human-resources-sp.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/import-1.png b/erpnext/docs/assets/old_images/erpnext/import-1.png
deleted file mode 100644
index b3aaa65..0000000
--- a/erpnext/docs/assets/old_images/erpnext/import-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/import-2.png b/erpnext/docs/assets/old_images/erpnext/import-2.png
deleted file mode 100644
index 49ac98a..0000000
--- a/erpnext/docs/assets/old_images/erpnext/import-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/import-5.png b/erpnext/docs/assets/old_images/erpnext/import-5.png
deleted file mode 100644
index 68a8b85..0000000
--- a/erpnext/docs/assets/old_images/erpnext/import-5.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/inclusive-tax.png b/erpnext/docs/assets/old_images/erpnext/inclusive-tax.png
deleted file mode 100644
index d9f1082..0000000
--- a/erpnext/docs/assets/old_images/erpnext/inclusive-tax.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/item-1.png b/erpnext/docs/assets/old_images/erpnext/item-1.png
deleted file mode 100644
index 85fe1ed..0000000
--- a/erpnext/docs/assets/old_images/erpnext/item-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/item-add-image.png b/erpnext/docs/assets/old_images/erpnext/item-add-image.png
deleted file mode 100644
index 8901ee9..0000000
--- a/erpnext/docs/assets/old_images/erpnext/item-add-image.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/item-distributor.png b/erpnext/docs/assets/old_images/erpnext/item-distributor.png
deleted file mode 100644
index c30e18a..0000000
--- a/erpnext/docs/assets/old_images/erpnext/item-distributor.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/item-group-tree.png b/erpnext/docs/assets/old_images/erpnext/item-group-tree.png
deleted file mode 100644
index 4d512e3..0000000
--- a/erpnext/docs/assets/old_images/erpnext/item-group-tree.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/item-price-1.png b/erpnext/docs/assets/old_images/erpnext/item-price-1.png
deleted file mode 100644
index b97308e..0000000
--- a/erpnext/docs/assets/old_images/erpnext/item-price-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/item-properties.png b/erpnext/docs/assets/old_images/erpnext/item-properties.png
deleted file mode 100644
index 4c0f021..0000000
--- a/erpnext/docs/assets/old_images/erpnext/item-properties.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/item-serial-no-series.png b/erpnext/docs/assets/old_images/erpnext/item-serial-no-series.png
deleted file mode 100644
index 09ee8cf..0000000
--- a/erpnext/docs/assets/old_images/erpnext/item-serial-no-series.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/item-tax-1.png b/erpnext/docs/assets/old_images/erpnext/item-tax-1.png
deleted file mode 100644
index 9942b7c..0000000
--- a/erpnext/docs/assets/old_images/erpnext/item-tax-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/journal-voucher.png b/erpnext/docs/assets/old_images/erpnext/journal-voucher.png
deleted file mode 100644
index e51586f..0000000
--- a/erpnext/docs/assets/old_images/erpnext/journal-voucher.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/key-workflows.002.jpg b/erpnext/docs/assets/old_images/erpnext/key-workflows.002.jpg
deleted file mode 100644
index 0fc575e..0000000
--- a/erpnext/docs/assets/old_images/erpnext/key-workflows.002.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/landed_cost_voucher.png b/erpnext/docs/assets/old_images/erpnext/landed_cost_voucher.png
deleted file mode 100644
index e1199ae..0000000
--- a/erpnext/docs/assets/old_images/erpnext/landed_cost_voucher.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/laurence.jpg b/erpnext/docs/assets/old_images/erpnext/laurence.jpg
deleted file mode 100644
index 0d32939..0000000
--- a/erpnext/docs/assets/old_images/erpnext/laurence.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/lead.png b/erpnext/docs/assets/old_images/erpnext/lead.png
deleted file mode 100644
index 7aa159e..0000000
--- a/erpnext/docs/assets/old_images/erpnext/lead.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/leave-allocation.png b/erpnext/docs/assets/old_images/erpnext/leave-allocation.png
deleted file mode 100644
index 434197d..0000000
--- a/erpnext/docs/assets/old_images/erpnext/leave-allocation.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/ledgers.png b/erpnext/docs/assets/old_images/erpnext/ledgers.png
deleted file mode 100644
index 04609e2..0000000
--- a/erpnext/docs/assets/old_images/erpnext/ledgers.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/letter-head1.png b/erpnext/docs/assets/old_images/erpnext/letter-head1.png
deleted file mode 100644
index 5427cb5..0000000
--- a/erpnext/docs/assets/old_images/erpnext/letter-head1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/letter-head2.png b/erpnext/docs/assets/old_images/erpnext/letter-head2.png
deleted file mode 100644
index 4f5b86a..0000000
--- a/erpnext/docs/assets/old_images/erpnext/letter-head2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/letter-head4.png b/erpnext/docs/assets/old_images/erpnext/letter-head4.png
deleted file mode 100644
index 5427cb5..0000000
--- a/erpnext/docs/assets/old_images/erpnext/letter-head4.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/letterhead.png b/erpnext/docs/assets/old_images/erpnext/letterhead.png
deleted file mode 100644
index 0ec5daf..0000000
--- a/erpnext/docs/assets/old_images/erpnext/letterhead.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/logo-robert.gif b/erpnext/docs/assets/old_images/erpnext/logo-robert.gif
deleted file mode 100644
index 24ba5d2..0000000
--- a/erpnext/docs/assets/old_images/erpnext/logo-robert.gif
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/maintenance-schedule-1.png b/erpnext/docs/assets/old_images/erpnext/maintenance-schedule-1.png
deleted file mode 100644
index 62295ff..0000000
--- a/erpnext/docs/assets/old_images/erpnext/maintenance-schedule-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/maintenance-schedule-2.png b/erpnext/docs/assets/old_images/erpnext/maintenance-schedule-2.png
deleted file mode 100644
index eccd83d..0000000
--- a/erpnext/docs/assets/old_images/erpnext/maintenance-schedule-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/maintenance-visit.png b/erpnext/docs/assets/old_images/erpnext/maintenance-visit.png
deleted file mode 100644
index 54478fd..0000000
--- a/erpnext/docs/assets/old_images/erpnext/maintenance-visit.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/make-to-stock.png b/erpnext/docs/assets/old_images/erpnext/make-to-stock.png
deleted file mode 100644
index 192dae6..0000000
--- a/erpnext/docs/assets/old_images/erpnext/make-to-stock.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/material-issue.png b/erpnext/docs/assets/old_images/erpnext/material-issue.png
deleted file mode 100644
index 89cd181..0000000
--- a/erpnext/docs/assets/old_images/erpnext/material-issue.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/material-request-1.png b/erpnext/docs/assets/old_images/erpnext/material-request-1.png
deleted file mode 100644
index fad4a1a..0000000
--- a/erpnext/docs/assets/old_images/erpnext/material-request-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/material-request-2.png b/erpnext/docs/assets/old_images/erpnext/material-request-2.png
deleted file mode 100644
index 2543f94..0000000
--- a/erpnext/docs/assets/old_images/erpnext/material-request-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/material-request-flowchart-image.png b/erpnext/docs/assets/old_images/erpnext/material-request-flowchart-image.png
deleted file mode 100644
index d5e112f..0000000
--- a/erpnext/docs/assets/old_images/erpnext/material-request-flowchart-image.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/material-transfer-1.png b/erpnext/docs/assets/old_images/erpnext/material-transfer-1.png
deleted file mode 100644
index fedd247..0000000
--- a/erpnext/docs/assets/old_images/erpnext/material-transfer-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/merging-documents-1.png b/erpnext/docs/assets/old_images/erpnext/merging-documents-1.png
deleted file mode 100644
index ea1d432..0000000
--- a/erpnext/docs/assets/old_images/erpnext/merging-documents-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/merging-documents-2.png b/erpnext/docs/assets/old_images/erpnext/merging-documents-2.png
deleted file mode 100644
index 01c375f..0000000
--- a/erpnext/docs/assets/old_images/erpnext/merging-documents-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/merging-documents-3.png b/erpnext/docs/assets/old_images/erpnext/merging-documents-3.png
deleted file mode 100644
index 9714cbc..0000000
--- a/erpnext/docs/assets/old_images/erpnext/merging-documents-3.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/merging-documents.png b/erpnext/docs/assets/old_images/erpnext/merging-documents.png
deleted file mode 100644
index 60b95d8..0000000
--- a/erpnext/docs/assets/old_images/erpnext/merging-documents.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/mfg-bom-3.png b/erpnext/docs/assets/old_images/erpnext/mfg-bom-3.png
deleted file mode 100644
index f99ad0c..0000000
--- a/erpnext/docs/assets/old_images/erpnext/mfg-bom-3.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/mrp-1.1.png b/erpnext/docs/assets/old_images/erpnext/mrp-1.1.png
deleted file mode 100644
index 2fab108..0000000
--- a/erpnext/docs/assets/old_images/erpnext/mrp-1.1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/mrp-1.png b/erpnext/docs/assets/old_images/erpnext/mrp-1.png
deleted file mode 100644
index b17adbe..0000000
--- a/erpnext/docs/assets/old_images/erpnext/mrp-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/mrp-2.png b/erpnext/docs/assets/old_images/erpnext/mrp-2.png
deleted file mode 100644
index 62c6d96..0000000
--- a/erpnext/docs/assets/old_images/erpnext/mrp-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/mrp-3.png b/erpnext/docs/assets/old_images/erpnext/mrp-3.png
deleted file mode 100644
index 42f6f4b..0000000
--- a/erpnext/docs/assets/old_images/erpnext/mrp-3.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/mrp-4.png b/erpnext/docs/assets/old_images/erpnext/mrp-4.png
deleted file mode 100644
index 6acb888..0000000
--- a/erpnext/docs/assets/old_images/erpnext/mrp-4.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/mrp.png b/erpnext/docs/assets/old_images/erpnext/mrp.png
deleted file mode 100644
index 4a86dec..0000000
--- a/erpnext/docs/assets/old_images/erpnext/mrp.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/naming-series-1.png b/erpnext/docs/assets/old_images/erpnext/naming-series-1.png
deleted file mode 100644
index 9733229..0000000
--- a/erpnext/docs/assets/old_images/erpnext/naming-series-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/naming-series.png b/erpnext/docs/assets/old_images/erpnext/naming-series.png
deleted file mode 100644
index b0f673b..0000000
--- a/erpnext/docs/assets/old_images/erpnext/naming-series.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/new-email-digest.png b/erpnext/docs/assets/old_images/erpnext/new-email-digest.png
deleted file mode 100644
index 0f99991..0000000
--- a/erpnext/docs/assets/old_images/erpnext/new-email-digest.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/new-leave-application.png b/erpnext/docs/assets/old_images/erpnext/new-leave-application.png
deleted file mode 100644
index 2a97f7d..0000000
--- a/erpnext/docs/assets/old_images/erpnext/new-leave-application.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/new-price-list-1.png b/erpnext/docs/assets/old_images/erpnext/new-price-list-1.png
deleted file mode 100644
index a7d3d1f..0000000
--- a/erpnext/docs/assets/old_images/erpnext/new-price-list-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/newsletter.png b/erpnext/docs/assets/old_images/erpnext/newsletter.png
deleted file mode 100644
index 3bb555f..0000000
--- a/erpnext/docs/assets/old_images/erpnext/newsletter.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/notes-1.png b/erpnext/docs/assets/old_images/erpnext/notes-1.png
deleted file mode 100644
index 896e7d0..0000000
--- a/erpnext/docs/assets/old_images/erpnext/notes-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/notes.png b/erpnext/docs/assets/old_images/erpnext/notes.png
deleted file mode 100644
index 3bba0d4..0000000
--- a/erpnext/docs/assets/old_images/erpnext/notes.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/opening-accounts image.png b/erpnext/docs/assets/old_images/erpnext/opening-accounts image.png
deleted file mode 100644
index 324f8f3..0000000
--- a/erpnext/docs/assets/old_images/erpnext/opening-accounts image.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/opening-entry.png b/erpnext/docs/assets/old_images/erpnext/opening-entry.png
deleted file mode 100644
index 5c7ab4f..0000000
--- a/erpnext/docs/assets/old_images/erpnext/opening-entry.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/opportunity-1.png b/erpnext/docs/assets/old_images/erpnext/opportunity-1.png
deleted file mode 100644
index c212064..0000000
--- a/erpnext/docs/assets/old_images/erpnext/opportunity-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/opportunity.png b/erpnext/docs/assets/old_images/erpnext/opportunity.png
deleted file mode 100644
index 4a74025..0000000
--- a/erpnext/docs/assets/old_images/erpnext/opportunity.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/payment-entry.png b/erpnext/docs/assets/old_images/erpnext/payment-entry.png
deleted file mode 100644
index 35c1cc3..0000000
--- a/erpnext/docs/assets/old_images/erpnext/payment-entry.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/payment-reconciliation-1.png b/erpnext/docs/assets/old_images/erpnext/payment-reconciliation-1.png
deleted file mode 100644
index c61ea52..0000000
--- a/erpnext/docs/assets/old_images/erpnext/payment-reconciliation-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/payment_tool_enter_pay.png b/erpnext/docs/assets/old_images/erpnext/payment_tool_enter_pay.png
deleted file mode 100644
index 2e8ace9..0000000
--- a/erpnext/docs/assets/old_images/erpnext/payment_tool_enter_pay.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/payment_tool_get_voucher.png b/erpnext/docs/assets/old_images/erpnext/payment_tool_get_voucher.png
deleted file mode 100644
index c97fbc5..0000000
--- a/erpnext/docs/assets/old_images/erpnext/payment_tool_get_voucher.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/payment_tool_make_jv.png b/erpnext/docs/assets/old_images/erpnext/payment_tool_make_jv.png
deleted file mode 100644
index fd19a7b..0000000
--- a/erpnext/docs/assets/old_images/erpnext/payment_tool_make_jv.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/pen-stand.jpg b/erpnext/docs/assets/old_images/erpnext/pen-stand.jpg
deleted file mode 100644
index 1c13c6e..0000000
--- a/erpnext/docs/assets/old_images/erpnext/pen-stand.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/period-closing-dates.png b/erpnext/docs/assets/old_images/erpnext/period-closing-dates.png
deleted file mode 100644
index f7325cf..0000000
--- a/erpnext/docs/assets/old_images/erpnext/period-closing-dates.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/period-closing-voucher.png b/erpnext/docs/assets/old_images/erpnext/period-closing-voucher.png
deleted file mode 100644
index 9105556..0000000
--- a/erpnext/docs/assets/old_images/erpnext/period-closing-voucher.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/period-closing.png b/erpnext/docs/assets/old_images/erpnext/period-closing.png
deleted file mode 100644
index 41de105..0000000
--- a/erpnext/docs/assets/old_images/erpnext/period-closing.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/permission-manager-1.png b/erpnext/docs/assets/old_images/erpnext/permission-manager-1.png
deleted file mode 100644
index 4cc8e3f..0000000
--- a/erpnext/docs/assets/old_images/erpnext/permission-manager-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/permission-manager-2.png b/erpnext/docs/assets/old_images/erpnext/permission-manager-2.png
deleted file mode 100644
index 4a5c34c..0000000
--- a/erpnext/docs/assets/old_images/erpnext/permission-manager-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/permission-manager-3.png b/erpnext/docs/assets/old_images/erpnext/permission-manager-3.png
deleted file mode 100644
index 41eefb6..0000000
--- a/erpnext/docs/assets/old_images/erpnext/permission-manager-3.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/permission-manager-4.png b/erpnext/docs/assets/old_images/erpnext/permission-manager-4.png
deleted file mode 100644
index f1e6cc1..0000000
--- a/erpnext/docs/assets/old_images/erpnext/permission-manager-4.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/permission-manager-5.png b/erpnext/docs/assets/old_images/erpnext/permission-manager-5.png
deleted file mode 100644
index 42c3941..0000000
--- a/erpnext/docs/assets/old_images/erpnext/permission-manager-5.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/permission-manager.png b/erpnext/docs/assets/old_images/erpnext/permission-manager.png
deleted file mode 100644
index ed82dd8..0000000
--- a/erpnext/docs/assets/old_images/erpnext/permission-manager.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/pos-features-setup.png b/erpnext/docs/assets/old_images/erpnext/pos-features-setup.png
deleted file mode 100644
index c41ff60..0000000
--- a/erpnext/docs/assets/old_images/erpnext/pos-features-setup.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/pos-setting.png b/erpnext/docs/assets/old_images/erpnext/pos-setting.png
deleted file mode 100644
index 909c324..0000000
--- a/erpnext/docs/assets/old_images/erpnext/pos-setting.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/pr_landed_cost_voucher_amount.png b/erpnext/docs/assets/old_images/erpnext/pr_landed_cost_voucher_amount.png
deleted file mode 100644
index 065e345..0000000
--- a/erpnext/docs/assets/old_images/erpnext/pr_landed_cost_voucher_amount.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/price-list-currency.png b/erpnext/docs/assets/old_images/erpnext/price-list-currency.png
deleted file mode 100644
index 17fbd70..0000000
--- a/erpnext/docs/assets/old_images/erpnext/price-list-currency.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/price-list-for.png b/erpnext/docs/assets/old_images/erpnext/price-list-for.png
deleted file mode 100644
index dc058b7..0000000
--- a/erpnext/docs/assets/old_images/erpnext/price-list-for.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/price-list-name.png b/erpnext/docs/assets/old_images/erpnext/price-list-name.png
deleted file mode 100644
index 27e1d89..0000000
--- a/erpnext/docs/assets/old_images/erpnext/price-list-name.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/price-list-territory.png b/erpnext/docs/assets/old_images/erpnext/price-list-territory.png
deleted file mode 100644
index 2ea3ecf..0000000
--- a/erpnext/docs/assets/old_images/erpnext/price-list-territory.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/print-heading1.png b/erpnext/docs/assets/old_images/erpnext/print-heading1.png
deleted file mode 100644
index 32de28c..0000000
--- a/erpnext/docs/assets/old_images/erpnext/print-heading1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/print-heading2.png b/erpnext/docs/assets/old_images/erpnext/print-heading2.png
deleted file mode 100644
index a3f86f0..0000000
--- a/erpnext/docs/assets/old_images/erpnext/print-heading2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/production-order-2.png b/erpnext/docs/assets/old_images/erpnext/production-order-2.png
deleted file mode 100644
index 4e493d1..0000000
--- a/erpnext/docs/assets/old_images/erpnext/production-order-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/production-order.png b/erpnext/docs/assets/old_images/erpnext/production-order.png
deleted file mode 100644
index 4d5c386..0000000
--- a/erpnext/docs/assets/old_images/erpnext/production-order.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/projects-sp.png b/erpnext/docs/assets/old_images/erpnext/projects-sp.png
deleted file mode 100644
index 342515e..0000000
--- a/erpnext/docs/assets/old_images/erpnext/projects-sp.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/projects.png b/erpnext/docs/assets/old_images/erpnext/projects.png
deleted file mode 100644
index aff4f86..0000000
--- a/erpnext/docs/assets/old_images/erpnext/projects.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/purchase-invoice-2.png b/erpnext/docs/assets/old_images/erpnext/purchase-invoice-2.png
deleted file mode 100644
index 575d4af..0000000
--- a/erpnext/docs/assets/old_images/erpnext/purchase-invoice-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/purchase-invoice.png b/erpnext/docs/assets/old_images/erpnext/purchase-invoice.png
deleted file mode 100644
index df65a1d..0000000
--- a/erpnext/docs/assets/old_images/erpnext/purchase-invoice.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/purchase-order-uom-change.png b/erpnext/docs/assets/old_images/erpnext/purchase-order-uom-change.png
deleted file mode 100644
index e651a4d..0000000
--- a/erpnext/docs/assets/old_images/erpnext/purchase-order-uom-change.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/purchase-order.png b/erpnext/docs/assets/old_images/erpnext/purchase-order.png
deleted file mode 100644
index 49fbf72..0000000
--- a/erpnext/docs/assets/old_images/erpnext/purchase-order.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/purchase-receipt.png b/erpnext/docs/assets/old_images/erpnext/purchase-receipt.png
deleted file mode 100644
index 8ad956b..0000000
--- a/erpnext/docs/assets/old_images/erpnext/purchase-receipt.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/purchase_receipt_gl_entries.png b/erpnext/docs/assets/old_images/erpnext/purchase_receipt_gl_entries.png
deleted file mode 100644
index 9629bfe..0000000
--- a/erpnext/docs/assets/old_images/erpnext/purchase_receipt_gl_entries.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/purchase_receipt_stock_ledger_entries.png b/erpnext/docs/assets/old_images/erpnext/purchase_receipt_stock_ledger_entries.png
deleted file mode 100644
index 964e15e..0000000
--- a/erpnext/docs/assets/old_images/erpnext/purchase_receipt_stock_ledger_entries.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/purchase_receipt_taxes_and_charges.png b/erpnext/docs/assets/old_images/erpnext/purchase_receipt_taxes_and_charges.png
deleted file mode 100644
index eb3be11..0000000
--- a/erpnext/docs/assets/old_images/erpnext/purchase_receipt_taxes_and_charges.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/quality-inspection-2.png b/erpnext/docs/assets/old_images/erpnext/quality-inspection-2.png
deleted file mode 100644
index 17ebed7..0000000
--- a/erpnext/docs/assets/old_images/erpnext/quality-inspection-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/quality-inspection-3.png b/erpnext/docs/assets/old_images/erpnext/quality-inspection-3.png
deleted file mode 100644
index c4da2e5..0000000
--- a/erpnext/docs/assets/old_images/erpnext/quality-inspection-3.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/quality-inspection.png b/erpnext/docs/assets/old_images/erpnext/quality-inspection.png
deleted file mode 100644
index 27c90e8..0000000
--- a/erpnext/docs/assets/old_images/erpnext/quality-inspection.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/query-report-accounts-payable.png b/erpnext/docs/assets/old_images/erpnext/query-report-accounts-payable.png
deleted file mode 100644
index 3a9e645..0000000
--- a/erpnext/docs/assets/old_images/erpnext/query-report-accounts-payable.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/query-report-sales-register.png b/erpnext/docs/assets/old_images/erpnext/query-report-sales-register.png
deleted file mode 100644
index 0e23430..0000000
--- a/erpnext/docs/assets/old_images/erpnext/query-report-sales-register.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/quotation-1.png b/erpnext/docs/assets/old_images/erpnext/quotation-1.png
deleted file mode 100644
index cf05760..0000000
--- a/erpnext/docs/assets/old_images/erpnext/quotation-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/quotation-2.png b/erpnext/docs/assets/old_images/erpnext/quotation-2.png
deleted file mode 100644
index cb705ab..0000000
--- a/erpnext/docs/assets/old_images/erpnext/quotation-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/quotation.png b/erpnext/docs/assets/old_images/erpnext/quotation.png
deleted file mode 100644
index 6e2cdbf..0000000
--- a/erpnext/docs/assets/old_images/erpnext/quotation.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/reconciliation-data.png b/erpnext/docs/assets/old_images/erpnext/reconciliation-data.png
deleted file mode 100644
index 52319d6..0000000
--- a/erpnext/docs/assets/old_images/erpnext/reconciliation-data.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/rename-jute-bag-general.png b/erpnext/docs/assets/old_images/erpnext/rename-jute-bag-general.png
deleted file mode 100644
index d871e35..0000000
--- a/erpnext/docs/assets/old_images/erpnext/rename-jute-bag-general.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/rename-jute-bag-sog.png b/erpnext/docs/assets/old_images/erpnext/rename-jute-bag-sog.png
deleted file mode 100644
index b2b0c23..0000000
--- a/erpnext/docs/assets/old_images/erpnext/rename-jute-bag-sog.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/rename-output.png b/erpnext/docs/assets/old_images/erpnext/rename-output.png
deleted file mode 100644
index 0d9ae3f..0000000
--- a/erpnext/docs/assets/old_images/erpnext/rename-output.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/repack-1.png b/erpnext/docs/assets/old_images/erpnext/repack-1.png
deleted file mode 100644
index 447eb9c..0000000
--- a/erpnext/docs/assets/old_images/erpnext/repack-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/repack-2.png b/erpnext/docs/assets/old_images/erpnext/repack-2.png
deleted file mode 100644
index bf6c9b2..0000000
--- a/erpnext/docs/assets/old_images/erpnext/repack-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/salary-manager.png b/erpnext/docs/assets/old_images/erpnext/salary-manager.png
deleted file mode 100644
index 0f62b33..0000000
--- a/erpnext/docs/assets/old_images/erpnext/salary-manager.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/salary-slip-1.png b/erpnext/docs/assets/old_images/erpnext/salary-slip-1.png
deleted file mode 100644
index 9ed66a5..0000000
--- a/erpnext/docs/assets/old_images/erpnext/salary-slip-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/salary-structure.png b/erpnext/docs/assets/old_images/erpnext/salary-structure.png
deleted file mode 100644
index 8e7e6b3..0000000
--- a/erpnext/docs/assets/old_images/erpnext/salary-structure.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/sales-bom-.png b/erpnext/docs/assets/old_images/erpnext/sales-bom-.png
deleted file mode 100644
index b05b0a6..0000000
--- a/erpnext/docs/assets/old_images/erpnext/sales-bom-.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/sales-bom-usein-so.png b/erpnext/docs/assets/old_images/erpnext/sales-bom-usein-so.png
deleted file mode 100644
index 95b0225..0000000
--- a/erpnext/docs/assets/old_images/erpnext/sales-bom-usein-so.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/sales-invoice.png b/erpnext/docs/assets/old_images/erpnext/sales-invoice.png
deleted file mode 100644
index 54f6311..0000000
--- a/erpnext/docs/assets/old_images/erpnext/sales-invoice.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/sales-order-list-distributor.png b/erpnext/docs/assets/old_images/erpnext/sales-order-list-distributor.png
deleted file mode 100644
index b5379b6..0000000
--- a/erpnext/docs/assets/old_images/erpnext/sales-order-list-distributor.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/sales-order-recurring.png b/erpnext/docs/assets/old_images/erpnext/sales-order-recurring.png
deleted file mode 100644
index bcb8416..0000000
--- a/erpnext/docs/assets/old_images/erpnext/sales-order-recurring.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/sales-order.png b/erpnext/docs/assets/old_images/erpnext/sales-order.png
deleted file mode 100644
index 6cef259..0000000
--- a/erpnext/docs/assets/old_images/erpnext/sales-order.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/sales-partner-address.png b/erpnext/docs/assets/old_images/erpnext/sales-partner-address.png
deleted file mode 100644
index 9896705..0000000
--- a/erpnext/docs/assets/old_images/erpnext/sales-partner-address.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/sales-partner-name.png b/erpnext/docs/assets/old_images/erpnext/sales-partner-name.png
deleted file mode 100644
index 7eba7a2..0000000
--- a/erpnext/docs/assets/old_images/erpnext/sales-partner-name.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/sales-partner-target.png b/erpnext/docs/assets/old_images/erpnext/sales-partner-target.png
deleted file mode 100644
index 467b132..0000000
--- a/erpnext/docs/assets/old_images/erpnext/sales-partner-target.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/sales-partner-website.png b/erpnext/docs/assets/old_images/erpnext/sales-partner-website.png
deleted file mode 100644
index 8cf839c..0000000
--- a/erpnext/docs/assets/old_images/erpnext/sales-partner-website.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/sales-person-1.png b/erpnext/docs/assets/old_images/erpnext/sales-person-1.png
deleted file mode 100644
index a907d73..0000000
--- a/erpnext/docs/assets/old_images/erpnext/sales-person-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/sales-person-2.png b/erpnext/docs/assets/old_images/erpnext/sales-person-2.png
deleted file mode 100644
index 2b4991d..0000000
--- a/erpnext/docs/assets/old_images/erpnext/sales-person-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/sales-person-add.png b/erpnext/docs/assets/old_images/erpnext/sales-person-add.png
deleted file mode 100644
index 0c8ead3..0000000
--- a/erpnext/docs/assets/old_images/erpnext/sales-person-add.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/sales-person-employee.png b/erpnext/docs/assets/old_images/erpnext/sales-person-employee.png
deleted file mode 100644
index ca460e5..0000000
--- a/erpnext/docs/assets/old_images/erpnext/sales-person-employee.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/sales-person-new.png b/erpnext/docs/assets/old_images/erpnext/sales-person-new.png
deleted file mode 100644
index 7824e6d..0000000
--- a/erpnext/docs/assets/old_images/erpnext/sales-person-new.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/sales-tax-master.png b/erpnext/docs/assets/old_images/erpnext/sales-tax-master.png
deleted file mode 100644
index 8a1127d..0000000
--- a/erpnext/docs/assets/old_images/erpnext/sales-tax-master.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/sales_bom_child_in_transaction.png b/erpnext/docs/assets/old_images/erpnext/sales_bom_child_in_transaction.png
deleted file mode 100644
index 187192f..0000000
--- a/erpnext/docs/assets/old_images/erpnext/sales_bom_child_in_transaction.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/sales_bom_item.png b/erpnext/docs/assets/old_images/erpnext/sales_bom_item.png
deleted file mode 100644
index 3d05240..0000000
--- a/erpnext/docs/assets/old_images/erpnext/sales_bom_item.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/sales_bom_main_in_transaction.png b/erpnext/docs/assets/old_images/erpnext/sales_bom_main_in_transaction.png
deleted file mode 100644
index 8066ac8..0000000
--- a/erpnext/docs/assets/old_images/erpnext/sales_bom_main_in_transaction.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/sales_bom_packed_items.png b/erpnext/docs/assets/old_images/erpnext/sales_bom_packed_items.png
deleted file mode 100644
index 3158844..0000000
--- a/erpnext/docs/assets/old_images/erpnext/sales_bom_packed_items.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/seconddaysetup-accounts-jv.png b/erpnext/docs/assets/old_images/erpnext/seconddaysetup-accounts-jv.png
deleted file mode 100644
index 2192b00..0000000
--- a/erpnext/docs/assets/old_images/erpnext/seconddaysetup-accounts-jv.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/seconddaysetup-accounts.png b/erpnext/docs/assets/old_images/erpnext/seconddaysetup-accounts.png
deleted file mode 100644
index ce9a3f9..0000000
--- a/erpnext/docs/assets/old_images/erpnext/seconddaysetup-accounts.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/seconddaysetup-hr.png b/erpnext/docs/assets/old_images/erpnext/seconddaysetup-hr.png
deleted file mode 100644
index ac754a2..0000000
--- a/erpnext/docs/assets/old_images/erpnext/seconddaysetup-hr.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/seconddaysetup-stock-opening.png b/erpnext/docs/assets/old_images/erpnext/seconddaysetup-stock-opening.png
deleted file mode 100644
index 3968eda..0000000
--- a/erpnext/docs/assets/old_images/erpnext/seconddaysetup-stock-opening.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/seconddaysetup-tree.png b/erpnext/docs/assets/old_images/erpnext/seconddaysetup-tree.png
deleted file mode 100644
index e030f3c..0000000
--- a/erpnext/docs/assets/old_images/erpnext/seconddaysetup-tree.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/selling-setup.png b/erpnext/docs/assets/old_images/erpnext/selling-setup.png
deleted file mode 100644
index d0de2df..0000000
--- a/erpnext/docs/assets/old_images/erpnext/selling-setup.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/serial-no-auto-1.png b/erpnext/docs/assets/old_images/erpnext/serial-no-auto-1.png
deleted file mode 100644
index 60555d0..0000000
--- a/erpnext/docs/assets/old_images/erpnext/serial-no-auto-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/serial-no-auto-2.png b/erpnext/docs/assets/old_images/erpnext/serial-no-auto-2.png
deleted file mode 100644
index a5dd54b..0000000
--- a/erpnext/docs/assets/old_images/erpnext/serial-no-auto-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/serial-no-entry.png b/erpnext/docs/assets/old_images/erpnext/serial-no-entry.png
deleted file mode 100644
index 581fb47..0000000
--- a/erpnext/docs/assets/old_images/erpnext/serial-no-entry.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/service-provider-desktop.png b/erpnext/docs/assets/old_images/erpnext/service-provider-desktop.png
deleted file mode 100644
index e7114d8..0000000
--- a/erpnext/docs/assets/old_images/erpnext/service-provider-desktop.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/service-provider-item.png b/erpnext/docs/assets/old_images/erpnext/service-provider-item.png
deleted file mode 100644
index 8641580..0000000
--- a/erpnext/docs/assets/old_images/erpnext/service-provider-item.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/service-provider-quotation.png b/erpnext/docs/assets/old_images/erpnext/service-provider-quotation.png
deleted file mode 100644
index d827628..0000000
--- a/erpnext/docs/assets/old_images/erpnext/service-provider-quotation.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/setting-up-permissions-employee-role.png b/erpnext/docs/assets/old_images/erpnext/setting-up-permissions-employee-role.png
deleted file mode 100644
index e2a2bd6..0000000
--- a/erpnext/docs/assets/old_images/erpnext/setting-up-permissions-employee-role.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/setting-up-permissions-hr-manager-role.png b/erpnext/docs/assets/old_images/erpnext/setting-up-permissions-hr-manager-role.png
deleted file mode 100644
index d3f268e..0000000
--- a/erpnext/docs/assets/old_images/erpnext/setting-up-permissions-hr-manager-role.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/setting-up-permissions-hr-user-role.png b/erpnext/docs/assets/old_images/erpnext/setting-up-permissions-hr-user-role.png
deleted file mode 100644
index 36220e2..0000000
--- a/erpnext/docs/assets/old_images/erpnext/setting-up-permissions-hr-user-role.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/setting-up-permissions-leave-application-form.png b/erpnext/docs/assets/old_images/erpnext/setting-up-permissions-leave-application-form.png
deleted file mode 100644
index 3da67c4..0000000
--- a/erpnext/docs/assets/old_images/erpnext/setting-up-permissions-leave-application-form.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/setting-up-permissions-leave-application.png b/erpnext/docs/assets/old_images/erpnext/setting-up-permissions-leave-application.png
deleted file mode 100644
index 21bf7ac..0000000
--- a/erpnext/docs/assets/old_images/erpnext/setting-up-permissions-leave-application.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/setting-up-permissions-leave-approver-role.png b/erpnext/docs/assets/old_images/erpnext/setting-up-permissions-leave-approver-role.png
deleted file mode 100644
index 5174fd8..0000000
--- a/erpnext/docs/assets/old_images/erpnext/setting-up-permissions-leave-approver-role.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/setup/email-alert-1.png b/erpnext/docs/assets/old_images/erpnext/setup/email-alert-1.png
deleted file mode 100644
index d1a7f02..0000000
--- a/erpnext/docs/assets/old_images/erpnext/setup/email-alert-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/setup/email-alert-2.png b/erpnext/docs/assets/old_images/erpnext/setup/email-alert-2.png
deleted file mode 100644
index 25dc8d3..0000000
--- a/erpnext/docs/assets/old_images/erpnext/setup/email-alert-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/sog-spoon-stand.jpg b/erpnext/docs/assets/old_images/erpnext/sog-spoon-stand.jpg
deleted file mode 100644
index dde1b43..0000000
--- a/erpnext/docs/assets/old_images/erpnext/sog-spoon-stand.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/ss-campaign-naming-by.png b/erpnext/docs/assets/old_images/erpnext/ss-campaign-naming-by.png
deleted file mode 100644
index fd14cde..0000000
--- a/erpnext/docs/assets/old_images/erpnext/ss-campaign-naming-by.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/ss-customer-group-error.png b/erpnext/docs/assets/old_images/erpnext/ss-customer-group-error.png
deleted file mode 100644
index 0b32d06..0000000
--- a/erpnext/docs/assets/old_images/erpnext/ss-customer-group-error.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/ss-customer-naming-by.png b/erpnext/docs/assets/old_images/erpnext/ss-customer-naming-by.png
deleted file mode 100644
index 0b565d5..0000000
--- a/erpnext/docs/assets/old_images/erpnext/ss-customer-naming-by.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/ss-default-customer-group.png b/erpnext/docs/assets/old_images/erpnext/ss-default-customer-group.png
deleted file mode 100644
index 885c978..0000000
--- a/erpnext/docs/assets/old_images/erpnext/ss-default-customer-group.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/ss-default-price-list.png b/erpnext/docs/assets/old_images/erpnext/ss-default-price-list.png
deleted file mode 100644
index 0678cde..0000000
--- a/erpnext/docs/assets/old_images/erpnext/ss-default-price-list.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/ss-default-territory.png b/erpnext/docs/assets/old_images/erpnext/ss-default-territory.png
deleted file mode 100644
index f2ce83c..0000000
--- a/erpnext/docs/assets/old_images/erpnext/ss-default-territory.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/ss-delivery-note-required.png b/erpnext/docs/assets/old_images/erpnext/ss-delivery-note-required.png
deleted file mode 100644
index 9b447b3..0000000
--- a/erpnext/docs/assets/old_images/erpnext/ss-delivery-note-required.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/ss-edit-price-list-rate.png b/erpnext/docs/assets/old_images/erpnext/ss-edit-price-list-rate.png
deleted file mode 100644
index 5bc5b10..0000000
--- a/erpnext/docs/assets/old_images/erpnext/ss-edit-price-list-rate.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/ss-sales-order-required.png b/erpnext/docs/assets/old_images/erpnext/ss-sales-order-required.png
deleted file mode 100644
index 9174957..0000000
--- a/erpnext/docs/assets/old_images/erpnext/ss-sales-order-required.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/ss-same-rate-throughout.png b/erpnext/docs/assets/old_images/erpnext/ss-same-rate-throughout.png
deleted file mode 100644
index 38c23a8..0000000
--- a/erpnext/docs/assets/old_images/erpnext/ss-same-rate-throughout.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/stock-balance-report-jps-1.png b/erpnext/docs/assets/old_images/erpnext/stock-balance-report-jps-1.png
deleted file mode 100644
index 3533cc9..0000000
--- a/erpnext/docs/assets/old_images/erpnext/stock-balance-report-jps-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/stock-entry-repack.png b/erpnext/docs/assets/old_images/erpnext/stock-entry-repack.png
deleted file mode 100644
index d78e717..0000000
--- a/erpnext/docs/assets/old_images/erpnext/stock-entry-repack.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/stock-entry.png b/erpnext/docs/assets/old_images/erpnext/stock-entry.png
deleted file mode 100644
index b0198bf..0000000
--- a/erpnext/docs/assets/old_images/erpnext/stock-entry.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/stock-inventory.png b/erpnext/docs/assets/old_images/erpnext/stock-inventory.png
deleted file mode 100644
index 26bb7dc..0000000
--- a/erpnext/docs/assets/old_images/erpnext/stock-inventory.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/stock-ledger-report-sr000001.png b/erpnext/docs/assets/old_images/erpnext/stock-ledger-report-sr000001.png
deleted file mode 100644
index 92bfe3d..0000000
--- a/erpnext/docs/assets/old_images/erpnext/stock-ledger-report-sr000001.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/stock-reco-browse.png b/erpnext/docs/assets/old_images/erpnext/stock-reco-browse.png
deleted file mode 100644
index 6113043..0000000
--- a/erpnext/docs/assets/old_images/erpnext/stock-reco-browse.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/stock-reco-template.png b/erpnext/docs/assets/old_images/erpnext/stock-reco-template.png
deleted file mode 100644
index 7b1bb6d..0000000
--- a/erpnext/docs/assets/old_images/erpnext/stock-reco-template.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/stock-recociliation-upload.png b/erpnext/docs/assets/old_images/erpnext/stock-recociliation-upload.png
deleted file mode 100644
index 4b8b082..0000000
--- a/erpnext/docs/assets/old_images/erpnext/stock-recociliation-upload.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/stock-reconciliation-4.png b/erpnext/docs/assets/old_images/erpnext/stock-reconciliation-4.png
deleted file mode 100644
index 8b8d450..0000000
--- a/erpnext/docs/assets/old_images/erpnext/stock-reconciliation-4.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/stock-reconciliation-with-data.png b/erpnext/docs/assets/old_images/erpnext/stock-reconciliation-with-data.png
deleted file mode 100644
index f6ff914..0000000
--- a/erpnext/docs/assets/old_images/erpnext/stock-reconciliation-with-data.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/supplier-1.png b/erpnext/docs/assets/old_images/erpnext/supplier-1.png
deleted file mode 100644
index 88971be..0000000
--- a/erpnext/docs/assets/old_images/erpnext/supplier-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/supplier-quotation-list-distributor.png b/erpnext/docs/assets/old_images/erpnext/supplier-quotation-list-distributor.png
deleted file mode 100644
index 9ccdeda..0000000
--- a/erpnext/docs/assets/old_images/erpnext/supplier-quotation-list-distributor.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/supplier-quotation.png b/erpnext/docs/assets/old_images/erpnext/supplier-quotation.png
deleted file mode 100644
index 25ab739..0000000
--- a/erpnext/docs/assets/old_images/erpnext/supplier-quotation.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/supplier-type.png b/erpnext/docs/assets/old_images/erpnext/supplier-type.png
deleted file mode 100644
index 5cfa18f..0000000
--- a/erpnext/docs/assets/old_images/erpnext/supplier-type.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/supplier.png b/erpnext/docs/assets/old_images/erpnext/supplier.png
deleted file mode 100644
index 447ef76..0000000
--- a/erpnext/docs/assets/old_images/erpnext/supplier.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/support-sp.png b/erpnext/docs/assets/old_images/erpnext/support-sp.png
deleted file mode 100644
index d94c45f..0000000
--- a/erpnext/docs/assets/old_images/erpnext/support-sp.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/support-ticket.png b/erpnext/docs/assets/old_images/erpnext/support-ticket.png
deleted file mode 100644
index e1e078e..0000000
--- a/erpnext/docs/assets/old_images/erpnext/support-ticket.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/tags.png b/erpnext/docs/assets/old_images/erpnext/tags.png
deleted file mode 100644
index 3211f52..0000000
--- a/erpnext/docs/assets/old_images/erpnext/tags.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/tasks.png b/erpnext/docs/assets/old_images/erpnext/tasks.png
deleted file mode 100644
index 9f89994..0000000
--- a/erpnext/docs/assets/old_images/erpnext/tasks.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/taxes-master-sp.png b/erpnext/docs/assets/old_images/erpnext/taxes-master-sp.png
deleted file mode 100644
index 7e301b5..0000000
--- a/erpnext/docs/assets/old_images/erpnext/taxes-master-sp.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/terms-and-condition-data.png b/erpnext/docs/assets/old_images/erpnext/terms-and-condition-data.png
deleted file mode 100644
index 9446887..0000000
--- a/erpnext/docs/assets/old_images/erpnext/terms-and-condition-data.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/terms-and-condition-transactions.png b/erpnext/docs/assets/old_images/erpnext/terms-and-condition-transactions.png
deleted file mode 100644
index b568fa1..0000000
--- a/erpnext/docs/assets/old_images/erpnext/terms-and-condition-transactions.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/terms-edit-in-html.png b/erpnext/docs/assets/old_images/erpnext/terms-edit-in-html.png
deleted file mode 100644
index e60edb6..0000000
--- a/erpnext/docs/assets/old_images/erpnext/terms-edit-in-html.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/terms-in-html.png b/erpnext/docs/assets/old_images/erpnext/terms-in-html.png
deleted file mode 100644
index b510d84..0000000
--- a/erpnext/docs/assets/old_images/erpnext/terms-in-html.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/terms.png b/erpnext/docs/assets/old_images/erpnext/terms.png
deleted file mode 100644
index d65934f..0000000
--- a/erpnext/docs/assets/old_images/erpnext/terms.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/territory-1.png b/erpnext/docs/assets/old_images/erpnext/territory-1.png
deleted file mode 100644
index 159b465..0000000
--- a/erpnext/docs/assets/old_images/erpnext/territory-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/territory-2.png b/erpnext/docs/assets/old_images/erpnext/territory-2.png
deleted file mode 100644
index 371ec78..0000000
--- a/erpnext/docs/assets/old_images/erpnext/territory-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/territory-tree-1.png b/erpnext/docs/assets/old_images/erpnext/territory-tree-1.png
deleted file mode 100644
index 10f9c7c..0000000
--- a/erpnext/docs/assets/old_images/erpnext/territory-tree-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/territory-tree.png b/erpnext/docs/assets/old_images/erpnext/territory-tree.png
deleted file mode 100644
index 1535657..0000000
--- a/erpnext/docs/assets/old_images/erpnext/territory-tree.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/time-log.png b/erpnext/docs/assets/old_images/erpnext/time-log.png
deleted file mode 100644
index 600ebdd..0000000
--- a/erpnext/docs/assets/old_images/erpnext/time-log.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/timelog1.jpg b/erpnext/docs/assets/old_images/erpnext/timelog1.jpg
deleted file mode 100644
index 2d23ef6..0000000
--- a/erpnext/docs/assets/old_images/erpnext/timelog1.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/timelog2.jpg b/erpnext/docs/assets/old_images/erpnext/timelog2.jpg
deleted file mode 100644
index 424739c..0000000
--- a/erpnext/docs/assets/old_images/erpnext/timelog2.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/timelog3.jpg b/erpnext/docs/assets/old_images/erpnext/timelog3.jpg
deleted file mode 100644
index dd1c11e..0000000
--- a/erpnext/docs/assets/old_images/erpnext/timelog3.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/timelog4.jpg b/erpnext/docs/assets/old_images/erpnext/timelog4.jpg
deleted file mode 100644
index 2b74e1c..0000000
--- a/erpnext/docs/assets/old_images/erpnext/timelog4.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/timelog5.jpg b/erpnext/docs/assets/old_images/erpnext/timelog5.jpg
deleted file mode 100644
index 492f9c0..0000000
--- a/erpnext/docs/assets/old_images/erpnext/timelog5.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/timelog6.jpg b/erpnext/docs/assets/old_images/erpnext/timelog6.jpg
deleted file mode 100644
index 070ef60..0000000
--- a/erpnext/docs/assets/old_images/erpnext/timelog6.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/timelog7.jpg b/erpnext/docs/assets/old_images/erpnext/timelog7.jpg
deleted file mode 100644
index 1d1d2ca..0000000
--- a/erpnext/docs/assets/old_images/erpnext/timelog7.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/to-do.png b/erpnext/docs/assets/old_images/erpnext/to-do.png
deleted file mode 100644
index c6504d3..0000000
--- a/erpnext/docs/assets/old_images/erpnext/to-do.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/transfer-raw-material.png b/erpnext/docs/assets/old_images/erpnext/transfer-raw-material.png
deleted file mode 100644
index 14bf8ef..0000000
--- a/erpnext/docs/assets/old_images/erpnext/transfer-raw-material.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/trial-balance.png b/erpnext/docs/assets/old_images/erpnext/trial-balance.png
deleted file mode 100644
index 46d217f..0000000
--- a/erpnext/docs/assets/old_images/erpnext/trial-balance.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/triangle-button-company.png b/erpnext/docs/assets/old_images/erpnext/triangle-button-company.png
deleted file mode 100644
index 6e2273b..0000000
--- a/erpnext/docs/assets/old_images/erpnext/triangle-button-company.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/unionglobal-coffeemaker.jpg b/erpnext/docs/assets/old_images/erpnext/unionglobal-coffeemaker.jpg
deleted file mode 100644
index 9b9fdd7..0000000
--- a/erpnext/docs/assets/old_images/erpnext/unionglobal-coffeemaker.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/unionglobal-ricecooker.jpg b/erpnext/docs/assets/old_images/erpnext/unionglobal-ricecooker.jpg
deleted file mode 100644
index ee05a8a..0000000
--- a/erpnext/docs/assets/old_images/erpnext/unionglobal-ricecooker.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/unionglobal-tumbledryer.jpg b/erpnext/docs/assets/old_images/erpnext/unionglobal-tumbledryer.jpg
deleted file mode 100644
index c4d6400..0000000
--- a/erpnext/docs/assets/old_images/erpnext/unionglobal-tumbledryer.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/upload-attendance.png b/erpnext/docs/assets/old_images/erpnext/upload-attendance.png
deleted file mode 100644
index 8dcb741..0000000
--- a/erpnext/docs/assets/old_images/erpnext/upload-attendance.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/user-permission-user-limited-by-company.png b/erpnext/docs/assets/old_images/erpnext/user-permission-user-limited-by-company.png
deleted file mode 100644
index 717cf84..0000000
--- a/erpnext/docs/assets/old_images/erpnext/user-permission-user-limited-by-company.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/user-permissions-company-role-all.png b/erpnext/docs/assets/old_images/erpnext/user-permissions-company-role-all.png
deleted file mode 100644
index 3fac69a..0000000
--- a/erpnext/docs/assets/old_images/erpnext/user-permissions-company-role-all.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/user-permissions-company-wind-power-llc.png b/erpnext/docs/assets/old_images/erpnext/user-permissions-company-wind-power-llc.png
deleted file mode 100644
index bd57719..0000000
--- a/erpnext/docs/assets/old_images/erpnext/user-permissions-company-wind-power-llc.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/user-permissions-company.png b/erpnext/docs/assets/old_images/erpnext/user-permissions-company.png
deleted file mode 100644
index f0c5ba5..0000000
--- a/erpnext/docs/assets/old_images/erpnext/user-permissions-company.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/user-permissions-ignore-user-permissions.png b/erpnext/docs/assets/old_images/erpnext/user-permissions-ignore-user-permissions.png
deleted file mode 100644
index 84cea52..0000000
--- a/erpnext/docs/assets/old_images/erpnext/user-permissions-ignore-user-permissions.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/user-permissions-lead-role-permissions.png b/erpnext/docs/assets/old_images/erpnext/user-permissions-lead-role-permissions.png
deleted file mode 100644
index 6ec0fcf..0000000
--- a/erpnext/docs/assets/old_images/erpnext/user-permissions-lead-role-permissions.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/user-permissions-quotation-sales-user.png b/erpnext/docs/assets/old_images/erpnext/user-permissions-quotation-sales-user.png
deleted file mode 100644
index 7f382c8..0000000
--- a/erpnext/docs/assets/old_images/erpnext/user-permissions-quotation-sales-user.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/user1.png b/erpnext/docs/assets/old_images/erpnext/user1.png
deleted file mode 100644
index 4c30c26..0000000
--- a/erpnext/docs/assets/old_images/erpnext/user1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/user2.png b/erpnext/docs/assets/old_images/erpnext/user2.png
deleted file mode 100644
index a16c627..0000000
--- a/erpnext/docs/assets/old_images/erpnext/user2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/user3.png b/erpnext/docs/assets/old_images/erpnext/user3.png
deleted file mode 100644
index 490305b..0000000
--- a/erpnext/docs/assets/old_images/erpnext/user3.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/user4.png b/erpnext/docs/assets/old_images/erpnext/user4.png
deleted file mode 100644
index c3686dc..0000000
--- a/erpnext/docs/assets/old_images/erpnext/user4.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/warehouse.png b/erpnext/docs/assets/old_images/erpnext/warehouse.png
deleted file mode 100644
index 406c5a8..0000000
--- a/erpnext/docs/assets/old_images/erpnext/warehouse.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/webpage.png b/erpnext/docs/assets/old_images/erpnext/webpage.png
deleted file mode 100644
index 08b5d63..0000000
--- a/erpnext/docs/assets/old_images/erpnext/webpage.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/website-settings-1.png b/erpnext/docs/assets/old_images/erpnext/website-settings-1.png
deleted file mode 100644
index 03b1e3a..0000000
--- a/erpnext/docs/assets/old_images/erpnext/website-settings-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/website-settings-2.png b/erpnext/docs/assets/old_images/erpnext/website-settings-2.png
deleted file mode 100644
index 2ec234d..0000000
--- a/erpnext/docs/assets/old_images/erpnext/website-settings-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/website-settings-3.png b/erpnext/docs/assets/old_images/erpnext/website-settings-3.png
deleted file mode 100644
index c6d3bf7..0000000
--- a/erpnext/docs/assets/old_images/erpnext/website-settings-3.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/website-settings-4.png b/erpnext/docs/assets/old_images/erpnext/website-settings-4.png
deleted file mode 100644
index c8abb42..0000000
--- a/erpnext/docs/assets/old_images/erpnext/website-settings-4.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/website-settings.png b/erpnext/docs/assets/old_images/erpnext/website-settings.png
deleted file mode 100644
index 9455c15..0000000
--- a/erpnext/docs/assets/old_images/erpnext/website-settings.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/website-sp.png b/erpnext/docs/assets/old_images/erpnext/website-sp.png
deleted file mode 100644
index 2e3a1c2..0000000
--- a/erpnext/docs/assets/old_images/erpnext/website-sp.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/website/Customer-group-add.png b/erpnext/docs/assets/old_images/erpnext/website/Customer-group-add.png
deleted file mode 100644
index 322b6dd..0000000
--- a/erpnext/docs/assets/old_images/erpnext/website/Customer-group-add.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/website/Customer-group-form.png b/erpnext/docs/assets/old_images/erpnext/website/Customer-group-form.png
deleted file mode 100644
index 266ddc1..0000000
--- a/erpnext/docs/assets/old_images/erpnext/website/Customer-group-form.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/website/Customer-group-new.png b/erpnext/docs/assets/old_images/erpnext/website/Customer-group-new.png
deleted file mode 100644
index 5e42a0d..0000000
--- a/erpnext/docs/assets/old_images/erpnext/website/Customer-group-new.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/website/make-web-form.gif b/erpnext/docs/assets/old_images/erpnext/website/make-web-form.gif
deleted file mode 100644
index 783d10c..0000000
--- a/erpnext/docs/assets/old_images/erpnext/website/make-web-form.gif
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/website/view-web-form.gif b/erpnext/docs/assets/old_images/erpnext/website/view-web-form.gif
deleted file mode 100644
index def4359..0000000
--- a/erpnext/docs/assets/old_images/erpnext/website/view-web-form.gif
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/website/web-form-event.png b/erpnext/docs/assets/old_images/erpnext/website/web-form-event.png
deleted file mode 100644
index 3c90103..0000000
--- a/erpnext/docs/assets/old_images/erpnext/website/web-form-event.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/workflow-leave1.png b/erpnext/docs/assets/old_images/erpnext/workflow-leave1.png
deleted file mode 100644
index 67a3d75..0000000
--- a/erpnext/docs/assets/old_images/erpnext/workflow-leave1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/erpnext/workflow-leave2.png b/erpnext/docs/assets/old_images/erpnext/workflow-leave2.png
deleted file mode 100644
index 7cdc676..0000000
--- a/erpnext/docs/assets/old_images/erpnext/workflow-leave2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/features/feature-1.png b/erpnext/docs/assets/old_images/features/feature-1.png
deleted file mode 100644
index 2809c14..0000000
--- a/erpnext/docs/assets/old_images/features/feature-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/features/feature-10.png b/erpnext/docs/assets/old_images/features/feature-10.png
deleted file mode 100644
index 4945aab..0000000
--- a/erpnext/docs/assets/old_images/features/feature-10.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/features/feature-11.png b/erpnext/docs/assets/old_images/features/feature-11.png
deleted file mode 100644
index 8b4ee81..0000000
--- a/erpnext/docs/assets/old_images/features/feature-11.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/features/feature-2.png b/erpnext/docs/assets/old_images/features/feature-2.png
deleted file mode 100644
index d986b33..0000000
--- a/erpnext/docs/assets/old_images/features/feature-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/features/feature-3.png b/erpnext/docs/assets/old_images/features/feature-3.png
deleted file mode 100644
index 2785eab..0000000
--- a/erpnext/docs/assets/old_images/features/feature-3.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/features/feature-4.png b/erpnext/docs/assets/old_images/features/feature-4.png
deleted file mode 100644
index dedeb9c..0000000
--- a/erpnext/docs/assets/old_images/features/feature-4.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/features/feature-5.png b/erpnext/docs/assets/old_images/features/feature-5.png
deleted file mode 100644
index 207796d..0000000
--- a/erpnext/docs/assets/old_images/features/feature-5.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/features/feature-6.png b/erpnext/docs/assets/old_images/features/feature-6.png
deleted file mode 100644
index 86ada5a..0000000
--- a/erpnext/docs/assets/old_images/features/feature-6.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/features/feature-7.png b/erpnext/docs/assets/old_images/features/feature-7.png
deleted file mode 100644
index fde736d..0000000
--- a/erpnext/docs/assets/old_images/features/feature-7.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/features/feature-8.png b/erpnext/docs/assets/old_images/features/feature-8.png
deleted file mode 100644
index 60d59e1..0000000
--- a/erpnext/docs/assets/old_images/features/feature-8.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/features/feature-9.png b/erpnext/docs/assets/old_images/features/feature-9.png
deleted file mode 100644
index acb7414..0000000
--- a/erpnext/docs/assets/old_images/features/feature-9.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/person-6.jpg b/erpnext/docs/assets/old_images/person-6.jpg
deleted file mode 100644
index d458e85..0000000
--- a/erpnext/docs/assets/old_images/person-6.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/px_by_Gre3g.png b/erpnext/docs/assets/old_images/px_by_Gre3g.png
deleted file mode 100644
index aad9ba5..0000000
--- a/erpnext/docs/assets/old_images/px_by_Gre3g.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/repair-1.jpg b/erpnext/docs/assets/old_images/repair-1.jpg
deleted file mode 100644
index d7a4355..0000000
--- a/erpnext/docs/assets/old_images/repair-1.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/sharing.jpg b/erpnext/docs/assets/old_images/sharing.jpg
deleted file mode 100644
index 0e2a615..0000000
--- a/erpnext/docs/assets/old_images/sharing.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/stories/aditya-duggal.png b/erpnext/docs/assets/old_images/stories/aditya-duggal.png
deleted file mode 100644
index 34e3486..0000000
--- a/erpnext/docs/assets/old_images/stories/aditya-duggal.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/stories/alcon-logo.png b/erpnext/docs/assets/old_images/stories/alcon-logo.png
deleted file mode 100644
index f6dec2c..0000000
--- a/erpnext/docs/assets/old_images/stories/alcon-logo.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/stories/becht.jpg b/erpnext/docs/assets/old_images/stories/becht.jpg
deleted file mode 100644
index 0bfd4cd..0000000
--- a/erpnext/docs/assets/old_images/stories/becht.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/stories/fritzing-1.png b/erpnext/docs/assets/old_images/stories/fritzing-1.png
deleted file mode 100644
index 7d8928c..0000000
--- a/erpnext/docs/assets/old_images/stories/fritzing-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/stories/fritzing-board.png b/erpnext/docs/assets/old_images/stories/fritzing-board.png
deleted file mode 100644
index 0696e4f..0000000
--- a/erpnext/docs/assets/old_images/stories/fritzing-board.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/stories/fritzing-board2.png b/erpnext/docs/assets/old_images/stories/fritzing-board2.png
deleted file mode 100644
index a2ad866..0000000
--- a/erpnext/docs/assets/old_images/stories/fritzing-board2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/stories/fritzing-lab.png b/erpnext/docs/assets/old_images/stories/fritzing-lab.png
deleted file mode 100644
index b666460..0000000
--- a/erpnext/docs/assets/old_images/stories/fritzing-lab.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/stories/fritzing-logo.png b/erpnext/docs/assets/old_images/stories/fritzing-logo.png
deleted file mode 100644
index 687ee7e..0000000
--- a/erpnext/docs/assets/old_images/stories/fritzing-logo.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/stories/fritzing-ohs.png b/erpnext/docs/assets/old_images/stories/fritzing-ohs.png
deleted file mode 100644
index e9f0af8..0000000
--- a/erpnext/docs/assets/old_images/stories/fritzing-ohs.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/stories/hisham_farid.jpg b/erpnext/docs/assets/old_images/stories/hisham_farid.jpg
deleted file mode 100644
index 5dc4d2c..0000000
--- a/erpnext/docs/assets/old_images/stories/hisham_farid.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/stories/laurence.jpg b/erpnext/docs/assets/old_images/stories/laurence.jpg
deleted file mode 100644
index 0d32939..0000000
--- a/erpnext/docs/assets/old_images/stories/laurence.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/stories/max_morais.jpg b/erpnext/docs/assets/old_images/stories/max_morais.jpg
deleted file mode 100644
index b4ee6ca..0000000
--- a/erpnext/docs/assets/old_images/stories/max_morais.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/stories/rigpl-logo.png b/erpnext/docs/assets/old_images/stories/rigpl-logo.png
deleted file mode 100644
index f4938e9e..0000000
--- a/erpnext/docs/assets/old_images/stories/rigpl-logo.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/stories/rigpl-products.png b/erpnext/docs/assets/old_images/stories/rigpl-products.png
deleted file mode 100644
index 9251914..0000000
--- a/erpnext/docs/assets/old_images/stories/rigpl-products.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/stories/tarun-gupta-neural.jpg b/erpnext/docs/assets/old_images/stories/tarun-gupta-neural.jpg
deleted file mode 100644
index 6200479..0000000
--- a/erpnext/docs/assets/old_images/stories/tarun-gupta-neural.jpg
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/stories/zel-ortiz.png b/erpnext/docs/assets/old_images/stories/zel-ortiz.png
deleted file mode 100644
index e68941d..0000000
--- a/erpnext/docs/assets/old_images/stories/zel-ortiz.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-1.png b/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-1.png
deleted file mode 100644
index c420597..0000000
--- a/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-1.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-2.png b/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-2.png
deleted file mode 100644
index 4c0bd14..0000000
--- a/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-2.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-3.png b/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-3.png
deleted file mode 100644
index 11b184e..0000000
--- a/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-3.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-4.png b/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-4.png
deleted file mode 100644
index 54dd15d..0000000
--- a/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-4.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-5.png b/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-5.png
deleted file mode 100644
index b879e11..0000000
--- a/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-5.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-6.png b/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-6.png
deleted file mode 100644
index e024005..0000000
--- a/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-6.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-7.png b/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-7.png
deleted file mode 100644
index 13bdc4c..0000000
--- a/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-7.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-8.png b/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-8.png
deleted file mode 100644
index bdbe64c..0000000
--- a/erpnext/docs/assets/old_images/user-guide/setup-wizard/setup-wizard-8.png
+++ /dev/null
Binary files differ
diff --git a/erpnext/docs/contents.html b/erpnext/docs/contents.md
similarity index 100%
rename from erpnext/docs/contents.html
rename to erpnext/docs/contents.md
diff --git a/erpnext/docs/current/api/accounts/erpnext.accounts.general_ledger.html b/erpnext/docs/current/api/accounts/erpnext.accounts.general_ledger.html
deleted file mode 100644
index 5f16dae..0000000
--- a/erpnext/docs/current/api/accounts/erpnext.accounts.general_ledger.html
+++ /dev/null
@@ -1,193 +0,0 @@
-<!-- title: erpnext.accounts.general_ledger --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.general_ledger.md b/erpnext/docs/current/api/accounts/erpnext.accounts.general_ledger.md
new file mode 100644
index 0000000..ee2613a
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/erpnext.accounts.general_ledger.md
@@ -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.x.x</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
deleted file mode 100644
index 695a755..0000000
--- a/erpnext/docs/current/api/accounts/erpnext.accounts.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- title: erpnext.accounts --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/accounts/erpnext.accounts.md
new file mode 100644
index 0000000..eb477e3
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/erpnext.accounts.md
@@ -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.x.x</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
deleted file mode 100644
index ac71d87..0000000
--- a/erpnext/docs/current/api/accounts/erpnext.accounts.party.html
+++ /dev/null
@@ -1,332 +0,0 @@
-<!-- title: erpnext.accounts.party --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.party.md b/erpnext/docs/current/api/accounts/erpnext.accounts.party.md
new file mode 100644
index 0000000..e5c8d31
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/erpnext.accounts.party.md
@@ -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.x.x</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
deleted file mode 100644
index 3006719..0000000
--- a/erpnext/docs/current/api/accounts/erpnext.accounts.utils.html
+++ /dev/null
@@ -1,380 +0,0 @@
-<!-- title: erpnext.accounts.utils --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/erpnext.accounts.utils.md b/erpnext/docs/current/api/accounts/erpnext.accounts.utils.md
new file mode 100644
index 0000000..e280a9b
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/erpnext.accounts.utils.md
@@ -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.x.x</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">(party_type, party, account, condition=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_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
deleted file mode 100644
index 310f9c5..0000000
--- a/erpnext/docs/current/api/accounts/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: accounts -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/accounts/index.md
new file mode 100644
index 0000000..9c93356
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/index.md
@@ -0,0 +1,19 @@
+<!-- title: accounts -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/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
deleted file mode 100644
index e98decb..0000000
--- a/erpnext/docs/current/api/accounts/print_format/cheque_printing_format/erpnext.accounts.print_format.cheque_printing_format.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- 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.7</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/erpnext.accounts.print_format.cheque_printing_format.md b/erpnext/docs/current/api/accounts/print_format/cheque_printing_format/erpnext.accounts.print_format.cheque_printing_format.md
new file mode 100644
index 0000000..a67ad8f
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/cheque_printing_format/erpnext.accounts.print_format.cheque_printing_format.md
@@ -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.x.x</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
deleted file mode 100644
index 6a6452f..0000000
--- a/erpnext/docs/current/api/accounts/print_format/cheque_printing_format/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: cheque_printing_format -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/accounts/print_format/cheque_printing_format/index.md
new file mode 100644
index 0000000..48d9afd
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/cheque_printing_format/index.md
@@ -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.x.x</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/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
deleted file mode 100644
index 32d53bb..0000000
--- a/erpnext/docs/current/api/accounts/print_format/credit_note/erpnext.accounts.print_format.credit_note.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- 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.7</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/erpnext.accounts.print_format.credit_note.md b/erpnext/docs/current/api/accounts/print_format/credit_note/erpnext.accounts.print_format.credit_note.md
new file mode 100644
index 0000000..f2fa7b5
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/credit_note/erpnext.accounts.print_format.credit_note.md
@@ -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.x.x</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
deleted file mode 100644
index 954e7bf..0000000
--- a/erpnext/docs/current/api/accounts/print_format/credit_note/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: credit_note -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/accounts/print_format/credit_note/index.md
new file mode 100644
index 0000000..fea00d4
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/credit_note/index.md
@@ -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.x.x</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/erpnext.accounts.print_format.html b/erpnext/docs/current/api/accounts/print_format/erpnext.accounts.print_format.html
deleted file mode 100644
index a94646a..0000000
--- a/erpnext/docs/current/api/accounts/print_format/erpnext.accounts.print_format.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- title: erpnext.accounts.print_format --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/erpnext.accounts.print_format.md b/erpnext/docs/current/api/accounts/print_format/erpnext.accounts.print_format.md
new file mode 100644
index 0000000..6201a82
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/erpnext.accounts.print_format.md
@@ -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.x.x</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
deleted file mode 100644
index d86b65c..0000000
--- a/erpnext/docs/current/api/accounts/print_format/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: print_format -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/accounts/print_format/index.md
new file mode 100644
index 0000000..d8c6158
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/index.md
@@ -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.x.x</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/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
deleted file mode 100644
index 46a5105..0000000
--- a/erpnext/docs/current/api/accounts/print_format/payment_receipt_voucher/erpnext.accounts.print_format.payment_receipt_voucher.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- 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.7</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/erpnext.accounts.print_format.payment_receipt_voucher.md b/erpnext/docs/current/api/accounts/print_format/payment_receipt_voucher/erpnext.accounts.print_format.payment_receipt_voucher.md
new file mode 100644
index 0000000..36a19b4
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/payment_receipt_voucher/erpnext.accounts.print_format.payment_receipt_voucher.md
@@ -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.x.x</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
deleted file mode 100644
index db92579..0000000
--- a/erpnext/docs/current/api/accounts/print_format/payment_receipt_voucher/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: payment_receipt_voucher -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/accounts/print_format/payment_receipt_voucher/index.md
new file mode 100644
index 0000000..f51bbbc
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/payment_receipt_voucher/index.md
@@ -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.x.x</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/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
deleted file mode 100644
index bc1e96b..0000000
--- a/erpnext/docs/current/api/accounts/print_format/pos_invoice/erpnext.accounts.print_format.pos_invoice.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- 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.7</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/erpnext.accounts.print_format.pos_invoice.md b/erpnext/docs/current/api/accounts/print_format/pos_invoice/erpnext.accounts.print_format.pos_invoice.md
new file mode 100644
index 0000000..8a1faf6
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/pos_invoice/erpnext.accounts.print_format.pos_invoice.md
@@ -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.x.x</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
deleted file mode 100644
index 6383f6b..0000000
--- a/erpnext/docs/current/api/accounts/print_format/pos_invoice/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: pos_invoice -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/accounts/print_format/pos_invoice/index.md
new file mode 100644
index 0000000..a8b2dd5
--- /dev/null
+++ b/erpnext/docs/current/api/accounts/print_format/pos_invoice/index.md
@@ -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.x.x</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/buying/erpnext.buying.html b/erpnext/docs/current/api/buying/erpnext.buying.html
deleted file mode 100644
index df4107d..0000000
--- a/erpnext/docs/current/api/buying/erpnext.buying.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- title: erpnext.buying --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/erpnext.buying.md b/erpnext/docs/current/api/buying/erpnext.buying.md
new file mode 100644
index 0000000..67f986d
--- /dev/null
+++ b/erpnext/docs/current/api/buying/erpnext.buying.md
@@ -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.x.x</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
deleted file mode 100644
index febea07..0000000
--- a/erpnext/docs/current/api/buying/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: buying -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/buying/index.md
new file mode 100644
index 0000000..1843089
--- /dev/null
+++ b/erpnext/docs/current/api/buying/index.md
@@ -0,0 +1,19 @@
+<!-- title: buying -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/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
deleted file mode 100644
index 18a9d3a..0000000
--- a/erpnext/docs/current/api/buying/print_format/drop_shipping/erpnext.buying.print_format.drop_shipping.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- 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.7</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/erpnext.buying.print_format.drop_shipping.md b/erpnext/docs/current/api/buying/print_format/drop_shipping/erpnext.buying.print_format.drop_shipping.md
new file mode 100644
index 0000000..d84423e
--- /dev/null
+++ b/erpnext/docs/current/api/buying/print_format/drop_shipping/erpnext.buying.print_format.drop_shipping.md
@@ -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.x.x</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
deleted file mode 100644
index 69cbe2e..0000000
--- a/erpnext/docs/current/api/buying/print_format/drop_shipping/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: drop_shipping -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/buying/print_format/drop_shipping/index.md
new file mode 100644
index 0000000..47647f0
--- /dev/null
+++ b/erpnext/docs/current/api/buying/print_format/drop_shipping/index.md
@@ -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.x.x</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/erpnext.buying.print_format.html b/erpnext/docs/current/api/buying/print_format/erpnext.buying.print_format.html
deleted file mode 100644
index b60e4b3..0000000
--- a/erpnext/docs/current/api/buying/print_format/erpnext.buying.print_format.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- title: erpnext.buying.print_format --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/erpnext.buying.print_format.md b/erpnext/docs/current/api/buying/print_format/erpnext.buying.print_format.md
new file mode 100644
index 0000000..c6a45de
--- /dev/null
+++ b/erpnext/docs/current/api/buying/print_format/erpnext.buying.print_format.md
@@ -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.x.x</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
deleted file mode 100644
index d86b65c..0000000
--- a/erpnext/docs/current/api/buying/print_format/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: print_format -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/buying/print_format/index.md
new file mode 100644
index 0000000..d8c6158
--- /dev/null
+++ b/erpnext/docs/current/api/buying/print_format/index.md
@@ -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.x.x</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/config/erpnext.config.accounts.html b/erpnext/docs/current/api/config/erpnext.config.accounts.html
deleted file mode 100644
index 7e25e31..0000000
--- a/erpnext/docs/current/api/config/erpnext.config.accounts.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!-- title: erpnext.config.accounts --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.accounts.md b/erpnext/docs/current/api/config/erpnext.config.accounts.md
new file mode 100644
index 0000000..aac5da8
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.accounts.md
@@ -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.x.x</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
deleted file mode 100644
index 86f2ae2..0000000
--- a/erpnext/docs/current/api/config/erpnext.config.buying.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!-- title: erpnext.config.buying --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.buying.md b/erpnext/docs/current/api/config/erpnext.config.buying.md
new file mode 100644
index 0000000..6b4ea7c
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.buying.md
@@ -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.x.x</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
deleted file mode 100644
index 4d0a30f..0000000
--- a/erpnext/docs/current/api/config/erpnext.config.crm.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!-- title: erpnext.config.crm --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.crm.md b/erpnext/docs/current/api/config/erpnext.config.crm.md
new file mode 100644
index 0000000..3d8cff2
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.crm.md
@@ -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.x.x</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
deleted file mode 100644
index 632aec0..0000000
--- a/erpnext/docs/current/api/config/erpnext.config.desktop.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!-- title: erpnext.config.desktop --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.desktop.md b/erpnext/docs/current/api/config/erpnext.config.desktop.md
new file mode 100644
index 0000000..487cd32
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.desktop.md
@@ -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.x.x</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
deleted file mode 100644
index 80eb5ab..0000000
--- a/erpnext/docs/current/api/config/erpnext.config.docs.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!-- title: erpnext.config.docs --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.docs.md b/erpnext/docs/current/api/config/erpnext.config.docs.md
new file mode 100644
index 0000000..6df0858
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.docs.md
@@ -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.x.x</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
deleted file mode 100644
index da8aec1..0000000
--- a/erpnext/docs/current/api/config/erpnext.config.hr.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!-- title: erpnext.config.hr --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.hr.md b/erpnext/docs/current/api/config/erpnext.config.hr.md
new file mode 100644
index 0000000..ff59b6e
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.hr.md
@@ -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.x.x</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
deleted file mode 100644
index e541f9a..0000000
--- a/erpnext/docs/current/api/config/erpnext.config.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- title: erpnext.config --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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
deleted file mode 100644
index 1fa4ff4..0000000
--- a/erpnext/docs/current/api/config/erpnext.config.learn.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!-- title: erpnext.config.learn --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.learn.md b/erpnext/docs/current/api/config/erpnext.config.learn.md
new file mode 100644
index 0000000..0765780
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.learn.md
@@ -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.x.x</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
deleted file mode 100644
index d1c2e39..0000000
--- a/erpnext/docs/current/api/config/erpnext.config.manufacturing.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!-- title: erpnext.config.manufacturing --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.manufacturing.md b/erpnext/docs/current/api/config/erpnext.config.manufacturing.md
new file mode 100644
index 0000000..8ae5b5d
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.manufacturing.md
@@ -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.x.x</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.md b/erpnext/docs/current/api/config/erpnext.config.md
new file mode 100644
index 0000000..53a163a
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.md
@@ -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.x.x</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.projects.html b/erpnext/docs/current/api/config/erpnext.config.projects.html
deleted file mode 100644
index be4e6d8..0000000
--- a/erpnext/docs/current/api/config/erpnext.config.projects.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!-- title: erpnext.config.projects --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.projects.md b/erpnext/docs/current/api/config/erpnext.config.projects.md
new file mode 100644
index 0000000..c0f8060
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.projects.md
@@ -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.x.x</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
deleted file mode 100644
index 5c2e5c1..0000000
--- a/erpnext/docs/current/api/config/erpnext.config.selling.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!-- title: erpnext.config.selling --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.selling.md b/erpnext/docs/current/api/config/erpnext.config.selling.md
new file mode 100644
index 0000000..2d17ea7
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.selling.md
@@ -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.x.x</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
deleted file mode 100644
index ce498ee..0000000
--- a/erpnext/docs/current/api/config/erpnext.config.setup.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!-- title: erpnext.config.setup --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.setup.md b/erpnext/docs/current/api/config/erpnext.config.setup.md
new file mode 100644
index 0000000..15348d1
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.setup.md
@@ -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.x.x</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
deleted file mode 100644
index 7f6bf2f..0000000
--- a/erpnext/docs/current/api/config/erpnext.config.stock.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!-- title: erpnext.config.stock --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.stock.md b/erpnext/docs/current/api/config/erpnext.config.stock.md
new file mode 100644
index 0000000..3f8ec32
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.stock.md
@@ -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.x.x</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
deleted file mode 100644
index 7c6c77b..0000000
--- a/erpnext/docs/current/api/config/erpnext.config.support.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!-- title: erpnext.config.support --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.support.md b/erpnext/docs/current/api/config/erpnext.config.support.md
new file mode 100644
index 0000000..27a23b9
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.support.md
@@ -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.x.x</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
deleted file mode 100644
index 9a30633..0000000
--- a/erpnext/docs/current/api/config/erpnext.config.website.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!-- title: erpnext.config.website --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/erpnext.config.website.md b/erpnext/docs/current/api/config/erpnext.config.website.md
new file mode 100644
index 0000000..b5a85c9
--- /dev/null
+++ b/erpnext/docs/current/api/config/erpnext.config.website.md
@@ -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.x.x</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
deleted file mode 100644
index 1c6dbf7..0000000
--- a/erpnext/docs/current/api/config/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: config -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/config/index.md
new file mode 100644
index 0000000..989aaf3
--- /dev/null
+++ b/erpnext/docs/current/api/config/index.md
@@ -0,0 +1,19 @@
+<!-- title: config -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/controllers/erpnext.controllers.accounts_controller.html b/erpnext/docs/current/api/controllers/erpnext.controllers.accounts_controller.html
deleted file mode 100644
index d655f67..0000000
--- a/erpnext/docs/current/api/controllers/erpnext.controllers.accounts_controller.html
+++ /dev/null
@@ -1,527 +0,0 @@
-<!-- title: erpnext.controllers.accounts_controller --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.accounts_controller.md b/erpnext/docs/current/api/controllers/erpnext.controllers.accounts_controller.md
new file mode 100644
index 0000000..78705e3
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.accounts_controller.md
@@ -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.x.x</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
deleted file mode 100644
index 429f76a..0000000
--- a/erpnext/docs/current/api/controllers/erpnext.controllers.buying_controller.html
+++ /dev/null
@@ -1,260 +0,0 @@
-<!-- title: erpnext.controllers.buying_controller --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.buying_controller.md b/erpnext/docs/current/api/controllers/erpnext.controllers.buying_controller.md
new file mode 100644
index 0000000..83fd326
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.buying_controller.md
@@ -0,0 +1,246 @@
+<!-- title: erpnext.controllers.buying_controller --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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>
+
+        
+    </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
deleted file mode 100644
index cb32aca..0000000
--- a/erpnext/docs/current/api/controllers/erpnext.controllers.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- title: erpnext.controllers --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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
deleted file mode 100644
index 184f765..0000000
--- a/erpnext/docs/current/api/controllers/erpnext.controllers.item_variant.html
+++ /dev/null
@@ -1,170 +0,0 @@
-<!-- title: erpnext.controllers.item_variant --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.item_variant.md b/erpnext/docs/current/api/controllers/erpnext.controllers.item_variant.md
new file mode 100644
index 0000000..3720e82
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.item_variant.md
@@ -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.x.x</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.md b/erpnext/docs/current/api/controllers/erpnext.controllers.md
new file mode 100644
index 0000000..ed209a2
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.md
@@ -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.x.x</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.print_settings.html b/erpnext/docs/current/api/controllers/erpnext.controllers.print_settings.html
deleted file mode 100644
index bb34392..0000000
--- a/erpnext/docs/current/api/controllers/erpnext.controllers.print_settings.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!-- title: erpnext.controllers.print_settings --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.print_settings.md b/erpnext/docs/current/api/controllers/erpnext.controllers.print_settings.md
new file mode 100644
index 0000000..75c4469
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.print_settings.md
@@ -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.x.x</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
deleted file mode 100644
index f72b9b9..0000000
--- a/erpnext/docs/current/api/controllers/erpnext.controllers.queries.html
+++ /dev/null
@@ -1,228 +0,0 @@
-<!-- title: erpnext.controllers.queries --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.queries.md b/erpnext/docs/current/api/controllers/erpnext.controllers.queries.md
new file mode 100644
index 0000000..c7dac79
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.queries.md
@@ -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.x.x</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
deleted file mode 100644
index 160b39a..0000000
--- a/erpnext/docs/current/api/controllers/erpnext.controllers.recurring_document.html
+++ /dev/null
@@ -1,195 +0,0 @@
-<!-- title: erpnext.controllers.recurring_document --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.recurring_document.md b/erpnext/docs/current/api/controllers/erpnext.controllers.recurring_document.md
new file mode 100644
index 0000000..b6ac163
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.recurring_document.md
@@ -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.x.x</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
deleted file mode 100644
index ca051b5..0000000
--- a/erpnext/docs/current/api/controllers/erpnext.controllers.sales_and_purchase_return.html
+++ /dev/null
@@ -1,113 +0,0 @@
-<!-- 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.7</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.sales_and_purchase_return.md b/erpnext/docs/current/api/controllers/erpnext.controllers.sales_and_purchase_return.md
new file mode 100644
index 0000000..03a72e8
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.sales_and_purchase_return.md
@@ -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.x.x</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
deleted file mode 100644
index 1181cbe..0000000
--- a/erpnext/docs/current/api/controllers/erpnext.controllers.selling_controller.html
+++ /dev/null
@@ -1,315 +0,0 @@
-<!-- title: erpnext.controllers.selling_controller --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.selling_controller.md b/erpnext/docs/current/api/controllers/erpnext.controllers.selling_controller.md
new file mode 100644
index 0000000..3f83a7b
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.selling_controller.md
@@ -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.x.x</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
deleted file mode 100644
index 42ec1aa..0000000
--- a/erpnext/docs/current/api/controllers/erpnext.controllers.status_updater.html
+++ /dev/null
@@ -1,200 +0,0 @@
-<!-- title: erpnext.controllers.status_updater --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.status_updater.md b/erpnext/docs/current/api/controllers/erpnext.controllers.status_updater.md
new file mode 100644
index 0000000..05fd9ce
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.status_updater.md
@@ -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.x.x</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
deleted file mode 100644
index 8ea37be..0000000
--- a/erpnext/docs/current/api/controllers/erpnext.controllers.stock_controller.html
+++ /dev/null
@@ -1,309 +0,0 @@
-<!-- title: erpnext.controllers.stock_controller --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.stock_controller.md b/erpnext/docs/current/api/controllers/erpnext.controllers.stock_controller.md
new file mode 100644
index 0000000..fd3dc8c
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.stock_controller.md
@@ -0,0 +1,323 @@
+<!-- title: erpnext.controllers.stock_controller --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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>
+
+        
+        
+    
+    
+	<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>
+
+	
+
+	
+        
+    
+    
+	<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
deleted file mode 100644
index 60908ba..0000000
--- a/erpnext/docs/current/api/controllers/erpnext.controllers.taxes_and_totals.html
+++ /dev/null
@@ -1,370 +0,0 @@
-<!-- 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.7</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.taxes_and_totals.md b/erpnext/docs/current/api/controllers/erpnext.controllers.taxes_and_totals.md
new file mode 100644
index 0000000..f0c8a32
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.taxes_and_totals.md
@@ -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.x.x</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
deleted file mode 100644
index 019f1da..0000000
--- a/erpnext/docs/current/api/controllers/erpnext.controllers.trends.html
+++ /dev/null
@@ -1,196 +0,0 @@
-<!-- title: erpnext.controllers.trends --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.trends.md b/erpnext/docs/current/api/controllers/erpnext.controllers.trends.md
new file mode 100644
index 0000000..4b72a39
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.trends.md
@@ -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.x.x</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
deleted file mode 100644
index 3f3e799..0000000
--- a/erpnext/docs/current/api/controllers/erpnext.controllers.website_list_for_contact.html
+++ /dev/null
@@ -1,98 +0,0 @@
-<!-- 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.7</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/erpnext.controllers.website_list_for_contact.md b/erpnext/docs/current/api/controllers/erpnext.controllers.website_list_for_contact.md
new file mode 100644
index 0000000..9c226b2
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/erpnext.controllers.website_list_for_contact.md
@@ -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.x.x</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
deleted file mode 100644
index 44bb2a6..0000000
--- a/erpnext/docs/current/api/controllers/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: controllers -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/controllers/index.md
new file mode 100644
index 0000000..d8da3db
--- /dev/null
+++ b/erpnext/docs/current/api/controllers/index.md
@@ -0,0 +1,19 @@
+<!-- title: controllers -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/crm/erpnext.crm.html b/erpnext/docs/current/api/crm/erpnext.crm.html
deleted file mode 100644
index a9ad9db..0000000
--- a/erpnext/docs/current/api/crm/erpnext.crm.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- title: erpnext.crm --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/erpnext.crm.md b/erpnext/docs/current/api/crm/erpnext.crm.md
new file mode 100644
index 0000000..ff9d2d2
--- /dev/null
+++ b/erpnext/docs/current/api/crm/erpnext.crm.md
@@ -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.x.x</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
deleted file mode 100644
index 57cb22a..0000000
--- a/erpnext/docs/current/api/crm/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: crm -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/crm/index.md
new file mode 100644
index 0000000..ecb502b
--- /dev/null
+++ b/erpnext/docs/current/api/crm/index.md
@@ -0,0 +1,19 @@
+<!-- title: crm -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/erpnext.__init__.html b/erpnext/docs/current/api/erpnext.__init__.html
deleted file mode 100644
index 2dc08dd..0000000
--- a/erpnext/docs/current/api/erpnext.__init__.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- title: erpnext.__init__ --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.__init__.md b/erpnext/docs/current/api/erpnext.__init__.md
new file mode 100644
index 0000000..7020440
--- /dev/null
+++ b/erpnext/docs/current/api/erpnext.__init__.md
@@ -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.x.x</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
deleted file mode 100644
index 462c463..0000000
--- a/erpnext/docs/current/api/erpnext.__version__.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- title: erpnext.__version__ --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.__version__.md b/erpnext/docs/current/api/erpnext.__version__.md
new file mode 100644
index 0000000..7499b1e
--- /dev/null
+++ b/erpnext/docs/current/api/erpnext.__version__.md
@@ -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.x.x</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
deleted file mode 100644
index 4bb418c..0000000
--- a/erpnext/docs/current/api/erpnext.exceptions.html
+++ /dev/null
@@ -1,63 +0,0 @@
-<!-- title: erpnext.exceptions --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.exceptions.md b/erpnext/docs/current/api/erpnext.exceptions.md
new file mode 100644
index 0000000..7c91646
--- /dev/null
+++ b/erpnext/docs/current/api/erpnext.exceptions.md
@@ -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.x.x</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
deleted file mode 100644
index c0d1e23..0000000
--- a/erpnext/docs/current/api/erpnext.hooks.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- title: erpnext.hooks --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.hooks.md b/erpnext/docs/current/api/erpnext.hooks.md
new file mode 100644
index 0000000..d96bfe6
--- /dev/null
+++ b/erpnext/docs/current/api/erpnext.hooks.md
@@ -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.x.x</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
deleted file mode 100644
index c010f6a..0000000
--- a/erpnext/docs/current/api/erpnext.tasks.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- title: erpnext.tasks --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/erpnext.tasks.md b/erpnext/docs/current/api/erpnext.tasks.md
new file mode 100644
index 0000000..9bd0ec2
--- /dev/null
+++ b/erpnext/docs/current/api/erpnext.tasks.md
@@ -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.x.x</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
deleted file mode 100644
index dadae34..0000000
--- a/erpnext/docs/current/api/hr/erpnext.hr.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- title: erpnext.hr --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/hr/erpnext.hr.md
new file mode 100644
index 0000000..0dc3184
--- /dev/null
+++ b/erpnext/docs/current/api/hr/erpnext.hr.md
@@ -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.x.x</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
deleted file mode 100644
index 79a6a3e..0000000
--- a/erpnext/docs/current/api/hr/erpnext.hr.utils.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!-- title: erpnext.hr.utils --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/erpnext.hr.utils.md b/erpnext/docs/current/api/hr/erpnext.hr.utils.md
new file mode 100644
index 0000000..52607d4
--- /dev/null
+++ b/erpnext/docs/current/api/hr/erpnext.hr.utils.md
@@ -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.x.x</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
deleted file mode 100644
index c9829f5..0000000
--- a/erpnext/docs/current/api/hr/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: hr -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/hr/index.md
new file mode 100644
index 0000000..9f0b88d
--- /dev/null
+++ b/erpnext/docs/current/api/hr/index.md
@@ -0,0 +1,19 @@
+<!-- title: hr -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/print_format/erpnext.hr.print_format.html b/erpnext/docs/current/api/hr/print_format/erpnext.hr.print_format.html
deleted file mode 100644
index 6227363..0000000
--- a/erpnext/docs/current/api/hr/print_format/erpnext.hr.print_format.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- title: erpnext.hr.print_format --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/erpnext.hr.print_format.md b/erpnext/docs/current/api/hr/print_format/erpnext.hr.print_format.md
new file mode 100644
index 0000000..2620e48
--- /dev/null
+++ b/erpnext/docs/current/api/hr/print_format/erpnext.hr.print_format.md
@@ -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.x.x</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
deleted file mode 100644
index d86b65c..0000000
--- a/erpnext/docs/current/api/hr/print_format/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: print_format -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/hr/print_format/index.md
new file mode 100644
index 0000000..d8c6158
--- /dev/null
+++ b/erpnext/docs/current/api/hr/print_format/index.md
@@ -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.x.x</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/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
deleted file mode 100644
index 7803026..0000000
--- a/erpnext/docs/current/api/hr/print_format/offer_letter/erpnext.hr.print_format.offer_letter.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- 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.7</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/erpnext.hr.print_format.offer_letter.md b/erpnext/docs/current/api/hr/print_format/offer_letter/erpnext.hr.print_format.offer_letter.md
new file mode 100644
index 0000000..67a3a78
--- /dev/null
+++ b/erpnext/docs/current/api/hr/print_format/offer_letter/erpnext.hr.print_format.offer_letter.md
@@ -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.x.x</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
deleted file mode 100644
index 85638e2..0000000
--- a/erpnext/docs/current/api/hr/print_format/offer_letter/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: offer_letter -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/hr/print_format/offer_letter/index.md
new file mode 100644
index 0000000..e2c18cd
--- /dev/null
+++ b/erpnext/docs/current/api/hr/print_format/offer_letter/index.md
@@ -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.x.x</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/hub_node/erpnext.hub_node.html b/erpnext/docs/current/api/hub_node/erpnext.hub_node.html
deleted file mode 100644
index b52f1b4..0000000
--- a/erpnext/docs/current/api/hub_node/erpnext.hub_node.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!-- title: erpnext.hub_node --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/erpnext.hub_node.md b/erpnext/docs/current/api/hub_node/erpnext.hub_node.md
new file mode 100644
index 0000000..b22b015
--- /dev/null
+++ b/erpnext/docs/current/api/hub_node/erpnext.hub_node.md
@@ -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.x.x</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
deleted file mode 100644
index bc2efca..0000000
--- a/erpnext/docs/current/api/hub_node/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: hub_node -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/hub_node/index.md
new file mode 100644
index 0000000..60b42a5
--- /dev/null
+++ b/erpnext/docs/current/api/hub_node/index.md
@@ -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.x.x</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/index.html b/erpnext/docs/current/api/index.html
deleted file mode 100644
index fce30bd..0000000
--- a/erpnext/docs/current/api/index.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<!-- title: ERPNext API -->
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/index.md
new file mode 100644
index 0000000..3c4ca08
--- /dev/null
+++ b/erpnext/docs/current/api/index.md
@@ -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.x.x</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/manufacturing/erpnext.manufacturing.html b/erpnext/docs/current/api/manufacturing/erpnext.manufacturing.html
deleted file mode 100644
index 9c57056..0000000
--- a/erpnext/docs/current/api/manufacturing/erpnext.manufacturing.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- title: erpnext.manufacturing --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/erpnext.manufacturing.md b/erpnext/docs/current/api/manufacturing/erpnext.manufacturing.md
new file mode 100644
index 0000000..09ff0f7
--- /dev/null
+++ b/erpnext/docs/current/api/manufacturing/erpnext.manufacturing.md
@@ -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.x.x</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
deleted file mode 100644
index 2a1bbcd..0000000
--- a/erpnext/docs/current/api/manufacturing/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: manufacturing -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/manufacturing/index.md
new file mode 100644
index 0000000..5d5021d
--- /dev/null
+++ b/erpnext/docs/current/api/manufacturing/index.md
@@ -0,0 +1,19 @@
+<!-- title: manufacturing -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/projects/erpnext.projects.html b/erpnext/docs/current/api/projects/erpnext.projects.html
deleted file mode 100644
index 1657bf8..0000000
--- a/erpnext/docs/current/api/projects/erpnext.projects.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- title: erpnext.projects --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/projects/erpnext.projects.md
new file mode 100644
index 0000000..7e2d1c6
--- /dev/null
+++ b/erpnext/docs/current/api/projects/erpnext.projects.md
@@ -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.x.x</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
deleted file mode 100644
index a6692b9..0000000
--- a/erpnext/docs/current/api/projects/erpnext.projects.utils.html
+++ /dev/null
@@ -1,54 +0,0 @@
-<!-- title: erpnext.projects.utils --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/erpnext.projects.utils.md b/erpnext/docs/current/api/projects/erpnext.projects.utils.md
new file mode 100644
index 0000000..c98d887
--- /dev/null
+++ b/erpnext/docs/current/api/projects/erpnext.projects.utils.md
@@ -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.x.x</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
deleted file mode 100644
index 0611b17..0000000
--- a/erpnext/docs/current/api/projects/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: projects -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/projects/index.md
new file mode 100644
index 0000000..63248bf
--- /dev/null
+++ b/erpnext/docs/current/api/projects/index.md
@@ -0,0 +1,19 @@
+<!-- title: projects -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/selling/erpnext.selling.html b/erpnext/docs/current/api/selling/erpnext.selling.html
deleted file mode 100644
index 0af115f..0000000
--- a/erpnext/docs/current/api/selling/erpnext.selling.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- title: erpnext.selling --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/erpnext.selling.md b/erpnext/docs/current/api/selling/erpnext.selling.md
new file mode 100644
index 0000000..6d34150
--- /dev/null
+++ b/erpnext/docs/current/api/selling/erpnext.selling.md
@@ -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.x.x</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
deleted file mode 100644
index aade8e5..0000000
--- a/erpnext/docs/current/api/selling/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: selling -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/selling/index.md
new file mode 100644
index 0000000..987b42d
--- /dev/null
+++ b/erpnext/docs/current/api/selling/index.md
@@ -0,0 +1,19 @@
+<!-- title: selling -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/setup/erpnext.setup.html b/erpnext/docs/current/api/setup/erpnext.setup.html
deleted file mode 100644
index 9be218f..0000000
--- a/erpnext/docs/current/api/setup/erpnext.setup.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- title: erpnext.setup --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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
deleted file mode 100644
index 322acc5..0000000
--- a/erpnext/docs/current/api/setup/erpnext.setup.install.html
+++ /dev/null
@@ -1,82 +0,0 @@
-<!-- title: erpnext.setup.install --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.install.md b/erpnext/docs/current/api/setup/erpnext.setup.install.md
new file mode 100644
index 0000000..a1c18af
--- /dev/null
+++ b/erpnext/docs/current/api/setup/erpnext.setup.install.md
@@ -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.x.x</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.md b/erpnext/docs/current/api/setup/erpnext.setup.md
new file mode 100644
index 0000000..7356ec9
--- /dev/null
+++ b/erpnext/docs/current/api/setup/erpnext.setup.md
@@ -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.x.x</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.utils.html b/erpnext/docs/current/api/setup/erpnext.setup.utils.html
deleted file mode 100644
index bbe82f6..0000000
--- a/erpnext/docs/current/api/setup/erpnext.setup.utils.html
+++ /dev/null
@@ -1,100 +0,0 @@
-<!-- title: erpnext.setup.utils --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/erpnext.setup.utils.md b/erpnext/docs/current/api/setup/erpnext.setup.utils.md
new file mode 100644
index 0000000..413f743
--- /dev/null
+++ b/erpnext/docs/current/api/setup/erpnext.setup.utils.md
@@ -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.x.x</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
deleted file mode 100644
index b5c72c3..0000000
--- a/erpnext/docs/current/api/setup/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: setup -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/setup/index.md
new file mode 100644
index 0000000..8cd811c
--- /dev/null
+++ b/erpnext/docs/current/api/setup/index.md
@@ -0,0 +1,19 @@
+<!-- title: setup -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/setup_wizard/erpnext.setup.setup_wizard.default_website.md b/erpnext/docs/current/api/setup/setup_wizard/erpnext.setup.setup_wizard.default_website.md
new file mode 100644
index 0000000..4a78ed1
--- /dev/null
+++ b/erpnext/docs/current/api/setup/setup_wizard/erpnext.setup.setup_wizard.default_website.md
@@ -0,0 +1,105 @@
+<!-- title: erpnext.setup.setup_wizard.default_website --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/setup/setup_wizard/default_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.setup.setup_wizard.default_website.test" href="#erpnext.setup.setup_wizard.default_website.test" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.default_website.<b>test</b>
+        <i class="text-muted">()</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>website_maker</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, company, tagline, 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="make_blog" href="#make_blog" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_blog</b>
+        <i class="text-muted">(self)</i>
+    </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_web_page" href="#make_web_page" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_web_page</b>
+        <i class="text-muted">(self)</i>
+    </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_website_settings" href="#make_website_settings" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>make_website_settings</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/setup/setup_wizard/erpnext.setup.setup_wizard.industry_type.md b/erpnext/docs/current/api/setup/setup_wizard/erpnext.setup.setup_wizard.industry_type.md
new file mode 100644
index 0000000..054eccd
--- /dev/null
+++ b/erpnext/docs/current/api/setup/setup_wizard/erpnext.setup.setup_wizard.industry_type.md
@@ -0,0 +1,34 @@
+<!-- title: erpnext.setup.setup_wizard.industry_type --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/setup/setup_wizard/industry_type.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.setup_wizard.industry_type.get_industry_types" href="#erpnext.setup.setup_wizard.industry_type.get_industry_types" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.industry_type.<b>get_industry_types</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/setup_wizard/erpnext.setup.setup_wizard.install_fixtures.md b/erpnext/docs/current/api/setup/setup_wizard/erpnext.setup.setup_wizard.install_fixtures.md
new file mode 100644
index 0000000..02fb0da
--- /dev/null
+++ b/erpnext/docs/current/api/setup/setup_wizard/erpnext.setup.setup_wizard.install_fixtures.md
@@ -0,0 +1,34 @@
+<!-- title: erpnext.setup.setup_wizard.install_fixtures --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/setup/setup_wizard/install_fixtures.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.setup_wizard.install_fixtures.install" href="#erpnext.setup.setup_wizard.install_fixtures.install" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.install_fixtures.<b>install</b>
+        <i class="text-muted">(country=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/setup/setup_wizard/erpnext.setup.setup_wizard.md b/erpnext/docs/current/api/setup/setup_wizard/erpnext.setup.setup_wizard.md
new file mode 100644
index 0000000..0021f57
--- /dev/null
+++ b/erpnext/docs/current/api/setup/setup_wizard/erpnext.setup.setup_wizard.md
@@ -0,0 +1,18 @@
+<!-- title: erpnext.setup.setup_wizard --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/setup/setup_wizard.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/setup_wizard/erpnext.setup.setup_wizard.sample_data.md b/erpnext/docs/current/api/setup/setup_wizard/erpnext.setup.setup_wizard.sample_data.md
new file mode 100644
index 0000000..c6dc574
--- /dev/null
+++ b/erpnext/docs/current/api/setup/setup_wizard/erpnext.setup.setup_wizard.sample_data.md
@@ -0,0 +1,115 @@
+<!-- title: erpnext.setup.setup_wizard.sample_data --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/setup/setup_wizard/sample_data.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.setup_wizard.sample_data.make_issue" href="#erpnext.setup.setup_wizard.sample_data.make_issue" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.sample_data.<b>make_issue</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.setup_wizard.sample_data.make_material_request" href="#erpnext.setup.setup_wizard.sample_data.make_material_request" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.sample_data.<b>make_material_request</b>
+        <i class="text-muted">(buying_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="erpnext.setup.setup_wizard.sample_data.make_opportunity" href="#erpnext.setup.setup_wizard.sample_data.make_opportunity" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.sample_data.<b>make_opportunity</b>
+        <i class="text-muted">(selling_items, customer)</i>
+    </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.setup_wizard.sample_data.make_projects" href="#erpnext.setup.setup_wizard.sample_data.make_projects" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.sample_data.<b>make_projects</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.setup_wizard.sample_data.make_quote" href="#erpnext.setup.setup_wizard.sample_data.make_quote" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.sample_data.<b>make_quote</b>
+        <i class="text-muted">(selling_items, customer)</i>
+    </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.setup_wizard.sample_data.make_sample_data" href="#erpnext.setup.setup_wizard.sample_data.make_sample_data" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.sample_data.<b>make_sample_data</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p>Create a few opportunities, quotes, material requests, issues, todos, projects
+to help the user get started</p>
+</div>
+	<br>
+
+	
+
+
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/current/api/setup/setup_wizard/erpnext.setup.setup_wizard.setup_wizard.md b/erpnext/docs/current/api/setup/setup_wizard/erpnext.setup.setup_wizard.setup_wizard.md
new file mode 100644
index 0000000..83a4a23
--- /dev/null
+++ b/erpnext/docs/current/api/setup/setup_wizard/erpnext.setup.setup_wizard.setup_wizard.md
@@ -0,0 +1,370 @@
+<!-- title: erpnext.setup.setup_wizard.setup_wizard --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/setup/setup_wizard/setup_wizard.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.setup_wizard.setup_wizard.add_all_roles_to" href="#erpnext.setup.setup_wizard.setup_wizard.add_all_roles_to" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.setup_wizard.<b>add_all_roles_to</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.setup_wizard.setup_wizard.create_contact" href="#erpnext.setup.setup_wizard.setup_wizard.create_contact" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.setup_wizard.<b>create_contact</b>
+        <i class="text-muted">(contact, party_type, party)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Create contact based on given contact name</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.setup_wizard.setup_wizard.create_customers" href="#erpnext.setup.setup_wizard.setup_wizard.create_customers" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.setup_wizard.<b>create_customers</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.setup.setup_wizard.setup_wizard.create_email_digest" href="#erpnext.setup.setup_wizard.setup_wizard.create_email_digest" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.setup_wizard.<b>create_email_digest</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.setup_wizard.setup_wizard.create_feed_and_todo" href="#erpnext.setup.setup_wizard.setup_wizard.create_feed_and_todo" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.setup_wizard.<b>create_feed_and_todo</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p>update Activity feed and create todo for creation of item, customer, vendor</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.setup_wizard.setup_wizard.create_fiscal_year_and_company" href="#erpnext.setup.setup_wizard.setup_wizard.create_fiscal_year_and_company" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.setup_wizard.<b>create_fiscal_year_and_company</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.setup.setup_wizard.setup_wizard.create_items" href="#erpnext.setup.setup_wizard.setup_wizard.create_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.setup_wizard.<b>create_items</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.setup.setup_wizard.setup_wizard.create_letter_head" href="#erpnext.setup.setup_wizard.setup_wizard.create_letter_head" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.setup_wizard.<b>create_letter_head</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.setup.setup_wizard.setup_wizard.create_logo" href="#erpnext.setup.setup_wizard.setup_wizard.create_logo" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.setup_wizard.<b>create_logo</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.setup.setup_wizard.setup_wizard.create_price_lists" href="#erpnext.setup.setup_wizard.setup_wizard.create_price_lists" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.setup_wizard.<b>create_price_lists</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.setup.setup_wizard.setup_wizard.create_suppliers" href="#erpnext.setup.setup_wizard.setup_wizard.create_suppliers" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.setup_wizard.<b>create_suppliers</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.setup.setup_wizard.setup_wizard.create_taxes" href="#erpnext.setup.setup_wizard.setup_wizard.create_taxes" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.setup_wizard.<b>create_taxes</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.setup.setup_wizard.setup_wizard.create_territories" href="#erpnext.setup.setup_wizard.setup_wizard.create_territories" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.setup_wizard.<b>create_territories</b>
+        <i class="text-muted">()</i>
+    </p>
+	<div class="docs-attr-desc"><p>create two default territories, one for home country and one named Rest of the World</p>
+</div>
+	<br>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.setup.setup_wizard.setup_wizard.create_users" href="#erpnext.setup.setup_wizard.setup_wizard.create_users" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.setup_wizard.<b>create_users</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.setup.setup_wizard.setup_wizard.get_fy_details" href="#erpnext.setup.setup_wizard.setup_wizard.get_fy_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.setup_wizard.<b>get_fy_details</b>
+        <i class="text-muted">(fy_start_date, fy_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="erpnext.setup.setup_wizard.setup_wizard.login_as_first_user" href="#erpnext.setup.setup_wizard.setup_wizard.login_as_first_user" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.setup_wizard.<b>login_as_first_user</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.setup.setup_wizard.setup_wizard.make_item_price" href="#erpnext.setup.setup_wizard.setup_wizard.make_item_price" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.setup_wizard.<b>make_item_price</b>
+        <i class="text-muted">(item, price_list_name, item_price)</i>
+    </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.setup_wizard.setup_wizard.make_sales_and_purchase_tax_templates" href="#erpnext.setup.setup_wizard.setup_wizard.make_sales_and_purchase_tax_templates" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.setup_wizard.<b>make_sales_and_purchase_tax_templates</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 class="docs-attr-name">
+        <a name="erpnext.setup.setup_wizard.setup_wizard.make_tax_head" href="#erpnext.setup.setup_wizard.setup_wizard.make_tax_head" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.setup_wizard.<b>make_tax_head</b>
+        <i class="text-muted">(args, i, tax_group, 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="erpnext.setup.setup_wizard.setup_wizard.set_defaults" href="#erpnext.setup.setup_wizard.setup_wizard.set_defaults" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.setup_wizard.<b>set_defaults</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.setup.setup_wizard.setup_wizard.setup_complete" href="#erpnext.setup.setup_wizard.setup_wizard.setup_complete" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.setup_wizard.<b>setup_complete</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.setup.setup_wizard.setup_wizard.update_user_name" href="#erpnext.setup.setup_wizard.setup_wizard.update_user_name" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.setup.setup_wizard.setup_wizard.<b>update_user_name</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/setup/setup_wizard/erpnext.setup.setup_wizard.test_setup_data.md b/erpnext/docs/current/api/setup/setup_wizard/erpnext.setup.setup_wizard.test_setup_data.md
new file mode 100644
index 0000000..372fc7d
--- /dev/null
+++ b/erpnext/docs/current/api/setup/setup_wizard/erpnext.setup.setup_wizard.test_setup_data.md
@@ -0,0 +1,18 @@
+<!-- title: erpnext.setup.setup_wizard.test_setup_data --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/setup/setup_wizard/test_setup_data.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/setup_wizard/erpnext.setup.setup_wizard.test_setup_wizard.md b/erpnext/docs/current/api/setup/setup_wizard/erpnext.setup.setup_wizard.test_setup_wizard.md
new file mode 100644
index 0000000..8500521
--- /dev/null
+++ b/erpnext/docs/current/api/setup/setup_wizard/erpnext.setup.setup_wizard.test_setup_wizard.md
@@ -0,0 +1,18 @@
+<!-- title: erpnext.setup.setup_wizard.test_setup_wizard --><div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/blob/develop/erpnext/setup/setup_wizard/test_setup_wizard.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/setup_wizard/index.md b/erpnext/docs/current/api/setup/setup_wizard/index.md
new file mode 100644
index 0000000..66740a2
--- /dev/null
+++ b/erpnext/docs/current/api/setup/setup_wizard/index.md
@@ -0,0 +1,19 @@
+<!-- title: setup_wizard -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/setup_wizard"
+		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/setup_wizard/index.txt b/erpnext/docs/current/api/setup/setup_wizard/index.txt
new file mode 100644
index 0000000..6e21162
--- /dev/null
+++ b/erpnext/docs/current/api/setup/setup_wizard/index.txt
@@ -0,0 +1,8 @@
+erpnext.setup.setup_wizard.default_website
+erpnext.setup.setup_wizard
+erpnext.setup.setup_wizard.industry_type
+erpnext.setup.setup_wizard.install_fixtures
+erpnext.setup.setup_wizard.sample_data
+erpnext.setup.setup_wizard.setup_wizard
+erpnext.setup.setup_wizard.test_setup_data
+erpnext.setup.setup_wizard.test_setup_wizard
\ 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
deleted file mode 100644
index 748acb9..0000000
--- a/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.cart.html
+++ /dev/null
@@ -1,363 +0,0 @@
-<!-- title: erpnext.shopping_cart.cart --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.cart.md b/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.cart.md
new file mode 100644
index 0000000..cc9dcd6
--- /dev/null
+++ b/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.cart.md
@@ -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.x.x</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
deleted file mode 100644
index fc8ec67..0000000
--- a/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- title: erpnext.shopping_cart --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.md
new file mode 100644
index 0000000..ad50db4
--- /dev/null
+++ b/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.md
@@ -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.x.x</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
deleted file mode 100644
index ae59263..0000000
--- a/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.product.html
+++ /dev/null
@@ -1,68 +0,0 @@
-<!-- title: erpnext.shopping_cart.product --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.product.md b/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.product.md
new file mode 100644
index 0000000..7f8e297
--- /dev/null
+++ b/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.product.md
@@ -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.x.x</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
deleted file mode 100644
index 55000bf..0000000
--- a/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.test_shopping_cart.html
+++ /dev/null
@@ -1,244 +0,0 @@
-<!-- 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.7</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.test_shopping_cart.md b/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.test_shopping_cart.md
new file mode 100644
index 0000000..aad5c36
--- /dev/null
+++ b/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.test_shopping_cart.md
@@ -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.x.x</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
deleted file mode 100644
index 96e2e51..0000000
--- a/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.utils.html
+++ /dev/null
@@ -1,98 +0,0 @@
-<!-- title: erpnext.shopping_cart.utils --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/erpnext.shopping_cart.utils.md b/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.utils.md
new file mode 100644
index 0000000..cd8cbc1
--- /dev/null
+++ b/erpnext/docs/current/api/shopping_cart/erpnext.shopping_cart.utils.md
@@ -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.x.x</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
deleted file mode 100644
index f80b4f7..0000000
--- a/erpnext/docs/current/api/shopping_cart/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: shopping_cart -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/shopping_cart/index.md
new file mode 100644
index 0000000..3903d46
--- /dev/null
+++ b/erpnext/docs/current/api/shopping_cart/index.md
@@ -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.x.x</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/startup/erpnext.startup.boot.html b/erpnext/docs/current/api/startup/erpnext.startup.boot.html
deleted file mode 100644
index d93ba6b..0000000
--- a/erpnext/docs/current/api/startup/erpnext.startup.boot.html
+++ /dev/null
@@ -1,82 +0,0 @@
-<!-- title: erpnext.startup.boot --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.boot.md b/erpnext/docs/current/api/startup/erpnext.startup.boot.md
new file mode 100644
index 0000000..5dc50c7
--- /dev/null
+++ b/erpnext/docs/current/api/startup/erpnext.startup.boot.md
@@ -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.x.x</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
deleted file mode 100644
index 2a4ac5a..0000000
--- a/erpnext/docs/current/api/startup/erpnext.startup.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- title: erpnext.startup --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/startup/erpnext.startup.md
new file mode 100644
index 0000000..6866385
--- /dev/null
+++ b/erpnext/docs/current/api/startup/erpnext.startup.md
@@ -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.x.x</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
deleted file mode 100644
index db54b52..0000000
--- a/erpnext/docs/current/api/startup/erpnext.startup.notifications.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!-- title: erpnext.startup.notifications --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.notifications.md b/erpnext/docs/current/api/startup/erpnext.startup.notifications.md
new file mode 100644
index 0000000..e16eb74
--- /dev/null
+++ b/erpnext/docs/current/api/startup/erpnext.startup.notifications.md
@@ -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.x.x</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
deleted file mode 100644
index 09cbff3..0000000
--- a/erpnext/docs/current/api/startup/erpnext.startup.report_data_map.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- 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.7</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/erpnext.startup.report_data_map.md b/erpnext/docs/current/api/startup/erpnext.startup.report_data_map.md
new file mode 100644
index 0000000..fcf1e8f
--- /dev/null
+++ b/erpnext/docs/current/api/startup/erpnext.startup.report_data_map.md
@@ -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.x.x</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
deleted file mode 100644
index 2120d08..0000000
--- a/erpnext/docs/current/api/startup/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: startup -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/startup/index.md
new file mode 100644
index 0000000..1cc0b94
--- /dev/null
+++ b/erpnext/docs/current/api/startup/index.md
@@ -0,0 +1,19 @@
+<!-- title: startup -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/stock/erpnext.stock.get_item_details.html b/erpnext/docs/current/api/stock/erpnext.stock.get_item_details.html
deleted file mode 100644
index b80dac2..0000000
--- a/erpnext/docs/current/api/stock/erpnext.stock.get_item_details.html
+++ /dev/null
@@ -1,500 +0,0 @@
-<!-- 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.7</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.get_item_details.md b/erpnext/docs/current/api/stock/erpnext.stock.get_item_details.md
new file mode 100644
index 0000000..8724808
--- /dev/null
+++ b/erpnext/docs/current/api/stock/erpnext.stock.get_item_details.md
@@ -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.x.x</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
deleted file mode 100644
index 453e48b..0000000
--- a/erpnext/docs/current/api/stock/erpnext.stock.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- title: erpnext.stock --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/stock/erpnext.stock.md
new file mode 100644
index 0000000..42937be
--- /dev/null
+++ b/erpnext/docs/current/api/stock/erpnext.stock.md
@@ -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.x.x</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
deleted file mode 100644
index a5e06e9..0000000
--- a/erpnext/docs/current/api/stock/erpnext.stock.reorder_item.html
+++ /dev/null
@@ -1,115 +0,0 @@
-<!-- title: erpnext.stock.reorder_item --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.reorder_item.md b/erpnext/docs/current/api/stock/erpnext.stock.reorder_item.md
new file mode 100644
index 0000000..aee77b0
--- /dev/null
+++ b/erpnext/docs/current/api/stock/erpnext.stock.reorder_item.md
@@ -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.x.x</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
deleted file mode 100644
index c40bb17..0000000
--- a/erpnext/docs/current/api/stock/erpnext.stock.stock_balance.html
+++ /dev/null
@@ -1,210 +0,0 @@
-<!-- title: erpnext.stock.stock_balance --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_balance.md b/erpnext/docs/current/api/stock/erpnext.stock.stock_balance.md
new file mode 100644
index 0000000..ced3d56
--- /dev/null
+++ b/erpnext/docs/current/api/stock/erpnext.stock.stock_balance.md
@@ -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.x.x</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
deleted file mode 100644
index e433c11..0000000
--- a/erpnext/docs/current/api/stock/erpnext.stock.stock_ledger.html
+++ /dev/null
@@ -1,339 +0,0 @@
-<!-- title: erpnext.stock.stock_ledger --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.stock_ledger.md b/erpnext/docs/current/api/stock/erpnext.stock.stock_ledger.md
new file mode 100644
index 0000000..f577b5e
--- /dev/null
+++ b/erpnext/docs/current/api/stock/erpnext.stock.stock_ledger.md
@@ -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.x.x</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
deleted file mode 100644
index 4de9c46..0000000
--- a/erpnext/docs/current/api/stock/erpnext.stock.utils.html
+++ /dev/null
@@ -1,211 +0,0 @@
-<!-- title: erpnext.stock.utils --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/erpnext.stock.utils.md b/erpnext/docs/current/api/stock/erpnext.stock.utils.md
new file mode 100644
index 0000000..7f2d4e2
--- /dev/null
+++ b/erpnext/docs/current/api/stock/erpnext.stock.utils.md
@@ -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.x.x</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
deleted file mode 100644
index 3377b1c..0000000
--- a/erpnext/docs/current/api/stock/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: stock -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/stock/index.md
new file mode 100644
index 0000000..fe17254
--- /dev/null
+++ b/erpnext/docs/current/api/stock/index.md
@@ -0,0 +1,19 @@
+<!-- title: stock -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/support/erpnext.support.html b/erpnext/docs/current/api/support/erpnext.support.html
deleted file mode 100644
index 09ddbbf..0000000
--- a/erpnext/docs/current/api/support/erpnext.support.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!-- title: erpnext.support --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/erpnext.support.md b/erpnext/docs/current/api/support/erpnext.support.md
new file mode 100644
index 0000000..d10ce6b
--- /dev/null
+++ b/erpnext/docs/current/api/support/erpnext.support.md
@@ -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.x.x</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
deleted file mode 100644
index 56f492d..0000000
--- a/erpnext/docs/current/api/support/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: support -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/support/index.md
new file mode 100644
index 0000000..bcbe1c8
--- /dev/null
+++ b/erpnext/docs/current/api/support/index.md
@@ -0,0 +1,19 @@
+<!-- title: support -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/utilities/erpnext.utilities.address_and_contact.html b/erpnext/docs/current/api/utilities/erpnext.utilities.address_and_contact.html
deleted file mode 100644
index 10aba68..0000000
--- a/erpnext/docs/current/api/utilities/erpnext.utilities.address_and_contact.html
+++ /dev/null
@@ -1,114 +0,0 @@
-<!-- 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.7</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.address_and_contact.md b/erpnext/docs/current/api/utilities/erpnext.utilities.address_and_contact.md
new file mode 100644
index 0000000..89c9c17
--- /dev/null
+++ b/erpnext/docs/current/api/utilities/erpnext.utilities.address_and_contact.md
@@ -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.x.x</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
deleted file mode 100644
index 3330d1f..0000000
--- a/erpnext/docs/current/api/utilities/erpnext.utilities.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!-- title: erpnext.utilities --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/utilities/erpnext.utilities.md
new file mode 100644
index 0000000..f2a4dc8
--- /dev/null
+++ b/erpnext/docs/current/api/utilities/erpnext.utilities.md
@@ -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.x.x</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
deleted file mode 100644
index 06a9449..0000000
--- a/erpnext/docs/current/api/utilities/erpnext.utilities.transaction_base.html
+++ /dev/null
@@ -1,206 +0,0 @@
-<!-- title: erpnext.utilities.transaction_base --><div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/erpnext.utilities.transaction_base.md b/erpnext/docs/current/api/utilities/erpnext.utilities.transaction_base.md
new file mode 100644
index 0000000..216cec5
--- /dev/null
+++ b/erpnext/docs/current/api/utilities/erpnext.utilities.transaction_base.md
@@ -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.x.x</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
deleted file mode 100644
index aad7be8..0000000
--- a/erpnext/docs/current/api/utilities/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: utilities -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/api/utilities/index.md
new file mode 100644
index 0000000..12c76f3
--- /dev/null
+++ b/erpnext/docs/current/api/utilities/index.md
@@ -0,0 +1,19 @@
+<!-- title: utilities -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/index.html b/erpnext/docs/current/index.html
deleted file mode 100644
index 7706054..0000000
--- a/erpnext/docs/current/index.html
+++ /dev/null
@@ -1,55 +0,0 @@
-<!-- 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.7</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.7</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/index.md b/erpnext/docs/current/index.md
new file mode 100644
index 0000000..4898746
--- /dev/null
+++ b/erpnext/docs/current/index.md
@@ -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.x.x</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">
+	<tr>
+		<td style="width: 20%">
+			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.12.2</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
deleted file mode 100644
index 9fb0637..0000000
--- a/erpnext/docs/current/models/accounts/account.html
+++ /dev/null
@@ -1,993 +0,0 @@
-<!-- title: Account -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/accounts/account">Account</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/budget_detail">Budget Detail</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/stock/delivery_note_item">Delivery Note Item</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/hr/expense_claim_type">Expense Claim Type</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/stock/item">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/stock/item_tax">Item Tax</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/mode_of_payment_account">Mode of Payment Account</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/payment_reconciliation">Payment Reconciliation</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/period_closing_voucher">Period Closing Voucher</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/purchase_invoice">Purchase Invoice</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_taxes_and_charges">Purchase Taxes and Charges</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/sales_invoice_item">Sales Invoice Item</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/shipping_rule">Shipping Rule</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/stock_entry_detail">Stock Entry Detail</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/warehouse">Warehouse</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/account.md b/erpnext/docs/current/models/accounts/account.md
new file mode 100644
index 0000000..d9c83b0
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/account.md
@@ -0,0 +1,989 @@
+<!-- title: Account -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/accounts/account">Account</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/budget_detail">Budget Detail</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/stock/delivery_note_item">Delivery Note Item</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/hr/expense_claim_type">Expense Claim Type</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/stock/item">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/stock/item_tax">Item Tax</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/mode_of_payment_account">Mode of Payment Account</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/payment_reconciliation">Payment Reconciliation</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/period_closing_voucher">Period Closing Voucher</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/purchase_invoice">Purchase Invoice</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_taxes_and_charges">Purchase Taxes and Charges</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/sales_invoice_item">Sales Invoice Item</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/shipping_rule">Shipping Rule</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/stock_entry_detail">Stock Entry Detail</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/warehouse">Warehouse</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
deleted file mode 100644
index 3e3518c..0000000
--- a/erpnext/docs/current/models/accounts/accounts_settings.html
+++ /dev/null
@@ -1,169 +0,0 @@
-<!-- title: Accounts Settings -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/accounts_settings.md b/erpnext/docs/current/models/accounts/accounts_settings.md
new file mode 100644
index 0000000..42b8c88
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/accounts_settings.md
@@ -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.x.x</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
deleted file mode 100644
index 1ae1838..0000000
--- a/erpnext/docs/current/models/accounts/bank_reconciliation.html
+++ /dev/null
@@ -1,239 +0,0 @@
-<!-- title: Bank Reconciliation -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/accounts/bank_reconciliation.md
new file mode 100644
index 0000000..d8146f9
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/bank_reconciliation.md
@@ -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.x.x</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>account_currency</code></td>
+            <td >
+                Link</td>
+            <td class="text-muted" title="Hidden">
+                Account 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>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>account_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
deleted file mode 100644
index f7081ed..0000000
--- a/erpnext/docs/current/models/accounts/bank_reconciliation_detail.html
+++ /dev/null
@@ -1,207 +0,0 @@
-<!-- title: Bank Reconciliation Detail -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/bank_reconciliation_detail.md b/erpnext/docs/current/models/accounts/bank_reconciliation_detail.md
new file mode 100644
index 0000000..e5cf539
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/bank_reconciliation_detail.md
@@ -0,0 +1,184 @@
+<!-- title: Bank Reconciliation Detail -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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>against_account</code></td>
+            <td >
+                Data</td>
+            <td >
+                Against Account
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>3</td>
+            <td ><code>debit</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Debit
+                
+            </td>
+            <td>
+                <pre>account_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>credit</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Credit
+                
+            </td>
+            <td>
+                <pre>account_currency</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>posting_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Posting Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>7</td>
+            <td ><code>cheque_number</code></td>
+            <td >
+                Data</td>
+            <td >
+                Cheque Number
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>cheque_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Cheque Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</td>
+            <td ><code>clearance_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Clearance 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
deleted file mode 100644
index 9568149..0000000
--- a/erpnext/docs/current/models/accounts/budget_detail.html
+++ /dev/null
@@ -1,119 +0,0 @@
-<!-- title: Budget Detail -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/budget_detail.md b/erpnext/docs/current/models/accounts/budget_detail.md
new file mode 100644
index 0000000..cc66173
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/budget_detail.md
@@ -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.x.x</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
deleted file mode 100644
index 30df65e..0000000
--- a/erpnext/docs/current/models/accounts/c_form.html
+++ /dev/null
@@ -1,436 +0,0 @@
-<!-- title: C-Form -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/c_form">C-Form</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/c_form.md b/erpnext/docs/current/models/accounts/c_form.md
new file mode 100644
index 0000000..1fc0566
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/c_form.md
@@ -0,0 +1,436 @@
+<!-- title: C-Form -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/c_form">C-Form</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/c_form_invoice_detail.html b/erpnext/docs/current/models/accounts/c_form_invoice_detail.html
deleted file mode 100644
index d682921..0000000
--- a/erpnext/docs/current/models/accounts/c_form_invoice_detail.html
+++ /dev/null
@@ -1,145 +0,0 @@
-<!-- title: C-Form Invoice Detail -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/c_form_invoice_detail.md b/erpnext/docs/current/models/accounts/c_form_invoice_detail.md
new file mode 100644
index 0000000..e951576
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/c_form_invoice_detail.md
@@ -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.x.x</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
deleted file mode 100644
index d81f2e3..0000000
--- a/erpnext/docs/current/models/accounts/cost_center.html
+++ /dev/null
@@ -1,583 +0,0 @@
-<!-- title: Cost Center -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/setup/company">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/stock/delivery_note_item">Delivery Note Item</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/stock/item">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/accounts/journal_entry_account">Journal Entry Account</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/projects/project">Project</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/purchase_invoice_item">Purchase Invoice Item</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/accounts/purchase_taxes_and_charges">Purchase Taxes and Charges</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/sales_invoice_item">Sales Invoice Item</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/shipping_rule">Shipping Rule</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_reconciliation">Stock Reconciliation</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/cost_center.md b/erpnext/docs/current/models/accounts/cost_center.md
new file mode 100644
index 0000000..fa31f48
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/cost_center.md
@@ -0,0 +1,583 @@
+<!-- title: Cost Center -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/setup/company">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/stock/delivery_note_item">Delivery Note Item</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/stock/item">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/accounts/journal_entry_account">Journal Entry Account</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/projects/project">Project</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/purchase_invoice_item">Purchase Invoice Item</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/accounts/purchase_taxes_and_charges">Purchase Taxes and Charges</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/sales_invoice_item">Sales Invoice Item</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/shipping_rule">Shipping Rule</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_reconciliation">Stock Reconciliation</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
deleted file mode 100644
index c68aa4f..0000000
--- a/erpnext/docs/current/models/accounts/fiscal_year.html
+++ /dev/null
@@ -1,521 +0,0 @@
-<!-- title: Fiscal Year -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/hr/appraisal">Appraisal</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/accounts/budget_detail">Budget Detail</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/stock/delivery_note">Delivery Note</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/accounts/gl_entry">GL Entry</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/hr/holiday_list">Holiday List</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/accounts/journal_entry">Journal Entry</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/hr/leave_application">Leave Application</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/support/maintenance_visit">Maintenance Visit</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/crm/opportunity">Opportunity</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/hr/process_payroll">Process Payroll</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/buying/purchase_order">Purchase Order</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/selling/quotation">Quotation</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/accounts/sales_invoice">Sales Invoice</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/stock/stock_entry">Stock Entry</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/buying/supplier_quotation">Supplier Quotation</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/support/warranty_claim">Warranty Claim</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/fiscal_year.md b/erpnext/docs/current/models/accounts/fiscal_year.md
new file mode 100644
index 0000000..e315a29
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/fiscal_year.md
@@ -0,0 +1,512 @@
+<!-- title: Fiscal Year -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/hr/appraisal">Appraisal</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/accounts/budget_detail">Budget Detail</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/stock/delivery_note">Delivery Note</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/accounts/gl_entry">GL Entry</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/hr/holiday_list">Holiday List</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/accounts/journal_entry">Journal Entry</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/hr/leave_block_list">Leave Block List</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/accounts/monthly_distribution">Monthly Distribution</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/period_closing_voucher">Period Closing Voucher</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/accounts/purchase_invoice">Purchase Invoice</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/stock/purchase_receipt">Purchase Receipt</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/hr/salary_slip">Salary Slip</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/selling/sales_order">Sales Order</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/stock_reconciliation">Stock Reconciliation</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/setup/target_detail">Target Detail</a>
+
+</li>
+			
+        
+			
+            <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/accounts/fiscal_year_company.html b/erpnext/docs/current/models/accounts/fiscal_year_company.html
deleted file mode 100644
index f043ef2..0000000
--- a/erpnext/docs/current/models/accounts/fiscal_year_company.html
+++ /dev/null
@@ -1,84 +0,0 @@
-<!-- title: Fiscal Year Company -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/fiscal_year_company.md b/erpnext/docs/current/models/accounts/fiscal_year_company.md
new file mode 100644
index 0000000..8e55ddf
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/fiscal_year_company.md
@@ -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.x.x</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
deleted file mode 100644
index b81b4eb..0000000
--- a/erpnext/docs/current/models/accounts/gl_entry.html
+++ /dev/null
@@ -1,640 +0,0 @@
-<!-- title: GL Entry -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/gl_entry.md b/erpnext/docs/current/models/accounts/gl_entry.md
new file mode 100644
index 0000000..b6f13ce
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/gl_entry.md
@@ -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.x.x</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
deleted file mode 100644
index c14d711..0000000
--- a/erpnext/docs/current/models/accounts/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: Module accounts -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/accounts/index.md
new file mode 100644
index 0000000..d22419c
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/index.md
@@ -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.x.x</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/journal_entry.html b/erpnext/docs/current/models/accounts/journal_entry.html
deleted file mode 100644
index c552b44..0000000
--- a/erpnext/docs/current/models/accounts/journal_entry.html
+++ /dev/null
@@ -1,1404 +0,0 @@
-<!-- title: Journal Entry -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/accounts/bank_reconciliation_detail">Bank Reconciliation Detail</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/payment_reconciliation_payment">Payment Reconciliation Payment</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/sales_invoice_advance">Sales Invoice Advance</a>
-
-</li>
-			
-        
-			
-            <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/accounts/journal_entry.md b/erpnext/docs/current/models/accounts/journal_entry.md
new file mode 100644
index 0000000..239b9cf
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/journal_entry.md
@@ -0,0 +1,1416 @@
+<!-- title: Journal Entry -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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></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, 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="set_total_debit_credit" href="#set_total_debit_credit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_total_debit_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="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_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>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_total_debit_and_credit" href="#validate_total_debit_and_credit" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_total_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>
+
+        
+    </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/accounts/bank_reconciliation_detail">Bank Reconciliation Detail</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/payment_reconciliation_payment">Payment Reconciliation Payment</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/sales_invoice_advance">Sales Invoice Advance</a>
+
+</li>
+			
+        
+			
+            <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/accounts/journal_entry_account.html b/erpnext/docs/current/models/accounts/journal_entry_account.html
deleted file mode 100644
index 0d1f3fc..0000000
--- a/erpnext/docs/current/models/accounts/journal_entry_account.html
+++ /dev/null
@@ -1,415 +0,0 @@
-<!-- title: Journal Entry Account -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/journal_entry_account.md b/erpnext/docs/current/models/accounts/journal_entry_account.md
new file mode 100644
index 0000000..5f4153e
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/journal_entry_account.md
@@ -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.x.x</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
+                
+            </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
+                
+            </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
deleted file mode 100644
index 55c023a..0000000
--- a/erpnext/docs/current/models/accounts/mode_of_payment.html
+++ /dev/null
@@ -1,149 +0,0 @@
-<!-- title: Mode of Payment -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/payment_tool">Payment Tool</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/purchase_invoice">Purchase Invoice</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/mode_of_payment.md b/erpnext/docs/current/models/accounts/mode_of_payment.md
new file mode 100644
index 0000000..5b7ddc9
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/mode_of_payment.md
@@ -0,0 +1,191 @@
+<!-- title: Mode of Payment -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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;">
+        
+        
+    
+    
+	<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_repeating_companies" href="#validate_repeating_companies" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_repeating_companies</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p>Error when Same Company is entered multiple times in accounts</p>
+</div>
+	<br>
+
+        
+    </div>
+    <hr>
+
+	
+
+
+    
+    
+        <h4>Linked In:</h4>
+        <ul>
+        
+			
+            <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/pos_profile">POS Profile</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/sales_invoice">Sales Invoice</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
deleted file mode 100644
index fac3d9b..0000000
--- a/erpnext/docs/current/models/accounts/mode_of_payment_account.html
+++ /dev/null
@@ -1,106 +0,0 @@
-<!-- title: Mode of Payment Account -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/mode_of_payment_account.md b/erpnext/docs/current/models/accounts/mode_of_payment_account.md
new file mode 100644
index 0000000..d9d7c94
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/mode_of_payment_account.md
@@ -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.x.x</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
deleted file mode 100644
index 2f686c4..0000000
--- a/erpnext/docs/current/models/accounts/monthly_distribution.html
+++ /dev/null
@@ -1,201 +0,0 @@
-<!-- title: Monthly Distribution -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/accounts/cost_center">Cost Center</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/setup/sales_person">Sales Person</a>
-
-</li>
-			
-        
-			
-            <li>
-
-
-<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/monthly_distribution.md b/erpnext/docs/current/models/accounts/monthly_distribution.md
new file mode 100644
index 0000000..fc86fc6
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/monthly_distribution.md
@@ -0,0 +1,201 @@
+<!-- title: Monthly Distribution -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/accounts/cost_center">Cost Center</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/setup/sales_person">Sales Person</a>
+
+</li>
+			
+        
+			
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</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
deleted file mode 100644
index 196feb5..0000000
--- a/erpnext/docs/current/models/accounts/monthly_distribution_percentage.html
+++ /dev/null
@@ -1,87 +0,0 @@
-<!-- title: Monthly Distribution Percentage -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/monthly_distribution_percentage.md b/erpnext/docs/current/models/accounts/monthly_distribution_percentage.md
new file mode 100644
index 0000000..3c29b82
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/monthly_distribution_percentage.md
@@ -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.x.x</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
deleted file mode 100644
index a38a0de..0000000
--- a/erpnext/docs/current/models/accounts/party_account.html
+++ /dev/null
@@ -1,138 +0,0 @@
-<!-- title: Party Account -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/selling/customer">Customer</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/buying/supplier">Supplier</a>
-
-</li>
-    
-        <li>
-
-
-<a href="https://frappe.github.io/erpnext/current/models/setup/supplier_type">Supplier Type</a>
-
-</li>
-    
-    </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/party_account.md b/erpnext/docs/current/models/accounts/party_account.md
new file mode 100644
index 0000000..95b2c42
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/party_account.md
@@ -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.x.x</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/selling/customer">Customer</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/buying/supplier">Supplier</a>
+
+</li>
+    
+        <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/supplier_type">Supplier Type</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
deleted file mode 100644
index 01366fa..0000000
--- a/erpnext/docs/current/models/accounts/payment_reconciliation.html
+++ /dev/null
@@ -1,447 +0,0 @@
-<!-- title: Payment Reconciliation -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/accounts/payment_reconciliation.md
new file mode 100644
index 0000000..97f201f
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/payment_reconciliation.md
@@ -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.x.x</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)</i>
+    </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
deleted file mode 100644
index b89e8a9..0000000
--- a/erpnext/docs/current/models/accounts/payment_reconciliation_invoice.html
+++ /dev/null
@@ -1,139 +0,0 @@
-<!-- title: Payment Reconciliation Invoice -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_invoice.md b/erpnext/docs/current/models/accounts/payment_reconciliation_invoice.md
new file mode 100644
index 0000000..df5e143
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/payment_reconciliation_invoice.md
@@ -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.x.x</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
deleted file mode 100644
index 5ba4cb7..0000000
--- a/erpnext/docs/current/models/accounts/payment_reconciliation_payment.html
+++ /dev/null
@@ -1,192 +0,0 @@
-<!-- title: Payment Reconciliation Payment -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_reconciliation_payment.md b/erpnext/docs/current/models/accounts/payment_reconciliation_payment.md
new file mode 100644
index 0000000..13ae995
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/payment_reconciliation_payment.md
@@ -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.x.x</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
deleted file mode 100644
index 27d47ae..0000000
--- a/erpnext/docs/current/models/accounts/payment_tool.html
+++ /dev/null
@@ -1,473 +0,0 @@
-<!-- title: Payment Tool -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/accounts/payment_tool.md
new file mode 100644
index 0000000..2a509b8
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/payment_tool.md
@@ -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.x.x</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
deleted file mode 100644
index 7e7a2c8..0000000
--- a/erpnext/docs/current/models/accounts/payment_tool_detail.html
+++ /dev/null
@@ -1,152 +0,0 @@
-<!-- title: Payment Tool Detail -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/payment_tool_detail.md b/erpnext/docs/current/models/accounts/payment_tool_detail.md
new file mode 100644
index 0000000..7c77c1c
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/payment_tool_detail.md
@@ -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.x.x</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
deleted file mode 100644
index 6e565a6..0000000
--- a/erpnext/docs/current/models/accounts/period_closing_voucher.html
+++ /dev/null
@@ -1,332 +0,0 @@
-<!-- title: Period Closing Voucher -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/period_closing_voucher.md b/erpnext/docs/current/models/accounts/period_closing_voucher.md
new file mode 100644
index 0000000..981e8c8
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/period_closing_voucher.md
@@ -0,0 +1,332 @@
+<!-- title: Period Closing Voucher -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index 41ef1fa..0000000
--- a/erpnext/docs/current/models/accounts/pos_profile.html
+++ /dev/null
@@ -1,662 +0,0 @@
-<!-- title: POS Profile -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/pos_profile.md b/erpnext/docs/current/models/accounts/pos_profile.md
new file mode 100644
index 0000000..acdb17f
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/pos_profile.md
@@ -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.x.x</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
deleted file mode 100644
index 7322c42..0000000
--- a/erpnext/docs/current/models/accounts/pricing_rule.html
+++ /dev/null
@@ -1,986 +0,0 @@
-<!-- title: Pricing Rule -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/delivery_note_item">Delivery Note 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/buying/purchase_order_item">Purchase Order Item</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/selling/quotation_item">Quotation 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/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>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/pricing_rule.md b/erpnext/docs/current/models/accounts/pricing_rule.md
new file mode 100644
index 0000000..a5eadd2
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/pricing_rule.md
@@ -0,0 +1,986 @@
+<!-- title: Pricing Rule -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/delivery_note_item">Delivery Note 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/buying/purchase_order_item">Purchase Order Item</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/selling/quotation_item">Quotation 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/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>
+			
+        
+        </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
deleted file mode 100644
index 9d894c2..0000000
--- a/erpnext/docs/current/models/accounts/purchase_invoice.html
+++ /dev/null
@@ -1,1884 +0,0 @@
-<!-- title: Purchase Invoice -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/accounts/purchase_invoice.md
new file mode 100644
index 0000000..912bed9
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/purchase_invoice.md
@@ -0,0 +1,1896 @@
+<!-- title: Purchase Invoice -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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 >
+            <td>27</td>
+            <td ><code>get_items_from_product_bundle</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Items from Product Bundle
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>28</td>
+            <td ><code>section_break_26</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 >
+                
+                
+            </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/purchase_taxes_and_charges_template">Purchase Taxes and Charges Template</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>36</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>37</td>
+            <td ><code>other_charges_calculation</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Taxes and Charges Calculation
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>38</td>
+            <td ><code>totals</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>39</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>40</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>41</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>42</td>
+            <td ><code>column_break_40</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>43</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>44</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>45</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>46</td>
+            <td ><code>section_break_44</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Additional Discount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>47</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>48</td>
+            <td ><code>column_break_46</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>49</td>
+            <td ><code>discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Additional Discount Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>50</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>51</td>
+            <td ><code>section_break_49</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>52</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>53</td>
+            <td ><code>base_in_words</code></td>
+            <td >
+                Data</td>
+            <td >
+                In Words (Company Currency)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>54</td>
+            <td ><code>column_break8</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 >
+            <td>57</td>
+            <td ><code>total_advance</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total Advance
+                
+            </td>
+            <td>
+                <pre>party_account_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>58</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>59</td>
+            <td ><code>write_off</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Write Off
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>60</td>
+            <td ><code>write_off_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Write Off Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>61</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>62</td>
+            <td ><code>column_break_61</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>63</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>64</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>65</td>
+            <td ><code>advances_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Advance Payments
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>66</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>67</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>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 Conditions1
+                
+            </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>col_break23</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>printing_settings</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Printing Settings
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>76</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>77</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>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 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>80</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>81</td>
+            <td ><code>is_opening</code></td>
+            <td >
+                Select</td>
+            <td >
+                Is Opening
+                
+            </td>
+            <td>
+                <pre>No
+Yes</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>82</td>
+            <td ><code>due_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Due Date
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>83</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>84</td>
+            <td ><code>column_break_63</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>85</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>86</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>87</td>
+            <td ><code>remarks</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Remarks
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>88</td>
+            <td ><code>recurring_invoice</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Recurring Invoice
+                
+            </td>
+            <td>
+                <pre>icon-time</pre>
+            </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
+                <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>91</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>92</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>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 invoice 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 invoice will be stop</p>
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>95</td>
+            <td ><code>column_break_82</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
+                <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>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, invoice 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.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
deleted file mode 100644
index 72531bc..0000000
--- a/erpnext/docs/current/models/accounts/purchase_invoice_advance.html
+++ /dev/null
@@ -1,148 +0,0 @@
-<!-- title: Purchase Invoice Advance -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_advance.md b/erpnext/docs/current/models/accounts/purchase_invoice_advance.md
new file mode 100644
index 0000000..89c249b
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/purchase_invoice_advance.md
@@ -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.x.x</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
deleted file mode 100644
index 59366ae..0000000
--- a/erpnext/docs/current/models/accounts/purchase_invoice_item.html
+++ /dev/null
@@ -1,750 +0,0 @@
-<!-- title: Purchase Invoice Item -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_invoice_item.md b/erpnext/docs/current/models/accounts/purchase_invoice_item.md
new file mode 100644
index 0000000..04fdda6
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/purchase_invoice_item.md
@@ -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.x.x</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
deleted file mode 100644
index 2f5403a..0000000
--- a/erpnext/docs/current/models/accounts/purchase_taxes_and_charges.html
+++ /dev/null
@@ -1,387 +0,0 @@
-<!-- title: Purchase Taxes and Charges -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/accounts/purchase_invoice">Purchase Invoice</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/stock/purchase_receipt">Purchase Receipt</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/buying/supplier_quotation">Supplier Quotation</a>
-
-</li>
-    
-    </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/purchase_taxes_and_charges.md b/erpnext/docs/current/models/accounts/purchase_taxes_and_charges.md
new file mode 100644
index 0000000..bb8a16c
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/purchase_taxes_and_charges.md
@@ -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.x.x</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/accounts/purchase_invoice">Purchase Invoice</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/stock/purchase_receipt">Purchase Receipt</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/buying/supplier_quotation">Supplier Quotation</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
deleted file mode 100644
index 8d30491..0000000
--- a/erpnext/docs/current/models/accounts/purchase_taxes_and_charges_template.html
+++ /dev/null
@@ -1,270 +0,0 @@
-<!-- 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.7</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/accounts/purchase_invoice">Purchase Invoice</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/stock/purchase_receipt">Purchase Receipt</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/supplier_quotation">Supplier Quotation</a>
-
-</li>
-			
-        
-			
-            <li>
-
-
-<a href="https://frappe.github.io/erpnext/current/models/accounts/tax_rule">Tax Rule</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.md b/erpnext/docs/current/models/accounts/purchase_taxes_and_charges_template.md
new file mode 100644
index 0000000..3ab1d49
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/purchase_taxes_and_charges_template.md
@@ -0,0 +1,270 @@
+<!-- title: Purchase Taxes and Charges Template -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/accounts/purchase_invoice">Purchase Invoice</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/stock/purchase_receipt">Purchase Receipt</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/supplier_quotation">Supplier Quotation</a>
+
+</li>
+			
+        
+			
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/tax_rule">Tax Rule</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
deleted file mode 100644
index 86ae49e..0000000
--- a/erpnext/docs/current/models/accounts/sales_invoice.html
+++ /dev/null
@@ -1,2728 +0,0 @@
-<!-- title: Sales Invoice -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/accounts/c_form_invoice_detail">C-Form Invoice Detail</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/accounts/sales_invoice">Sales Invoice</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/projects/time_log">Time Log</a>
-
-</li>
-			
-        
-			
-            <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/accounts/sales_invoice.md b/erpnext/docs/current/models/accounts/sales_invoice.md
new file mode 100644
index 0000000..8f0f364
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/sales_invoice.md
@@ -0,0 +1,2728 @@
+<!-- title: Sales Invoice -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/accounts/c_form_invoice_detail">C-Form Invoice Detail</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/accounts/sales_invoice">Sales Invoice</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/projects/time_log">Time Log</a>
+
+</li>
+			
+        
+			
+            <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/accounts/sales_invoice_advance.html b/erpnext/docs/current/models/accounts/sales_invoice_advance.html
deleted file mode 100644
index 8ba6ced..0000000
--- a/erpnext/docs/current/models/accounts/sales_invoice_advance.html
+++ /dev/null
@@ -1,148 +0,0 @@
-<!-- title: Sales Invoice Advance -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_advance.md b/erpnext/docs/current/models/accounts/sales_invoice_advance.md
new file mode 100644
index 0000000..5caa97d
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/sales_invoice_advance.md
@@ -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.x.x</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
deleted file mode 100644
index fe75397..0000000
--- a/erpnext/docs/current/models/accounts/sales_invoice_item.html
+++ /dev/null
@@ -1,898 +0,0 @@
-<!-- title: Sales Invoice Item -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_invoice_item.md b/erpnext/docs/current/models/accounts/sales_invoice_item.md
new file mode 100644
index 0000000..362da12
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/sales_invoice_item.md
@@ -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.x.x</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
deleted file mode 100644
index 25d5f92..0000000
--- a/erpnext/docs/current/models/accounts/sales_taxes_and_charges.html
+++ /dev/null
@@ -1,356 +0,0 @@
-<!-- title: Sales Taxes and Charges -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/quotation">Quotation</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/selling/sales_order">Sales Order</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>
-    
-    </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/sales_taxes_and_charges.md b/erpnext/docs/current/models/accounts/sales_taxes_and_charges.md
new file mode 100644
index 0000000..ce1fb3b
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/sales_taxes_and_charges.md
@@ -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.x.x</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/quotation">Quotation</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/selling/sales_order">Sales Order</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>
+    
+    </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
deleted file mode 100644
index 8337c70..0000000
--- a/erpnext/docs/current/models/accounts/sales_taxes_and_charges_template.html
+++ /dev/null
@@ -1,295 +0,0 @@
-<!-- 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.7</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/selling/customer">Customer</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/accounts/pos_profile">POS Profile</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>
-			
-        
-			
-            <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/tax_rule">Tax Rule</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.md b/erpnext/docs/current/models/accounts/sales_taxes_and_charges_template.md
new file mode 100644
index 0000000..21e82f2
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/sales_taxes_and_charges_template.md
@@ -0,0 +1,295 @@
+<!-- title: Sales Taxes and Charges Template -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/selling/customer">Customer</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/accounts/pos_profile">POS Profile</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>
+			
+        
+			
+            <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/tax_rule">Tax Rule</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
deleted file mode 100644
index a58be40..0000000
--- a/erpnext/docs/current/models/accounts/shipping_rule.html
+++ /dev/null
@@ -1,422 +0,0 @@
-<!-- title: Shipping Rule -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/quotation">Quotation</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/selling/sales_order">Sales Order</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/accounts/shipping_rule.md b/erpnext/docs/current/models/accounts/shipping_rule.md
new file mode 100644
index 0000000..0b06eb2
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/shipping_rule.md
@@ -0,0 +1,422 @@
+<!-- title: Shipping Rule -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/quotation">Quotation</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/selling/sales_order">Sales Order</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
deleted file mode 100644
index 0dcefef..0000000
--- a/erpnext/docs/current/models/accounts/shipping_rule_condition.html
+++ /dev/null
@@ -1,101 +0,0 @@
-<!-- title: Shipping Rule Condition -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_condition.md b/erpnext/docs/current/models/accounts/shipping_rule_condition.md
new file mode 100644
index 0000000..a9ac078
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/shipping_rule_condition.md
@@ -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.x.x</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
deleted file mode 100644
index 6d1eedb..0000000
--- a/erpnext/docs/current/models/accounts/shipping_rule_country.html
+++ /dev/null
@@ -1,84 +0,0 @@
-<!-- title: Shipping Rule Country -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/shipping_rule_country.md b/erpnext/docs/current/models/accounts/shipping_rule_country.md
new file mode 100644
index 0000000..c30420b
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/shipping_rule_country.md
@@ -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.x.x</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
deleted file mode 100644
index 4541878..0000000
--- a/erpnext/docs/current/models/accounts/tax_rule.html
+++ /dev/null
@@ -1,608 +0,0 @@
-<!-- title: Tax Rule -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/accounts/tax_rule.md b/erpnext/docs/current/models/accounts/tax_rule.md
new file mode 100644
index 0000000..be8e8f6
--- /dev/null
+++ b/erpnext/docs/current/models/accounts/tax_rule.md
@@ -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.x.x</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
deleted file mode 100644
index 1106ec6..0000000
--- a/erpnext/docs/current/models/buying/buying_settings.html
+++ /dev/null
@@ -1,210 +0,0 @@
-<!-- title: Buying Settings -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/buying_settings.md b/erpnext/docs/current/models/buying/buying_settings.md
new file mode 100644
index 0000000..c064ba8
--- /dev/null
+++ b/erpnext/docs/current/models/buying/buying_settings.md
@@ -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.x.x</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
deleted file mode 100644
index 56c0140..0000000
--- a/erpnext/docs/current/models/buying/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: Module buying -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/buying/index.md
new file mode 100644
index 0000000..75f0e00
--- /dev/null
+++ b/erpnext/docs/current/models/buying/index.md
@@ -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.x.x</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/purchase_common.html b/erpnext/docs/current/models/buying/purchase_common.html
deleted file mode 100644
index 5776de8..0000000
--- a/erpnext/docs/current/models/buying/purchase_common.html
+++ /dev/null
@@ -1,129 +0,0 @@
-<!-- title: Purchase Common -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_common.md b/erpnext/docs/current/models/buying/purchase_common.md
new file mode 100644
index 0000000..df0bbcc
--- /dev/null
+++ b/erpnext/docs/current/models/buying/purchase_common.md
@@ -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.x.x</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
deleted file mode 100644
index babfc4c..0000000
--- a/erpnext/docs/current/models/buying/purchase_order.html
+++ /dev/null
@@ -1,1908 +0,0 @@
-<!-- title: Purchase Order -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/accounts/purchase_invoice_item">Purchase Invoice 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/stock/purchase_receipt_item">Purchase Receipt Item</a>
-
-</li>
-			
-        
-			
-            <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/buying/purchase_order.md b/erpnext/docs/current/models/buying/purchase_order.md
new file mode 100644
index 0000000..87a0773
--- /dev/null
+++ b/erpnext/docs/current/models/buying/purchase_order.md
@@ -0,0 +1,1922 @@
+<!-- title: Purchase Order -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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>column_break_19</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>19</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>20</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>21</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>22</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>23</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>24</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>25</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>26</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>27</td>
+            <td class="danger" title="Mandatory"><code>conversion_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Exchange Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>28</td>
+            <td ><code>cb_price_list</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>29</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>30</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>31</td>
+            <td ><code>plc_conversion_rate</code></td>
+            <td >
+                Float</td>
+            <td >
+                Price List Exchange Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>32</td>
+            <td ><code>ignore_pricing_rule</code></td>
+            <td >
+                Check</td>
+            <td >
+                Ignore Pricing Rule
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>33</td>
+            <td ><code>items_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-shopping-cart</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>34</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>35</td>
+            <td ><code>get_last_purchase_rate</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Last Purchase Rate
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>36</td>
+            <td ><code>get_items_from_product_bundle</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Items from Product Bundle
+                
+            </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_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="has_drop_ship_item" href="#has_drop_ship_item" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>has_drop_ship_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="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_received_qty_for_drop_ship_items" href="#set_received_qty_for_drop_ship_items" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_received_qty_for_drop_ship_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="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/accounts/purchase_invoice_item">Purchase Invoice 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/stock/purchase_receipt_item">Purchase Receipt Item</a>
+
+</li>
+			
+        
+			
+            <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/buying/purchase_order_item.html b/erpnext/docs/current/models/buying/purchase_order_item.html
deleted file mode 100644
index c3db05b..0000000
--- a/erpnext/docs/current/models/buying/purchase_order_item.html
+++ /dev/null
@@ -1,823 +0,0 @@
-<!-- title: Purchase Order Item -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/buying/purchase_order_item.md
new file mode 100644
index 0000000..aceb9de
--- /dev/null
+++ b/erpnext/docs/current/models/buying/purchase_order_item.md
@@ -0,0 +1,835 @@
+<!-- title: Purchase Order Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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>delivered_by_supplier</code></td>
+            <td >
+                Check</td>
+            <td >
+                To be delivered to customer
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>44</td>
+            <td ><code>col_break5</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>45</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>46</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>47</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>48</td>
+            <td ><code>stock_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Qty as per Stock UOM
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>49</td>
+            <td ><code>received_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Received Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>50</td>
+            <td ><code>returned_qty</code></td>
+            <td >
+                Float</td>
+            <td >
+                Returned Qty
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>51</td>
+            <td ><code>billed_amt</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Billed Amt
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>52</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>53</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
deleted file mode 100644
index 01ae3d9..0000000
--- a/erpnext/docs/current/models/buying/purchase_order_item_supplied.html
+++ /dev/null
@@ -1,184 +0,0 @@
-<!-- title: Purchase Order Item Supplied -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_order_item_supplied.md b/erpnext/docs/current/models/buying/purchase_order_item_supplied.md
new file mode 100644
index 0000000..7b39f24
--- /dev/null
+++ b/erpnext/docs/current/models/buying/purchase_order_item_supplied.md
@@ -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.x.x</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
deleted file mode 100644
index c755d26..0000000
--- a/erpnext/docs/current/models/buying/purchase_receipt_item_supplied.html
+++ /dev/null
@@ -1,265 +0,0 @@
-<!-- title: Purchase Receipt Item Supplied -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/purchase_receipt_item_supplied.md b/erpnext/docs/current/models/buying/purchase_receipt_item_supplied.md
new file mode 100644
index 0000000..aebb744
--- /dev/null
+++ b/erpnext/docs/current/models/buying/purchase_receipt_item_supplied.md
@@ -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.x.x</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
deleted file mode 100644
index d31095e..0000000
--- a/erpnext/docs/current/models/buying/quality_inspection.html
+++ /dev/null
@@ -1,515 +0,0 @@
-<!-- title: Quality Inspection -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/buying/quality_inspection.md
new file mode 100644
index 0000000..e27eed7
--- /dev/null
+++ b/erpnext/docs/current/models/buying/quality_inspection.md
@@ -0,0 +1,515 @@
+<!-- title: Quality Inspection -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index afa4c99..0000000
--- a/erpnext/docs/current/models/buying/quality_inspection_reading.html
+++ /dev/null
@@ -1,222 +0,0 @@
-<!-- title: Quality Inspection Reading -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/quality_inspection_reading.md b/erpnext/docs/current/models/buying/quality_inspection_reading.md
new file mode 100644
index 0000000..7745ab1
--- /dev/null
+++ b/erpnext/docs/current/models/buying/quality_inspection_reading.md
@@ -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.x.x</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
deleted file mode 100644
index a5b6347..0000000
--- a/erpnext/docs/current/models/buying/supplier.html
+++ /dev/null
@@ -1,741 +0,0 @@
-<!-- title: Supplier -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/address">Address</a>
-
-</li>
-			
-        
-			
-            <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/stock/item">Item</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/landed_cost_purchase_receipt">Landed Cost Purchase Receipt</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/purchase_invoice">Purchase Invoice</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/stock/purchase_receipt">Purchase Receipt</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/stock/serial_no">Serial No</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/stock/stock_entry">Stock Entry</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/accounts/tax_rule">Tax Rule</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/buying/supplier.md b/erpnext/docs/current/models/buying/supplier.md
new file mode 100644
index 0000000..5bf98b3
--- /dev/null
+++ b/erpnext/docs/current/models/buying/supplier.md
@@ -0,0 +1,741 @@
+<!-- title: Supplier -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/address">Address</a>
+
+</li>
+			
+        
+			
+            <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/stock/item">Item</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/landed_cost_purchase_receipt">Landed Cost Purchase Receipt</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/purchase_invoice">Purchase Invoice</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/stock/purchase_receipt">Purchase Receipt</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/stock/serial_no">Serial No</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/stock/stock_entry">Stock Entry</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/accounts/tax_rule">Tax 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
deleted file mode 100644
index 9f4ae84..0000000
--- a/erpnext/docs/current/models/buying/supplier_quotation.html
+++ /dev/null
@@ -1,1201 +0,0 @@
-<!-- title: Supplier Quotation -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/purchase_order_item">Purchase Order Item</a>
-
-</li>
-			
-        
-			
-            <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/buying/supplier_quotation.md b/erpnext/docs/current/models/buying/supplier_quotation.md
new file mode 100644
index 0000000..1bb1c2f
--- /dev/null
+++ b/erpnext/docs/current/models/buying/supplier_quotation.md
@@ -0,0 +1,1213 @@
+<!-- title: Supplier Quotation -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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 >
+            <td>24</td>
+            <td ><code>get_items_from_product_bundle</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Items from Product Bundle
+                
+            </td>
+            <td></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>base_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total (Company Currency)
+                
+            </td>
+            <td>
+                <pre>Company:company:default_currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>27</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>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</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>30</td>
+            <td ><code>net_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Net Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr class="info">
+            <td>31</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>32</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>33</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>34</td>
+            <td ><code>other_charges_calculation</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Taxes and Charges Calculation
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>35</td>
+            <td ><code>totals</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>36</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>37</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>38</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>39</td>
+            <td ><code>column_break_37</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>40</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>41</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>42</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>43</td>
+            <td ><code>section_break_41</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Additional Discount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>44</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>45</td>
+            <td ><code>column_break_43</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>46</td>
+            <td ><code>discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Additional Discount Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>47</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>48</td>
+            <td ><code>section_break_46</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>49</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>50</td>
+            <td ><code>base_in_words</code></td>
+            <td >
+                Data</td>
+            <td >
+                In Words (Company Currency)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>51</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>52</td>
+            <td ><code>column_break4</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>53</td>
+            <td ><code>grand_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Grand Total
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>54</td>
+            <td ><code>in_words</code></td>
+            <td >
+                Data</td>
+            <td >
+                In Words
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>55</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>56</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>57</td>
+            <td ><code>terms</code></td>
+            <td >
+                Text Editor</td>
+            <td >
+                Terms and Conditions
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>58</td>
+            <td ><code>contact_section</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Contact Details
+                
+            </td>
+            <td>
+                <pre>icon-bullhorn</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>59</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>60</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>61</td>
+            <td ><code>printing_settings</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Printing Settings
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>62</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>63</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>64</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>65</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>66</td>
+            <td ><code>is_subcontracted</code></td>
+            <td >
+                Select</td>
+            <td >
+                Is Subcontracted
+                
+            </td>
+            <td>
+                <pre>
+Yes
+No</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>67</td>
+            <td ><code>column_break_57</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>68</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/purchase_order_item">Purchase Order Item</a>
+
+</li>
+			
+        
+			
+            <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/buying/supplier_quotation_item.html b/erpnext/docs/current/models/buying/supplier_quotation_item.html
deleted file mode 100644
index efe028f..0000000
--- a/erpnext/docs/current/models/buying/supplier_quotation_item.html
+++ /dev/null
@@ -1,637 +0,0 @@
-<!-- title: Supplier Quotation Item -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/buying/supplier_quotation_item.md b/erpnext/docs/current/models/buying/supplier_quotation_item.md
new file mode 100644
index 0000000..2863e07
--- /dev/null
+++ b/erpnext/docs/current/models/buying/supplier_quotation_item.md
@@ -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.x.x</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/crm/index.html b/erpnext/docs/current/models/crm/index.html
deleted file mode 100644
index 513d578..0000000
--- a/erpnext/docs/current/models/crm/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: Module crm -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/crm/index.md
new file mode 100644
index 0000000..978f40d
--- /dev/null
+++ b/erpnext/docs/current/models/crm/index.md
@@ -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.x.x</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/lead.html b/erpnext/docs/current/models/crm/lead.html
deleted file mode 100644
index eb20367..0000000
--- a/erpnext/docs/current/models/crm/lead.html
+++ /dev/null
@@ -1,865 +0,0 @@
-<!-- title: Lead -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/selling/customer">Customer</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/crm/opportunity">Opportunity</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/crm/lead.md b/erpnext/docs/current/models/crm/lead.md
new file mode 100644
index 0000000..3d95401
--- /dev/null
+++ b/erpnext/docs/current/models/crm/lead.md
@@ -0,0 +1,865 @@
+<!-- title: Lead -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/selling/customer">Customer</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/crm/opportunity">Opportunity</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/crm/newsletter.html b/erpnext/docs/current/models/crm/newsletter.html
deleted file mode 100644
index c4a01c3..0000000
--- a/erpnext/docs/current/models/crm/newsletter.html
+++ /dev/null
@@ -1,383 +0,0 @@
-<!-- title: Newsletter -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/crm/newsletter.md
new file mode 100644
index 0000000..42ff48c
--- /dev/null
+++ b/erpnext/docs/current/models/crm/newsletter.md
@@ -0,0 +1,383 @@
+<!-- title: Newsletter -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index 3c53a91..0000000
--- a/erpnext/docs/current/models/crm/newsletter_list.html
+++ /dev/null
@@ -1,228 +0,0 @@
-<!-- title: Newsletter List -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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">Newsletter</a>
-
-</li>
-			
-        
-			
-            <li>
-
-
-<a href="https://frappe.github.io/erpnext/current/models/crm/newsletter_list_subscriber">Newsletter List Subscriber</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/crm/newsletter_list.md b/erpnext/docs/current/models/crm/newsletter_list.md
new file mode 100644
index 0000000..8d68c50
--- /dev/null
+++ b/erpnext/docs/current/models/crm/newsletter_list.md
@@ -0,0 +1,228 @@
+<!-- title: Newsletter List -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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">Newsletter</a>
+
+</li>
+			
+        
+			
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/crm/newsletter_list_subscriber">Newsletter List Subscriber</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
deleted file mode 100644
index 8673275..0000000
--- a/erpnext/docs/current/models/crm/newsletter_list_subscriber.html
+++ /dev/null
@@ -1,136 +0,0 @@
-<!-- title: Newsletter List Subscriber -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/newsletter_list_subscriber.md b/erpnext/docs/current/models/crm/newsletter_list_subscriber.md
new file mode 100644
index 0000000..6840da5
--- /dev/null
+++ b/erpnext/docs/current/models/crm/newsletter_list_subscriber.md
@@ -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.x.x</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
deleted file mode 100644
index c3238a9..0000000
--- a/erpnext/docs/current/models/crm/opportunity.html
+++ /dev/null
@@ -1,915 +0,0 @@
-<!-- title: Opportunity -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/crm/opportunity.md
new file mode 100644
index 0000000..8de74d2
--- /dev/null
+++ b/erpnext/docs/current/models/crm/opportunity.md
@@ -0,0 +1,915 @@
+<!-- title: Opportunity -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index 9e66fdb..0000000
--- a/erpnext/docs/current/models/crm/opportunity_item.html
+++ /dev/null
@@ -1,259 +0,0 @@
-<!-- title: Opportunity Item -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/crm/opportunity_item.md b/erpnext/docs/current/models/crm/opportunity_item.md
new file mode 100644
index 0000000..3c8158c
--- /dev/null
+++ b/erpnext/docs/current/models/crm/opportunity_item.md
@@ -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.x.x</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/home/index.md b/erpnext/docs/current/models/home/index.md
new file mode 100644
index 0000000..e21468e
--- /dev/null
+++ b/erpnext/docs/current/models/home/index.md
@@ -0,0 +1,19 @@
+<!-- title: Module home -->
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</a>
+
+
+	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/home"
+		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
+
+</div>
+
+<h3>DocTypes for home</h3>
+
+{index}
+
+<!-- autodoc -->
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/CRM/.txt b/erpnext/docs/current/models/home/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/CRM/.txt
rename to erpnext/docs/current/models/home/index.txt
diff --git a/erpnext/docs/current/models/hr/appraisal.html b/erpnext/docs/current/models/hr/appraisal.html
deleted file mode 100644
index 73f9578..0000000
--- a/erpnext/docs/current/models/hr/appraisal.html
+++ /dev/null
@@ -1,500 +0,0 @@
-<!-- title: Appraisal -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/hr/appraisal.md
new file mode 100644
index 0000000..56dc3fc
--- /dev/null
+++ b/erpnext/docs/current/models/hr/appraisal.md
@@ -0,0 +1,500 @@
+<!-- title: Appraisal -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index b22a900..0000000
--- a/erpnext/docs/current/models/hr/appraisal_goal.html
+++ /dev/null
@@ -1,148 +0,0 @@
-<!-- title: Appraisal Goal -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_goal.md b/erpnext/docs/current/models/hr/appraisal_goal.md
new file mode 100644
index 0000000..3c37098
--- /dev/null
+++ b/erpnext/docs/current/models/hr/appraisal_goal.md
@@ -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.x.x</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
deleted file mode 100644
index 78d2447..0000000
--- a/erpnext/docs/current/models/hr/appraisal_template.html
+++ /dev/null
@@ -1,162 +0,0 @@
-<!-- title: Appraisal Template -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/hr/appraisal_template.md
new file mode 100644
index 0000000..6044768
--- /dev/null
+++ b/erpnext/docs/current/models/hr/appraisal_template.md
@@ -0,0 +1,162 @@
+<!-- title: Appraisal Template -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index 4fc8e57..0000000
--- a/erpnext/docs/current/models/hr/appraisal_template_goal.html
+++ /dev/null
@@ -1,88 +0,0 @@
-<!-- title: Appraisal Template Goal -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/appraisal_template_goal.md b/erpnext/docs/current/models/hr/appraisal_template_goal.md
new file mode 100644
index 0000000..d032548
--- /dev/null
+++ b/erpnext/docs/current/models/hr/appraisal_template_goal.md
@@ -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.x.x</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
deleted file mode 100644
index b9c93b8..0000000
--- a/erpnext/docs/current/models/hr/attendance.html
+++ /dev/null
@@ -1,359 +0,0 @@
-<!-- title: Attendance -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/attendance.md b/erpnext/docs/current/models/hr/attendance.md
new file mode 100644
index 0000000..de340f7
--- /dev/null
+++ b/erpnext/docs/current/models/hr/attendance.md
@@ -0,0 +1,359 @@
+<!-- title: Attendance -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index 9d868ba..0000000
--- a/erpnext/docs/current/models/hr/branch.html
+++ /dev/null
@@ -1,155 +0,0 @@
-<!-- title: Branch -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/employee">Employee</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/leave_control_panel">Leave Control Panel</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/salary_slip">Salary Slip</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/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/branch.md b/erpnext/docs/current/models/hr/branch.md
new file mode 100644
index 0000000..4f41382
--- /dev/null
+++ b/erpnext/docs/current/models/hr/branch.md
@@ -0,0 +1,155 @@
+<!-- title: Branch -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/employee">Employee</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/leave_control_panel">Leave Control Panel</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/salary_slip">Salary Slip</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/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
deleted file mode 100644
index bb18731..0000000
--- a/erpnext/docs/current/models/hr/deduction_type.html
+++ /dev/null
@@ -1,122 +0,0 @@
-<!-- title: Deduction Type -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_slip_deduction">Salary Slip Deduction</a>
-
-</li>
-			
-        
-			
-            <li>
-
-
-<a href="https://frappe.github.io/erpnext/current/models/hr/salary_structure_deduction">Salary Structure Deduction</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/deduction_type.md b/erpnext/docs/current/models/hr/deduction_type.md
new file mode 100644
index 0000000..ad56e74
--- /dev/null
+++ b/erpnext/docs/current/models/hr/deduction_type.md
@@ -0,0 +1,122 @@
+<!-- title: Deduction Type -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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_slip_deduction">Salary Slip Deduction</a>
+
+</li>
+			
+        
+			
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_structure_deduction">Salary Structure 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
deleted file mode 100644
index a973b36..0000000
--- a/erpnext/docs/current/models/hr/department.html
+++ /dev/null
@@ -1,177 +0,0 @@
-<!-- title: Department -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/employee">Employee</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/leave_control_panel">Leave Control Panel</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/salary_slip">Salary Slip</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/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/department.md b/erpnext/docs/current/models/hr/department.md
new file mode 100644
index 0000000..c92d9b2
--- /dev/null
+++ b/erpnext/docs/current/models/hr/department.md
@@ -0,0 +1,177 @@
+<!-- title: Department -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/employee">Employee</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/leave_control_panel">Leave Control Panel</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/salary_slip">Salary Slip</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/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
deleted file mode 100644
index 4f41d39..0000000
--- a/erpnext/docs/current/models/hr/designation.html
+++ /dev/null
@@ -1,164 +0,0 @@
-<!-- title: Designation -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/setup/authorization_rule">Authorization Rule</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/employee_internal_work_history">Employee Internal Work History</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/offer_letter">Offer Letter</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/salary_slip">Salary Slip</a>
-
-</li>
-			
-        
-			
-            <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/designation.md b/erpnext/docs/current/models/hr/designation.md
new file mode 100644
index 0000000..f392ee3
--- /dev/null
+++ b/erpnext/docs/current/models/hr/designation.md
@@ -0,0 +1,164 @@
+<!-- title: Designation -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/setup/authorization_rule">Authorization Rule</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/employee_internal_work_history">Employee Internal Work History</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/offer_letter">Offer Letter</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/salary_slip">Salary Slip</a>
+
+</li>
+			
+        
+			
+            <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/earning_type.html b/erpnext/docs/current/models/hr/earning_type.html
deleted file mode 100644
index f25d7bb..0000000
--- a/erpnext/docs/current/models/hr/earning_type.html
+++ /dev/null
@@ -1,122 +0,0 @@
-<!-- title: Earning Type -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_slip_earning">Salary Slip Earning</a>
-
-</li>
-			
-        
-			
-            <li>
-
-
-<a href="https://frappe.github.io/erpnext/current/models/hr/salary_structure_earning">Salary Structure Earning</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/earning_type.md b/erpnext/docs/current/models/hr/earning_type.md
new file mode 100644
index 0000000..3ab4ea9
--- /dev/null
+++ b/erpnext/docs/current/models/hr/earning_type.md
@@ -0,0 +1,122 @@
+<!-- title: Earning Type -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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_slip_earning">Salary Slip Earning</a>
+
+</li>
+			
+        
+			
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/salary_structure_earning">Salary Structure 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
deleted file mode 100644
index 122962e..0000000
--- a/erpnext/docs/current/models/hr/employee.html
+++ /dev/null
@@ -1,1684 +0,0 @@
-<!-- title: Employee -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/projects/activity_cost">Activity Cost</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/hr/attendance">Attendance</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/hr/employee">Employee</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/leave_allocation">Leave Allocation</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/salary_slip">Salary Slip</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/setup/sales_person">Sales Person</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/hr/employee.md b/erpnext/docs/current/models/hr/employee.md
new file mode 100644
index 0000000..5bfab8e
--- /dev/null
+++ b/erpnext/docs/current/models/hr/employee.md
@@ -0,0 +1,1684 @@
+<!-- title: Employee -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/projects/activity_cost">Activity Cost</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/hr/attendance">Attendance</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/hr/employee">Employee</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/leave_allocation">Leave Allocation</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/salary_slip">Salary Slip</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/setup/sales_person">Sales Person</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/hr/employee_education.html b/erpnext/docs/current/models/hr/employee_education.html
deleted file mode 100644
index 24ef624..0000000
--- a/erpnext/docs/current/models/hr/employee_education.html
+++ /dev/null
@@ -1,139 +0,0 @@
-<!-- title: Employee Education -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_education.md b/erpnext/docs/current/models/hr/employee_education.md
new file mode 100644
index 0000000..ecfbd97
--- /dev/null
+++ b/erpnext/docs/current/models/hr/employee_education.md
@@ -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.x.x</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
deleted file mode 100644
index cb9ba0c..0000000
--- a/erpnext/docs/current/models/hr/employee_external_work_history.html
+++ /dev/null
@@ -1,137 +0,0 @@
-<!-- title: Employee External Work History -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_external_work_history.md b/erpnext/docs/current/models/hr/employee_external_work_history.md
new file mode 100644
index 0000000..d28b572
--- /dev/null
+++ b/erpnext/docs/current/models/hr/employee_external_work_history.md
@@ -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.x.x</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
deleted file mode 100644
index 04cc03f..0000000
--- a/erpnext/docs/current/models/hr/employee_internal_work_history.html
+++ /dev/null
@@ -1,150 +0,0 @@
-<!-- title: Employee Internal Work History -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_internal_work_history.md b/erpnext/docs/current/models/hr/employee_internal_work_history.md
new file mode 100644
index 0000000..56e916e
--- /dev/null
+++ b/erpnext/docs/current/models/hr/employee_internal_work_history.md
@@ -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.x.x</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
deleted file mode 100644
index dc17ca8..0000000
--- a/erpnext/docs/current/models/hr/employee_leave_approver.html
+++ /dev/null
@@ -1,84 +0,0 @@
-<!-- title: Employee Leave Approver -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/employee_leave_approver.md b/erpnext/docs/current/models/hr/employee_leave_approver.md
new file mode 100644
index 0000000..67bbd56
--- /dev/null
+++ b/erpnext/docs/current/models/hr/employee_leave_approver.md
@@ -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.x.x</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
deleted file mode 100644
index 458ecb5..0000000
--- a/erpnext/docs/current/models/hr/employment_type.html
+++ /dev/null
@@ -1,110 +0,0 @@
-<!-- title: Employment Type -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/employee">Employee</a>
-
-</li>
-			
-        
-			
-            <li>
-
-
-<a href="https://frappe.github.io/erpnext/current/models/hr/leave_control_panel">Leave Control Panel</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/employment_type.md b/erpnext/docs/current/models/hr/employment_type.md
new file mode 100644
index 0000000..335f10f
--- /dev/null
+++ b/erpnext/docs/current/models/hr/employment_type.md
@@ -0,0 +1,110 @@
+<!-- title: Employment Type -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/employee">Employee</a>
+
+</li>
+			
+        
+			
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_control_panel">Leave Control Panel</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
deleted file mode 100644
index ceeceea..0000000
--- a/erpnext/docs/current/models/hr/expense_claim.html
+++ /dev/null
@@ -1,599 +0,0 @@
-<!-- title: Expense Claim -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/hr/expense_claim.md
new file mode 100644
index 0000000..5c30269
--- /dev/null
+++ b/erpnext/docs/current/models/hr/expense_claim.md
@@ -0,0 +1,599 @@
+<!-- title: Expense Claim -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index ebde844..0000000
--- a/erpnext/docs/current/models/hr/expense_claim_detail.html
+++ /dev/null
@@ -1,205 +0,0 @@
-<!-- title: Expense Claim Detail -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_detail.md b/erpnext/docs/current/models/hr/expense_claim_detail.md
new file mode 100644
index 0000000..5fd3c9e
--- /dev/null
+++ b/erpnext/docs/current/models/hr/expense_claim_detail.md
@@ -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.x.x</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
deleted file mode 100644
index 59c068b..0000000
--- a/erpnext/docs/current/models/hr/expense_claim_type.html
+++ /dev/null
@@ -1,134 +0,0 @@
-<!-- title: Expense Claim Type -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/expense_claim_type.md b/erpnext/docs/current/models/hr/expense_claim_type.md
new file mode 100644
index 0000000..c86949a
--- /dev/null
+++ b/erpnext/docs/current/models/hr/expense_claim_type.md
@@ -0,0 +1,134 @@
+<!-- title: Expense Claim Type -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index 7f6d4a9..0000000
--- a/erpnext/docs/current/models/hr/holiday.html
+++ /dev/null
@@ -1,87 +0,0 @@
-<!-- title: Holiday -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/hr/holiday.md
new file mode 100644
index 0000000..7986a89
--- /dev/null
+++ b/erpnext/docs/current/models/hr/holiday.md
@@ -0,0 +1,87 @@
+<!-- title: Holiday -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index d1f77b5..0000000
--- a/erpnext/docs/current/models/hr/holiday_list.html
+++ /dev/null
@@ -1,354 +0,0 @@
-<!-- title: Holiday List -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/setup/company">Company</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/manufacturing/workstation">Workstation</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/holiday_list.md b/erpnext/docs/current/models/hr/holiday_list.md
new file mode 100644
index 0000000..d4aa8a9
--- /dev/null
+++ b/erpnext/docs/current/models/hr/holiday_list.md
@@ -0,0 +1,354 @@
+<!-- title: Holiday List -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/setup/company">Company</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/manufacturing/workstation">Workstation</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
deleted file mode 100644
index 71e6fbd..0000000
--- a/erpnext/docs/current/models/hr/hr_settings.html
+++ /dev/null
@@ -1,153 +0,0 @@
-<!-- title: HR Settings -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/hr_settings.md b/erpnext/docs/current/models/hr/hr_settings.md
new file mode 100644
index 0000000..04848cd
--- /dev/null
+++ b/erpnext/docs/current/models/hr/hr_settings.md
@@ -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.x.x</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
deleted file mode 100644
index a885466..0000000
--- a/erpnext/docs/current/models/hr/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: Module hr -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/hr/index.md
new file mode 100644
index 0000000..1fab52a
--- /dev/null
+++ b/erpnext/docs/current/models/hr/index.md
@@ -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.x.x</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/job_applicant.html b/erpnext/docs/current/models/hr/job_applicant.html
deleted file mode 100644
index 752ff14..0000000
--- a/erpnext/docs/current/models/hr/job_applicant.html
+++ /dev/null
@@ -1,266 +0,0 @@
-<!-- title: Job Applicant -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_applicant.md b/erpnext/docs/current/models/hr/job_applicant.md
new file mode 100644
index 0000000..c04ad8d
--- /dev/null
+++ b/erpnext/docs/current/models/hr/job_applicant.md
@@ -0,0 +1,266 @@
+<!-- title: Job Applicant -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index e761121..0000000
--- a/erpnext/docs/current/models/hr/job_opening.html
+++ /dev/null
@@ -1,129 +0,0 @@
-<!-- title: Job Opening -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/job_opening.md b/erpnext/docs/current/models/hr/job_opening.md
new file mode 100644
index 0000000..9199ebd
--- /dev/null
+++ b/erpnext/docs/current/models/hr/job_opening.md
@@ -0,0 +1,129 @@
+<!-- title: Job Opening -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index 8423866..0000000
--- a/erpnext/docs/current/models/hr/leave_allocation.html
+++ /dev/null
@@ -1,478 +0,0 @@
-<!-- title: Leave Allocation -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_allocation.md b/erpnext/docs/current/models/hr/leave_allocation.md
new file mode 100644
index 0000000..b9b1aac
--- /dev/null
+++ b/erpnext/docs/current/models/hr/leave_allocation.md
@@ -0,0 +1,531 @@
+<!-- title: Leave Allocation -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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>BackDatedAllocationError</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>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="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_total_leaves_allocated" href="#set_total_leaves_allocated" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>set_total_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="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_leave_applications" href="#validate_against_leave_applications" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_against_leave_applications</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
+</div>
+	<br>
+
+        
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="validate_allocation_overlap" href="#validate_allocation_overlap" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_allocation_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_back_dated_allocation" href="#validate_back_dated_allocation" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_back_dated_allocation</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<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)</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>LessAllocationError</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>OverAllocationError</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>ValueMultiplierError</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.leave_allocation.leave_allocation.get_carry_forwarded_leaves</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.leave_allocation.leave_allocation.get_carry_forwarded_leaves" href="#erpnext.hr.doctype.leave_allocation.leave_allocation.get_carry_forwarded_leaves" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.leave_allocation.leave_allocation.<b>get_carry_forwarded_leaves</b>
+        <i class="text-muted">(employee, leave_type, date, carry_forward=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.leave_allocation.leave_allocation.validate_carry_forward" href="#erpnext.hr.doctype.leave_allocation.leave_allocation.validate_carry_forward" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.leave_allocation.leave_allocation.<b>validate_carry_forward</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_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
deleted file mode 100644
index f90bbd2..0000000
--- a/erpnext/docs/current/models/hr/leave_application.html
+++ /dev/null
@@ -1,922 +0,0 @@
-<!-- title: Leave Application -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_application.md b/erpnext/docs/current/models/hr/leave_application.md
new file mode 100644
index 0000000..bc91ea5
--- /dev/null
+++ b/erpnext/docs/current/models/hr/leave_application.md
@@ -0,0 +1,933 @@
+<!-- title: Leave Application -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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 ><code>follow_via_email</code></td>
+            <td >
+                Check</td>
+            <td >
+                Follow via Email
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>column_break_17</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></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>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>24</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="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_back_dated_application" href="#validate_back_dated_application" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_back_dated_application</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<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_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_dates_acorss_allocation" href="#validate_dates_acorss_allocation" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		<b>validate_dates_acorss_allocation</b>
+        <i class="text-muted">(self)</i>
+    </p>
+	<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>
+
+        
+    </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 class="docs-attr-name">
+        <a name="erpnext.hr.doctype.leave_application.leave_application.get_approved_leaves_for_period" href="#erpnext.hr.doctype.leave_application.leave_application.get_approved_leaves_for_period" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.leave_application.leave_application.<b>get_approved_leaves_for_period</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_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">(employee, from_date, to_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.hr.doctype.leave_application.leave_application.get_leave_allocation_records" href="#erpnext.hr.doctype.leave_application.leave_application.get_leave_allocation_records" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.leave_application.leave_application.<b>get_leave_allocation_records</b>
+        <i class="text-muted">(date, employee=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_leave_balance_on</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.leave_application.leave_application.get_leave_balance_on" href="#erpnext.hr.doctype.leave_application.leave_application.get_leave_balance_on" 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_on</b>
+        <i class="text-muted">(employee, leave_type, date, allocation_records=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_number_of_leave_days</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.leave_application.leave_application.get_number_of_leave_days" href="#erpnext.hr.doctype.leave_application.leave_application.get_number_of_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_number_of_leave_days</b>
+        <i class="text-muted">(employee, leave_type, from_date, to_date, half_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.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
deleted file mode 100644
index 93e1ea9..0000000
--- a/erpnext/docs/current/models/hr/leave_block_list.html
+++ /dev/null
@@ -1,288 +0,0 @@
-<!-- title: Leave Block List -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/hr/leave_block_list.md
new file mode 100644
index 0000000..0873555
--- /dev/null
+++ b/erpnext/docs/current/models/hr/leave_block_list.md
@@ -0,0 +1,288 @@
+<!-- title: Leave Block List -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index 9bfb76f..0000000
--- a/erpnext/docs/current/models/hr/leave_block_list_allow.html
+++ /dev/null
@@ -1,84 +0,0 @@
-<!-- title: Leave Block List Allow -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_allow.md b/erpnext/docs/current/models/hr/leave_block_list_allow.md
new file mode 100644
index 0000000..d23fa2b
--- /dev/null
+++ b/erpnext/docs/current/models/hr/leave_block_list_allow.md
@@ -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.x.x</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
deleted file mode 100644
index ecb71e5..0000000
--- a/erpnext/docs/current/models/hr/leave_block_list_date.html
+++ /dev/null
@@ -1,87 +0,0 @@
-<!-- title: Leave Block List Date -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_block_list_date.md b/erpnext/docs/current/models/hr/leave_block_list_date.md
new file mode 100644
index 0000000..b2e708d
--- /dev/null
+++ b/erpnext/docs/current/models/hr/leave_block_list_date.md
@@ -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.x.x</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
deleted file mode 100644
index ea7a350..0000000
--- a/erpnext/docs/current/models/hr/leave_control_panel.html
+++ /dev/null
@@ -1,325 +0,0 @@
-<!-- title: Leave Control Panel -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_control_panel.md b/erpnext/docs/current/models/hr/leave_control_panel.md
new file mode 100644
index 0000000..404bd329
--- /dev/null
+++ b/erpnext/docs/current/models/hr/leave_control_panel.md
@@ -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.x.x</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
deleted file mode 100644
index ffdfe1e..0000000
--- a/erpnext/docs/current/models/hr/leave_type.html
+++ /dev/null
@@ -1,200 +0,0 @@
-<!-- title: Leave Type -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/attendance">Attendance</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/leave_application">Leave Application</a>
-
-</li>
-			
-        
-			
-            <li>
-
-
-<a href="https://frappe.github.io/erpnext/current/models/hr/leave_control_panel">Leave Control Panel</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/hr/leave_type.md b/erpnext/docs/current/models/hr/leave_type.md
new file mode 100644
index 0000000..35630b5
--- /dev/null
+++ b/erpnext/docs/current/models/hr/leave_type.md
@@ -0,0 +1,200 @@
+<!-- title: Leave Type -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/attendance">Attendance</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/leave_application">Leave Application</a>
+
+</li>
+			
+        
+			
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/leave_control_panel">Leave Control Panel</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
deleted file mode 100644
index 4eb12bf..0000000
--- a/erpnext/docs/current/models/hr/offer_letter.html
+++ /dev/null
@@ -1,305 +0,0 @@
-<!-- title: Offer Letter -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/hr/offer_letter.md
new file mode 100644
index 0000000..c1b6bd5
--- /dev/null
+++ b/erpnext/docs/current/models/hr/offer_letter.md
@@ -0,0 +1,305 @@
+<!-- title: Offer Letter -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index d472674..0000000
--- a/erpnext/docs/current/models/hr/offer_letter_term.html
+++ /dev/null
@@ -1,108 +0,0 @@
-<!-- title: Offer Letter Term -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_letter_term.md b/erpnext/docs/current/models/hr/offer_letter_term.md
new file mode 100644
index 0000000..58a63ff
--- /dev/null
+++ b/erpnext/docs/current/models/hr/offer_letter_term.md
@@ -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.x.x</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
deleted file mode 100644
index 258a610..0000000
--- a/erpnext/docs/current/models/hr/offer_term.html
+++ /dev/null
@@ -1,101 +0,0 @@
-<!-- title: Offer Term -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/offer_term.md b/erpnext/docs/current/models/hr/offer_term.md
new file mode 100644
index 0000000..784db56
--- /dev/null
+++ b/erpnext/docs/current/models/hr/offer_term.md
@@ -0,0 +1,101 @@
+<!-- title: Offer Term -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index e827a56..0000000
--- a/erpnext/docs/current/models/hr/process_payroll.html
+++ /dev/null
@@ -1,572 +0,0 @@
-<!-- title: Process Payroll -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/process_payroll.md b/erpnext/docs/current/models/hr/process_payroll.md
new file mode 100644
index 0000000..0525f50
--- /dev/null
+++ b/erpnext/docs/current/models/hr/process_payroll.md
@@ -0,0 +1,574 @@
+<!-- title: Process Payroll -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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_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>
+
+	
+
+	
+        
+    
+    
+	<p class="docs-attr-name">
+        <a name="erpnext.hr.doctype.process_payroll.process_payroll.get_month_details" href="#erpnext.hr.doctype.process_payroll.process_payroll.get_month_details" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.hr.doctype.process_payroll.process_payroll.<b>get_month_details</b>
+        <i class="text-muted">(year, month)</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_slip.html b/erpnext/docs/current/models/hr/salary_slip.html
deleted file mode 100644
index 0243457..0000000
--- a/erpnext/docs/current/models/hr/salary_slip.html
+++ /dev/null
@@ -1,851 +0,0 @@
-<!-- title: Salary Slip -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/hr/salary_slip.md
new file mode 100644
index 0000000..aeece37
--- /dev/null
+++ b/erpnext/docs/current/models/hr/salary_slip.md
@@ -0,0 +1,851 @@
+<!-- title: Salary Slip -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index 1861917..0000000
--- a/erpnext/docs/current/models/hr/salary_slip_deduction.html
+++ /dev/null
@@ -1,124 +0,0 @@
-<!-- title: Salary Slip Deduction -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_deduction.md b/erpnext/docs/current/models/hr/salary_slip_deduction.md
new file mode 100644
index 0000000..8135e2e
--- /dev/null
+++ b/erpnext/docs/current/models/hr/salary_slip_deduction.md
@@ -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.x.x</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
deleted file mode 100644
index ea35cb1..0000000
--- a/erpnext/docs/current/models/hr/salary_slip_earning.html
+++ /dev/null
@@ -1,124 +0,0 @@
-<!-- title: Salary Slip Earning -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_slip_earning.md b/erpnext/docs/current/models/hr/salary_slip_earning.md
new file mode 100644
index 0000000..1ae861f
--- /dev/null
+++ b/erpnext/docs/current/models/hr/salary_slip_earning.md
@@ -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.x.x</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
deleted file mode 100644
index d40c6c7..0000000
--- a/erpnext/docs/current/models/hr/salary_structure.html
+++ /dev/null
@@ -1,601 +0,0 @@
-<!-- title: Salary Structure -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/hr/salary_structure.md
new file mode 100644
index 0000000..25030bd
--- /dev/null
+++ b/erpnext/docs/current/models/hr/salary_structure.md
@@ -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.x.x</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
deleted file mode 100644
index 6ea0342..0000000
--- a/erpnext/docs/current/models/hr/salary_structure_deduction.html
+++ /dev/null
@@ -1,110 +0,0 @@
-<!-- title: Salary Structure Deduction -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_deduction.md b/erpnext/docs/current/models/hr/salary_structure_deduction.md
new file mode 100644
index 0000000..3c50b1b
--- /dev/null
+++ b/erpnext/docs/current/models/hr/salary_structure_deduction.md
@@ -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.x.x</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
deleted file mode 100644
index 44879c0..0000000
--- a/erpnext/docs/current/models/hr/salary_structure_earning.html
+++ /dev/null
@@ -1,110 +0,0 @@
-<!-- title: Salary Structure Earning -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/salary_structure_earning.md b/erpnext/docs/current/models/hr/salary_structure_earning.md
new file mode 100644
index 0000000..c6e20d0
--- /dev/null
+++ b/erpnext/docs/current/models/hr/salary_structure_earning.md
@@ -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.x.x</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
deleted file mode 100644
index c38bc3b..0000000
--- a/erpnext/docs/current/models/hr/upload_attendance.html
+++ /dev/null
@@ -1,291 +0,0 @@
-<!-- title: Upload Attendance -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/hr/upload_attendance.md b/erpnext/docs/current/models/hr/upload_attendance.md
new file mode 100644
index 0000000..5c6f0d7
--- /dev/null
+++ b/erpnext/docs/current/models/hr/upload_attendance.md
@@ -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.x.x</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
deleted file mode 100644
index 36c3892..0000000
--- a/erpnext/docs/current/models/hub_node/hub_settings.html
+++ /dev/null
@@ -1,388 +0,0 @@
-<!-- title: Hub Settings -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/hub_settings.md b/erpnext/docs/current/models/hub_node/hub_settings.md
new file mode 100644
index 0000000..a9b7599
--- /dev/null
+++ b/erpnext/docs/current/models/hub_node/hub_settings.md
@@ -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.x.x</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
deleted file mode 100644
index 7e447e4..0000000
--- a/erpnext/docs/current/models/hub_node/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: Module hub_node -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/hub_node/index.md
new file mode 100644
index 0000000..6b618c4
--- /dev/null
+++ b/erpnext/docs/current/models/hub_node/index.md
@@ -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.x.x</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/index.html b/erpnext/docs/current/models/index.html
deleted file mode 100644
index 763fc4e..0000000
--- a/erpnext/docs/current/models/index.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!-- title: ERPNext: Models (DocTypes) -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/index.md
new file mode 100644
index 0000000..1c25b3e
--- /dev/null
+++ b/erpnext/docs/current/models/index.md
@@ -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.x.x</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/manufacturing/bom.html b/erpnext/docs/current/models/manufacturing/bom.html
deleted file mode 100644
index fa2ca16..0000000
--- a/erpnext/docs/current/models/manufacturing/bom.html
+++ /dev/null
@@ -1,1125 +0,0 @@
-<!-- title: BOM -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/manufacturing/bom">BOM</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_replace_tool">BOM Replace Tool</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_order">Production 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/buying/purchase_order_item">Purchase Order Item</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/stock_entry">Stock Entry</a>
-
-</li>
-			
-        
-			
-            <li>
-
-
-<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry_detail">Stock Entry Detail</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/manufacturing/bom.md b/erpnext/docs/current/models/manufacturing/bom.md
new file mode 100644
index 0000000..108fc70
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/bom.md
@@ -0,0 +1,1125 @@
+<!-- title: BOM -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/manufacturing/bom">BOM</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_replace_tool">BOM Replace Tool</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_order">Production 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/buying/purchase_order_item">Purchase Order Item</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/stock_entry">Stock Entry</a>
+
+</li>
+			
+        
+			
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry_detail">Stock Entry Detail</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
deleted file mode 100644
index 8e82b62..0000000
--- a/erpnext/docs/current/models/manufacturing/bom_explosion_item.html
+++ /dev/null
@@ -1,267 +0,0 @@
-<!-- title: BOM Explosion Item -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_explosion_item.md b/erpnext/docs/current/models/manufacturing/bom_explosion_item.md
new file mode 100644
index 0000000..80ec30c
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/bom_explosion_item.md
@@ -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.x.x</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
deleted file mode 100644
index ce2ac3d..0000000
--- a/erpnext/docs/current/models/manufacturing/bom_item.html
+++ /dev/null
@@ -1,301 +0,0 @@
-<!-- title: BOM Item -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_item.md b/erpnext/docs/current/models/manufacturing/bom_item.md
new file mode 100644
index 0000000..0601b90
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/bom_item.md
@@ -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.x.x</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
deleted file mode 100644
index 9fee837..0000000
--- a/erpnext/docs/current/models/manufacturing/bom_operation.html
+++ /dev/null
@@ -1,166 +0,0 @@
-<!-- title: BOM Operation -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_operation.md b/erpnext/docs/current/models/manufacturing/bom_operation.md
new file mode 100644
index 0000000..d53451f
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/bom_operation.md
@@ -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.x.x</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
deleted file mode 100644
index a5c4306..0000000
--- a/erpnext/docs/current/models/manufacturing/bom_replace_tool.html
+++ /dev/null
@@ -1,187 +0,0 @@
-<!-- title: BOM Replace Tool -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/bom_replace_tool.md b/erpnext/docs/current/models/manufacturing/bom_replace_tool.md
new file mode 100644
index 0000000..920b326
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/bom_replace_tool.md
@@ -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.x.x</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
deleted file mode 100644
index 159aace..0000000
--- a/erpnext/docs/current/models/manufacturing/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: Module manufacturing -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/manufacturing/index.md
new file mode 100644
index 0000000..ac1f284
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/index.md
@@ -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.x.x</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/manufacturing_settings.html b/erpnext/docs/current/models/manufacturing/manufacturing_settings.html
deleted file mode 100644
index a1e5837..0000000
--- a/erpnext/docs/current/models/manufacturing/manufacturing_settings.html
+++ /dev/null
@@ -1,271 +0,0 @@
-<!-- title: Manufacturing Settings -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/manufacturing_settings.md b/erpnext/docs/current/models/manufacturing/manufacturing_settings.md
new file mode 100644
index 0000000..d762d8b
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/manufacturing_settings.md
@@ -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.x.x</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
deleted file mode 100644
index 1974e93..0000000
--- a/erpnext/docs/current/models/manufacturing/operation.html
+++ /dev/null
@@ -1,166 +0,0 @@
-<!-- title: Operation -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/bom_operation">BOM Operation</a>
-
-</li>
-			
-        
-			
-            <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/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/operation.md b/erpnext/docs/current/models/manufacturing/operation.md
new file mode 100644
index 0000000..343dc15
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/operation.md
@@ -0,0 +1,166 @@
+<!-- title: Operation -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/bom_operation">BOM Operation</a>
+
+</li>
+			
+        
+			
+            <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/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
deleted file mode 100644
index afae20e..0000000
--- a/erpnext/docs/current/models/manufacturing/production_order.html
+++ /dev/null
@@ -1,1198 +0,0 @@
-<!-- title: Production Order -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/manufacturing/production_order">Production Order</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/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.md b/erpnext/docs/current/models/manufacturing/production_order.md
new file mode 100644
index 0000000..3c1385e
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/production_order.md
@@ -0,0 +1,1198 @@
+<!-- title: Production Order -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/manufacturing/production_order">Production Order</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/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
deleted file mode 100644
index 7762c5d..0000000
--- a/erpnext/docs/current/models/manufacturing/production_order_operation.html
+++ /dev/null
@@ -1,359 +0,0 @@
-<!-- title: Production Order Operation -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_order_operation.md b/erpnext/docs/current/models/manufacturing/production_order_operation.md
new file mode 100644
index 0000000..2fc1395
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/production_order_operation.md
@@ -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.x.x</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
deleted file mode 100644
index fb69ce6..0000000
--- a/erpnext/docs/current/models/manufacturing/production_plan_item.html
+++ /dev/null
@@ -1,217 +0,0 @@
-<!-- title: Production Plan Item -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_item.md b/erpnext/docs/current/models/manufacturing/production_plan_item.md
new file mode 100644
index 0000000..e649d62
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/production_plan_item.md
@@ -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.x.x</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
deleted file mode 100644
index 6def06d..0000000
--- a/erpnext/docs/current/models/manufacturing/production_plan_sales_order.html
+++ /dev/null
@@ -1,143 +0,0 @@
-<!-- title: Production Plan Sales Order -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_plan_sales_order.md b/erpnext/docs/current/models/manufacturing/production_plan_sales_order.md
new file mode 100644
index 0000000..bf89b4e
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/production_plan_sales_order.md
@@ -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.x.x</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
deleted file mode 100644
index 6d41039..0000000
--- a/erpnext/docs/current/models/manufacturing/production_planning_tool.html
+++ /dev/null
@@ -1,725 +0,0 @@
-<!-- title: Production Planning Tool -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/production_planning_tool.md b/erpnext/docs/current/models/manufacturing/production_planning_tool.md
new file mode 100644
index 0000000..eb394cc
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/production_planning_tool.md
@@ -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.x.x</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
deleted file mode 100644
index 108ec83..0000000
--- a/erpnext/docs/current/models/manufacturing/workstation.html
+++ /dev/null
@@ -1,474 +0,0 @@
-<!-- title: Workstation -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/bom_operation">BOM 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/production_order_operation">Production Order 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.md b/erpnext/docs/current/models/manufacturing/workstation.md
new file mode 100644
index 0000000..cd5c7eb
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/workstation.md
@@ -0,0 +1,474 @@
+<!-- title: Workstation -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/bom_operation">BOM 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/production_order_operation">Production Order 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
deleted file mode 100644
index 54883c9..0000000
--- a/erpnext/docs/current/models/manufacturing/workstation_working_hour.html
+++ /dev/null
@@ -1,123 +0,0 @@
-<!-- title: Workstation Working Hour -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/manufacturing/workstation_working_hour.md b/erpnext/docs/current/models/manufacturing/workstation_working_hour.md
new file mode 100644
index 0000000..4075baf
--- /dev/null
+++ b/erpnext/docs/current/models/manufacturing/workstation_working_hour.md
@@ -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.x.x</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
deleted file mode 100644
index e027452..0000000
--- a/erpnext/docs/current/models/projects/activity_cost.html
+++ /dev/null
@@ -1,260 +0,0 @@
-<!-- title: Activity Cost -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_cost.md b/erpnext/docs/current/models/projects/activity_cost.md
new file mode 100644
index 0000000..cd5119f
--- /dev/null
+++ b/erpnext/docs/current/models/projects/activity_cost.md
@@ -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.x.x</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
deleted file mode 100644
index 75bb9de..0000000
--- a/erpnext/docs/current/models/projects/activity_type.html
+++ /dev/null
@@ -1,146 +0,0 @@
-<!-- title: Activity Type -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/activity_cost">Activity Cost</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/activity_type.md b/erpnext/docs/current/models/projects/activity_type.md
new file mode 100644
index 0000000..4055764
--- /dev/null
+++ b/erpnext/docs/current/models/projects/activity_type.md
@@ -0,0 +1,146 @@
+<!-- title: Activity Type -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/activity_cost">Activity Cost</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/dependent_task.html b/erpnext/docs/current/models/projects/dependent_task.html
deleted file mode 100644
index 1172617..0000000
--- a/erpnext/docs/current/models/projects/dependent_task.html
+++ /dev/null
@@ -1,72 +0,0 @@
-<!-- title: Dependent Task -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/dependent_task.md b/erpnext/docs/current/models/projects/dependent_task.md
new file mode 100644
index 0000000..d8dfa41
--- /dev/null
+++ b/erpnext/docs/current/models/projects/dependent_task.md
@@ -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.x.x</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
deleted file mode 100644
index 259b3e6..0000000
--- a/erpnext/docs/current/models/projects/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: Module projects -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/projects/index.md
new file mode 100644
index 0000000..85b7c57
--- /dev/null
+++ b/erpnext/docs/current/models/projects/index.md
@@ -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.x.x</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/project.html b/erpnext/docs/current/models/projects/project.html
deleted file mode 100644
index bd75913..0000000
--- a/erpnext/docs/current/models/projects/project.html
+++ /dev/null
@@ -1,918 +0,0 @@
-<!-- title: Project -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/manufacturing/bom">BOM</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/expense_claim">Expense Claim</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/accounts/purchase_invoice_item">Purchase Invoice 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/stock/purchase_receipt_item">Purchase Receipt 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/selling/sales_order">Sales Order</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/stock_ledger_entry">Stock Ledger Entry</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/projects/task">Task</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/project.md b/erpnext/docs/current/models/projects/project.md
new file mode 100644
index 0000000..40cd915
--- /dev/null
+++ b/erpnext/docs/current/models/projects/project.md
@@ -0,0 +1,918 @@
+<!-- title: Project -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/manufacturing/bom">BOM</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/expense_claim">Expense Claim</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/accounts/purchase_invoice_item">Purchase Invoice 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/stock/purchase_receipt_item">Purchase Receipt 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/selling/sales_order">Sales Order</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/stock_ledger_entry">Stock Ledger Entry</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/projects/task">Task</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/project_task.html b/erpnext/docs/current/models/projects/project_task.html
deleted file mode 100644
index 356a327..0000000
--- a/erpnext/docs/current/models/projects/project_task.html
+++ /dev/null
@@ -1,186 +0,0 @@
-<!-- title: Project Task -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/project_task.md b/erpnext/docs/current/models/projects/project_task.md
new file mode 100644
index 0000000..64f8c8c
--- /dev/null
+++ b/erpnext/docs/current/models/projects/project_task.md
@@ -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.x.x</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
deleted file mode 100644
index 01af505..0000000
--- a/erpnext/docs/current/models/projects/task.html
+++ /dev/null
@@ -1,760 +0,0 @@
-<!-- title: Task -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/projects/dependent_task">Dependent Task</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/projects/project_task">Project Task</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/time_log">Time Log</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/projects/task.md b/erpnext/docs/current/models/projects/task.md
new file mode 100644
index 0000000..9faf97b
--- /dev/null
+++ b/erpnext/docs/current/models/projects/task.md
@@ -0,0 +1,760 @@
+<!-- title: Task -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/projects/dependent_task">Dependent Task</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/projects/project_task">Project Task</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/time_log">Time Log</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
deleted file mode 100644
index 3bb1a52..0000000
--- a/erpnext/docs/current/models/projects/task_depends_on.html
+++ /dev/null
@@ -1,108 +0,0 @@
-<!-- title: Task Depends On -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/task_depends_on.md b/erpnext/docs/current/models/projects/task_depends_on.md
new file mode 100644
index 0000000..2789d4c
--- /dev/null
+++ b/erpnext/docs/current/models/projects/task_depends_on.md
@@ -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.x.x</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
deleted file mode 100644
index 52ff4ec..0000000
--- a/erpnext/docs/current/models/projects/time_log.html
+++ /dev/null
@@ -1,1107 +0,0 @@
-<!-- title: Time Log -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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">Time Log</a>
-
-</li>
-			
-        
-			
-            <li>
-
-
-<a href="https://frappe.github.io/erpnext/current/models/projects/time_log_batch_detail">Time Log Batch Detail</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/projects/time_log.md b/erpnext/docs/current/models/projects/time_log.md
new file mode 100644
index 0000000..99dd80b
--- /dev/null
+++ b/erpnext/docs/current/models/projects/time_log.md
@@ -0,0 +1,1107 @@
+<!-- title: Time Log -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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">Time Log</a>
+
+</li>
+			
+        
+			
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/projects/time_log_batch_detail">Time Log Batch Detail</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
deleted file mode 100644
index e2e002c..0000000
--- a/erpnext/docs/current/models/projects/time_log_batch.html
+++ /dev/null
@@ -1,406 +0,0 @@
-<!-- title: Time Log Batch -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/accounts/sales_invoice_item">Sales Invoice Item</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/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/projects/time_log_batch.md b/erpnext/docs/current/models/projects/time_log_batch.md
new file mode 100644
index 0000000..303acf0
--- /dev/null
+++ b/erpnext/docs/current/models/projects/time_log_batch.md
@@ -0,0 +1,406 @@
+<!-- title: Time Log Batch -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/accounts/sales_invoice_item">Sales Invoice Item</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/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/projects/time_log_batch_detail.html b/erpnext/docs/current/models/projects/time_log_batch_detail.html
deleted file mode 100644
index b681efa..0000000
--- a/erpnext/docs/current/models/projects/time_log_batch_detail.html
+++ /dev/null
@@ -1,132 +0,0 @@
-<!-- title: Time Log Batch Detail -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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>
-        
-    </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/projects/time_log_batch_detail.md b/erpnext/docs/current/models/projects/time_log_batch_detail.md
new file mode 100644
index 0000000..69430e5
--- /dev/null
+++ b/erpnext/docs/current/models/projects/time_log_batch_detail.md
@@ -0,0 +1,132 @@
+<!-- title: Time Log Batch Detail -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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>
+        
+    </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
deleted file mode 100644
index 799af1d..0000000
--- a/erpnext/docs/current/models/selling/campaign.html
+++ /dev/null
@@ -1,207 +0,0 @@
-<!-- title: Campaign -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/crm/lead">Lead</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/pricing_rule">Pricing Rule</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>
-			
-        
-			
-            <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/campaign.md b/erpnext/docs/current/models/selling/campaign.md
new file mode 100644
index 0000000..7019a25
--- /dev/null
+++ b/erpnext/docs/current/models/selling/campaign.md
@@ -0,0 +1,207 @@
+<!-- title: Campaign -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/crm/lead">Lead</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/pricing_rule">Pricing Rule</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>
+			
+        
+			
+            <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/customer.html b/erpnext/docs/current/models/selling/customer.html
deleted file mode 100644
index 8332dd3..0000000
--- a/erpnext/docs/current/models/selling/customer.html
+++ /dev/null
@@ -1,1129 +0,0 @@
-<!-- title: Customer -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/address">Address</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/utilities/contact">Contact</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/installation_note">Installation Note</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/item_customer_detail">Item Customer Detail</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/support/maintenance_schedule">Maintenance Schedule</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/crm/opportunity">Opportunity</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/pricing_rule">Pricing Rule</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_planning_tool">Production Planning Tool</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/selling/quotation">Quotation</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/selling/sales_order">Sales Order</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/selling/sms_center">SMS Center</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/accounts/tax_rule">Tax Rule</a>
-
-</li>
-			
-        
-			
-            <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/selling/customer.md b/erpnext/docs/current/models/selling/customer.md
new file mode 100644
index 0000000..50587a7
--- /dev/null
+++ b/erpnext/docs/current/models/selling/customer.md
@@ -0,0 +1,1129 @@
+<!-- title: Customer -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/address">Address</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/utilities/contact">Contact</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/installation_note">Installation Note</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/item_customer_detail">Item Customer Detail</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/support/maintenance_schedule">Maintenance Schedule</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/crm/opportunity">Opportunity</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/pricing_rule">Pricing Rule</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_planning_tool">Production Planning Tool</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/selling/quotation">Quotation</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/selling/sales_order">Sales Order</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/selling/sms_center">SMS Center</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/accounts/tax_rule">Tax Rule</a>
+
+</li>
+			
+        
+			
+            <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/selling/index.html b/erpnext/docs/current/models/selling/index.html
deleted file mode 100644
index 6ea1162..0000000
--- a/erpnext/docs/current/models/selling/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: Module selling -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/selling/index.md
new file mode 100644
index 0000000..996d15c
--- /dev/null
+++ b/erpnext/docs/current/models/selling/index.md
@@ -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.x.x</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/industry_type.html b/erpnext/docs/current/models/selling/industry_type.html
deleted file mode 100644
index 3d0c836..0000000
--- a/erpnext/docs/current/models/selling/industry_type.html
+++ /dev/null
@@ -1,101 +0,0 @@
-<!-- title: Industry Type -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/industry_type.md b/erpnext/docs/current/models/selling/industry_type.md
new file mode 100644
index 0000000..fea6c1a
--- /dev/null
+++ b/erpnext/docs/current/models/selling/industry_type.md
@@ -0,0 +1,101 @@
+<!-- title: Industry Type -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index 0afec0b..0000000
--- a/erpnext/docs/current/models/selling/installation_note.html
+++ /dev/null
@@ -1,622 +0,0 @@
-<!-- title: Installation Note -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/selling/installation_note.md
new file mode 100644
index 0000000..e661531
--- /dev/null
+++ b/erpnext/docs/current/models/selling/installation_note.md
@@ -0,0 +1,622 @@
+<!-- title: Installation Note -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index 35182c7..0000000
--- a/erpnext/docs/current/models/selling/installation_note_item.html
+++ /dev/null
@@ -1,156 +0,0 @@
-<!-- title: Installation Note Item -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/installation_note_item.md b/erpnext/docs/current/models/selling/installation_note_item.md
new file mode 100644
index 0000000..90a198c
--- /dev/null
+++ b/erpnext/docs/current/models/selling/installation_note_item.md
@@ -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.x.x</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
deleted file mode 100644
index 6bd442e..0000000
--- a/erpnext/docs/current/models/selling/product_bundle.html
+++ /dev/null
@@ -1,206 +0,0 @@
-<!-- title: Product Bundle -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/selling/product_bundle.md
new file mode 100644
index 0000000..c980fe4
--- /dev/null
+++ b/erpnext/docs/current/models/selling/product_bundle.md
@@ -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.x.x</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
deleted file mode 100644
index e5bd2e2..0000000
--- a/erpnext/docs/current/models/selling/product_bundle_item.html
+++ /dev/null
@@ -1,141 +0,0 @@
-<!-- title: Product Bundle Item -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/product_bundle_item.md b/erpnext/docs/current/models/selling/product_bundle_item.md
new file mode 100644
index 0000000..b368e86
--- /dev/null
+++ b/erpnext/docs/current/models/selling/product_bundle_item.md
@@ -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.x.x</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
deleted file mode 100644
index 17ce696..0000000
--- a/erpnext/docs/current/models/selling/quotation.html
+++ /dev/null
@@ -1,1502 +0,0 @@
-<!-- title: Quotation -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/quotation">Quotation</a>
-
-</li>
-			
-        
-			
-            <li>
-
-
-<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order_item">Sales Order Item</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/selling/quotation.md b/erpnext/docs/current/models/selling/quotation.md
new file mode 100644
index 0000000..617246d
--- /dev/null
+++ b/erpnext/docs/current/models/selling/quotation.md
@@ -0,0 +1,1502 @@
+<!-- title: Quotation -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/quotation">Quotation</a>
+
+</li>
+			
+        
+			
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order_item">Sales Order Item</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
deleted file mode 100644
index 957683d..0000000
--- a/erpnext/docs/current/models/selling/quotation_item.html
+++ /dev/null
@@ -1,557 +0,0 @@
-<!-- title: Quotation Item -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/quotation_item.md b/erpnext/docs/current/models/selling/quotation_item.md
new file mode 100644
index 0000000..7fb24e2
--- /dev/null
+++ b/erpnext/docs/current/models/selling/quotation_item.md
@@ -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.x.x</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
deleted file mode 100644
index db383d1..0000000
--- a/erpnext/docs/current/models/selling/sales_order.html
+++ /dev/null
@@ -1,2379 +0,0 @@
-<!-- title: Sales Order -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/delivery_note_item">Delivery Note 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/manufacturing/production_order">Production 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_plan_sales_order">Production Plan 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>
-			
-        
-			
-            <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_order.md b/erpnext/docs/current/models/selling/sales_order.md
new file mode 100644
index 0000000..708b37a
--- /dev/null
+++ b/erpnext/docs/current/models/selling/sales_order.md
@@ -0,0 +1,2379 @@
+<!-- title: Sales Order -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/delivery_note_item">Delivery Note 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/manufacturing/production_order">Production 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_plan_sales_order">Production Plan 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>
+			
+        
+			
+            <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_order_item.html b/erpnext/docs/current/models/selling/sales_order_item.html
deleted file mode 100644
index 94f03f7..0000000
--- a/erpnext/docs/current/models/selling/sales_order_item.html
+++ /dev/null
@@ -1,771 +0,0 @@
-<!-- title: Sales Order Item -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_order_item.md b/erpnext/docs/current/models/selling/sales_order_item.md
new file mode 100644
index 0000000..92214ce
--- /dev/null
+++ b/erpnext/docs/current/models/selling/sales_order_item.md
@@ -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.x.x</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
deleted file mode 100644
index bc95cc2..0000000
--- a/erpnext/docs/current/models/selling/sales_team.html
+++ /dev/null
@@ -1,181 +0,0 @@
-<!-- title: Sales Team -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/selling/customer">Customer</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/accounts/sales_invoice">Sales Invoice</a>
-
-</li>
-    
-        <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.md b/erpnext/docs/current/models/selling/sales_team.md
new file mode 100644
index 0000000..acca398
--- /dev/null
+++ b/erpnext/docs/current/models/selling/sales_team.md
@@ -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.x.x</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/selling/customer">Customer</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/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+    
+        <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/selling_settings.html b/erpnext/docs/current/models/selling/selling_settings.html
deleted file mode 100644
index cf92152..0000000
--- a/erpnext/docs/current/models/selling/selling_settings.html
+++ /dev/null
@@ -1,270 +0,0 @@
-<!-- title: Selling Settings -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/selling_settings.md b/erpnext/docs/current/models/selling/selling_settings.md
new file mode 100644
index 0000000..9582984
--- /dev/null
+++ b/erpnext/docs/current/models/selling/selling_settings.md
@@ -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.x.x</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
deleted file mode 100644
index 6d05ff8..0000000
--- a/erpnext/docs/current/models/selling/sms_center.html
+++ /dev/null
@@ -1,342 +0,0 @@
-<!-- title: SMS Center -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/selling/sms_center.md b/erpnext/docs/current/models/selling/sms_center.md
new file mode 100644
index 0000000..4be0110
--- /dev/null
+++ b/erpnext/docs/current/models/selling/sms_center.md
@@ -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.x.x</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
deleted file mode 100644
index ac99bf9..0000000
--- a/erpnext/docs/current/models/setup/authorization_control.html
+++ /dev/null
@@ -1,157 +0,0 @@
-<!-- title: Authorization Control -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_control.md b/erpnext/docs/current/models/setup/authorization_control.md
new file mode 100644
index 0000000..390a580
--- /dev/null
+++ b/erpnext/docs/current/models/setup/authorization_control.md
@@ -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.x.x</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
deleted file mode 100644
index 4731ad4..0000000
--- a/erpnext/docs/current/models/setup/authorization_rule.html
+++ /dev/null
@@ -1,338 +0,0 @@
-<!-- title: Authorization Rule -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/authorization_rule.md b/erpnext/docs/current/models/setup/authorization_rule.md
new file mode 100644
index 0000000..900092c
--- /dev/null
+++ b/erpnext/docs/current/models/setup/authorization_rule.md
@@ -0,0 +1,418 @@
+<!-- title: Authorization Rule -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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 class="danger" title="Mandatory"><code>transaction</code></td>
+            <td >
+                Select</td>
+            <td >
+                Transaction
+                
+            </td>
+            <td>
+                <pre>
+Sales Order
+Purchase Order
+Quotation
+Delivery Note
+Sales Invoice
+Purchase Invoice
+Purchase Receipt
+Appraisal</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>2</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>3</td>
+            <td ><code>customer_or_item</code></td>
+            <td >
+                Select</td>
+            <td class="text-muted" title="Hidden">
+                Customer or Item
+                
+            </td>
+            <td>
+                <pre>Customer
+Item</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>4</td>
+            <td ><code>master_name</code></td>
+            <td >
+                Dynamic Link</td>
+            <td >
+                Customer / Item Name
+                
+            </td>
+            <td>
+                <pre>customer_or_item</pre>
+            </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>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>7</td>
+            <td ><code>section_break_17</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>8</td>
+            <td ><code>value</code></td>
+            <td >
+                Float</td>
+            <td >
+                Authorized Value
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>9</td>
+            <td ><code>section_break_7</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>10</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>11</td>
+            <td ><code>to_emp</code></td>
+            <td >
+                Link</td>
+            <td >
+                Applicable To (Employee)
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/employee">Employee</a>
+
+
+                
+            </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>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>14</td>
+            <td ><code>to_designation</code></td>
+            <td >
+                Link</td>
+            <td >
+                Applicable To (Designation)
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/hr/designation">Designation</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>approving_role</code></td>
+            <td >
+                Link</td>
+            <td >
+                Approving Role (above authorized value)
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/role">Role</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>17</td>
+            <td ><code>column_break_15</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</td>
+            <td ><code>approving_user</code></td>
+            <td >
+                Link</td>
+            <td >
+                Approving User  (above authorized value)
+                
+            </td>
+            <td>
+                
+                
+
+
+<a href="https://frappe.github.io/erpnext/current/models/core/user">User</a>
+
+
+                
+            </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
deleted file mode 100644
index 9828aee..0000000
--- a/erpnext/docs/current/models/setup/brand.html
+++ /dev/null
@@ -1,203 +0,0 @@
-<!-- title: Brand -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/delivery_note_item">Delivery Note 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/material_request_item">Material Request 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>
-			
-        
-			
-            <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/stock/purchase_receipt_item">Purchase Receipt 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/sales_order_item">Sales Order Item</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/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/setup/brand.md b/erpnext/docs/current/models/setup/brand.md
new file mode 100644
index 0000000..7b8ec7f
--- /dev/null
+++ b/erpnext/docs/current/models/setup/brand.md
@@ -0,0 +1,203 @@
+<!-- title: Brand -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/delivery_note_item">Delivery Note 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/material_request_item">Material Request 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>
+			
+        
+			
+            <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/stock/purchase_receipt_item">Purchase Receipt 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/sales_order_item">Sales Order Item</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/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/setup/company.html b/erpnext/docs/current/models/setup/company.html
deleted file mode 100644
index 43ac510..0000000
--- a/erpnext/docs/current/models/setup/company.html
+++ /dev/null
@@ -1,1631 +0,0 @@
-<!-- title: Company -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/accounts/account">Account</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/hr/attendance">Attendance</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/accounts/bank_reconciliation">Bank Reconciliation</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/accounts/c_form">C-Form</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/stock/delivery_note">Delivery Note</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/hr/employee">Employee</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/accounts/fiscal_year_company">Fiscal Year Company</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/setup/global_defaults">Global Defaults</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/support/issue">Issue</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/stock/landed_cost_voucher">Landed Cost Voucher</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/hr/leave_application">Leave Application</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/support/maintenance_schedule">Maintenance Schedule</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/material_request">Material Request</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/hr/offer_letter">Offer Letter</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/party_account">Party Account</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/payment_tool">Payment Tool</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/pos_profile">POS Profile</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/hr/process_payroll">Process Payroll</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/production_planning_tool">Production Planning Tool</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/purchase_invoice">Purchase Invoice</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/stock/purchase_receipt">Purchase Receipt</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/selling/quotation">Quotation</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/salary_structure">Salary Structure</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/selling/sales_order">Sales Order</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/stock/serial_no">Serial No</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/shopping_cart/shopping_cart_settings">Shopping Cart Settings</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/stock_ledger_entry">Stock Ledger Entry</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/buying/supplier_quotation">Supplier Quotation</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/accounts/tax_rule">Tax Rule</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/support/warranty_claim">Warranty Claim</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/company.md b/erpnext/docs/current/models/setup/company.md
new file mode 100644
index 0000000..e2e6886
--- /dev/null
+++ b/erpnext/docs/current/models/setup/company.md
@@ -0,0 +1,1622 @@
+<!-- title: Company -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/accounts/account">Account</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/hr/attendance">Attendance</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/manufacturing/bom">BOM</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/cost_center">Cost Center</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/email_digest">Email Digest</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/expense_claim">Expense Claim</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/gl_entry">GL Entry</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/installation_note">Installation Note</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/accounts/journal_entry">Journal Entry</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/crm/lead">Lead</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_block_list">Leave Block List</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/maintenance_visit">Maintenance Visit</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/accounts/mode_of_payment_account">Mode of Payment Account</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/crm/opportunity">Opportunity</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/payment_reconciliation">Payment Reconciliation</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/period_closing_voucher">Period Closing Voucher</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/pricing_rule">Pricing Rule</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/manufacturing/production_order">Production Order</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/projects/project">Project</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/buying/purchase_order">Purchase Order</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/accounts/purchase_taxes_and_charges_template">Purchase Taxes and Charges Template</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/hr/salary_slip">Salary Slip</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/accounts/sales_invoice">Sales Invoice</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_taxes_and_charges_template">Sales Taxes and Charges Template</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/accounts/shipping_rule">Shipping Rule</a>
+
+</li>
+			
+        
+			
+            <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/stock_entry">Stock Entry</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_reconciliation">Stock Reconciliation</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/projects/task">Task</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/stock/warehouse">Warehouse</a>
+
+</li>
+			
+        
+			
+            <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/setup/currency_exchange.html b/erpnext/docs/current/models/setup/currency_exchange.html
deleted file mode 100644
index ce999a5..0000000
--- a/erpnext/docs/current/models/setup/currency_exchange.html
+++ /dev/null
@@ -1,157 +0,0 @@
-<!-- title: Currency Exchange -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/currency_exchange.md b/erpnext/docs/current/models/setup/currency_exchange.md
new file mode 100644
index 0000000..03167d7
--- /dev/null
+++ b/erpnext/docs/current/models/setup/currency_exchange.md
@@ -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.x.x</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
deleted file mode 100644
index 13e1f9f..0000000
--- a/erpnext/docs/current/models/setup/customer_group.html
+++ /dev/null
@@ -1,445 +0,0 @@
-<!-- title: Customer Group -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/selling/customer">Customer</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/stock/delivery_note">Delivery Note</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/support/maintenance_schedule">Maintenance Schedule</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/crm/opportunity">Opportunity</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/selling/quotation">Quotation</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/selling/sales_order">Sales Order</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/shopping_cart/shopping_cart_settings">Shopping Cart 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/support/warranty_claim">Warranty Claim</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/customer_group.md b/erpnext/docs/current/models/setup/customer_group.md
new file mode 100644
index 0000000..0b19ad4
--- /dev/null
+++ b/erpnext/docs/current/models/setup/customer_group.md
@@ -0,0 +1,445 @@
+<!-- title: Customer Group -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/selling/customer">Customer</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/stock/delivery_note">Delivery Note</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/support/maintenance_schedule">Maintenance Schedule</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/crm/opportunity">Opportunity</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/selling/quotation">Quotation</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/selling/sales_order">Sales Order</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/shopping_cart/shopping_cart_settings">Shopping Cart 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/support/warranty_claim">Warranty Claim</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
deleted file mode 100644
index 8b3b441..0000000
--- a/erpnext/docs/current/models/setup/email_digest.html
+++ /dev/null
@@ -1,715 +0,0 @@
-<!-- title: Email Digest -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/email_digest.md b/erpnext/docs/current/models/setup/email_digest.md
new file mode 100644
index 0000000..9c8557f
--- /dev/null
+++ b/erpnext/docs/current/models/setup/email_digest.md
@@ -0,0 +1,739 @@
+<!-- title: Email Digest -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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>
+        
+        <tr class="info">
+            <td>20</td>
+            <td ><code>other</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Other
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>21</td>
+            <td ><code>add_quote</code></td>
+            <td >
+                Check</td>
+            <td >
+                Add Quote
+                
+            </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
deleted file mode 100644
index 1db7607..0000000
--- a/erpnext/docs/current/models/setup/features_setup.html
+++ /dev/null
@@ -1,466 +0,0 @@
-<!-- title: Features Setup -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/features_setup.md b/erpnext/docs/current/models/setup/features_setup.md
new file mode 100644
index 0000000..d5d8e5e
--- /dev/null
+++ b/erpnext/docs/current/models/setup/features_setup.md
@@ -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.x.x</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
deleted file mode 100644
index 68a3f2f..0000000
--- a/erpnext/docs/current/models/setup/global_defaults.html
+++ /dev/null
@@ -1,241 +0,0 @@
-<!-- title: Global Defaults -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/global_defaults.md b/erpnext/docs/current/models/setup/global_defaults.md
new file mode 100644
index 0000000..ffb3197
--- /dev/null
+++ b/erpnext/docs/current/models/setup/global_defaults.md
@@ -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.x.x</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
deleted file mode 100644
index 0916077..0000000
--- a/erpnext/docs/current/models/setup/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: Module setup -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/setup/index.md
new file mode 100644
index 0000000..f41e253
--- /dev/null
+++ b/erpnext/docs/current/models/setup/index.md
@@ -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.x.x</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/item_group.html b/erpnext/docs/current/models/setup/item_group.html
deleted file mode 100644
index ba7950d..0000000
--- a/erpnext/docs/current/models/setup/item_group.html
+++ /dev/null
@@ -1,717 +0,0 @@
-<!-- title: Item Group -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/delivery_note_item">Delivery Note 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/setup/item_group">Item Group</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/crm/opportunity_item">Opportunity Item</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/purchase_invoice_item">Purchase Invoice 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/stock/purchase_receipt_item">Purchase Receipt 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/accounts/sales_invoice_item">Sales Invoice 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/stock/serial_no">Serial No</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/buying/supplier_quotation_item">Supplier Quotation Item</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/website_item_group">Website Item Group</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/item_group.md b/erpnext/docs/current/models/setup/item_group.md
new file mode 100644
index 0000000..5d07f71
--- /dev/null
+++ b/erpnext/docs/current/models/setup/item_group.md
@@ -0,0 +1,717 @@
+<!-- title: Item Group -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/delivery_note_item">Delivery Note 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/setup/item_group">Item Group</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/crm/opportunity_item">Opportunity Item</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/purchase_invoice_item">Purchase Invoice 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/stock/purchase_receipt_item">Purchase Receipt 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/accounts/sales_invoice_item">Sales Invoice 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/stock/serial_no">Serial No</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/buying/supplier_quotation_item">Supplier Quotation Item</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/website_item_group">Website Item Group</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
deleted file mode 100644
index ae2ce7e..0000000
--- a/erpnext/docs/current/models/setup/naming_series.html
+++ /dev/null
@@ -1,386 +0,0 @@
-<!-- title: Naming Series -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/naming_series.md b/erpnext/docs/current/models/setup/naming_series.md
new file mode 100644
index 0000000..84d8d56
--- /dev/null
+++ b/erpnext/docs/current/models/setup/naming_series.md
@@ -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.x.x</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
deleted file mode 100644
index dae720b..0000000
--- a/erpnext/docs/current/models/setup/notification_control.html
+++ /dev/null
@@ -1,364 +0,0 @@
-<!-- title: Notification Control -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/notification_control.md b/erpnext/docs/current/models/setup/notification_control.md
new file mode 100644
index 0000000..035b47c
--- /dev/null
+++ b/erpnext/docs/current/models/setup/notification_control.md
@@ -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.x.x</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
deleted file mode 100644
index 454f34d..0000000
--- a/erpnext/docs/current/models/setup/print_heading.html
+++ /dev/null
@@ -1,212 +0,0 @@
-<!-- title: Print Heading -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/delivery_note">Delivery Note</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/stock/material_request">Material Request</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/purchase_invoice">Purchase Invoice</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/stock/purchase_receipt">Purchase Receipt</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>
-			
-        
-			
-            <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/stock/stock_entry">Stock Entry</a>
-
-</li>
-			
-        
-			
-            <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/setup/print_heading.md b/erpnext/docs/current/models/setup/print_heading.md
new file mode 100644
index 0000000..b0c9482
--- /dev/null
+++ b/erpnext/docs/current/models/setup/print_heading.md
@@ -0,0 +1,212 @@
+<!-- title: Print Heading -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/delivery_note">Delivery Note</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/stock/material_request">Material Request</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/purchase_invoice">Purchase Invoice</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/stock/purchase_receipt">Purchase Receipt</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>
+			
+        
+			
+            <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/stock/stock_entry">Stock Entry</a>
+
+</li>
+			
+        
+			
+            <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/setup/quotation_lost_reason.html b/erpnext/docs/current/models/setup/quotation_lost_reason.html
deleted file mode 100644
index 0eb1820..0000000
--- a/erpnext/docs/current/models/setup/quotation_lost_reason.html
+++ /dev/null
@@ -1,87 +0,0 @@
-<!-- title: Quotation Lost Reason -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/quotation_lost_reason.md b/erpnext/docs/current/models/setup/quotation_lost_reason.md
new file mode 100644
index 0000000..ea5a2b6
--- /dev/null
+++ b/erpnext/docs/current/models/setup/quotation_lost_reason.md
@@ -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.x.x</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
deleted file mode 100644
index 1cd25a8..0000000
--- a/erpnext/docs/current/models/setup/sales_partner.html
+++ /dev/null
@@ -1,559 +0,0 @@
-<!-- title: Sales Partner -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/address">Address</a>
-
-</li>
-			
-        
-			
-            <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/selling/customer">Customer</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/accounts/pricing_rule">Pricing 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/selling/sales_order">Sales Order</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/setup/sales_partner.md b/erpnext/docs/current/models/setup/sales_partner.md
new file mode 100644
index 0000000..7e8f4e7
--- /dev/null
+++ b/erpnext/docs/current/models/setup/sales_partner.md
@@ -0,0 +1,559 @@
+<!-- title: Sales Partner -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/address">Address</a>
+
+</li>
+			
+        
+			
+            <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/selling/customer">Customer</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/accounts/pricing_rule">Pricing 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/selling/sales_order">Sales Order</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/setup/sales_person.html b/erpnext/docs/current/models/setup/sales_person.html
deleted file mode 100644
index d27683d..0000000
--- a/erpnext/docs/current/models/setup/sales_person.html
+++ /dev/null
@@ -1,402 +0,0 @@
-<!-- title: Sales Person -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_schedule_detail">Maintenance Schedule Detail</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_visit_purpose">Maintenance Visit Purpose</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>
-			
-        
-			
-            <li>
-
-
-<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/sales_person.md b/erpnext/docs/current/models/setup/sales_person.md
new file mode 100644
index 0000000..af5b3fe
--- /dev/null
+++ b/erpnext/docs/current/models/setup/sales_person.md
@@ -0,0 +1,402 @@
+<!-- title: Sales Person -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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_schedule_detail">Maintenance Schedule Detail</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_visit_purpose">Maintenance Visit Purpose</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>
+			
+        
+			
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</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
deleted file mode 100644
index c224a66..0000000
--- a/erpnext/docs/current/models/setup/sms_parameter.html
+++ /dev/null
@@ -1,87 +0,0 @@
-<!-- title: SMS Parameter -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_parameter.md b/erpnext/docs/current/models/setup/sms_parameter.md
new file mode 100644
index 0000000..fdb61ff
--- /dev/null
+++ b/erpnext/docs/current/models/setup/sms_parameter.md
@@ -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.x.x</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
deleted file mode 100644
index b37c5e3..0000000
--- a/erpnext/docs/current/models/setup/sms_settings.html
+++ /dev/null
@@ -1,302 +0,0 @@
-<!-- title: SMS Settings -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/sms_settings.md b/erpnext/docs/current/models/setup/sms_settings.md
new file mode 100644
index 0000000..b4cc3b4
--- /dev/null
+++ b/erpnext/docs/current/models/setup/sms_settings.md
@@ -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.x.x</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
deleted file mode 100644
index 79447fa..0000000
--- a/erpnext/docs/current/models/setup/supplier_type.html
+++ /dev/null
@@ -1,174 +0,0 @@
-<!-- title: Supplier Type -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/buying_settings">Buying Settings</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/buying/supplier">Supplier</a>
-
-</li>
-			
-        
-			
-            <li>
-
-
-<a href="https://frappe.github.io/erpnext/current/models/accounts/tax_rule">Tax Rule</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/supplier_type.md b/erpnext/docs/current/models/setup/supplier_type.md
new file mode 100644
index 0000000..45066a0
--- /dev/null
+++ b/erpnext/docs/current/models/setup/supplier_type.md
@@ -0,0 +1,174 @@
+<!-- title: Supplier Type -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/buying_settings">Buying Settings</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/buying/supplier">Supplier</a>
+
+</li>
+			
+        
+			
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/accounts/tax_rule">Tax 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
deleted file mode 100644
index a581141..0000000
--- a/erpnext/docs/current/models/setup/target_detail.html
+++ /dev/null
@@ -1,143 +0,0 @@
-<!-- title: Target Detail -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/sales_partner">Sales Partner</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/territory">Territory</a>
-
-</li>
-    
-    </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/target_detail.md b/erpnext/docs/current/models/setup/target_detail.md
new file mode 100644
index 0000000..c36f0ee
--- /dev/null
+++ b/erpnext/docs/current/models/setup/target_detail.md
@@ -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.x.x</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/sales_partner">Sales Partner</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/territory">Territory</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
deleted file mode 100644
index 04e0216..0000000
--- a/erpnext/docs/current/models/setup/terms_and_conditions.html
+++ /dev/null
@@ -1,224 +0,0 @@
-<!-- title: Terms and Conditions -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/setup/company">Company</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/material_request">Material Request</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/accounts/pos_profile">POS Profile</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/buying/purchase_order">Purchase Order</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/selling/quotation">Quotation</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/selling/sales_order">Sales Order</a>
-
-</li>
-			
-        
-			
-            <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/setup/terms_and_conditions.md b/erpnext/docs/current/models/setup/terms_and_conditions.md
new file mode 100644
index 0000000..cfb4a4f
--- /dev/null
+++ b/erpnext/docs/current/models/setup/terms_and_conditions.md
@@ -0,0 +1,224 @@
+<!-- title: Terms and Conditions -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/setup/company">Company</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/material_request">Material Request</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/accounts/pos_profile">POS Profile</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/buying/purchase_order">Purchase Order</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/selling/quotation">Quotation</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/selling/sales_order">Sales Order</a>
+
+</li>
+			
+        
+			
+            <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/setup/territory.html b/erpnext/docs/current/models/setup/territory.html
deleted file mode 100644
index 47d1e0b..0000000
--- a/erpnext/docs/current/models/setup/territory.html
+++ /dev/null
@@ -1,446 +0,0 @@
-<!-- title: Territory -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/accounts/c_form_invoice_detail">C-Form Invoice Detail</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/stock/delivery_note">Delivery Note</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/crm/lead">Lead</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/maintenance_visit">Maintenance Visit</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/pos_profile">POS Profile</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/selling/quotation">Quotation</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/selling/sales_order">Sales Order</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/setup/territory">Territory</a>
-
-</li>
-			
-        
-			
-            <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/setup/territory.md b/erpnext/docs/current/models/setup/territory.md
new file mode 100644
index 0000000..c3c2d10
--- /dev/null
+++ b/erpnext/docs/current/models/setup/territory.md
@@ -0,0 +1,446 @@
+<!-- title: Territory -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/accounts/c_form_invoice_detail">C-Form Invoice Detail</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/stock/delivery_note">Delivery Note</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/crm/lead">Lead</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/maintenance_visit">Maintenance Visit</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/pos_profile">POS Profile</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/selling/quotation">Quotation</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/selling/sales_order">Sales Order</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/setup/territory">Territory</a>
+
+</li>
+			
+        
+			
+            <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/setup/uom.html b/erpnext/docs/current/models/setup/uom.html
deleted file mode 100644
index 7c027a8..0000000
--- a/erpnext/docs/current/models/setup/uom.html
+++ /dev/null
@@ -1,357 +0,0 @@
-<!-- title: UOM -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/bin">Bin</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/manufacturing/bom_explosion_item">BOM Explosion Item</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/stock/delivery_note_item">Delivery Note 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/material_request_item">Material Request 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/stock/packed_item">Packed 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/packing_slip_item">Packing Slip 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/manufacturing/production_order">Production 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/accounts/purchase_invoice_item">Purchase Invoice 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/buying/purchase_order_item_supplied">Purchase Order Item Supplied</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_receipt_item_supplied">Purchase Receipt Item Supplied</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/accounts/sales_invoice_item">Sales Invoice 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/stock/stock_entry_detail">Stock Entry Detail</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_settings">Stock Settings</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/buying/supplier_quotation_item">Supplier Quotation Item</a>
-
-</li>
-			
-        
-			
-            <li>
-
-
-<a href="https://frappe.github.io/erpnext/current/models/stock/uom_conversion_detail">UOM Conversion Detail</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/setup/uom.md b/erpnext/docs/current/models/setup/uom.md
new file mode 100644
index 0000000..8a0ccc5
--- /dev/null
+++ b/erpnext/docs/current/models/setup/uom.md
@@ -0,0 +1,348 @@
+<!-- title: UOM -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/bin">Bin</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/manufacturing/bom_explosion_item">BOM Explosion Item</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/stock/delivery_note_item">Delivery Note 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/material_request_item">Material Request 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/stock/packed_item">Packed 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/packing_slip_item">Packing Slip 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/manufacturing/production_order">Production 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/accounts/purchase_invoice_item">Purchase Invoice 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/buying/purchase_order_item_supplied">Purchase Order Item Supplied</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_receipt_item_supplied">Purchase Receipt Item Supplied</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/accounts/sales_invoice_item">Sales Invoice 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/stock/stock_entry_detail">Stock Entry Detail</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_settings">Stock Settings</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/stock/uom_conversion_detail">UOM Conversion Detail</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
deleted file mode 100644
index 37e5e40..0000000
--- a/erpnext/docs/current/models/setup/website_item_group.html
+++ /dev/null
@@ -1,84 +0,0 @@
-<!-- title: Website Item Group -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/setup/website_item_group.md b/erpnext/docs/current/models/setup/website_item_group.md
new file mode 100644
index 0000000..8562a30
--- /dev/null
+++ b/erpnext/docs/current/models/setup/website_item_group.md
@@ -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.x.x</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
deleted file mode 100644
index e0ae747..0000000
--- a/erpnext/docs/current/models/shopping_cart/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: Module shopping_cart -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/shopping_cart/index.md
new file mode 100644
index 0000000..3a75236
--- /dev/null
+++ b/erpnext/docs/current/models/shopping_cart/index.md
@@ -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.x.x</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/shopping_cart_settings.html b/erpnext/docs/current/models/shopping_cart/shopping_cart_settings.html
deleted file mode 100644
index 81372a3..0000000
--- a/erpnext/docs/current/models/shopping_cart/shopping_cart_settings.html
+++ /dev/null
@@ -1,347 +0,0 @@
-<!-- title: Shopping Cart Settings -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/shopping_cart/shopping_cart_settings.md b/erpnext/docs/current/models/shopping_cart/shopping_cart_settings.md
new file mode 100644
index 0000000..f685f38
--- /dev/null
+++ b/erpnext/docs/current/models/shopping_cart/shopping_cart_settings.md
@@ -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.x.x</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
deleted file mode 100644
index 63d65d9..0000000
--- a/erpnext/docs/current/models/stock/batch.html
+++ /dev/null
@@ -1,261 +0,0 @@
-<!-- title: Batch -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/delivery_note_item">Delivery Note 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/packing_slip_item">Packing Slip Item</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_receipt_item_supplied">Purchase Receipt Item Supplied</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>
-			
-        
-			
-            <li>
-
-
-<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry_detail">Stock Entry Detail</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/batch.md b/erpnext/docs/current/models/stock/batch.md
new file mode 100644
index 0000000..b0361a9
--- /dev/null
+++ b/erpnext/docs/current/models/stock/batch.md
@@ -0,0 +1,261 @@
+<!-- title: Batch -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/delivery_note_item">Delivery Note 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/packing_slip_item">Packing Slip Item</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_receipt_item_supplied">Purchase Receipt Item Supplied</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>
+			
+        
+			
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry_detail">Stock Entry Detail</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
deleted file mode 100644
index 158aeac..0000000
--- a/erpnext/docs/current/models/stock/bin.html
+++ /dev/null
@@ -1,328 +0,0 @@
-<!-- title: Bin -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/bin.md b/erpnext/docs/current/models/stock/bin.md
new file mode 100644
index 0000000..b3ebddf
--- /dev/null
+++ b/erpnext/docs/current/models/stock/bin.md
@@ -0,0 +1,328 @@
+<!-- title: Bin -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index be57f5f..0000000
--- a/erpnext/docs/current/models/stock/delivery_note.html
+++ /dev/null
@@ -1,2062 +0,0 @@
-<!-- title: Delivery Note -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/delivery_note">Delivery Note</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/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>
-			
-        
-			
-            <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/delivery_note.md b/erpnext/docs/current/models/stock/delivery_note.md
new file mode 100644
index 0000000..bb10eed
--- /dev/null
+++ b/erpnext/docs/current/models/stock/delivery_note.md
@@ -0,0 +1,2062 @@
+<!-- title: Delivery Note -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/delivery_note">Delivery Note</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/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>
+			
+        
+			
+            <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/delivery_note_item.html b/erpnext/docs/current/models/stock/delivery_note_item.html
deleted file mode 100644
index 585637f..0000000
--- a/erpnext/docs/current/models/stock/delivery_note_item.html
+++ /dev/null
@@ -1,781 +0,0 @@
-<!-- title: Delivery Note Item -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/delivery_note_item.md b/erpnext/docs/current/models/stock/delivery_note_item.md
new file mode 100644
index 0000000..56e3837
--- /dev/null
+++ b/erpnext/docs/current/models/stock/delivery_note_item.md
@@ -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.x.x</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
deleted file mode 100644
index 97840a9..0000000
--- a/erpnext/docs/current/models/stock/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: Module stock -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/stock/index.md
new file mode 100644
index 0000000..d5cbddb
--- /dev/null
+++ b/erpnext/docs/current/models/stock/index.md
@@ -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.x.x</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/item.html b/erpnext/docs/current/models/stock/item.html
deleted file mode 100644
index 804186c..0000000
--- a/erpnext/docs/current/models/stock/item.html
+++ /dev/null
@@ -1,2407 +0,0 @@
-<!-- title: Item -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/stock/batch">Batch</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/bom">BOM</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_item">BOM 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/installation_note_item">Installation Note 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/item_price">Item Price</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/support/maintenance_schedule_detail">Maintenance Schedule Detail</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_visit_purpose">Maintenance Visit Purpose</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/crm/opportunity_item">Opportunity 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/packing_slip_item">Packing Slip Item</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/selling/product_bundle">Product Bundle</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/manufacturing/production_order">Production 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_planning_tool">Production Planning Tool</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/buying/purchase_order_item">Purchase Order Item</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/quality_inspection">Quality Inspection</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/accounts/sales_invoice_item">Sales Invoice 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/stock/serial_no">Serial No</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_ledger_entry">Stock Ledger Entry</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_uom_replace_utility">Stock UOM Replace Utility</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/support/warranty_claim">Warranty Claim</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/item.md b/erpnext/docs/current/models/stock/item.md
new file mode 100644
index 0000000..fd40e50
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item.md
@@ -0,0 +1,2398 @@
+<!-- title: Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/stock/batch">Batch</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/bom">BOM</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_item">BOM 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/installation_note_item">Installation Note 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/item_price">Item Price</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/support/maintenance_schedule_detail">Maintenance Schedule Detail</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_visit_purpose">Maintenance Visit Purpose</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/crm/opportunity_item">Opportunity 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/packing_slip_item">Packing Slip Item</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/selling/product_bundle">Product Bundle</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/manufacturing/production_order">Production 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_planning_tool">Production Planning Tool</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/buying/purchase_order_item">Purchase Order Item</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/quality_inspection">Quality Inspection</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/accounts/sales_invoice_item">Sales Invoice 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/stock/serial_no">Serial No</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_ledger_entry">Stock Ledger Entry</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/buying/supplier_quotation_item">Supplier Quotation Item</a>
+
+</li>
+			
+        
+			
+            <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/stock/item_attribute.html b/erpnext/docs/current/models/stock/item_attribute.html
deleted file mode 100644
index 5a44857..0000000
--- a/erpnext/docs/current/models/stock/item_attribute.html
+++ /dev/null
@@ -1,286 +0,0 @@
-<!-- title: Item Attribute -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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">Item Variant</a>
-
-</li>
-			
-        
-			
-            <li>
-
-
-<a href="https://frappe.github.io/erpnext/current/models/stock/item_variant_attribute">Item Variant Attribute</a>
-
-</li>
-			
-        
-        </ul>
-    
-
-
-<!-- autodoc -->
-<!-- jinja -->
-<!-- static -->
\ No newline at end of file
diff --git a/erpnext/docs/current/models/stock/item_attribute.md b/erpnext/docs/current/models/stock/item_attribute.md
new file mode 100644
index 0000000..d5870a6
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item_attribute.md
@@ -0,0 +1,286 @@
+<!-- title: Item Attribute -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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">Item Variant</a>
+
+</li>
+			
+        
+			
+            <li>
+
+
+<a href="https://frappe.github.io/erpnext/current/models/stock/item_variant_attribute">Item Variant Attribute</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
deleted file mode 100644
index 1443bee..0000000
--- a/erpnext/docs/current/models/stock/item_attribute_value.html
+++ /dev/null
@@ -1,88 +0,0 @@
-<!-- title: Item Attribute Value -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_attribute_value.md b/erpnext/docs/current/models/stock/item_attribute_value.md
new file mode 100644
index 0000000..f960e71
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item_attribute_value.md
@@ -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.x.x</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
deleted file mode 100644
index 1be0119..0000000
--- a/erpnext/docs/current/models/stock/item_customer_detail.html
+++ /dev/null
@@ -1,96 +0,0 @@
-<!-- title: Item Customer Detail -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_customer_detail.md b/erpnext/docs/current/models/stock/item_customer_detail.md
new file mode 100644
index 0000000..cc85202
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item_customer_detail.md
@@ -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.x.x</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
deleted file mode 100644
index dd393ae..0000000
--- a/erpnext/docs/current/models/stock/item_price.html
+++ /dev/null
@@ -1,363 +0,0 @@
-<!-- title: Item Price -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_price.md b/erpnext/docs/current/models/stock/item_price.md
new file mode 100644
index 0000000..8f83c6a
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item_price.md
@@ -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.x.x</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
deleted file mode 100644
index 2283e61..0000000
--- a/erpnext/docs/current/models/stock/item_quality_inspection_parameter.html
+++ /dev/null
@@ -1,87 +0,0 @@
-<!-- title: Item Quality Inspection Parameter -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_quality_inspection_parameter.md b/erpnext/docs/current/models/stock/item_quality_inspection_parameter.md
new file mode 100644
index 0000000..3bbc2ca
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item_quality_inspection_parameter.md
@@ -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.x.x</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
deleted file mode 100644
index 1d7d40f..0000000
--- a/erpnext/docs/current/models/stock/item_reorder.html
+++ /dev/null
@@ -1,123 +0,0 @@
-<!-- title: Item Reorder -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_reorder.md b/erpnext/docs/current/models/stock/item_reorder.md
new file mode 100644
index 0000000..6b4e051
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item_reorder.md
@@ -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.x.x</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
deleted file mode 100644
index 413148f..0000000
--- a/erpnext/docs/current/models/stock/item_supplier.html
+++ /dev/null
@@ -1,96 +0,0 @@
-<!-- title: Item Supplier -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_supplier.md b/erpnext/docs/current/models/stock/item_supplier.md
new file mode 100644
index 0000000..9d46e27
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item_supplier.md
@@ -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.x.x</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
deleted file mode 100644
index 1b99ba8..0000000
--- a/erpnext/docs/current/models/stock/item_tax.html
+++ /dev/null
@@ -1,96 +0,0 @@
-<!-- title: Item Tax -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_tax.md b/erpnext/docs/current/models/stock/item_tax.md
new file mode 100644
index 0000000..2b6e077
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item_tax.md
@@ -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.x.x</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
deleted file mode 100644
index ea9a003..0000000
--- a/erpnext/docs/current/models/stock/item_variant.html
+++ /dev/null
@@ -1,84 +0,0 @@
-<!-- title: Item Variant -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/stock/item_variant.md
new file mode 100644
index 0000000..3e05625
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item_variant.md
@@ -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.x.x</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
deleted file mode 100644
index 6e021bf..0000000
--- a/erpnext/docs/current/models/stock/item_variant_attribute.html
+++ /dev/null
@@ -1,180 +0,0 @@
-<!-- title: Item Variant Attribute -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_variant_attribute.md b/erpnext/docs/current/models/stock/item_variant_attribute.md
new file mode 100644
index 0000000..171e5f9
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item_variant_attribute.md
@@ -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.x.x</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
deleted file mode 100644
index d48ca70..0000000
--- a/erpnext/docs/current/models/stock/item_website_specification.html
+++ /dev/null
@@ -1,94 +0,0 @@
-<!-- title: Item Website Specification -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/item_website_specification.md b/erpnext/docs/current/models/stock/item_website_specification.md
new file mode 100644
index 0000000..59a9921
--- /dev/null
+++ b/erpnext/docs/current/models/stock/item_website_specification.md
@@ -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.x.x</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
deleted file mode 100644
index 92ec9d2..0000000
--- a/erpnext/docs/current/models/stock/landed_cost_item.html
+++ /dev/null
@@ -1,195 +0,0 @@
-<!-- title: Landed Cost Item -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_item.md b/erpnext/docs/current/models/stock/landed_cost_item.md
new file mode 100644
index 0000000..e609577
--- /dev/null
+++ b/erpnext/docs/current/models/stock/landed_cost_item.md
@@ -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.x.x</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
deleted file mode 100644
index 94fb174..0000000
--- a/erpnext/docs/current/models/stock/landed_cost_purchase_receipt.html
+++ /dev/null
@@ -1,141 +0,0 @@
-<!-- title: Landed Cost Purchase Receipt -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_purchase_receipt.md b/erpnext/docs/current/models/stock/landed_cost_purchase_receipt.md
new file mode 100644
index 0000000..8e9c49e
--- /dev/null
+++ b/erpnext/docs/current/models/stock/landed_cost_purchase_receipt.md
@@ -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.x.x</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
deleted file mode 100644
index 5238e5a..0000000
--- a/erpnext/docs/current/models/stock/landed_cost_taxes_and_charges.html
+++ /dev/null
@@ -1,108 +0,0 @@
-<!-- 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.7</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/landed_cost_voucher">Landed Cost Voucher</a>
-
-</li>
-    
-        <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/landed_cost_taxes_and_charges.md b/erpnext/docs/current/models/stock/landed_cost_taxes_and_charges.md
new file mode 100644
index 0000000..549a1e8
--- /dev/null
+++ b/erpnext/docs/current/models/stock/landed_cost_taxes_and_charges.md
@@ -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.x.x</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/landed_cost_voucher">Landed Cost Voucher</a>
+
+</li>
+    
+        <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/landed_cost_voucher.html b/erpnext/docs/current/models/stock/landed_cost_voucher.html
deleted file mode 100644
index defb029..0000000
--- a/erpnext/docs/current/models/stock/landed_cost_voucher.html
+++ /dev/null
@@ -1,426 +0,0 @@
-<!-- title: Landed Cost Voucher -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/landed_cost_voucher.md b/erpnext/docs/current/models/stock/landed_cost_voucher.md
new file mode 100644
index 0000000..67ae1a1
--- /dev/null
+++ b/erpnext/docs/current/models/stock/landed_cost_voucher.md
@@ -0,0 +1,426 @@
+<!-- title: Landed Cost Voucher -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index 0b63b53..0000000
--- a/erpnext/docs/current/models/stock/material_request.html
+++ /dev/null
@@ -1,723 +0,0 @@
-<!-- title: Material Request -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/material_request">Material Request</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/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.md b/erpnext/docs/current/models/stock/material_request.md
new file mode 100644
index 0000000..2751fe8
--- /dev/null
+++ b/erpnext/docs/current/models/stock/material_request.md
@@ -0,0 +1,735 @@
+<!-- title: Material Request -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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 >
+            <td>10</td>
+            <td ><code>get_items_from_product_bundle</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Items from Product Bundle
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>11</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>12</td>
+            <td ><code>requested_by</code></td>
+            <td >
+                Data</td>
+            <td >
+                Requested For
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td class="danger" title="Mandatory"><code>transaction_date</code></td>
+            <td >
+                Date</td>
+            <td >
+                Transaction Date
+                
+            </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>status</code></td>
+            <td >
+                Select</td>
+            <td >
+                Status
+                
+            </td>
+            <td>
+                <pre>
+Draft
+Submitted
+Stopped
+Cancelled</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>16</td>
+            <td ><code>per_ordered</code></td>
+            <td >
+                Percent</td>
+            <td >
+                % Ordered
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>17</td>
+            <td ><code>printing_details</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Printing Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>18</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>19</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>20</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>21</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>22</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/material_request">Material Request</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/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
deleted file mode 100644
index afe06b2..0000000
--- a/erpnext/docs/current/models/stock/material_request_item.html
+++ /dev/null
@@ -1,407 +0,0 @@
-<!-- title: Material Request Item -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/material_request_item.md b/erpnext/docs/current/models/stock/material_request_item.md
new file mode 100644
index 0000000..960226e
--- /dev/null
+++ b/erpnext/docs/current/models/stock/material_request_item.md
@@ -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.x.x</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
deleted file mode 100644
index 8b6fe54..0000000
--- a/erpnext/docs/current/models/stock/packed_item.html
+++ /dev/null
@@ -1,395 +0,0 @@
-<!-- title: Packed Item -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/accounts/sales_invoice">Sales Invoice</a>
-
-</li>
-    
-        <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/stock/packed_item.md b/erpnext/docs/current/models/stock/packed_item.md
new file mode 100644
index 0000000..76741ce
--- /dev/null
+++ b/erpnext/docs/current/models/stock/packed_item.md
@@ -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.x.x</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/accounts/sales_invoice">Sales Invoice</a>
+
+</li>
+    
+        <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/stock/packing_slip.html b/erpnext/docs/current/models/stock/packing_slip.html
deleted file mode 100644
index 2cc430e..0000000
--- a/erpnext/docs/current/models/stock/packing_slip.html
+++ /dev/null
@@ -1,592 +0,0 @@
-<!-- title: Packing Slip -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/stock/packing_slip.md
new file mode 100644
index 0000000..6679bc3
--- /dev/null
+++ b/erpnext/docs/current/models/stock/packing_slip.md
@@ -0,0 +1,592 @@
+<!-- title: Packing Slip -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index 0e8b284..0000000
--- a/erpnext/docs/current/models/stock/packing_slip_item.html
+++ /dev/null
@@ -1,219 +0,0 @@
-<!-- title: Packing Slip Item -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/packing_slip_item.md b/erpnext/docs/current/models/stock/packing_slip_item.md
new file mode 100644
index 0000000..4581510
--- /dev/null
+++ b/erpnext/docs/current/models/stock/packing_slip_item.md
@@ -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.x.x</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
deleted file mode 100644
index 1e78823..0000000
--- a/erpnext/docs/current/models/stock/price_list.html
+++ /dev/null
@@ -1,428 +0,0 @@
-<!-- title: Price List -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/manufacturing/bom">BOM</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/selling/customer">Customer</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/stock/delivery_note">Delivery Note</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/accounts/pos_profile">POS Profile</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/purchase_invoice">Purchase Invoice</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/stock/purchase_receipt">Purchase Receipt</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>
-			
-        
-			
-            <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/selling_settings">Selling Settings</a>
-
-</li>
-			
-        
-			
-        
-			
-            <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/buying/supplier">Supplier</a>
-
-</li>
-			
-        
-			
-            <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/stock/price_list.md b/erpnext/docs/current/models/stock/price_list.md
new file mode 100644
index 0000000..4d127cd
--- /dev/null
+++ b/erpnext/docs/current/models/stock/price_list.md
@@ -0,0 +1,426 @@
+<!-- title: Price List -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/manufacturing/bom">BOM</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/selling/customer">Customer</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/stock/delivery_note">Delivery Note</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/accounts/pos_profile">POS Profile</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/purchase_invoice">Purchase Invoice</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/stock/purchase_receipt">Purchase Receipt</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>
+			
+        
+			
+            <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/selling_settings">Selling Settings</a>
+
+</li>
+			
+        
+			
+            <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/buying/supplier">Supplier</a>
+
+</li>
+			
+        
+			
+            <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/stock/price_list_country.html b/erpnext/docs/current/models/stock/price_list_country.html
deleted file mode 100644
index 5c96c32..0000000
--- a/erpnext/docs/current/models/stock/price_list_country.html
+++ /dev/null
@@ -1,84 +0,0 @@
-<!-- title: Price List Country -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/price_list_country.md b/erpnext/docs/current/models/stock/price_list_country.md
new file mode 100644
index 0000000..1854b69
--- /dev/null
+++ b/erpnext/docs/current/models/stock/price_list_country.md
@@ -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.x.x</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
deleted file mode 100644
index 729b3f6..0000000
--- a/erpnext/docs/current/models/stock/purchase_receipt.html
+++ /dev/null
@@ -1,1825 +0,0 @@
-<!-- title: Purchase Receipt -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/landed_cost_item">Landed Cost Item</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/accounts/purchase_invoice_item">Purchase Invoice 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/buying/quality_inspection">Quality Inspection</a>
-
-</li>
-			
-        
-			
-            <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/purchase_receipt.md b/erpnext/docs/current/models/stock/purchase_receipt.md
new file mode 100644
index 0000000..4dac156
--- /dev/null
+++ b/erpnext/docs/current/models/stock/purchase_receipt.md
@@ -0,0 +1,1837 @@
+<!-- title: Purchase Receipt -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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 >
+            <td>27</td>
+            <td ><code>get_items_from_product_bundle</code></td>
+            <td >
+                Button</td>
+            <td >
+                Get Items from Product Bundle
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>28</td>
+            <td ><code>section_break0</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 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>31</td>
+            <td ><code>column_break_27</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 >
+                
+                <p class="text-muted small">
+                    Add / Edit Taxes and Charges</p>
+            </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/purchase_taxes_and_charges_template">Purchase Taxes and Charges Template</a>
+
+
+                
+            </td>
+        </tr>
+        
+        <tr >
+            <td>36</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>37</td>
+            <td ><code>other_charges_calculation</code></td>
+            <td >
+                HTML</td>
+            <td >
+                Taxes and Charges Calculation
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>38</td>
+            <td ><code>totals</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td>
+                <pre>icon-money</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>39</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>40</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>41</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>42</td>
+            <td ><code>column_break3</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>43</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>44</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>45</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>46</td>
+            <td ><code>section_break_42</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Additional Discount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>47</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>48</td>
+            <td ><code>column_break_44</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>49</td>
+            <td ><code>discount_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Additional Discount Amount
+                
+            </td>
+            <td>
+                <pre>currency</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>50</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>51</td>
+            <td ><code>section_break_46</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>52</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>53</td>
+            <td ><code>base_in_words</code></td>
+            <td >
+                Data</td>
+            <td >
+                In Words (Company Currency)
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>54</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>55</td>
+            <td ><code>column_break_50</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>56</td>
+            <td ><code>grand_total</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Grand 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 >
+                Terms and Conditions
+                
+            </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 ><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>63</td>
+            <td ><code>column_break_57</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>64</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>65</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>66</td>
+            <td ><code>is_subcontracted</code></td>
+            <td >
+                Select</td>
+            <td >
+                Raw Materials Supplied
+                
+            </td>
+            <td>
+                <pre>No
+Yes</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>67</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>68</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>69</td>
+            <td ><code>bill_no</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Bill No
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>70</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>71</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>72</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>73</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>74</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>75</td>
+            <td ><code>range</code></td>
+            <td >
+                Data</td>
+            <td class="text-muted" title="Hidden">
+                Range
+                
+            </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>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>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 class="info">
+            <td>79</td>
+            <td ><code>printing_settings</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Printing Settings
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>80</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>81</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>82</td>
+            <td ><code>other_details</code></td>
+            <td >
+                HTML</td>
+            <td class="text-muted" title="Hidden">
+                Other Details
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>83</td>
+            <td ><code>instructions</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Instructions
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>84</td>
+            <td ><code>remarks</code></td>
+            <td >
+                Small Text</td>
+            <td >
+                Remarks
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>85</td>
+            <td ><code>transporter_info</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                Transporter Details
+                
+            </td>
+            <td>
+                <pre>icon-truck</pre>
+            </td>
+        </tr>
+        
+        <tr >
+            <td>86</td>
+            <td ><code>transporter_name</code></td>
+            <td >
+                Data</td>
+            <td >
+                Transporter Name
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>87</td>
+            <td ><code>column_break5</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>88</td>
+            <td ><code>lr_no</code></td>
+            <td >
+                Data</td>
+            <td >
+                Vehicle Number
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>89</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/landed_cost_item">Landed Cost Item</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/accounts/purchase_invoice_item">Purchase Invoice 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/buying/quality_inspection">Quality Inspection</a>
+
+</li>
+			
+        
+			
+            <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/purchase_receipt_item.html b/erpnext/docs/current/models/stock/purchase_receipt_item.html
deleted file mode 100644
index d1dd00c..0000000
--- a/erpnext/docs/current/models/stock/purchase_receipt_item.html
+++ /dev/null
@@ -1,939 +0,0 @@
-<!-- title: Purchase Receipt Item -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/purchase_receipt_item.md b/erpnext/docs/current/models/stock/purchase_receipt_item.md
new file mode 100644
index 0000000..f457977
--- /dev/null
+++ b/erpnext/docs/current/models/stock/purchase_receipt_item.md
@@ -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.x.x</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
deleted file mode 100644
index f0a95ef..0000000
--- a/erpnext/docs/current/models/stock/serial_no.html
+++ /dev/null
@@ -1,1105 +0,0 @@
-<!-- title: Serial No -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/buying/quality_inspection">Quality Inspection</a>
-
-</li>
-			
-        
-			
-            <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/stock/serial_no.md b/erpnext/docs/current/models/stock/serial_no.md
new file mode 100644
index 0000000..67dbcd1
--- /dev/null
+++ b/erpnext/docs/current/models/stock/serial_no.md
@@ -0,0 +1,1105 @@
+<!-- title: Serial No -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/buying/quality_inspection">Quality Inspection</a>
+
+</li>
+			
+        
+			
+            <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/stock/stock_entry.html b/erpnext/docs/current/models/stock/stock_entry.html
deleted file mode 100644
index 4c325a9..0000000
--- a/erpnext/docs/current/models/stock/stock_entry.html
+++ /dev/null
@@ -1,1613 +0,0 @@
-<!-- title: Stock Entry -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/accounts/journal_entry">Journal Entry</a>
-
-</li>
-			
-        
-			
-            <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_entry.md b/erpnext/docs/current/models/stock/stock_entry.md
new file mode 100644
index 0000000..64d31eb
--- /dev/null
+++ b/erpnext/docs/current/models/stock/stock_entry.md
@@ -0,0 +1,1613 @@
+<!-- title: Stock Entry -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/accounts/journal_entry">Journal Entry</a>
+
+</li>
+			
+        
+			
+            <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_entry_detail.html b/erpnext/docs/current/models/stock/stock_entry_detail.html
deleted file mode 100644
index 83d7dbe..0000000
--- a/erpnext/docs/current/models/stock/stock_entry_detail.html
+++ /dev/null
@@ -1,656 +0,0 @@
-<!-- title: Stock Entry Detail -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_entry_detail.md b/erpnext/docs/current/models/stock/stock_entry_detail.md
new file mode 100644
index 0000000..c756df3
--- /dev/null
+++ b/erpnext/docs/current/models/stock/stock_entry_detail.md
@@ -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.x.x</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
deleted file mode 100644
index 10a07d2..0000000
--- a/erpnext/docs/current/models/stock/stock_ledger_entry.html
+++ /dev/null
@@ -1,552 +0,0 @@
-<!-- title: Stock Ledger Entry -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_ledger_entry.md b/erpnext/docs/current/models/stock/stock_ledger_entry.md
new file mode 100644
index 0000000..7f84b84
--- /dev/null
+++ b/erpnext/docs/current/models/stock/stock_ledger_entry.md
@@ -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.x.x</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
deleted file mode 100644
index 2c6cfe7..0000000
--- a/erpnext/docs/current/models/stock/stock_reconciliation.html
+++ /dev/null
@@ -1,583 +0,0 @@
-<!-- title: Stock Reconciliation -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/stock/stock_reconciliation.md
new file mode 100644
index 0000000..a5be239
--- /dev/null
+++ b/erpnext/docs/current/models/stock/stock_reconciliation.md
@@ -0,0 +1,589 @@
+<!-- title: Stock Reconciliation -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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 class="info">
+            <td>8</td>
+            <td ><code>section_break_9</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>9</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>10</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>11</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>12</td>
+            <td ><code>column_break_13</code></td>
+            <td class="info">
+                Column Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>13</td>
+            <td ><code>difference_amount</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Difference Amount
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>14</td>
+            <td ><code>fold_15</code></td>
+            <td >
+                Fold</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr class="info">
+            <td>15</td>
+            <td ><code>section_break_16</code></td>
+            <td >
+                Section Break</td>
+            <td >
+                
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>16</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>
+
+	
+
+	
+        
+    
+    <p><span class="label label-info">Public API</span>
+        <br><code>/api/method/erpnext.stock.doctype.stock_reconciliation.stock_reconciliation.get_stock_balance_for</code>
+    </p>
+	<p class="docs-attr-name">
+        <a name="erpnext.stock.doctype.stock_reconciliation.stock_reconciliation.get_stock_balance_for" href="#erpnext.stock.doctype.stock_reconciliation.stock_reconciliation.get_stock_balance_for" class="text-muted small">
+            <i class="icon-link small" style="color: #ccc;"></i></a>
+		erpnext.stock.doctype.stock_reconciliation.stock_reconciliation.<b>get_stock_balance_for</b>
+        <i class="text-muted">(item_code, 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
deleted file mode 100644
index 7e68b20..0000000
--- a/erpnext/docs/current/models/stock/stock_reconciliation_item.html
+++ /dev/null
@@ -1,181 +0,0 @@
-<!-- title: Stock Reconciliation Item -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_reconciliation_item.md b/erpnext/docs/current/models/stock/stock_reconciliation_item.md
new file mode 100644
index 0000000..7bd78ca
--- /dev/null
+++ b/erpnext/docs/current/models/stock/stock_reconciliation_item.md
@@ -0,0 +1,179 @@
+<!-- title: Stock Reconciliation Item -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
+                
+            </td>
+            <td></td>
+        </tr>
+        
+        <tr >
+            <td>5</td>
+            <td ><code>valuation_rate</code></td>
+            <td >
+                Currency</td>
+            <td >
+                Valuation Rate
+                
+            </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
deleted file mode 100644
index 6b7386e..0000000
--- a/erpnext/docs/current/models/stock/stock_settings.html
+++ /dev/null
@@ -1,337 +0,0 @@
-<!-- title: Stock Settings -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_settings.md b/erpnext/docs/current/models/stock/stock_settings.md
new file mode 100644
index 0000000..cc1aea5
--- /dev/null
+++ b/erpnext/docs/current/models/stock/stock_settings.md
@@ -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.x.x</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/uom_conversion_detail.html b/erpnext/docs/current/models/stock/uom_conversion_detail.html
deleted file mode 100644
index bb77325..0000000
--- a/erpnext/docs/current/models/stock/uom_conversion_detail.html
+++ /dev/null
@@ -1,96 +0,0 @@
-<!-- title: UOM Conversion Detail -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/uom_conversion_detail.md b/erpnext/docs/current/models/stock/uom_conversion_detail.md
new file mode 100644
index 0000000..aef8f31
--- /dev/null
+++ b/erpnext/docs/current/models/stock/uom_conversion_detail.md
@@ -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.x.x</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
deleted file mode 100644
index 918ad62..0000000
--- a/erpnext/docs/current/models/stock/warehouse.html
+++ /dev/null
@@ -1,684 +0,0 @@
-<!-- title: Warehouse -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/accounts/account">Account</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/delivery_note">Delivery Note</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/item">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/manufacturing/manufacturing_settings">Manufacturing Settings</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/packed_item">Packed 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/manufacturing/production_order">Production 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_planning_tool">Production Planning Tool</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/stock/purchase_receipt">Purchase Receipt</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/accounts/sales_invoice_item">Sales Invoice 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/stock/serial_no">Serial No</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/stock_entry_detail">Stock Entry Detail</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_reconciliation_item">Stock Reconciliation Item</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/warehouse.md b/erpnext/docs/current/models/stock/warehouse.md
new file mode 100644
index 0000000..6945901
--- /dev/null
+++ b/erpnext/docs/current/models/stock/warehouse.md
@@ -0,0 +1,682 @@
+<!-- title: Warehouse -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/accounts/account">Account</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/delivery_note">Delivery Note</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/item">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/manufacturing/manufacturing_settings">Manufacturing Settings</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/packed_item">Packed 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/manufacturing/production_order">Production 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_planning_tool">Production Planning Tool</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/stock/purchase_receipt">Purchase Receipt</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/accounts/sales_invoice_item">Sales Invoice 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/stock/serial_no">Serial No</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/stock_entry_detail">Stock Entry Detail</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_reconciliation_item">Stock Reconciliation Item</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/support/index.html b/erpnext/docs/current/models/support/index.html
deleted file mode 100644
index e04bb34..0000000
--- a/erpnext/docs/current/models/support/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: Module support -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/support/index.md
new file mode 100644
index 0000000..c72134d
--- /dev/null
+++ b/erpnext/docs/current/models/support/index.md
@@ -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.x.x</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/issue.html b/erpnext/docs/current/models/support/issue.html
deleted file mode 100644
index ee36367..0000000
--- a/erpnext/docs/current/models/support/issue.html
+++ /dev/null
@@ -1,592 +0,0 @@
-<!-- title: Issue -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/issue.md b/erpnext/docs/current/models/support/issue.md
new file mode 100644
index 0000000..60a27b2
--- /dev/null
+++ b/erpnext/docs/current/models/support/issue.md
@@ -0,0 +1,592 @@
+<!-- title: Issue -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index 96221ad..0000000
--- a/erpnext/docs/current/models/support/maintenance_schedule.html
+++ /dev/null
@@ -1,685 +0,0 @@
-<!-- title: Maintenance Schedule -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/support/maintenance_schedule.md
new file mode 100644
index 0000000..f113722
--- /dev/null
+++ b/erpnext/docs/current/models/support/maintenance_schedule.md
@@ -0,0 +1,685 @@
+<!-- title: Maintenance Schedule -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index 10fc33b..0000000
--- a/erpnext/docs/current/models/support/maintenance_schedule_detail.html
+++ /dev/null
@@ -1,153 +0,0 @@
-<!-- title: Maintenance Schedule Detail -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_detail.md b/erpnext/docs/current/models/support/maintenance_schedule_detail.md
new file mode 100644
index 0000000..859581e
--- /dev/null
+++ b/erpnext/docs/current/models/support/maintenance_schedule_detail.md
@@ -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.x.x</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
deleted file mode 100644
index 08947db..0000000
--- a/erpnext/docs/current/models/support/maintenance_schedule_item.html
+++ /dev/null
@@ -1,233 +0,0 @@
-<!-- title: Maintenance Schedule Item -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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_schedule_item.md b/erpnext/docs/current/models/support/maintenance_schedule_item.md
new file mode 100644
index 0000000..5230a66
--- /dev/null
+++ b/erpnext/docs/current/models/support/maintenance_schedule_item.md
@@ -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.x.x</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
deleted file mode 100644
index 71bf02b..0000000
--- a/erpnext/docs/current/models/support/maintenance_visit.html
+++ /dev/null
@@ -1,666 +0,0 @@
-<!-- title: Maintenance Visit -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/support/maintenance_visit.md
new file mode 100644
index 0000000..111168a
--- /dev/null
+++ b/erpnext/docs/current/models/support/maintenance_visit.md
@@ -0,0 +1,666 @@
+<!-- title: Maintenance Visit -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index 7da2d47..0000000
--- a/erpnext/docs/current/models/support/maintenance_visit_purpose.html
+++ /dev/null
@@ -1,212 +0,0 @@
-<!-- title: Maintenance Visit Purpose -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/maintenance_visit_purpose.md b/erpnext/docs/current/models/support/maintenance_visit_purpose.md
new file mode 100644
index 0000000..8937eff
--- /dev/null
+++ b/erpnext/docs/current/models/support/maintenance_visit_purpose.md
@@ -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.x.x</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
deleted file mode 100644
index ef03a7d..0000000
--- a/erpnext/docs/current/models/support/warranty_claim.html
+++ /dev/null
@@ -1,780 +0,0 @@
-<!-- title: Warranty Claim -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/support/warranty_claim.md b/erpnext/docs/current/models/support/warranty_claim.md
new file mode 100644
index 0000000..c27875e
--- /dev/null
+++ b/erpnext/docs/current/models/support/warranty_claim.md
@@ -0,0 +1,780 @@
+<!-- title: Warranty Claim -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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
deleted file mode 100644
index b1077c1..0000000
--- a/erpnext/docs/current/models/utilities/address.html
+++ /dev/null
@@ -1,710 +0,0 @@
-<!-- title: Address -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/stock/delivery_note">Delivery Note</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/support/maintenance_schedule">Maintenance Schedule</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/crm/opportunity">Opportunity</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/buying/purchase_order">Purchase Order</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/selling/quotation">Quotation</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/selling/sales_order">Sales Order</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/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.md b/erpnext/docs/current/models/utilities/address.md
new file mode 100644
index 0000000..22c349e
--- /dev/null
+++ b/erpnext/docs/current/models/utilities/address.md
@@ -0,0 +1,710 @@
+<!-- title: Address -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/stock/delivery_note">Delivery Note</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/support/maintenance_schedule">Maintenance Schedule</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/crm/opportunity">Opportunity</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/buying/purchase_order">Purchase Order</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/selling/quotation">Quotation</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/selling/sales_order">Sales Order</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/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_template.html b/erpnext/docs/current/models/utilities/address_template.html
deleted file mode 100644
index c9b1377..0000000
--- a/erpnext/docs/current/models/utilities/address_template.html
+++ /dev/null
@@ -1,175 +0,0 @@
-<!-- title: Address Template -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/address_template.md b/erpnext/docs/current/models/utilities/address_template.md
new file mode 100644
index 0000000..e1f977e
--- /dev/null
+++ b/erpnext/docs/current/models/utilities/address_template.md
@@ -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.x.x</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
deleted file mode 100644
index 7095f1f..0000000
--- a/erpnext/docs/current/models/utilities/contact.html
+++ /dev/null
@@ -1,614 +0,0 @@
-<!-- title: Contact -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/stock/delivery_note">Delivery Note</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/support/issue">Issue</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/maintenance_visit">Maintenance Visit</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/purchase_invoice">Purchase Invoice</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/stock/purchase_receipt">Purchase Receipt</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>
-			
-        
-			
-            <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/buying/supplier_quotation">Supplier Quotation</a>
-
-</li>
-			
-        
-			
-            <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/contact.md b/erpnext/docs/current/models/utilities/contact.md
new file mode 100644
index 0000000..dd33f13
--- /dev/null
+++ b/erpnext/docs/current/models/utilities/contact.md
@@ -0,0 +1,614 @@
+<!-- title: Contact -->
+
+
+
+
+
+<div class="dev-header">
+
+<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
+	Version 6.x.x</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/stock/delivery_note">Delivery Note</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/support/issue">Issue</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/maintenance_visit">Maintenance Visit</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/purchase_invoice">Purchase Invoice</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/stock/purchase_receipt">Purchase Receipt</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>
+			
+        
+			
+            <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/buying/supplier_quotation">Supplier Quotation</a>
+
+</li>
+			
+        
+			
+            <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/index.html b/erpnext/docs/current/models/utilities/index.html
deleted file mode 100644
index 4b8c8a7..0000000
--- a/erpnext/docs/current/models/utilities/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- title: Module utilities -->
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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.md b/erpnext/docs/current/models/utilities/index.md
new file mode 100644
index 0000000..8c7f74a
--- /dev/null
+++ b/erpnext/docs/current/models/utilities/index.md
@@ -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.x.x</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/rename_tool.html b/erpnext/docs/current/models/utilities/rename_tool.html
deleted file mode 100644
index de21eae..0000000
--- a/erpnext/docs/current/models/utilities/rename_tool.html
+++ /dev/null
@@ -1,147 +0,0 @@
-<!-- title: Rename Tool -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/rename_tool.md b/erpnext/docs/current/models/utilities/rename_tool.md
new file mode 100644
index 0000000..efff0c4
--- /dev/null
+++ b/erpnext/docs/current/models/utilities/rename_tool.md
@@ -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.x.x</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
deleted file mode 100644
index 1a20d29..0000000
--- a/erpnext/docs/current/models/utilities/sms_log.html
+++ /dev/null
@@ -1,197 +0,0 @@
-<!-- title: SMS Log -->
-
-
-
-
-
-<div class="dev-header">
-
-<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
-	Version 6.7.7</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/current/models/utilities/sms_log.md b/erpnext/docs/current/models/utilities/sms_log.md
new file mode 100644
index 0000000..7c89c99
--- /dev/null
+++ b/erpnext/docs/current/models/utilities/sms_log.md
@@ -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.x.x</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
deleted file mode 100644
index 7f011e0..0000000
--- a/erpnext/docs/index.html
+++ /dev/null
@@ -1,68 +0,0 @@
-<!-- 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; margin-top: -30px;">
-    <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">
-    <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.md b/erpnext/docs/index.md
new file mode 100644
index 0000000..dae6878
--- /dev/null
+++ b/erpnext/docs/index.md
@@ -0,0 +1,88 @@
+<!-- title: ERPNext: Documentation -->
+<!-- no-breadcrumbs -->
+<style>
+ nav.navbar .navbar-header .navbar-brand,
+ nav.navbar ul.navbar-nav a,
+ nav.navbar ul.navbar-nav a:visited {
+   color:#fff;
+  opacity:0.8;
+ }
+ nav.navbar .navbar-header a:hover,
+ nav.navbar ul.navbar-nav a:hover {
+  color:#fff;
+  opacity:1;
+ }
+ nav.navbar.navbar-main {
+  border-bottom:1px solid rgba(225,233,240,0.25);
+ }
+ 
+
+</style>
+
+<!-- start-hero -->
+<div class="splash">
+ <div class="container">
+  <div class="col-sm-10 col-sm-offset-1">
+   <div class="jumbotron">
+    <h1>ERPNext Documentation</h1>
+    <p>Detailed explanation for all ERPNext features and developer API</p>
+   </div>
+   <div class="section" style="padding-top: 0px; margin-top: -30px;">
+      <div class="fake-browser-frame">
+       <img class="img-responsive browser-image feature-image"
+              src="assets/img/home.png">
+      </div>
+   </div>
+  </div>
+ </div>
+</div>
+<!-- end-hero -->
+
+
+<div class="container">
+ <div class="col-sm-10 col-sm-offset-1">
+  <div class="section">
+      <p>ERPNext is a fully featured ERP system designed for Small and Medium Sized
+business. ERPNext covers a wide range of features including Accounting, CRM,
+Inventory management, Selling, Purchasing, Manufacturing, Projects, HR &amp;
+Payroll, Website, E-Commerce and much more.</p>
+
+<p>ERPNext is based on the Frappe Framework is highly customizable and extendable.
+You can create Custom Form, Fields, Scripts and can also create your own Apps
+to extend ERPNext functionality.</p>
+
+<p>ERPNext is Open Source under the GNU General Public Licence v3 and has been
+listed as one of the Best Open Source Softwares in the world by my online
+blogs.</p>
+
+  </div>
+ </div>
+</div>
+
+
+
+<div class="container">
+ <div class="col-sm-10 col-sm-offset-1">
+  <div class="section" id="install">
+    <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>
+ </div>
+</div>
+
+
+<!-- autodoc -->
+<!-- jinja -->
\ No newline at end of file
diff --git a/erpnext/docs/license.html b/erpnext/docs/license.md
similarity index 100%
rename from erpnext/docs/license.html
rename to erpnext/docs/license.md
diff --git a/erpnext/docs/temp.py b/erpnext/docs/temp.py
new file mode 100644
index 0000000..c2a9309
--- /dev/null
+++ b/erpnext/docs/temp.py
@@ -0,0 +1,21 @@
+from __future__ import unicode_literals
+
+import os
+
+for basepath, folders, files in os.walk("user"):
+	if "index.txt" in files:
+		with open(os.path.join(basepath, "index.txt"), "r") as i:
+			in_index = i.read().splitlines()
+
+		missing = []
+
+		for f in files:
+			name = f.rsplit(".", 1)[0]
+			if name not in in_index and name != "index":
+				missing.append(f)
+
+		if missing:
+			print missing
+			with open(os.path.join(basepath, "index.txt"), "w") as i:
+				i.write("\n".join(in_index + missing))
+
diff --git a/erpnext/docs/user/guides/CRM/contact.md b/erpnext/docs/user/guides/CRM/contact.md
deleted file mode 100644
index 51a6e50..0000000
--- a/erpnext/docs/user/guides/CRM/contact.md
+++ /dev/null
@@ -1,47 +0,0 @@
-# Contact and Address
-
-Contacts are not necessarily linked to another document. They can be stand alone, just a Contact with a First Name not linked to any other document or 
-Contacts can be linked to a Party, that is either a Customer or a Supplier.
-
-The Contact_ID is automatically created:
-
-1. If only a First Name is entered that First Name defines the ID , thus First name (only)
-2. If a First Name and a Party is linked the ID becomes “FirstName-Party”
- 
-Contacts can, but do not have to be linked, to:  User, Customer, Supplier, and Sales Partner. Since Customers and Addresses are not directly linked to a User, all links go via Contacts.
-
-A Contact can be linked to the (web) user. If that user is also a Customer, it is linked to the Customer by the Customer ID
-
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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.
-
----
-
-### Address Titles
-
-The Address Title (Name of person or organization that this address belongs to) is a free format unlinked field. The ID is automatically created from the Address Title upper score Address Type. (AdressTitle-AddressType).
-
-### Address Linking
-
-Addresses can be entered individually (unlinked)  or linked to customers, leads, suppliers or Sales Partners. 
-
-Linking is done in the reference section where the links can be established.
-
-(Contributed by Robert Becht)
diff --git a/erpnext/docs/user/guides/CRM/customer.md b/erpnext/docs/user/guides/CRM/customer.md
deleted file mode 100644
index 9f33f77..0000000
--- a/erpnext/docs/user/guides/CRM/customer.md
+++ /dev/null
@@ -1,72 +0,0 @@
-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.
-
-A customer is uniquely identified by the Customer ID. Normally this ID is identical to the customer Full Name, but in case of duplicate Full Name, a Name-1 is created as ID.
-
-You can either directly create your Customers via
-
-> Selling > Customer
-
-or upload it via the Data Import Tool.
-
-<img class="screenshot" alt="Customer" src="{{url_prefix}}/assets/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]({{url_prefix}}/user/guides/crm/contact.html) to know more.
-
-Thus we may have identical Customer Names that are uniquely identified by the ID. Since the email address is not part of the customer information the linking of customer and User is through [Contacts]({{url_prefix}}/user/guides/crm/contact.html)
-
-### 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]({{url_prefix}}/user/guides/crm/setup/customer-group.html) 
-and also divide them into [Territories]({{url_prefix}}/user/guides/crm/setup/territory.html)
-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]({{url_prefix}}/user/guides/crm/setup/sales-person.html) 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/guides/CRM/lead.md b/erpnext/docs/user/guides/CRM/lead.md
deleted file mode 100644
index 5dbb36d..0000000
--- a/erpnext/docs/user/guides/CRM/lead.md
+++ /dev/null
@@ -1,60 +0,0 @@
-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.
-
----
-
-Leads are the  entities constituting a first contact. Leads can be created by a system users or by a web-user. When a lead is created minimal info (name,email) is entered and the lead is (default) linked to the active system user, the owner of the lead  A user configurable drop list is used to classify Status of the lead (Open, Replied etc)
-
-To create a Lead, go to:
-
-> Selling > Lead > New Lead
-
-<img class="screenshot" alt="Lead" src="{{url_prefix}}/assets/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.
-
----
-
-### Creation via Portal
-
-If a someone creates an account through the website interface is Lead is automatically created, status is Open and the Owner is the webuser.
-
-After registration the webform Addresses is called, where the web user can enter address information.The address is linked to the lead using the **Lead Name-Address Type** as ID.
-
-If using the Cart functionality, items are ordered the Lead is Converted and a Customer is created using the Web-User Name. Because a Customer can only be linked to a webuser using the (foreign) ID in Contact, such contact has to be created as well.
-
-{next}
diff --git a/erpnext/docs/user/guides/CRM/newsletter.md b/erpnext/docs/user/guides/CRM/newsletter.md
deleted file mode 100644
index 25cd2b0..0000000
--- a/erpnext/docs/user/guides/CRM/newsletter.md
+++ /dev/null
@@ -1,19 +0,0 @@
-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="{{url_prefix}}/assets/img/crm/newsletter-new.png">
-
-<img class="screenshot" alt="Newsletter - Test" src="{{url_prefix}}/assets/img/crm/newsletter-test.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/CRM/opportunity.md b/erpnext/docs/user/guides/CRM/opportunity.md
deleted file mode 100644
index d6850c8..0000000
--- a/erpnext/docs/user/guides/CRM/opportunity.md
+++ /dev/null
@@ -1,30 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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/guides/CRM/setup/campaign.md b/erpnext/docs/user/guides/CRM/setup/campaign.md
deleted file mode 100644
index 36b55c3..0000000
--- a/erpnext/docs/user/guides/CRM/setup/campaign.md
+++ /dev/null
@@ -1,20 +0,0 @@
-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="{{url_prefix}}/assets/img/crm/campaign.png">
-
-You can track [Lead]({{url_prefix}}/user/guides/crm/lead.html), [Opportunity]({{url_prefix}}/user/guides/crm/opportunity.html), [Quotation]({{url_prefix}}/user/guides/selling/quotation.html) 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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/crm/campaign-new-lead.png">
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/CRM/setup/customer-group.md b/erpnext/docs/user/guides/CRM/setup/customer-group.md
deleted file mode 100644
index 6e6e1b9..0000000
--- a/erpnext/docs/user/guides/CRM/setup/customer-group.md
+++ /dev/null
@@ -1,14 +0,0 @@
-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="{{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/sales-analytics-customer.png)
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/CRM/setup/sales-person.md b/erpnext/docs/user/guides/CRM/setup/sales-person.md
deleted file mode 100644
index 4c6c0b6..0000000
--- a/erpnext/docs/user/guides/CRM/setup/sales-person.md
+++ /dev/null
@@ -1,14 +0,0 @@
-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="{{url_prefix}}/assets/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/guides/accounts/accounting-entries.md b/erpnext/docs/user/guides/accounts/accounting-entries.md
deleted file mode 100644
index e67d999..0000000
--- a/erpnext/docs/user/guides/accounts/accounting-entries.md
+++ /dev/null
@@ -1,58 +0,0 @@
-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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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/guides/accounts/accounting-reports.md b/erpnext/docs/user/guides/accounts/accounting-reports.md
deleted file mode 100644
index 5026151..0000000
--- a/erpnext/docs/user/guides/accounts/accounting-reports.md
+++ /dev/null
@@ -1,43 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/accounts/sales-register.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/accounts/advance-payment-entry.md b/erpnext/docs/user/guides/accounts/advance-payment-entry.md
deleted file mode 100644
index fa818fb..0000000
--- a/erpnext/docs/user/guides/accounts/advance-payment-entry.md
+++ /dev/null
@@ -1,62 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/accounts/advance-payment-3.png">
-
-Save and submit the Sales Invoice.
-
-{next}
diff --git a/erpnext/docs/user/guides/accounts/budgeting.md b/erpnext/docs/user/guides/accounts/budgeting.md
deleted file mode 100644
index 8733aa4..0000000
--- a/erpnext/docs/user/guides/accounts/budgeting.md
+++ /dev/null
@@ -1,58 +0,0 @@
-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.
-
-![]({{url_prefix}}/assets/old_images/erpnext/budgeting-1.png)  
-
-<img alt="Accounts Receivable" class="screenshot" src="{{url_prefix}}/assets/img/accounts/accounts-receivable.png">
-
-#### Step 2: Enter Monthly Distribution.
-
-![]({{url_prefix}}/assets/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.  
-
-
-
-![]({{url_prefix}}/assets/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.  
-
-![]({{url_prefix}}/assets/old_images/erpnext/budgeting-4.png)
-
-
-
-These can be defined from the Company record.
-
-![]({{url_prefix}}/assets/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/guides/accounts/chart-of-accounts.md b/erpnext/docs/user/guides/accounts/chart-of-accounts.md
deleted file mode 100644
index 148ef02..0000000
--- a/erpnext/docs/user/guides/accounts/chart-of-accounts.md
+++ /dev/null
@@ -1,128 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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/guides/accounts/credit-limit.md b/erpnext/docs/user/guides/accounts/credit-limit.md
deleted file mode 100644
index df7f7f6..0000000
--- a/erpnext/docs/user/guides/accounts/credit-limit.md
+++ /dev/null
@@ -1,34 +0,0 @@
-  
-
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/accounts/credit-limit-2.png">
-
-Save the changes.
-
-{next}
diff --git a/erpnext/docs/user/guides/accounts/index.txt b/erpnext/docs/user/guides/accounts/index.txt
deleted file mode 100644
index 5a4a391..0000000
--- a/erpnext/docs/user/guides/accounts/index.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-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/guides/accounts/item-wise-tax.md b/erpnext/docs/user/guides/accounts/item-wise-tax.md
deleted file mode 100644
index fbc5743..0000000
--- a/erpnext/docs/user/guides/accounts/item-wise-tax.md
+++ /dev/null
@@ -1,30 +0,0 @@
-
-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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/item-wise-tax-calc.png)
-
-{next}
diff --git a/erpnext/docs/user/guides/accounts/journal-entry.md b/erpnext/docs/user/guides/accounts/journal-entry.md
deleted file mode 100644
index 9da656d..0000000
--- a/erpnext/docs/user/guides/accounts/journal-entry.md
+++ /dev/null
@@ -1,71 +0,0 @@
-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="{{url_prefix}}/assets/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/guides/accounts/making-payments.md b/erpnext/docs/user/guides/accounts/making-payments.md
deleted file mode 100644
index 3b6209c..0000000
--- a/erpnext/docs/user/guides/accounts/making-payments.md
+++ /dev/null
@@ -1,98 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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/guides/accounts/multi-currency-accounting.md b/erpnext/docs/user/guides/accounts/multi-currency-accounting.md
deleted file mode 100644
index 0b01110..0000000
--- a/erpnext/docs/user/guides/accounts/multi-currency-accounting.md
+++ /dev/null
@@ -1,119 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/accounts/multi-currency/accounts-receivable.png">
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/accounts/opening-accounts.md b/erpnext/docs/user/guides/accounts/opening-accounts.md
deleted file mode 100644
index 1a39ed6..0000000
--- a/erpnext/docs/user/guides/accounts/opening-accounts.md
+++ /dev/null
@@ -1,94 +0,0 @@
-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="{{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/image-temp-opening.png)
-
-
-![Opening Entry]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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/guides/accounts/opening-entry.md b/erpnext/docs/user/guides/accounts/opening-entry.md
deleted file mode 100644
index 2f341a1..0000000
--- a/erpnext/docs/user/guides/accounts/opening-entry.md
+++ /dev/null
@@ -1,7 +0,0 @@
-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.]({{url_prefix}}/user/guides/accounts/opening-accounts.html)
-
-{next}
diff --git a/erpnext/docs/user/guides/accounts/point-of-sale-pos-invoice.md b/erpnext/docs/user/guides/accounts/point-of-sale-pos-invoice.md
deleted file mode 100644
index dbcfc00..0000000
--- a/erpnext/docs/user/guides/accounts/point-of-sale-pos-invoice.md
+++ /dev/null
@@ -1,98 +0,0 @@
-# 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]({{url_prefix}}/user/guides/setting-up/pos-setting.html) 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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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/guides/accounts/purchase-invoice.md b/erpnext/docs/user/guides/accounts/purchase-invoice.md
deleted file mode 100644
index ce1aae8..0000000
--- a/erpnext/docs/user/guides/accounts/purchase-invoice.md
+++ /dev/null
@@ -1,71 +0,0 @@
-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="{{url_prefix}}/assets/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/guides/accounts/sales-invoice.md b/erpnext/docs/user/guides/accounts/sales-invoice.md
deleted file mode 100644
index 5c95b31..0000000
--- a/erpnext/docs/user/guides/accounts/sales-invoice.md
+++ /dev/null
@@ -1,74 +0,0 @@
-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="{{url_prefix}}/assets/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/guides/accounts/setup/accounts-settings.md b/erpnext/docs/user/guides/accounts/setup/accounts-settings.md
deleted file mode 100644
index 8465679..0000000
--- a/erpnext/docs/user/guides/accounts/setup/accounts-settings.md
+++ /dev/null
@@ -1,10 +0,0 @@
-
-<img class="screenshot" alt="Account Settings" src="{{url_prefix}}/assets/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/guides/accounts/setup/cost-center.md b/erpnext/docs/user/guides/accounts/setup/cost-center.md
deleted file mode 100644
index 79f1a3c..0000000
--- a/erpnext/docs/user/guides/accounts/setup/cost-center.md
+++ /dev/null
@@ -1,78 +0,0 @@
-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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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/guides/accounts/setup/fiscal-year.md b/erpnext/docs/user/guides/accounts/setup/fiscal-year.md
deleted file mode 100644
index 5509e2f..0000000
--- a/erpnext/docs/user/guides/accounts/setup/fiscal-year.md
+++ /dev/null
@@ -1,23 +0,0 @@
-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="{{url_prefix}}/assets/img/accounts/fiscal-year.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/accounts/setup/tax-rule.md b/erpnext/docs/user/guides/accounts/setup/tax-rule.md
deleted file mode 100644
index fdbc704..0000000
--- a/erpnext/docs/user/guides/accounts/setup/tax-rule.md
+++ /dev/null
@@ -1,21 +0,0 @@
-You can define which [Tax Template]({{url_prefix}}/user/guides/setting-up/setting-up-taxes.html) must be applied on a Sales / Purchase transaction using Tax Rule.
-
-<img class="screenshot" alt="Tax Rule" src="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/accounts/tax-rule-1.png">
-
-<img class="screenshot" alt="Tax Rule" src="{{url_prefix}}/assets/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/guides/accounts/tools/bank-reconciliation.md b/erpnext/docs/user/guides/accounts/tools/bank-reconciliation.md
deleted file mode 100644
index 1fd0b37..0000000
--- a/erpnext/docs/user/guides/accounts/tools/bank-reconciliation.md
+++ /dev/null
@@ -1,52 +0,0 @@
-### 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
-
-![]({{url_prefix}}/assets/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="{{url_prefix}}/assets/img/accounts/bank-reconciliation.png">
-
-__Step 5:__ Click on the button 'Update Clearance Date'.
- 
-{next}
diff --git a/erpnext/docs/user/guides/accounts/tools/payment-reconciliation.md b/erpnext/docs/user/guides/accounts/tools/payment-reconciliation.md
deleted file mode 100644
index bf4a65f..0000000
--- a/erpnext/docs/user/guides/accounts/tools/payment-reconciliation.md
+++ /dev/null
@@ -1,31 +0,0 @@
-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="{{url_prefix}}/assets/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/guides/accounts/tools/payment-tool.md b/erpnext/docs/user/guides/accounts/tools/payment-tool.md
deleted file mode 100644
index f96ca5b..0000000
--- a/erpnext/docs/user/guides/accounts/tools/payment-tool.md
+++ /dev/null
@@ -1,24 +0,0 @@
-###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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/accounts/payment-tool-3.png">
-	
-{next}
diff --git a/erpnext/docs/user/guides/accounts/tools/period-closing-voucher.md b/erpnext/docs/user/guides/accounts/tools/period-closing-voucher.md
deleted file mode 100644
index 5c0e203..0000000
--- a/erpnext/docs/user/guides/accounts/tools/period-closing-voucher.md
+++ /dev/null
@@ -1,30 +0,0 @@
-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="{{url_prefix}}/assets/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/guides/buying/index.txt b/erpnext/docs/user/guides/buying/index.txt
deleted file mode 100644
index 9c87d09..0000000
--- a/erpnext/docs/user/guides/buying/index.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-supplier
-supplier-quotation
-purchase-order
-setup
diff --git a/erpnext/docs/user/guides/buying/purchase-order.md b/erpnext/docs/user/guides/buying/purchase-order.md
deleted file mode 100644
index b6badf6..0000000
--- a/erpnext/docs/user/guides/buying/purchase-order.md
+++ /dev/null
@@ -1,86 +0,0 @@
-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]({{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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/guides/buying/purchase-taxes.md b/erpnext/docs/user/guides/buying/purchase-taxes.md
deleted file mode 100644
index 0e5ebb3..0000000
--- a/erpnext/docs/user/guides/buying/purchase-taxes.md
+++ /dev/null
@@ -1,38 +0,0 @@
-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]({{url_prefix}}/assets/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/guides/buying/setup/buying-settings.md b/erpnext/docs/user/guides/buying/setup/buying-settings.md
deleted file mode 100644
index dc9fa8e..0000000
--- a/erpnext/docs/user/guides/buying/setup/buying-settings.md
+++ /dev/null
@@ -1,39 +0,0 @@
-Buying Settings is where you can define properties which will be applied in the Buying module's transactions. 
-
-![Buying Settings]({{url_prefix}}/assets/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.]({{url_prefix}}/user/guides/setting-up/settings/naming-series.html)
-
-### 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/guides/buying/setup/supplier-type.md b/erpnext/docs/user/guides/buying/setup/supplier-type.md
deleted file mode 100644
index 9ca8978..0000000
--- a/erpnext/docs/user/guides/buying/setup/supplier-type.md
+++ /dev/null
@@ -1,28 +0,0 @@
-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="{{url_prefix}}/assets/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/guides/buying/supplier-quotation.md b/erpnext/docs/user/guides/buying/supplier-quotation.md
deleted file mode 100644
index a0047e6..0000000
--- a/erpnext/docs/user/guides/buying/supplier-quotation.md
+++ /dev/null
@@ -1,33 +0,0 @@
-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]({{url_prefix}}/assets/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="{{url_prefix}}/assets/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/guides/buying/supplier.md b/erpnext/docs/user/guides/buying/supplier.md
deleted file mode 100644
index 9e20642..0000000
--- a/erpnext/docs/user/guides/buying/supplier.md
+++ /dev/null
@@ -1,37 +0,0 @@
-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="{{url_prefix}}/assets/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/guides/collaboration-tools/assignment.md b/erpnext/docs/user/guides/collaboration-tools/assignment.md
deleted file mode 100644
index d78cf0c..0000000
--- a/erpnext/docs/user/guides/collaboration-tools/assignment.md
+++ /dev/null
@@ -1,40 +0,0 @@
-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]({{url_prefix}}/assets/old_images/erpnext/assigned-to-icon.png)
-
-
-![Assigned To]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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/guides/collaboration-tools/calendar.md b/erpnext/docs/user/guides/collaboration-tools/calendar.md
deleted file mode 100644
index 5750777..0000000
--- a/erpnext/docs/user/guides/collaboration-tools/calendar.md
+++ /dev/null
@@ -1,63 +0,0 @@
-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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/calender-email-digest.png)
-
-{next}
diff --git a/erpnext/docs/user/guides/collaboration-tools/collaborating-around-forms.md b/erpnext/docs/user/guides/collaboration-tools/collaborating-around-forms.md
deleted file mode 100644
index 11c7b81..0000000
--- a/erpnext/docs/user/guides/collaboration-tools/collaborating-around-forms.md
+++ /dev/null
@@ -1,19 +0,0 @@
-### 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]({{url_prefix}}/assets/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]({{url_prefix}}/user/guides/collaboration-tools/tags.html)  
-
-{next}
diff --git a/erpnext/docs/user/guides/collaboration-tools/index.txt b/erpnext/docs/user/guides/collaboration-tools/index.txt
deleted file mode 100644
index d02b6d9..0000000
--- a/erpnext/docs/user/guides/collaboration-tools/index.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-to-do
-collaborating-around-forms
-messages
-notes
-calendar
-assignment
-tags
diff --git a/erpnext/docs/user/guides/collaboration-tools/messages.md b/erpnext/docs/user/guides/collaboration-tools/messages.md
deleted file mode 100644
index a905aeb..0000000
--- a/erpnext/docs/user/guides/collaboration-tools/messages.md
+++ /dev/null
@@ -1,12 +0,0 @@
-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]({{url_prefix}}/assets/old_images/erpnext/message-list.png)
-
-You can choose to send message to all the users, or to specific user.
-
-![Messsage To]({{url_prefix}}/assets/old_images/erpnext/message-to.png)
-
-{next}
diff --git a/erpnext/docs/user/guides/collaboration-tools/notes.md b/erpnext/docs/user/guides/collaboration-tools/notes.md
deleted file mode 100644
index a9abc40..0000000
--- a/erpnext/docs/user/guides/collaboration-tools/notes.md
+++ /dev/null
@@ -1,21 +0,0 @@
-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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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/guides/collaboration-tools/tags.md b/erpnext/docs/user/guides/collaboration-tools/tags.md
deleted file mode 100644
index 7ada9f5..0000000
--- a/erpnext/docs/user/guides/collaboration-tools/tags.md
+++ /dev/null
@@ -1,5 +0,0 @@
-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]({{url_prefix}}/assets/old_images/erpnext/tags-in-list.png)
-
-{next}
diff --git a/erpnext/docs/user/guides/collaboration-tools/to-do.md b/erpnext/docs/user/guides/collaboration-tools/to-do.md
deleted file mode 100644
index af1c5ac..0000000
--- a/erpnext/docs/user/guides/collaboration-tools/to-do.md
+++ /dev/null
@@ -1,10 +0,0 @@
-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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/todo-close.png)
-
-{next}
diff --git a/erpnext/docs/user/guides/customer-portal/customer-orders-invoices-and-shipping-status.md b/erpnext/docs/user/guides/customer-portal/customer-orders-invoices-and-shipping-status.md
deleted file mode 100644
index b176d10..0000000
--- a/erpnext/docs/user/guides/customer-portal/customer-orders-invoices-and-shipping-status.md
+++ /dev/null
@@ -1,22 +0,0 @@
-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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/customer-portal-orders-1.png)
-
-#### Invoice with paid status.
-
-![Invoice Paid]({{url_prefix}}/assets/old_images/erpnext/portal-invoice-paid.png)
-
-#### Invoice with billed status.
-
-![Billed Invoice]({{url_prefix}}/assets/old_images/erpnext/portal-order-billed.png)
-
-{next}
diff --git a/erpnext/docs/user/guides/customer-portal/issues.md b/erpnext/docs/user/guides/customer-portal/issues.md
deleted file mode 100644
index 478e1b9..0000000
--- a/erpnext/docs/user/guides/customer-portal/issues.md
+++ /dev/null
@@ -1,22 +0,0 @@
-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]({{url_prefix}}/assets/old_images/erpnext/portal-ticket-list-empty.png)
-
-#### New Issue
-
-![New Ticket]({{url_prefix}}/assets/old_images/erpnext/portal-new-ticket.png)
-
-#### Open Issue
-
-![Open Issue]({{url_prefix}}/assets/old_images/erpnext/portal-ticket-1.png)
-
-#### Reply on Issue
-
-![Reply Issue]({{url_prefix}}/assets/old_images/erpnext/portal-ticket-reply.png)
-
-{next}
diff --git a/erpnext/docs/user/guides/customer-portal/portal-login.md b/erpnext/docs/user/guides/customer-portal/portal-login.md
deleted file mode 100644
index 9d657a8..0000000
--- a/erpnext/docs/user/guides/customer-portal/portal-login.md
+++ /dev/null
@@ -1,6 +0,0 @@
-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]({{url_prefix}}/assets/old_images/erpnext/customer-portal-login.png)
-
-{next}
diff --git a/erpnext/docs/user/guides/customer-portal/sign-up.md b/erpnext/docs/user/guides/customer-portal/sign-up.md
deleted file mode 100644
index 2e95d49..0000000
--- a/erpnext/docs/user/guides/customer-portal/sign-up.md
+++ /dev/null
@@ -1,22 +0,0 @@
-Customers have to log-in to the Company Website, and sign-up as a customer.
-
-#### Step 1: Click on Login Icon
-
-![Sign Up]({{url_prefix}}/assets/old_images/erpnext/customer-portal-sign-up-1.png)
-
-  
-
-#### Step 2: Click on Sign Up Icon
-
-![Sign Up]({{url_prefix}}/assets/old_images/erpnext/customer-portal-sign-up-2.png)
-
-  
-
-#### Step 3: Enter Customer Name and ID
-
-![Sign Up]({{url_prefix}}/assets/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/guides/customize-erpnext/custom-doctype.md b/erpnext/docs/user/guides/customize-erpnext/custom-doctype.md
deleted file mode 100644
index 02b08de..0000000
--- a/erpnext/docs/user/guides/customize-erpnext/custom-doctype.md
+++ /dev/null
@@ -1,74 +0,0 @@
-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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/img/setup/customize/Doctype-permissions.png)
-
-#### Save Doctype
-
-On saving doctype, you will get pop-up to provide name for this Doctype.
-
-![Doctype Save]({{url_prefix}}/assets/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]({{url_prefix}}/assets/img/setup/customize/Doctype-list-view.png)
-
-#### Book master
-
-Using the fields entered, following is the master one book.
-
-![Doctype List]({{url_prefix}}/assets/img/setup/customize/Doctype-book-added.png)
diff --git a/erpnext/docs/user/guides/customize-erpnext/custom-field.md b/erpnext/docs/user/guides/customize-erpnext/custom-field.md
deleted file mode 100644
index ed30f52..0000000
--- a/erpnext/docs/user/guides/customize-erpnext/custom-field.md
+++ /dev/null
@@ -1,77 +0,0 @@
-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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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/guides/customize-erpnext/custom-scripts/custom-script-examples/custom-script-fetch-values-from-master.md b/erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/custom-script-fetch-values-from-master.md
deleted file mode 100644
index 792460a..0000000
--- a/erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/custom-script-fetch-values-from-master.md
+++ /dev/null
@@ -1,25 +0,0 @@
-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]({{url_prefix}}/user/guides/customize-erpnext/custom-scripts.html)
-
-{next}
diff --git a/erpnext/docs/user/guides/customize-erpnext/custom-scripts/index.md b/erpnext/docs/user/guides/customize-erpnext/custom-scripts/index.md
deleted file mode 100644
index 13ba6c6..0000000
--- a/erpnext/docs/user/guides/customize-erpnext/custom-scripts/index.md
+++ /dev/null
@@ -1,11 +0,0 @@
-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]({{url_prefix}}/assets/old_images/erpnext/custom-script.png)
-
-### Topics
-
-{index}
diff --git a/erpnext/docs/user/guides/customize-erpnext/customize-form.md b/erpnext/docs/user/guides/customize-erpnext/customize-form.md
deleted file mode 100644
index c76d657..0000000
--- a/erpnext/docs/user/guides/customize-erpnext/customize-form.md
+++ /dev/null
@@ -1,107 +0,0 @@
-<!--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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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/guides/customize-erpnext/document-title.md b/erpnext/docs/user/guides/customize-erpnext/document-title.md
deleted file mode 100644
index 338068a..0000000
--- a/erpnext/docs/user/guides/customize-erpnext/document-title.md
+++ /dev/null
@@ -1,33 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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/guides/customize-erpnext/hiding-modules-and-features.md b/erpnext/docs/user/guides/customize-erpnext/hiding-modules-and-features.md
deleted file mode 100644
index 57154ad..0000000
--- a/erpnext/docs/user/guides/customize-erpnext/hiding-modules-and-features.md
+++ /dev/null
@@ -1,30 +0,0 @@
-### 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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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/guides/customize-erpnext/index.txt b/erpnext/docs/user/guides/customize-erpnext/index.txt
deleted file mode 100644
index a225d44..0000000
--- a/erpnext/docs/user/guides/customize-erpnext/index.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-custom-field
-custom-doctype
-custom-scripts
-customize-form
-document-title
-hiding-modules-and-features
-print-format
diff --git a/erpnext/docs/user/guides/customize-erpnext/print-format.md b/erpnext/docs/user/guides/customize-erpnext/print-format.md
deleted file mode 100644
index c373d06..0000000
--- a/erpnext/docs/user/guides/customize-erpnext/print-format.md
+++ /dev/null
@@ -1,106 +0,0 @@
-<!-- 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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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/guides/human-resources/appraisal.md b/erpnext/docs/user/guides/human-resources/appraisal.md
deleted file mode 100644
index 021d470..0000000
--- a/erpnext/docs/user/guides/human-resources/appraisal.md
+++ /dev/null
@@ -1,24 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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/guides/human-resources/attendance.md b/erpnext/docs/user/guides/human-resources/attendance.md
deleted file mode 100644
index 66c3a4c..0000000
--- a/erpnext/docs/user/guides/human-resources/attendance.md
+++ /dev/null
@@ -1,14 +0,0 @@
-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="{{url_prefix}}/assets/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 ]({{url_prefix}}/user/guides/human-resources/tools/upload-attendance.html)
-
-{next}
-
diff --git a/erpnext/docs/user/guides/human-resources/employee.md b/erpnext/docs/user/guides/human-resources/employee.md
deleted file mode 100644
index 331fe47..0000000
--- a/erpnext/docs/user/guides/human-resources/employee.md
+++ /dev/null
@@ -1,9 +0,0 @@
-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="{{url_prefix}}/assets/img/human-resources/employee.png">
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/human-resources/expense-claim.md b/erpnext/docs/user/guides/human-resources/expense-claim.md
deleted file mode 100644
index 0a86f9a..0000000
--- a/erpnext/docs/user/guides/human-resources/expense-claim.md
+++ /dev/null
@@ -1,39 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/project/project_expense_claim_link.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/human-resources/holiday-list.md b/erpnext/docs/user/guides/human-resources/holiday-list.md
deleted file mode 100644
index 9676785..0000000
--- a/erpnext/docs/user/guides/human-resources/holiday-list.md
+++ /dev/null
@@ -1,59 +0,0 @@
-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
-
-![]({{url_prefix}}/assets/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
-
-![]({{url_prefix}}/assets/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/guides/human-resources/human-resources-reports.md b/erpnext/docs/user/guides/human-resources/human-resources-reports.md
deleted file mode 100644
index 20d792b..0000000
--- a/erpnext/docs/user/guides/human-resources/human-resources-reports.md
+++ /dev/null
@@ -1,34 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/human-resources/monthly-attendance-sheet-report.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/human-resources/index.txt b/erpnext/docs/user/guides/human-resources/index.txt
deleted file mode 100644
index eba8acc..0000000
--- a/erpnext/docs/user/guides/human-resources/index.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-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/guides/human-resources/introduction-to-human-resources.md b/erpnext/docs/user/guides/human-resources/introduction-to-human-resources.md
deleted file mode 100644
index 8d4da2f..0000000
--- a/erpnext/docs/user/guides/human-resources/introduction-to-human-resources.md
+++ /dev/null
@@ -1,11 +0,0 @@
-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/guides/human-resources/job-applicant.md b/erpnext/docs/user/guides/human-resources/job-applicant.md
deleted file mode 100644
index 3fafa95..0000000
--- a/erpnext/docs/user/guides/human-resources/job-applicant.md
+++ /dev/null
@@ -1,25 +0,0 @@
-You can mantain a list of People who have applied for a [Job Opening]({{url_prefix}}/user/guides/human-resources/job-opening.html).
-
-To create a new Job Applicant go to 
-
-> Human Resource > Job Applicant > New
-
-<img class="screenshot" alt="Job Applicant" src="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/human-resources/email-account.png">
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/human-resources/job-opening.md b/erpnext/docs/user/guides/human-resources/job-opening.md
deleted file mode 100644
index bfe914c..0000000
--- a/erpnext/docs/user/guides/human-resources/job-opening.md
+++ /dev/null
@@ -1,10 +0,0 @@
-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="{{url_prefix}}/assets/img/human-resources/job-opening.png">
-
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/human-resources/leave-application.md b/erpnext/docs/user/guides/human-resources/leave-application.md
deleted file mode 100644
index ecc4677..0000000
--- a/erpnext/docs/user/guides/human-resources/leave-application.md
+++ /dev/null
@@ -1,24 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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]({{url_prefix}}/user/guides/setting-up/users-and-permissions.html)
-for more info.
-
-You assign Leaves aginast an Employee check [Leave Allocation]({{url_prefix}}/user/guides/human-resources/setup/leave-allocation.html)
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/human-resources/offer-letter.md b/erpnext/docs/user/guides/human-resources/offer-letter.md
deleted file mode 100644
index 16176f1..0000000
--- a/erpnext/docs/user/guides/human-resources/offer-letter.md
+++ /dev/null
@@ -1,16 +0,0 @@
-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="{{url_prefix}}/assets/img/human-resources/offer-letter.png">
-
-> Note: An offer letter can be made only against a [Job Applicant]({{url_prefix}}/user/guides/human-resources/job-applicant.html)
-
-There is a pre-designed print format to print you offer letter.
-
-<img class="screenshot" alt="Offer Letter" src="{{url_prefix}}/assets/img/human-resources/offer-letter-print.png">
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/human-resources/salary-and-payroll.md b/erpnext/docs/user/guides/human-resources/salary-and-payroll.md
deleted file mode 100644
index 64c8f3c..0000000
--- a/erpnext/docs/user/guides/human-resources/salary-and-payroll.md
+++ /dev/null
@@ -1,116 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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/guides/human-resources/setup/branch.md b/erpnext/docs/user/guides/human-resources/setup/branch.md
deleted file mode 100644
index 9fc71d5..0000000
--- a/erpnext/docs/user/guides/human-resources/setup/branch.md
+++ /dev/null
@@ -1,5 +0,0 @@
-Branches of your organization
-
-<img class="screenshot" alt="Branch" src="{{url_prefix}}/assets/img/human-resources/branch.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/human-resources/setup/deduction-type.md b/erpnext/docs/user/guides/human-resources/setup/deduction-type.md
deleted file mode 100644
index dde17a3..0000000
--- a/erpnext/docs/user/guides/human-resources/setup/deduction-type.md
+++ /dev/null
@@ -1,10 +0,0 @@
-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="{{url_prefix}}/assets/img/human-resources/deduction-type.png">
-
-
-{next}
diff --git a/erpnext/docs/user/guides/human-resources/setup/department.md b/erpnext/docs/user/guides/human-resources/setup/department.md
deleted file mode 100644
index 8376626..0000000
--- a/erpnext/docs/user/guides/human-resources/setup/department.md
+++ /dev/null
@@ -1,5 +0,0 @@
-Departments in your organization
-
-<img class="screenshot" alt="Department" src="{{url_prefix}}/assets/img/human-resources/department.png">
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/human-resources/setup/designation.md b/erpnext/docs/user/guides/human-resources/setup/designation.md
deleted file mode 100644
index c8af106..0000000
--- a/erpnext/docs/user/guides/human-resources/setup/designation.md
+++ /dev/null
@@ -1,5 +0,0 @@
-Designations in your organization
-
-<img class="screenshot" alt="Designation" src="{{url_prefix}}/assets/img/human-resources/designation.png">
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/human-resources/setup/earning-type.md b/erpnext/docs/user/guides/human-resources/setup/earning-type.md
deleted file mode 100644
index ab97634..0000000
--- a/erpnext/docs/user/guides/human-resources/setup/earning-type.md
+++ /dev/null
@@ -1,10 +0,0 @@
-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="{{url_prefix}}/assets/img/human-resources/earning-type.png">
-
-
-{next}
diff --git a/erpnext/docs/user/guides/human-resources/setup/employment-type.md b/erpnext/docs/user/guides/human-resources/setup/employment-type.md
deleted file mode 100644
index 84b6aad..0000000
--- a/erpnext/docs/user/guides/human-resources/setup/employment-type.md
+++ /dev/null
@@ -1,5 +0,0 @@
-Various employment contracts you have with your employees.
-
-<img class="screenshot" alt="Employment Type" src="{{url_prefix}}/assets/img/human-resources/employment-type.png">
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/human-resources/setup/holiday-list.md b/erpnext/docs/user/guides/human-resources/setup/holiday-list.md
deleted file mode 100644
index ea64cdf..0000000
--- a/erpnext/docs/user/guides/human-resources/setup/holiday-list.md
+++ /dev/null
@@ -1,5 +0,0 @@
-You can specify the Holidays for a particular year using Holiday List.
-
-<img class="screenshot" alt="Holiday List" src="{{url_prefix}}/assets/img/human-resources/holiday-list.png">
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/human-resources/setup/hr-settings.md b/erpnext/docs/user/guides/human-resources/setup/hr-settings.md
deleted file mode 100644
index f349fc7..0000000
--- a/erpnext/docs/user/guides/human-resources/setup/hr-settings.md
+++ /dev/null
@@ -1,7 +0,0 @@
-# HR Settings
-
-GLobal settings for HR related documents
-
-<img class="screenshot" alt="HR Settings" src="{{url_prefix}}/assets/img/human-resources/hr-settings.png">
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/human-resources/setup/leave-allocation.md b/erpnext/docs/user/guides/human-resources/setup/leave-allocation.md
deleted file mode 100644
index 985b0c0..0000000
--- a/erpnext/docs/user/guides/human-resources/setup/leave-allocation.md
+++ /dev/null
@@ -1,7 +0,0 @@
-Helps you allocate Leaves to a particular Employee
-
-<img class="screenshot" alt="Leave Allocation" src="{{url_prefix}}/assets/img/human-resources/leave-allocation.png">
-
-To assign leaves to multiple employees use the [Leave Allocation Tool]({{url_prefix}}/user/guides/human-resources/tools/leave-allocation-tool.html)
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/human-resources/setup/leave-type.md b/erpnext/docs/user/guides/human-resources/setup/leave-type.md
deleted file mode 100644
index 78b3ab6..0000000
--- a/erpnext/docs/user/guides/human-resources/setup/leave-type.md
+++ /dev/null
@@ -1,9 +0,0 @@
-Specify the Type of Leave that can be allocated against an Employee
-
-<img class="screenshot" alt="Leave Type" src="{{url_prefix}}/assets/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/guides/human-resources/tools/leave-allocation-tool.md b/erpnext/docs/user/guides/human-resources/tools/leave-allocation-tool.md
deleted file mode 100644
index a1fa801..0000000
--- a/erpnext/docs/user/guides/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.
-
-<img class="screenshot" alt="Leave Application" src="{{url_prefix}}/assets/img/human-resources/leave-application.png">
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/human-resources/tools/upload-attendance.md b/erpnext/docs/user/guides/human-resources/tools/upload-attendance.md
deleted file mode 100644
index 5f70933..0000000
--- a/erpnext/docs/user/guides/human-resources/tools/upload-attendance.md
+++ /dev/null
@@ -1,9 +0,0 @@
-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="{{url_prefix}}/assets/img/human-resources/attendence-upload.png">
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/index.md b/erpnext/docs/user/guides/index.md
deleted file mode 100644
index 454b4a8..0000000
--- a/erpnext/docs/user/guides/index.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# User Manual
-
-{index}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/index.txt b/erpnext/docs/user/guides/index.txt
deleted file mode 100644
index e9e30ed..0000000
--- a/erpnext/docs/user/guides/index.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-introduction
-setting-up
-accounts
-stock
-CRM
-selling
-buying
-manufacturing
-projects
-support
-human-resources
-customer-portal
-website
-collaboration-tools
-customize-erpnext
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/introduction/key-workflows.md b/erpnext/docs/user/guides/introduction/key-workflows.md
deleted file mode 100644
index f83c8a6..0000000
--- a/erpnext/docs/user/guides/introduction/key-workflows.md
+++ /dev/null
@@ -1,14 +0,0 @@
-# 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.
-
-![]({{url_prefix}}/assets/old_images/erpnext/overview.png)
-
-
-[Full Resolution]({{url_prefix}}/assets/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/guides/introduction/the-champion.md b/erpnext/docs/user/guides/introduction/the-champion.md
deleted file mode 100644
index 596ff4b..0000000
--- a/erpnext/docs/user/guides/introduction/the-champion.md
+++ /dev/null
@@ -1,46 +0,0 @@
-<!-- no-heading -->
-
-<h1 class="white">The Champion</h1>
-
-<img class="cover" src="{{url_prefix}}/assets/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/guides/manufacturing/bill-of-materials.md b/erpnext/docs/user/guides/manufacturing/bill-of-materials.md
deleted file mode 100644
index 9ddf81a..0000000
--- a/erpnext/docs/user/guides/manufacturing/bill-of-materials.md
+++ /dev/null
@@ -1,41 +0,0 @@
-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="{{url_prefix}}/assets/img/manufacturing/bom.png">
-
-* To add Operations select 'With Operation'. The Operations table shall appear.
-
-<img class="screenshot" alt="Task" src="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/manufacturing/bom-costing.png">
-
-* This cost can be updated on by using the 'Update Cost' button.
-
-<img class="screenshot" alt="Update Cost" src="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/manufacturing/bom-exploded.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/manufacturing/index.txt b/erpnext/docs/user/guides/manufacturing/index.txt
deleted file mode 100644
index 1fe03a6..0000000
--- a/erpnext/docs/user/guides/manufacturing/index.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-introduction
-bill-of-materials
-production-order
-workstation
-operation
-subcontracting
-tools
-setup
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/manufacturing/introduction.md b/erpnext/docs/user/guides/manufacturing/introduction.md
deleted file mode 100644
index 2d60e67..0000000
--- a/erpnext/docs/user/guides/manufacturing/introduction.md
+++ /dev/null
@@ -1,24 +0,0 @@
-<img class="screenshot" alt="Task" src="{{url_prefix}}/assets/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/guides/manufacturing/operation.md b/erpnext/docs/user/guides/manufacturing/operation.md
deleted file mode 100644
index 6c77089..0000000
--- a/erpnext/docs/user/guides/manufacturing/operation.md
+++ /dev/null
@@ -1,11 +0,0 @@
-### 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="{{url_prefix}}/assets/img/manufacturing/operation.png">
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/manufacturing/production-order.md b/erpnext/docs/user/guides/manufacturing/production-order.md
deleted file mode 100644
index c9729be..0000000
--- a/erpnext/docs/user/guides/manufacturing/production-order.md
+++ /dev/null
@@ -1,106 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/manufacturing/PO-material-transfer.png">
-
-* Mention the quantity of materials to be transfered.
-
-<img class="screenshot" alt="Material Transfer Qty" src="{{url_prefix}}/assets/img/manufacturing/PO-material-transfer-qty.png">
-
-* Submit the Stock Entry
-
-<img class="screenshot" alt="Stock Entry for PO" src="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/manufacturing/PO-material-transfer-updated.png">
-
-### Making Time Logs
-
-* Progress in the Production Order can be tracked using [Time Log]({{url_prefix}}/user/guides/projects/time-log.html)
-* 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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/manufacturing/PO-FG-update.png">
-
-* Mention the quantity of materials to be transfered.
-
-<img class="screenshot" alt="Update Finished Goods Qty" src="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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/guides/manufacturing/setup/manufacturing-settings.md b/erpnext/docs/user/guides/manufacturing/setup/manufacturing-settings.md
deleted file mode 100644
index eb0a08c..0000000
--- a/erpnext/docs/user/guides/manufacturing/setup/manufacturing-settings.md
+++ /dev/null
@@ -1,15 +0,0 @@
-* Manufacturing Settings can be found at 
-
-> Manufacturing > Production Order > Setup > Manufacturing Settings
-
-<img class="screenshot" alt="Manufacturing Settings" src="{{url_prefix}}/assets/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/guides/manufacturing/subcontracting.md b/erpnext/docs/user/guides/manufacturing/subcontracting.md
deleted file mode 100644
index 832e8a2..0000000
--- a/erpnext/docs/user/guides/manufacturing/subcontracting.md
+++ /dev/null
@@ -1,40 +0,0 @@
-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]({{url_prefix}}/assets/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/guides/manufacturing/tools/bom-replace-tool.md b/erpnext/docs/user/guides/manufacturing/tools/bom-replace-tool.md
deleted file mode 100644
index 8722d26..0000000
--- a/erpnext/docs/user/guides/manufacturing/tools/bom-replace-tool.md
+++ /dev/null
@@ -1,44 +0,0 @@
-# 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="{{url_prefix}}/assets/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/guides/manufacturing/tools/production-planning-tool.md b/erpnext/docs/user/guides/manufacturing/tools/production-planning-tool.md
deleted file mode 100644
index b966e7a..0000000
--- a/erpnext/docs/user/guides/manufacturing/tools/production-planning-tool.md
+++ /dev/null
@@ -1,62 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/manufacturing/ppt-get-item.png">
-
-#### Step 3: Create Production Orders
-
-<img class="screenshot" alt="Production Planing Tool" src="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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/guides/manufacturing/workstation.md b/erpnext/docs/user/guides/manufacturing/workstation.md
deleted file mode 100644
index abc8933..0000000
--- a/erpnext/docs/user/guides/manufacturing/workstation.md
+++ /dev/null
@@ -1,19 +0,0 @@
-### 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="{{url_prefix}}/assets/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]({{url_prefix}}/user/guides/manufacturing/setup/manufacturing-settings.html)
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/projects/activity-cost.md b/erpnext/docs/user/guides/projects/activity-cost.md
deleted file mode 100644
index 3ad95fc..0000000
--- a/erpnext/docs/user/guides/projects/activity-cost.md
+++ /dev/null
@@ -1,4 +0,0 @@
-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="{{url_prefix}}/assets/img/project/activity_cost.png">
diff --git a/erpnext/docs/user/guides/projects/activity-type.md b/erpnext/docs/user/guides/projects/activity-type.md
deleted file mode 100644
index a598853..0000000
--- a/erpnext/docs/user/guides/projects/activity-type.md
+++ /dev/null
@@ -1,13 +0,0 @@
-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="{{url_prefix}}/assets/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/guides/projects/index.txt b/erpnext/docs/user/guides/projects/index.txt
deleted file mode 100644
index e5ef847..0000000
--- a/erpnext/docs/user/guides/projects/index.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-tasks
-project
-time-log
-time-log-batch
-activity-type
-activity-cost
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/projects/introduction-to-projects.md b/erpnext/docs/user/guides/projects/introduction-to-projects.md
deleted file mode 100644
index 85a67b9..0000000
--- a/erpnext/docs/user/guides/projects/introduction-to-projects.md
+++ /dev/null
@@ -1,10 +0,0 @@
-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/guides/projects/project.md b/erpnext/docs/user/guides/projects/project.md
deleted file mode 100644
index 9b265c0..0000000
--- a/erpnext/docs/user/guides/projects/project.md
+++ /dev/null
@@ -1,87 +0,0 @@
-Project management in ERPNext is Task driven. You can create Project and assign multiple Tasks against it.
-
-<img class="screenshot" alt="Project" src="{{url_prefix}}/assets/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]({{url_prefix}}/user/guides/projects/tasks.html)
-
-<img class="screenshot" alt="Project" src="{{url_prefix}}/assets/img/project/project_task.png">
-
-* To view Task made against a Project click on 'Tasks'
-
-<img class="screenshot" alt="Project - View Task" src="{{url_prefix}}/assets/img/project/project_view_task.png">
-
-<img class="screenshot" alt="Project - Task List" src="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/project/project_task_grid.png">
-
-### Managing time
-
-ERPNext uses [Time Log]({{url_prefix}}/user/guides/projects/time-log.html) 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="{{url_prefix}}/assets/img/project/project_view_time_log.png">
-
-<img class="screenshot" alt="Project - Time Log List" src="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/project/project_time_log_link.png">
-
-### Managing expenses
-
-You can book [Expense Claim]({{url_prefix}}/user/guides/human-resources/expense-claim.html) 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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/project/project_total_expense_claim.png">
-
-### Cost Center
-
-You can make a [Cost Center]({{url_prefix}}/user/guides/accounts/setup/cost-center.html) 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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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]({{url_prefix}}/user/guides/selling/sales-order.html) 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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/project/project_view_gantt_chart.png">
-
-<img class="screenshot" alt="Project - Gantt Chart" src="{{url_prefix}}/assets/img/project/project_gantt_chart.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/projects/tasks.md b/erpnext/docs/user/guides/projects/tasks.md
deleted file mode 100644
index 6ee97a0..0000000
--- a/erpnext/docs/user/guides/projects/tasks.md
+++ /dev/null
@@ -1,59 +0,0 @@
-Project is divided into Tasks. 
-In ERPNext, you can also create a Task independently.
-
-<img class="screenshot" alt="Task" src="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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]({{url_prefix}}/user/guides/projects/time-log.html) 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="{{url_prefix}}/assets/img/project/task_view_time_log.png">
-
-<img class="screenshot" alt="Task - Time Log List" src="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/project/task_time_log_link.png">
-
-### Managing Expenses
-
-You can book [Expense Claim]({{url_prefix}}/user/guides/human-resource-management/expense-claim.html) 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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/project/task_total_expense_claim.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/projects/time-log-batch.md b/erpnext/docs/user/guides/projects/time-log-batch.md
deleted file mode 100644
index e16383b..0000000
--- a/erpnext/docs/user/guides/projects/time-log-batch.md
+++ /dev/null
@@ -1,23 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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/guides/projects/time-log.md b/erpnext/docs/user/guides/projects/time-log.md
deleted file mode 100644
index c180208..0000000
--- a/erpnext/docs/user/guides/projects/time-log.md
+++ /dev/null
@@ -1,49 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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]({{url_prefix}}/user/guides/projects/activity-cost.html) 
-	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="{{url_prefix}}/assets/img/project/time_log_costing.png">
-
-* After submitting the Time Log, you need to create [Time Log batch]({{url_prefix}}/user/guides/projects/time-log-batch.html) to further bill the Time Log.
-
-{next}
diff --git a/erpnext/docs/user/guides/selling/drop-shipping.md b/erpnext/docs/user/guides/selling/drop-shipping.md
deleted file mode 100644
index e05fb1b..0000000
--- a/erpnext/docs/user/guides/selling/drop-shipping.md
+++ /dev/null
@@ -1,34 +0,0 @@
-**Drop shipping** is a supply chain management technique in which the retailer does not keep goods in stock. Instead they transfer customer orders and shipment details to either the manufacturer, another retailer, or a wholesaler, who then ships the goods directly to the customer
-
-In ERPNext, you can create a Drop Shipping by creating Purchase Order against Sales Order.
-
-> Selling > Documents > Sales Order > Purchase Order
-
-#### Setup on Item Master
-
-Set **_Delivered by Supplier (Drop Ship)_** and **_Default Supplier_** in Item Master.
-<img class="screenshot" alt="Setup Item Master" src="{{url_prefix}}/assets/img/selling/setup-drop-ship-on-item-master.png">
-
-#### Setup on Sales Order
-If Drop Shipping has set on Item master, it will automatically set **Supplier delivers to Customer** and **Supplier** on Salse Order Item.
-
-You can setup Drop Shipping, on Sales Order Item. Under **Drop Ship** section, set **Supplier delivers to Customer** and select **Supplier** agaist which Purchase Order will get created.
-<img class="screenshot" alt="Setup Drop Shipping on Sales Order Item" src="{{url_prefix}}/assets/img/selling/setup-drop-ship-on-sales-order-item.png">
-
-#### Create Purchase Order
-After submitting a Sales Order, create Puchase Order.<br> 
-<img class="screenshot" alt="Setup Drop Shipping on Sales Order Item" src="{{url_prefix}}/assets/img/selling/drop-ship-sales-order.png">
-
-From Sales Order, all items, having **Supplier delivers to Customer**  checked or **Supplier**(matching with supplier selected on For Supplier popup) mentioned, will get mapped onto Purchase Order. 
-
-It will automatically set Customer, Customer Address and Contact Person.
-
-After submitting Purchase Order, to update delivery status, use **Mark as Delivered** button on Purchase Order. It will update delivery percetage and delivered quantity on Sales Order.
-<img class="screenshot" alt="Purchase Order for Drop Shipping" src="{{url_prefix}}/assets/img/selling/drop-ship-purchase-order.png">
-
-<span style="color:#18B52D">**_Close_**</span>, is a new feature introduced on **Purchase Order** and **Sales Order**, to close or to mark fulfillment.
-<img class="screenshot" alt="Close Sales Order" src="{{url_prefix}}/assets/img/selling/close-sales-order.png">
-
-###Drop Shipping Print Format
-You can notify, Suppliers by sending a email after submitting Purchase Order by attaching Drop Shipping print format.
-<img class="screenshot" alt="Drop Dhip Print Format" src="{{url_prefix}}/assets/img/selling/drop-ship-print-format.png">
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/selling/index.txt b/erpnext/docs/user/guides/selling/index.txt
deleted file mode 100644
index 17dba4b..0000000
--- a/erpnext/docs/user/guides/selling/index.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-quotation
-sales-order
-drop-shipping
-setup
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/selling/quotation.md b/erpnext/docs/user/guides/selling/quotation.md
deleted file mode 100644
index 25590e0..0000000
--- a/erpnext/docs/user/guides/selling/quotation.md
+++ /dev/null
@@ -1,89 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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]({{url_prefix}}/user/guides/setting-up/price-lists.html)
-
-  * 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]({{url_prefix}}/user/guides/setting-up/setting-up-taxes.html)
-
-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/guides/selling/sales-order.md b/erpnext/docs/user/guides/selling/sales-order.md
deleted file mode 100644
index b1438eb..0000000
--- a/erpnext/docs/user/guides/selling/sales-order.md
+++ /dev/null
@@ -1,119 +0,0 @@
-# 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]({{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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/guides/selling/setup/index.txt b/erpnext/docs/user/guides/selling/setup/index.txt
deleted file mode 100644
index 245c1a9..0000000
--- a/erpnext/docs/user/guides/selling/setup/index.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-selling-settings
-sales-partner
-shipping-rule
-product-bundle
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/selling/setup/item-price.md b/erpnext/docs/user/guides/selling/setup/item-price.md
deleted file mode 100644
index a235341..0000000
--- a/erpnext/docs/user/guides/selling/setup/item-price.md
+++ /dev/null
@@ -1,43 +0,0 @@
-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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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/guides/selling/setup/product-bundle.md b/erpnext/docs/user/guides/selling/setup/product-bundle.md
deleted file mode 100644
index bb11b98..0000000
--- a/erpnext/docs/user/guides/selling/setup/product-bundle.md
+++ /dev/null
@@ -1,47 +0,0 @@
-#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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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/guides/selling/setup/sales-partner.md b/erpnext/docs/user/guides/selling/setup/sales-partner.md
deleted file mode 100644
index 8710972..0000000
--- a/erpnext/docs/user/guides/selling/setup/sales-partner.md
+++ /dev/null
@@ -1,34 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/selling/sales-partner-website.png">
-
-To see listing of partner, you should go to:
-
-https://example.erpnext.com/partners
-
-![Sales Partner Listing]({{url_prefix}}/assets/old_images/erpnext/sales-partner-listing.png)
-
-Following is the complete partners details published on the website.
-
-![Sales Partner Published]({{url_prefix}}/assets/old_images/erpnext/sales-partner-published.png)
-
-{next}
diff --git a/erpnext/docs/user/guides/selling/setup/sales-person-target-allocation.md b/erpnext/docs/user/guides/selling/setup/sales-person-target-allocation.md
deleted file mode 100644
index 812e7ac..0000000
--- a/erpnext/docs/user/guides/selling/setup/sales-person-target-allocation.md
+++ /dev/null
@@ -1,86 +0,0 @@
-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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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/guides/selling/setup/selling-settings.md b/erpnext/docs/user/guides/selling/setup/selling-settings.md
deleted file mode 100644
index 4bf6782..0000000
--- a/erpnext/docs/user/guides/selling/setup/selling-settings.md
+++ /dev/null
@@ -1,71 +0,0 @@
-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="{{url_prefix}}/assets/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/guides/selling/setup/shipping-rule.md b/erpnext/docs/user/guides/selling/setup/shipping-rule.md
deleted file mode 100644
index 7fc24f1..0000000
--- a/erpnext/docs/user/guides/selling/setup/shipping-rule.md
+++ /dev/null
@@ -1,6 +0,0 @@
-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="{{url_prefix}}/assets/img/selling/shipping-rule.png">
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/setting-up/authorization-rule.md b/erpnext/docs/user/guides/setting-up/authorization-rule.md
deleted file mode 100644
index 3afdd79..0000000
--- a/erpnext/docs/user/guides/setting-up/authorization-rule.md
+++ /dev/null
@@ -1,43 +0,0 @@
-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="{{url_prefix}}/assets/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/guides/setting-up/bar-code.md b/erpnext/docs/user/guides/setting-up/bar-code.md
deleted file mode 100644
index 0f54d97..0000000
--- a/erpnext/docs/user/guides/setting-up/bar-code.md
+++ /dev/null
@@ -1,50 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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/guides/setting-up/data/bulk-rename.md b/erpnext/docs/user/guides/setting-up/data/bulk-rename.md
deleted file mode 100644
index 2aec08b..0000000
--- a/erpnext/docs/user/guides/setting-up/data/bulk-rename.md
+++ /dev/null
@@ -1,17 +0,0 @@
-# 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="{{url_prefix}}/assets/img/setup/data/rename.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/data/data-import-tool.md b/erpnext/docs/user/guides/setting-up/data/data-import-tool.md
deleted file mode 100644
index 2a7eff1..0000000
--- a/erpnext/docs/user/guides/setting-up/data/data-import-tool.md
+++ /dev/null
@@ -1,110 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/import-3.png)
-
-Then export your template or save it as a **Comma Separated Values** (CSV)
-file.
-
-![Spreadsheet]({{url_prefix}}/assets/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="{{url_prefix}}/assets/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/guides/setting-up/email/email-account.md b/erpnext/docs/user/guides/setting-up/email/email-account.md
deleted file mode 100644
index 37ceddb..0000000
--- a/erpnext/docs/user/guides/setting-up/email/email-account.md
+++ /dev/null
@@ -1,39 +0,0 @@
-# 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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/setup/email/email-account-unreplied.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/email/email-alerts.md b/erpnext/docs/user/guides/setting-up/email/email-alerts.md
deleted file mode 100644
index 4b1dad6..0000000
--- a/erpnext/docs/user/guides/setting-up/email/email-alerts.md
+++ /dev/null
@@ -1,41 +0,0 @@
-# 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="{{url_prefix}}/assets/img/setup/email/email-alert-1.png">
-
-1. Setting the Recipients and Message
-    <img class="screenshot" alt="Set Message" src="{{url_prefix}}/assets/img/setup/email/email-alert-2.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/email/email-digest.md b/erpnext/docs/user/guides/setting-up/email/email-digest.md
deleted file mode 100644
index 390c566..0000000
--- a/erpnext/docs/user/guides/setting-up/email/email-digest.md
+++ /dev/null
@@ -1,17 +0,0 @@
-# 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="{{url_prefix}}/assets/img/setup/email/email-digest.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/email/index.txt b/erpnext/docs/user/guides/setting-up/email/index.txt
deleted file mode 100644
index 01061d0..0000000
--- a/erpnext/docs/user/guides/setting-up/email/index.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-email-account
-email-alerts
-email-digest
-sending-email
diff --git a/erpnext/docs/user/guides/setting-up/email/sending-email.md b/erpnext/docs/user/guides/setting-up/email/sending-email.md
deleted file mode 100644
index 61a76c5..0000000
--- a/erpnext/docs/user/guides/setting-up/email/sending-email.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# 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="{{url_prefix}}/assets/img/setup/email/send-email.gif">
-
-**Note:** You must have outgoing [email accounts]({{url_prefix}}/user/guides/setting-up/email/email-account.html) setup for this.
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/email/setting-up-email.md b/erpnext/docs/user/guides/setting-up/email/setting-up-email.md
deleted file mode 100644
index 0fb4658..0000000
--- a/erpnext/docs/user/guides/setting-up/email/setting-up-email.md
+++ /dev/null
@@ -1,95 +0,0 @@
-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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/email-digest.png)
-
diff --git a/erpnext/docs/user/guides/setting-up/index.txt b/erpnext/docs/user/guides/setting-up/index.txt
deleted file mode 100644
index cbd14e5..0000000
--- a/erpnext/docs/user/guides/setting-up/index.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-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/guides/setting-up/pos-setting.md b/erpnext/docs/user/guides/setting-up/pos-setting.md
deleted file mode 100644
index 8380877..0000000
--- a/erpnext/docs/user/guides/setting-up/pos-setting.md
+++ /dev/null
@@ -1,23 +0,0 @@
-# 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="{{url_prefix}}/assets/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]({{url_prefix}}/user/guides/accounts/point-of-sale-pos-invoice.html)
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/price-lists.md b/erpnext/docs/user/guides/setting-up/price-lists.md
deleted file mode 100644
index 2acd83d..0000000
--- a/erpnext/docs/user/guides/setting-up/price-lists.md
+++ /dev/null
@@ -1,21 +0,0 @@
-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="{{url_prefix}}/assets/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/guides/setting-up/print/address-template.md b/erpnext/docs/user/guides/setting-up/print/address-template.md
deleted file mode 100644
index 70682b2..0000000
--- a/erpnext/docs/user/guides/setting-up/print/address-template.md
+++ /dev/null
@@ -1,31 +0,0 @@
-# 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="{{url_prefix}}/assets/img/setup/print/address-format.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/print/letter-head.md b/erpnext/docs/user/guides/setting-up/print/letter-head.md
deleted file mode 100644
index 1e69540..0000000
--- a/erpnext/docs/user/guides/setting-up/print/letter-head.md
+++ /dev/null
@@ -1,23 +0,0 @@
-# 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="{{url_prefix}}/assets/img/setup/print/letter-head.png">
-
-This is how the letter head looks in a document print:
-
-<img class="screenshot" alt="Print Heading" src="{{url_prefix}}/assets/img/setup/print/letter-head-1.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/print/print-format-builder.md b/erpnext/docs/user/guides/setting-up/print/print-format-builder.md
deleted file mode 100644
index 3af05f5..0000000
--- a/erpnext/docs/user/guides/setting-up/print/print-format-builder.md
+++ /dev/null
@@ -1,37 +0,0 @@
-# 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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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/guides/setting-up/print/print-headings.md b/erpnext/docs/user/guides/setting-up/print/print-headings.md
deleted file mode 100644
index 4c492e0..0000000
--- a/erpnext/docs/user/guides/setting-up/print/print-headings.md
+++ /dev/null
@@ -1,17 +0,0 @@
-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="{{url_prefix}}/assets/img/setup/print/print-heading.png">
-
-Example of a change in print heading is shown below:
-
-<img class="screenshot" alt="Print Heading" src="{{url_prefix}}/assets/img/setup/print/print-heading-1.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/print/print-settings.md b/erpnext/docs/user/guides/setting-up/print/print-settings.md
deleted file mode 100644
index a4788df..0000000
--- a/erpnext/docs/user/guides/setting-up/print/print-settings.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# 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="{{url_prefix}}/assets/img/setup/print/print-settings.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/print/terms-and-conditions.md b/erpnext/docs/user/guides/setting-up/print/terms-and-conditions.md
deleted file mode 100644
index 383ca48..0000000
--- a/erpnext/docs/user/guides/setting-up/print/terms-and-conditions.md
+++ /dev/null
@@ -1,25 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/setup/print/terms-3.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/setting-up-taxes.md b/erpnext/docs/user/guides/setting-up/setting-up-taxes.md
deleted file mode 100644
index 0c42819..0000000
--- a/erpnext/docs/user/guides/setting-up/setting-up-taxes.md
+++ /dev/null
@@ -1,99 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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/guides/setting-up/settings/global-defaults.md b/erpnext/docs/user/guides/setting-up/settings/global-defaults.md
deleted file mode 100644
index fd3868c..0000000
--- a/erpnext/docs/user/guides/setting-up/settings/global-defaults.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# 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="{{url_prefix}}/assets/img/setup/settings/global-defaults.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/settings/module-settings.md b/erpnext/docs/user/guides/setting-up/settings/module-settings.md
deleted file mode 100644
index db54494..0000000
--- a/erpnext/docs/user/guides/setting-up/settings/module-settings.md
+++ /dev/null
@@ -1,15 +0,0 @@
-# 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="{{url_prefix}}/assets/img/setup/settings/show-hide-modules.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/settings/naming-series.md b/erpnext/docs/user/guides/setting-up/settings/naming-series.md
deleted file mode 100644
index 4c3f2c1..0000000
--- a/erpnext/docs/user/guides/setting-up/settings/naming-series.md
+++ /dev/null
@@ -1,48 +0,0 @@
-# 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="{{url_prefix}}/assets/img/setup/settings/naming-series.gif">
-
-{next}
-
diff --git a/erpnext/docs/user/guides/setting-up/settings/system-settings.md b/erpnext/docs/user/guides/setting-up/settings/system-settings.md
deleted file mode 100644
index a529171..0000000
--- a/erpnext/docs/user/guides/setting-up/settings/system-settings.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# 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="{{url_prefix}}/assets/img/setup/settings/system-settings.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/setup-wizard/step-1-language.md b/erpnext/docs/user/guides/setting-up/setup-wizard/step-1-language.md
deleted file mode 100644
index 4e2ffe8..0000000
--- a/erpnext/docs/user/guides/setting-up/setup-wizard/step-1-language.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# Step 1: Language
-
-Select your language. ERPNext is available in more than 20 languages.
-
-<img alt="Language" class="screenshot" src="{{url_prefix}}/assets/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/guides/setting-up/setup-wizard/step-10-item.md b/erpnext/docs/user/guides/setting-up/setup-wizard/step-10-item.md
deleted file mode 100644
index 61e3c49..0000000
--- a/erpnext/docs/user/guides/setting-up/setup-wizard/step-10-item.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# 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="{{url_prefix}}/assets/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/guides/setting-up/setup-wizard/step-2-currency-and-timezone.md b/erpnext/docs/user/guides/setting-up/setup-wizard/step-2-currency-and-timezone.md
deleted file mode 100644
index 17a3821..0000000
--- a/erpnext/docs/user/guides/setting-up/setup-wizard/step-2-currency-and-timezone.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# Step 2: Currency and Timezone
-
-Set your country name, currency and timezone.
-
-<img alt="Currency" class="screenshot" src="{{url_prefix}}/assets/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/guides/setting-up/setup-wizard/step-3-user-details.md b/erpnext/docs/user/guides/setting-up/setup-wizard/step-3-user-details.md
deleted file mode 100644
index 9b20dd0..0000000
--- a/erpnext/docs/user/guides/setting-up/setup-wizard/step-3-user-details.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# Step 3: User Details
-
-Enter Users Profile Details like Name, User ID and preferred password.
-
-<img alt="User" class="screenshot"
-src="{{url_prefix}}/assets/img/setup-wizard/step-3.png">
-
----
-
-Note: Add your own photograph, not your company's
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/setup-wizard/step-4-company-details.md b/erpnext/docs/user/guides/setting-up/setup-wizard/step-4-company-details.md
deleted file mode 100644
index cb5947b..0000000
--- a/erpnext/docs/user/guides/setting-up/setup-wizard/step-4-company-details.md
+++ /dev/null
@@ -1,22 +0,0 @@
-# Step 4: Company Details
-
-Enter Company Details like Name, Abbreviation and Financial Year Details.
-
-<img alt="Company Details" class="screenshot"
-src="{{url_prefix}}/assets/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/guides/setting-up/setup-wizard/step-5-letterhead-and-logo.md b/erpnext/docs/user/guides/setting-up/setup-wizard/step-5-letterhead-and-logo.md
deleted file mode 100644
index ad91d24..0000000
--- a/erpnext/docs/user/guides/setting-up/setup-wizard/step-5-letterhead-and-logo.md
+++ /dev/null
@@ -1,24 +0,0 @@
-# Step 5: Letterhead and Logo
-
-Attach Company Letterhead and Company Logo.
-
-<img alt="Company Logo and Letterhead" class="screenshot"
-src="{{url_prefix}}/assets/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]({{url_prefix}}/user/guides/setting-up/print/letter-head.html)
-
-#### 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/guides/setting-up/setup-wizard/step-6-add-users.md b/erpnext/docs/user/guides/setting-up/setup-wizard/step-6-add-users.md
deleted file mode 100644
index 06cc778..0000000
--- a/erpnext/docs/user/guides/setting-up/setup-wizard/step-6-add-users.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# Step 6: Add Users
-
-Add other users and assign them roles based on their job responsibilities.
-
-<img alt="Users" class="screenshot"
-src="{{url_prefix}}/assets/img/setup-wizard/step-6.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/setup-wizard/step-7-tax-details.md b/erpnext/docs/user/guides/setting-up/setup-wizard/step-7-tax-details.md
deleted file mode 100644
index 0214867..0000000
--- a/erpnext/docs/user/guides/setting-up/setup-wizard/step-7-tax-details.md
+++ /dev/null
@@ -1,22 +0,0 @@
-# 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="{{url_prefix}}/assets/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]({{url_prefix}}/user/guides/setting-up/setting-up-taxes.html)
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/setup-wizard/step-8-customer-names.md b/erpnext/docs/user/guides/setting-up/setup-wizard/step-8-customer-names.md
deleted file mode 100644
index 04ac27c..0000000
--- a/erpnext/docs/user/guides/setting-up/setup-wizard/step-8-customer-names.md
+++ /dev/null
@@ -1,23 +0,0 @@
-# Step 7: Customers
-
-Enter your Customer names and the contact person from that organisation.
-
-
-<img alt="Customers" class="screenshot"
-src="{{url_prefix}}/assets/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]({{url_prefix}}/user/guides/CRM/customer.html)
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/setup-wizard/step-9-suppliers.md b/erpnext/docs/user/guides/setting-up/setup-wizard/step-9-suppliers.md
deleted file mode 100644
index 48bca94..0000000
--- a/erpnext/docs/user/guides/setting-up/setup-wizard/step-9-suppliers.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# Step 8: Suppliers
-
-Enter a few of your Suppliers' names.
-
-<img alt="Suppliers" class="screenshot"
-src="{{url_prefix}}/assets/img/setup-wizard/step-9.png">
-
----
-
-To understand Suppliers in detail visit [Supplier Master]({{url_prefix}}/user/guides/buying/supplier-master.html)
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/sms-setting.md b/erpnext/docs/user/guides/setting-up/sms-setting.md
deleted file mode 100644
index f2e21aa..0000000
--- a/erpnext/docs/user/guides/setting-up/sms-setting.md
+++ /dev/null
@@ -1,40 +0,0 @@
-# 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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/sms-settings1.png)
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/stock-reconciliation-for-non-serialized-item.md b/erpnext/docs/user/guides/setting-up/stock-reconciliation-for-non-serialized-item.md
deleted file mode 100644
index 955c83d..0000000
--- a/erpnext/docs/user/guides/setting-up/stock-reconciliation-for-non-serialized-item.md
+++ /dev/null
@@ -1,154 +0,0 @@
-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="{{url_prefix}}/assets/img/setup/stock-recon-1.png">
-
-#### Step 2: Enter Data in csv file.
-
-![Stock Reco Data]({{url_prefix}}/assets/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.
-
-#### **Step 3: Upload file and Enter Values in Stock Reconciliation Form
-
-<img class="screenshot" alt="Stock Reconciliation" src="{{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/stock-reco-upload.png)
-
-### Stock Ledger Report
-
-![Stock Reco Ledger]({{url_prefix}}/assets/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/guides/setting-up/territory.md b/erpnext/docs/user/guides/setting-up/territory.md
deleted file mode 100644
index 89f1d14..0000000
--- a/erpnext/docs/user/guides/setting-up/territory.md
+++ /dev/null
@@ -1,10 +0,0 @@
-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="{{url_prefix}}/assets/img/crm/territory-tree.png">
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/setting-up/third-party-backups.md b/erpnext/docs/user/guides/setting-up/third-party-backups.md
deleted file mode 100644
index a65c533..0000000
--- a/erpnext/docs/user/guides/setting-up/third-party-backups.md
+++ /dev/null
@@ -1,54 +0,0 @@
-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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/backup-manager.png)
-
-You need to login to your dropbox account, with your user id and password.
-
-![Dropbox Access]({{url_prefix}}/assets/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/guides/setting-up/users-and-permissions/adding-users.md b/erpnext/docs/user/guides/setting-up/users-and-permissions/adding-users.md
deleted file mode 100644
index b7f9101..0000000
--- a/erpnext/docs/user/guides/setting-up/users-and-permissions/adding-users.md
+++ /dev/null
@@ -1,48 +0,0 @@
-# Adding Users
-
-Users can be added by the System Manager. If you are a System Manager, you can add Users via
-
-There are two main classes of users: Web Users and System Users. System Users are people using ERPNext in the company. Web users are customers or suppliers (or portal users).
-  
-Under User a lot of info can be entered. For the sake of usability the information entered for webs users is minimal: First Name and email.
-Important is to realize that the email address is the unique key (ID) identifying the Users.
-
-> Setup > User
-
-### 1. List of Users
-
-<img class="screenshot" src="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/setup/users/user-4.png" alt="User Security">
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/users-and-permissions/role-based-permissions.md b/erpnext/docs/user/guides/setting-up/users-and-permissions/role-based-permissions.md
deleted file mode 100644
index 8714488..0000000
--- a/erpnext/docs/user/guides/setting-up/users-and-permissions/role-based-permissions.md
+++ /dev/null
@@ -1,74 +0,0 @@
-# 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="{{url_prefix}}/assets/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]({{url_prefix}}/user/guides/setting-up/users-and-permissions/user-permissions.html)
-
----
-
-**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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/users-and-permissions/setting-up-permissions-hr-user-role.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/users-and-permissions/sharing.md b/erpnext/docs/user/guides/setting-up/users-and-permissions/sharing.md
deleted file mode 100644
index 471efc1..0000000
--- a/erpnext/docs/user/guides/setting-up/users-and-permissions/sharing.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# 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="{{url_prefix}}/assets/img/setup/users/share.gif">
-
-{next}
diff --git a/erpnext/docs/user/guides/setting-up/users-and-permissions/user-permissions.md b/erpnext/docs/user/guides/setting-up/users-and-permissions/user-permissions.md
deleted file mode 100644
index 2e2220a..0000000
--- a/erpnext/docs/user/guides/setting-up/users-and-permissions/user-permissions.md
+++ /dev/null
@@ -1,72 +0,0 @@
-# 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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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/guides/setting-up/workflows.md b/erpnext/docs/user/guides/setting-up/workflows.md
deleted file mode 100644
index 2608097..0000000
--- a/erpnext/docs/user/guides/setting-up/workflows.md
+++ /dev/null
@@ -1,66 +0,0 @@
-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]({{url_prefix}}/assets/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="{{url_prefix}}/assets/img/setup/workflow-1.png">
-
-#### Step 2: Enter Transition Rules.
-
-<img class="screenshot" alt="Workflow" src="{{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/workflow-leave-approver-la.png)
-
-{next}
diff --git a/erpnext/docs/user/guides/stock/accounting-of-inventory-stock/index.md b/erpnext/docs/user/guides/stock/accounting-of-inventory-stock/index.md
deleted file mode 100644
index 4907186..0000000
--- a/erpnext/docs/user/guides/stock/accounting-of-inventory-stock/index.md
+++ /dev/null
@@ -1,69 +0,0 @@
-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]({{url_prefix}}/user/guides/stock/accounting-of-inventory-stock/perpetual-inventory.html)
-
-#### **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]({{url_prefix}}/user/guides/stock/accounting-of-inventory-stock/migrate-to-perpetual-inventory.html).
-
-{next}
diff --git a/erpnext/docs/user/guides/stock/accounting-of-inventory-stock/migrate-to-perpetual-inventory.md b/erpnext/docs/user/guides/stock/accounting-of-inventory-stock/migrate-to-perpetual-inventory.md
deleted file mode 100644
index c3d10ed..0000000
--- a/erpnext/docs/user/guides/stock/accounting-of-inventory-stock/migrate-to-perpetual-inventory.md
+++ /dev/null
@@ -1,38 +0,0 @@
-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]({{url_prefix}}/assets/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/guides/stock/accounting-of-inventory-stock/perpetual-inventory.md b/erpnext/docs/user/guides/stock/accounting-of-inventory-stock/perpetual-inventory.md
deleted file mode 100644
index ee62942..0000000
--- a/erpnext/docs/user/guides/stock/accounting-of-inventory-stock/perpetual-inventory.md
+++ /dev/null
@@ -1,371 +0,0 @@
-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]({{url_prefix}}/assets/old_images/erpnext/accounting-for-stock-2.png)
-
-**General Ledger**
-
-![pr<em>general</em>ledger]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/accounting-for-stock-5.png)
-
-**General Ledger**
-
-![dn<em>general</em>ledger]({{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/accounting-for-stock-7.png)
-
-**General Ledger**
-
-![si<em>general</em>ledger]({{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/accounting-for-stock-9.png)
-
-**General Ledger**
-
-![mr<em>stock</em>ledger]({{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/accounting-for-stock-11.png)
-
-**General Ledger**
-
-![mi<em>stock</em>ledger]({{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/accounting-for-stock-13.png)
-
-**General Ledger**
-
-![mtn<em>general</em>ledger]({{url_prefix}}/assets/old_images/erpnext/accounting-for-stock-14.png)
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/stock/batch.md b/erpnext/docs/user/guides/stock/batch.md
deleted file mode 100644
index 4cb7f06..0000000
--- a/erpnext/docs/user/guides/stock/batch.md
+++ /dev/null
@@ -1,25 +0,0 @@
-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="{{url_prefix}}/assets/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/guides/stock/delivery-note.md b/erpnext/docs/user/guides/stock/delivery-note.md
deleted file mode 100644
index 1cdf41f..0000000
--- a/erpnext/docs/user/guides/stock/delivery-note.md
+++ /dev/null
@@ -1,56 +0,0 @@
-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="{{url_prefix}}/assets/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]({{url_prefix}}/user/guides/selling/setup/sales-bom.html), 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/guides/stock/index.txt b/erpnext/docs/user/guides/stock/index.txt
deleted file mode 100644
index 75e9cbf..0000000
--- a/erpnext/docs/user/guides/stock/index.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-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/guides/stock/installation-note.md b/erpnext/docs/user/guides/stock/installation-note.md
deleted file mode 100644
index c4e3bc0..0000000
--- a/erpnext/docs/user/guides/stock/installation-note.md
+++ /dev/null
@@ -1,5 +0,0 @@
-You can use installation note to record the instalation of a product having a serial number.
-
-<img class="screenshot" alt="Installation Note" src="{{url_prefix}}/assets/img/stock/installation-note.png">
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/stock/item-price.md b/erpnext/docs/user/guides/stock/item-price.md
deleted file mode 100644
index a235341..0000000
--- a/erpnext/docs/user/guides/stock/item-price.md
+++ /dev/null
@@ -1,43 +0,0 @@
-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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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/guides/stock/item-valuation-fifo-and-moving-average.md b/erpnext/docs/user/guides/stock/item-valuation-fifo-and-moving-average.md
deleted file mode 100644
index 3cabe35..0000000
--- a/erpnext/docs/user/guides/stock/item-valuation-fifo-and-moving-average.md
+++ /dev/null
@@ -1,28 +0,0 @@
-### 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]({{url_prefix}}/assets/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/guides/stock/item/index.md b/erpnext/docs/user/guides/stock/item/index.md
deleted file mode 100644
index 89ec5e5..0000000
--- a/erpnext/docs/user/guides/stock/item/index.md
+++ /dev/null
@@ -1,91 +0,0 @@
-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]({{url_prefix}}/user/guides/stock/item/item-codification.html)
-  * **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]({{url_prefix}}/user/guides/stock/setup/item-group.html)
-  * **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]({{url_prefix}}/user/guides/stock/item/item-variants.html)
-  
-### 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]({{url_prefix}}/user/guides/setting-up/stock-reconciliation-for-non-serialized-item.html)  
-
-### 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]({{url_prefix}}/user/guides/setting-up/setting-up-taxes.html) 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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/item-manufacturing-website.png)
-
-Visit [Manufacturing]({{url_prefix}}/user/guides/manufacturing.html) and [Website ]({{url_prefix}}/user/guides/website.html)to understand these topics in detail.
-
-{next}
diff --git a/erpnext/docs/user/guides/stock/item/index.txt b/erpnext/docs/user/guides/stock/item/index.txt
deleted file mode 100644
index deaa805..0000000
--- a/erpnext/docs/user/guides/stock/item/index.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-item-codification
-item-variants
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/stock/item/item-variants.md b/erpnext/docs/user/guides/stock/item/item-variants.md
deleted file mode 100644
index 256a37e..0000000
--- a/erpnext/docs/user/guides/stock/item/item-variants.md
+++ /dev/null
@@ -1,24 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/stock/make-variant.png">
-
-<img class="screenshot" alt="Make Variants" src="{{url_prefix}}/assets/img/stock/make-variant-1.png">
-
-To learn more about setting Attributes Master check [Item Attributes]({{url_prefix}}/user/guides/stock/setup/item-attribute.html)
diff --git a/erpnext/docs/user/guides/stock/item/purchase-details.md b/erpnext/docs/user/guides/stock/item/purchase-details.md
deleted file mode 100644
index 47f724c..0000000
--- a/erpnext/docs/user/guides/stock/item/purchase-details.md
+++ /dev/null
@@ -1,22 +0,0 @@
-# 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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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/guides/stock/item/reorder.md b/erpnext/docs/user/guides/stock/item/reorder.md
deleted file mode 100644
index 34a079f..0000000
--- a/erpnext/docs/user/guides/stock/item/reorder.md
+++ /dev/null
@@ -1,26 +0,0 @@
-# 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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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/guides/stock/material-request.md b/erpnext/docs/user/guides/stock/material-request.md
deleted file mode 100644
index 69ce0ea..0000000
--- a/erpnext/docs/user/guides/stock/material-request.md
+++ /dev/null
@@ -1,30 +0,0 @@
-A Material Request is a simple document identifying a requirement of a set of
-Items (products or services) for a particular reason.
-
-![Workflow]({{url_prefix}}/assets/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="{{url_prefix}}/assets/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]({{url_prefix}}/user/guides/stock/projected-quantity.html) 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/guides/stock/opening-stock.md b/erpnext/docs/user/guides/stock/opening-stock.md
deleted file mode 100644
index ef285d2..0000000
--- a/erpnext/docs/user/guides/stock/opening-stock.md
+++ /dev/null
@@ -1,15 +0,0 @@
-# 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]({{url_prefix}}/user/guides/setting-up/stock-reconciliation-for-non-serialized-item.html)
-
-{next}
diff --git a/erpnext/docs/user/guides/stock/projected-quantity.md b/erpnext/docs/user/guides/stock/projected-quantity.md
deleted file mode 100644
index 796d427..0000000
--- a/erpnext/docs/user/guides/stock/projected-quantity.md
+++ /dev/null
@@ -1,26 +0,0 @@
-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]({{url_prefix}}/assets/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/guides/stock/purchase-receipt.md b/erpnext/docs/user/guides/stock/purchase-receipt.md
deleted file mode 100644
index 68f29d4..0000000
--- a/erpnext/docs/user/guides/stock/purchase-receipt.md
+++ /dev/null
@@ -1,78 +0,0 @@
-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="{{url_prefix}}/assets/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/guides/stock/purchase-return.md b/erpnext/docs/user/guides/stock/purchase-return.md
deleted file mode 100644
index 5a924a2..0000000
--- a/erpnext/docs/user/guides/stock/purchase-return.md
+++ /dev/null
@@ -1,21 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/stock/purchase-return-general-ledger.png">
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/stock/sales-return.md b/erpnext/docs/user/guides/stock/sales-return.md
deleted file mode 100644
index 15b8b11..0000000
--- a/erpnext/docs/user/guides/stock/sales-return.md
+++ /dev/null
@@ -1,27 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/stock/sales-return-general-ledger.png">
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/stock/serial-no.md b/erpnext/docs/user/guides/stock/serial-no.md
deleted file mode 100644
index 678bd4d..0000000
--- a/erpnext/docs/user/guides/stock/serial-no.md
+++ /dev/null
@@ -1,33 +0,0 @@
-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="{{url_prefix}}/assets/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/guides/stock/setup/item-attribute.md b/erpnext/docs/user/guides/stock/setup/item-attribute.md
deleted file mode 100644
index a39c9ee..0000000
--- a/erpnext/docs/user/guides/stock/setup/item-attribute.md
+++ /dev/null
@@ -1,16 +0,0 @@
-You can define Attributes and attribute values for your Item Variants here.
-
-<img class="screenshot" alt="Attribute Master" src="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/stock/item-attribute-numeric.png">
diff --git a/erpnext/docs/user/guides/stock/setup/item-group.md b/erpnext/docs/user/guides/stock/setup/item-group.md
deleted file mode 100644
index 1d2343d..0000000
--- a/erpnext/docs/user/guides/stock/setup/item-group.md
+++ /dev/null
@@ -1,26 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/stock/item-group-del.gif">
-
-{next}
diff --git a/erpnext/docs/user/guides/stock/setup/stock-settings.md b/erpnext/docs/user/guides/stock/setup/stock-settings.md
deleted file mode 100644
index 409037a..0000000
--- a/erpnext/docs/user/guides/stock/setup/stock-settings.md
+++ /dev/null
@@ -1,5 +0,0 @@
-You can set default settings for your stock related transactions here.
-
-<img class="screenshot" alt="Stock Settings" src="{{url_prefix}}/assets/img/stock/stock-settings.png">
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/stock/stock-entry.md b/erpnext/docs/user/guides/stock/stock-entry.md
deleted file mode 100644
index ab8bf12..0000000
--- a/erpnext/docs/user/guides/stock/stock-entry.md
+++ /dev/null
@@ -1,43 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/stock/additional-costs-general-ledger.png">
-
-
-> **Note:** To update Stock from a spreadsheet, see Stock Reconciliation.
-
-{next}
diff --git a/erpnext/docs/user/guides/stock/tools/landed-cost-voucher.md b/erpnext/docs/user/guides/stock/tools/landed-cost-voucher.md
deleted file mode 100644
index aa146b4..0000000
--- a/erpnext/docs/user/guides/stock/tools/landed-cost-voucher.md
+++ /dev/null
@@ -1,33 +0,0 @@
-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="{{url_prefix}}/assets/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/guides/stock/tools/packing-slip.md b/erpnext/docs/user/guides/stock/tools/packing-slip.md
deleted file mode 100644
index 2c133bd..0000000
--- a/erpnext/docs/user/guides/stock/tools/packing-slip.md
+++ /dev/null
@@ -1,7 +0,0 @@
-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="{{url_prefix}}/assets/img/stock/packing-slip.png">
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/stock/tools/quality-inspection.md b/erpnext/docs/user/guides/stock/tools/quality-inspection.md
deleted file mode 100644
index 175fa23..0000000
--- a/erpnext/docs/user/guides/stock/tools/quality-inspection.md
+++ /dev/null
@@ -1,8 +0,0 @@
-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="{{url_prefix}}/assets/img/stock/quality-inspection.png">
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/stock/warehouse.md b/erpnext/docs/user/guides/stock/warehouse.md
deleted file mode 100644
index 60dd30c..0000000
--- a/erpnext/docs/user/guides/stock/warehouse.md
+++ /dev/null
@@ -1,38 +0,0 @@
-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="{{url_prefix}}/assets/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/guides/support/issue.md b/erpnext/docs/user/guides/support/issue.md
deleted file mode 100644
index 984a00b..0000000
--- a/erpnext/docs/user/guides/support/issue.md
+++ /dev/null
@@ -1,47 +0,0 @@
-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="{{url_prefix}}/assets/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/guides/support/maintenance-schedule.md b/erpnext/docs/user/guides/support/maintenance-schedule.md
deleted file mode 100644
index 1ae3a30..0000000
--- a/erpnext/docs/user/guides/support/maintenance-schedule.md
+++ /dev/null
@@ -1,31 +0,0 @@
-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="{{url_prefix}}/assets/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/guides/support/maintenance-visit.md b/erpnext/docs/user/guides/support/maintenance-visit.md
deleted file mode 100644
index 4f2bdbf..0000000
--- a/erpnext/docs/user/guides/support/maintenance-visit.md
+++ /dev/null
@@ -1,17 +0,0 @@
-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="{{url_prefix}}/assets/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/guides/support/warranty-claim.md b/erpnext/docs/user/guides/support/warranty-claim.md
deleted file mode 100644
index a9d1b8b..0000000
--- a/erpnext/docs/user/guides/support/warranty-claim.md
+++ /dev/null
@@ -1,23 +0,0 @@
-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]({{url_prefix}}/assets/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/guides/website/add-products-to-website.md b/erpnext/docs/user/guides/website/add-products-to-website.md
deleted file mode 100644
index 55b7900..0000000
--- a/erpnext/docs/user/guides/website/add-products-to-website.md
+++ /dev/null
@@ -1,69 +0,0 @@
-### 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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/item-webimage-1.png)
-
-  
-
-##### Step 3: Enter Website Details
-
-![Webimage]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/itemgroup-website-settings.png)
-
-  
-
-#### Webpage labels
-
-![Webpage]({{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/itemgroup-websettings.png)
-
-  
-
-Item Group Display
-
-![Item Group Display]({{url_prefix}}/assets/old_images/erpnext/webpage-itemgroup-display.png)
-
-{next}
diff --git a/erpnext/docs/user/guides/website/blog-post.md b/erpnext/docs/user/guides/website/blog-post.md
deleted file mode 100644
index e0b8862..0000000
--- a/erpnext/docs/user/guides/website/blog-post.md
+++ /dev/null
@@ -1,20 +0,0 @@
-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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/website/blog-sample.png">
-
-{next}
diff --git a/erpnext/docs/user/guides/website/blogger.md b/erpnext/docs/user/guides/website/blogger.md
deleted file mode 100644
index c548817..0000000
--- a/erpnext/docs/user/guides/website/blogger.md
+++ /dev/null
@@ -1,6 +0,0 @@
-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="{{url_prefix}}/assets/img/website/blogger.png">
-
-{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/website/index.txt b/erpnext/docs/user/guides/website/index.txt
deleted file mode 100644
index cf794db..0000000
--- a/erpnext/docs/user/guides/website/index.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-web-page
-blog-post
-web-form
-blogger
-setup
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/website/introduction-to-website.md b/erpnext/docs/user/guides/website/introduction-to-website.md
deleted file mode 100644
index 82f95cb..0000000
--- a/erpnext/docs/user/guides/website/introduction-to-website.md
+++ /dev/null
@@ -1,27 +0,0 @@
-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/guides/website/product-listing-on-website.md b/erpnext/docs/user/guides/website/product-listing-on-website.md
deleted file mode 100644
index 0acc8fa..0000000
--- a/erpnext/docs/user/guides/website/product-listing-on-website.md
+++ /dev/null
@@ -1,68 +0,0 @@
-### 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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/item-webimage-1.png)
-
-  
-
-##### Step 3: Enter Website Details
-
-![Webimage]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/itemgroup-website-settings.png)
-
-  
-
-#### Webpage labels
-
-![Webpage]({{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/itemgroup-websettings.png)
-
-  
-
-Item Group Display
-
-![Item Group Display]({{url_prefix}}/assets/old_images/erpnext/webpage-itemgroup-display.png)
-
diff --git a/erpnext/docs/user/guides/website/setup/website-settings.md b/erpnext/docs/user/guides/website/setup/website-settings.md
deleted file mode 100644
index 95d705a..0000000
--- a/erpnext/docs/user/guides/website/setup/website-settings.md
+++ /dev/null
@@ -1,45 +0,0 @@
-Most of the website related settings can be defined here.
-
-<img class="screenshot" alt="Website Settings" src="{{url_prefix}}/assets/img/website/website-settings.png">
-
-####Landing Page
-
-* Home Page: You can specify which [Web Page]({{url_prefix}}/user/guides/website/web-page.html) 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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/website/banner.png">
-
-####Top Bar
-
-You can set the menus items in the Top Bar here.
-
-<img class="screenshot" alt="Top Bar" src="{{url_prefix}}/assets/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="{{url_prefix}}/assets/img/website/integrations.png">
-
-* You can disable public signup to your ERPNext account by checking 'disable signup'
-
-{next}
-
diff --git a/erpnext/docs/user/guides/website/shopping-cart.md b/erpnext/docs/user/guides/website/shopping-cart.md
deleted file mode 100644
index 0c27f4b..0000000
--- a/erpnext/docs/user/guides/website/shopping-cart.md
+++ /dev/null
@@ -1,41 +0,0 @@
-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]({{url_prefix}}/assets/old_images/erpnext/shopping-cart-1.png)
-
-  
-
-#### Step 2: Enter Price List, Tax Master and Shipping Rule.
-
-![Shopping Cart]({{url_prefix}}/assets/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]({{url_prefix}}/assets/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]({{url_prefix}}/assets/old_images/erpnext/shopping-cart-display-amount.png)
-
-{next}
diff --git a/erpnext/docs/user/guides/website/styling-the-website.md b/erpnext/docs/user/guides/website/styling-the-website.md
deleted file mode 100644
index 60af9bc..0000000
--- a/erpnext/docs/user/guides/website/styling-the-website.md
+++ /dev/null
@@ -1,23 +0,0 @@
-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/guides/website/web-form.md b/erpnext/docs/user/guides/website/web-form.md
deleted file mode 100644
index 9fa8a1b..0000000
--- a/erpnext/docs/user/guides/website/web-form.md
+++ /dev/null
@@ -1,36 +0,0 @@
-# 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="{{url_prefix}}/assets/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="{{url_prefix}}/assets/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/guides/website/web-page.md b/erpnext/docs/user/guides/website/web-page.md
deleted file mode 100644
index 2a4c616..0000000
--- a/erpnext/docs/user/guides/website/web-page.md
+++ /dev/null
@@ -1,32 +0,0 @@
-<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="{{url_prefix}}/assets/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/docs/user/manual/en/CRM/contact.md b/erpnext/docs/user/manual/en/CRM/contact.md
new file mode 100644
index 0000000..83757e0
--- /dev/null
+++ b/erpnext/docs/user/manual/en/CRM/contact.md
@@ -0,0 +1,47 @@
+# Contact and Address
+
+Contacts are not necessarily linked to another document. They can be stand alone, just a Contact with a First Name not linked to any other document or 
+Contacts can be linked to a Party, that is either a Customer or a Supplier.
+
+The Contact_ID is automatically created:
+
+1. If only a First Name is entered that First Name defines the ID , thus First name (only)
+2. If a First Name and a Party is linked the ID becomes “FirstName-Party”
+ 
+Contacts can, but do not have to be linked, to:  User, Customer, Supplier, and Sales Partner. Since Customers and Addresses are not directly linked to a User, all links go via Contacts.
+
+A Contact can be linked to the (web) user. If that user is also a Customer, it is linked to the Customer by the Customer ID
+
+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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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.
+
+---
+
+### Address Titles
+
+The Address Title (Name of person or organization that this address belongs to) is a free format unlinked field. The ID is automatically created from the Address Title upper score Address Type. (AdressTitle-AddressType).
+
+### Address Linking
+
+Addresses can be entered individually (unlinked)  or linked to customers, leads, suppliers or Sales Partners. 
+
+Linking is done in the reference section where the links can be established.
+
+(Contributed by Robert Becht)
diff --git a/erpnext/docs/user/manual/en/CRM/customer.md b/erpnext/docs/user/manual/en/CRM/customer.md
new file mode 100644
index 0000000..b317336
--- /dev/null
+++ b/erpnext/docs/user/manual/en/CRM/customer.md
@@ -0,0 +1,72 @@
+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.
+
+A customer is uniquely identified by the Customer ID. Normally this ID is identical to the customer Full Name, but in case of duplicate Full Name, a Name-1 is created as ID.
+
+You can either directly create your Customers via
+
+> Selling > Customer
+
+or upload it via the Data Import Tool.
+
+<img class="screenshot" alt="Customer" src="{{docs_base_url}}/assets/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]({{docs_base_url}}/user/guides/crm/contact.html) to know more.
+
+Thus we may have identical Customer Names that are uniquely identified by the ID. Since the email address is not part of the customer information the linking of customer and User is through [Contacts]({{docs_base_url}}/user/guides/crm/contact.html)
+
+### 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]({{docs_base_url}}/user/guides/crm/setup/customer-group.html) 
+and also divide them into [Territories]({{docs_base_url}}/user/guides/crm/setup/territory.html)
+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]({{docs_base_url}}/user/guides/crm/setup/sales-person.html) 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/guides/CRM/index.md b/erpnext/docs/user/manual/en/CRM/index.md
similarity index 100%
rename from erpnext/docs/user/guides/CRM/index.md
rename to erpnext/docs/user/manual/en/CRM/index.md
diff --git a/erpnext/docs/user/guides/CRM/index.txt b/erpnext/docs/user/manual/en/CRM/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/CRM/index.txt
rename to erpnext/docs/user/manual/en/CRM/index.txt
diff --git a/erpnext/docs/user/manual/en/CRM/lead.md b/erpnext/docs/user/manual/en/CRM/lead.md
new file mode 100644
index 0000000..8bcbc05
--- /dev/null
+++ b/erpnext/docs/user/manual/en/CRM/lead.md
@@ -0,0 +1,60 @@
+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.
+
+---
+
+Leads are the  entities constituting a first contact. Leads can be created by a system users or by a web-user. When a lead is created minimal info (name,email) is entered and the lead is (default) linked to the active system user, the owner of the lead  A user configurable drop list is used to classify Status of the lead (Open, Replied etc)
+
+To create a Lead, go to:
+
+> Selling > Lead > New Lead
+
+<img class="screenshot" alt="Lead" src="{{docs_base_url}}/assets/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.
+
+---
+
+### Creation via Portal
+
+If a someone creates an account through the website interface is Lead is automatically created, status is Open and the Owner is the webuser.
+
+After registration the webform Addresses is called, where the web user can enter address information.The address is linked to the lead using the **Lead Name-Address Type** as ID.
+
+If using the Cart functionality, items are ordered the Lead is Converted and a Customer is created using the Web-User Name. Because a Customer can only be linked to a webuser using the (foreign) ID in Contact, such contact has to be created as well.
+
+{next}
diff --git a/erpnext/docs/user/manual/en/CRM/newsletter.md b/erpnext/docs/user/manual/en/CRM/newsletter.md
new file mode 100644
index 0000000..c4d9c9d
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/crm/newsletter-new.png">
+
+<img class="screenshot" alt="Newsletter - Test" src="{{docs_base_url}}/assets/img/crm/newsletter-test.png">
+
+{next}
diff --git a/erpnext/docs/user/manual/en/CRM/opportunity.md b/erpnext/docs/user/manual/en/CRM/opportunity.md
new file mode 100644
index 0000000..9f44fdf
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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/manual/en/CRM/setup/campaign.md b/erpnext/docs/user/manual/en/CRM/setup/campaign.md
new file mode 100644
index 0000000..9f2f070
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/crm/campaign.png">
+
+You can track [Lead]({{docs_base_url}}/user/guides/crm/lead.html), [Opportunity]({{docs_base_url}}/user/guides/crm/opportunity.html), [Quotation]({{docs_base_url}}/user/guides/selling/quotation.html) 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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/crm/campaign-new-lead.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/CRM/setup/customer-group.md b/erpnext/docs/user/manual/en/CRM/setup/customer-group.md
new file mode 100644
index 0000000..007f445
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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]({{docs_base_url}}/assets/old_images/erpnext/sales-analytics-customer.png)
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/CRM/setup/index.md b/erpnext/docs/user/manual/en/CRM/setup/index.md
similarity index 100%
rename from erpnext/docs/user/guides/CRM/setup/index.md
rename to erpnext/docs/user/manual/en/CRM/setup/index.md
diff --git a/erpnext/docs/user/guides/CRM/setup/index.txt b/erpnext/docs/user/manual/en/CRM/setup/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/CRM/setup/index.txt
rename to erpnext/docs/user/manual/en/CRM/setup/index.txt
diff --git a/erpnext/docs/user/manual/en/CRM/setup/sales-person.md b/erpnext/docs/user/manual/en/CRM/setup/sales-person.md
new file mode 100644
index 0000000..114003b
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/accounts/accounting-entries.md b/erpnext/docs/user/manual/en/accounts/accounting-entries.md
new file mode 100644
index 0000000..7aeff24
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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/manual/en/accounts/accounting-reports.md b/erpnext/docs/user/manual/en/accounts/accounting-reports.md
new file mode 100644
index 0000000..61470b1
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/accounts/sales-register.png">
+
+{next}
diff --git a/erpnext/docs/user/manual/en/accounts/advance-payment-entry.md b/erpnext/docs/user/manual/en/accounts/advance-payment-entry.md
new file mode 100644
index 0000000..042e800
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/accounts/advance-payment-3.png">
+
+Save and submit the Sales Invoice.
+
+{next}
diff --git a/erpnext/docs/user/manual/en/accounts/articles/.md b/erpnext/docs/user/manual/en/accounts/articles/.md
new file mode 100644
index 0000000..39dc1a8
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/.md
@@ -0,0 +1,228 @@
+Write a post about distributing same expense among various cost centers.
+
+<div><span style="color: rgb(0, 100, 0); font-family: Verdana, sans-serif; font-size: 9pt; line-height: 1.42857143;">&nbsp;&nbsp;</span>
+    <br>
+</div>
+<div><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">How do i differentiate salaries of 2 departments in <span class="il">cost</span>  <span class="il">centers</span>?</span>
+    <br>
+</div>
+<div><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif"><br></span>
+</div>9:18:38 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;hi Dhaval..</span>
+<br>
+<br>9:18:42 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;this is Umair..</span>
+<br>
+<br>9:18:44 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;how are you?</span>
+<br>
+<br>9:18:46 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;hey umair</span>
+<br>
+<br>9:18:49 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;m good</span>
+<br>
+<br>9:19:16 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;have you created department wise <span class="il">cost</span>  <span class="il">center</span>?</span>
+<br>
+<br>9:19:27 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;no we have not yet created <span class="il">cost</span>  <span class="il">center</span></span>
+<br>
+<br>9:19:36 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;if so, this is how you should post journal voucher for salary..</span>
+<br>
+<br>9:19:49 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;can you help us in an ideal way to setup up <span class="il">cost</span>  <span class="il">centers</span>?</span>
+<br>
+<br>9:19:50 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;I will just give you an example first..</span>
+<br>
+<br>9:19:53 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;ok</span>
+<br>
+<br>9:20:09 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;if you give 2,00,000 in a monthly salary..</span>
+<br>
+<br>9:20:37 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;and divide salary expense in multiple <span class="il">cost</span>  <span class="il">center</span>:</span>
+<br>
+<br>9:20:52 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;then this how journal voucher will be posted.</span>
+<br>
+<br>9:23:06 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;Dr. Salary (Expense a/c) ........... Sales (<span class="il">cost</span>  <span class="il">center</span>) ........... 80000
+<br>&nbsp;&nbsp;&nbsp;&nbsp;Dr. Salary ..............................
+<wbr>. Manufacturing .................. 70000
+<br>&nbsp;&nbsp;&nbsp;&nbsp;Dr. Salary ..............................
+<wbr>. Admin.........................
+<wbr>..... 30000
+<br>&nbsp;&nbsp;&nbsp;&nbsp;Dr. Salary ..............................
+<wbr>. Seniors ............................ 20000
+<br>&nbsp;&nbsp;&nbsp;&nbsp;Cr. Bank/Cash account.......................
+<wbr>..............................
+<wbr>. 200000</span>
+<br>
+<br>9:23:15 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;Debit = Credit - 2,00,000</span>
+<br>
+<br>9:23:25 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;ok</span>
+<br>
+<br>9:23:32 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;so, expense account selected will be same..</span>
+<br>
+<br>9:23:45 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;but you will divide rows based on <span class="il">cost</span>  <span class="il">center</span>.</span>
+<br>
+<br>9:24:00 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;but we have 3 levels of hierarchy</span>
+<br>
+<br>9:24:30 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;like Production Unit -1 &gt; Departments &gt; sections</span>
+<br>
+<br>9:24:49 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;its like a tree,</span>
+<br>
+<br>9:24:57 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;<span class="il">cost</span>  <span class="il">center</span> within a <span class="il">cost</span>  <span class="il">center</span></span>
+<br>
+<br>9:25:48 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;you can define child - parent relationship in <span class="il">Cost</span>  <span class="il">Center</span> master.</span>
+<br>
+<br>9:26:01 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;because it is a tree structure master..</span>
+<br>
+<br>9:26:20 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;ya, but here is my problem</span>
+<br>
+<br>9:26:20 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;but only child <span class="il">cost</span>  <span class="il">centers</span> will be selectable in the transactions..</span>
+<br>
+<br>9:26:28 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;exactly</span>
+<br>
+<br>9:26:52 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://erpnext.com/user-guide/selling/selling-setup/customer-group" target="_blank">https://erpnext.com/user-<wbr>guide/selling/selling-setup/<wbr>customer-group</a></span>
+<br>
+<br>9:27:08 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;check this for example on how to manage tree masters</span>
+<br>
+<br>9:28:03 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;so how can i have a <span class="il">cost</span>  <span class="il">center</span> of production unit as a ledger as well as parent</span>
+<br>
+<br>9:29:45 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;Production (parent)<br>&nbsp;&nbsp;&nbsp;&nbsp; - Cutting<br>&nbsp;&nbsp;&nbsp;&nbsp; - Stitching<br>&nbsp;&nbsp;&nbsp;&nbsp; - packing</span>
+<br>
+<br>9:30:09 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;so how do i track salaries of each of there depts</span>
+<br>
+<br>9:30:15 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;these*</span>
+<br>
+<br>9:30:25 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;check attached link for example on how to create group and child <span class="il">Cost</span>  <span class="il">Centers</span>.</span>
+<br>
+<br>9:31:00 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;in JV, you will select Cutting, Packing department for <span class="il">Cost</span>  <span class="il">Center</span>.</span>
+<br>
+<br>9:31:06 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;i have to create each individual ledgers &nbsp;- cutting salary, stitching salary, packing salary</span>
+<br>
+<br>9:32:15 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;OH! so in JV, when i select Cutting, Packing department for <span class="il">Cost</span>  <span class="il">Center</span>. will it show salary as a head in
+the <span class="il">cost</span>  <span class="il">center</span>?</span>
+<br>
+<br>9:32:22 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;as it is a salary JV?</span>
+<br>
+<br>9:32:32 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;or will only the value of the amount show?</span>
+<br>
+<br>9:33:50 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;it will show balance for the individual <span class="il">cost</span>  <span class="il">center</span>..</span>
+<br>
+<br>9:34:19 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;and consolidated <span class="il">cost</span>  <span class="il">center</span> for Production <span class="il">Cost</span>  <span class="il">Center</span>, which
+is parent for these <span class="il">cost</span>  <span class="il">centers</span></span>
+<br>
+<br>9:34:38 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;so only amount and not against the type expense</span>
+<br>
+<br>9:38:00 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;yes.. it will show again Salary Account as well..</span>
+<br>
+<br>9:38:17 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;basically, we tag <span class="il">cost</span>  <span class="il">center</span> with Profit and Loss account..</span>
+<br>
+<br>9:38:34 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;ok</span>
+<br>
+<br>9:38:35 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;so actual ledger posting happens in the Account/Ledger..</span>
+<br>
+<br>9:38:54 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;<span class="il">Cost</span>  <span class="il">Center</span> shows balance based on amount mentioned with it..</span>
+<br>
+<br>9:39:17 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;so in <span class="il">cost</span>  <span class="il">centers</span> i should just keep all my depts as ledgers and all <span class="il">costs</span> will be
+tracked for all types of expenses</span>
+<br>
+<br>9:39:23 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;so, we need to identify the correct combination of <span class="il">Cost</span>  <span class="il">Center</span> and Expense account when making entry</span>
+<br>
+<br>9:39:45 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;thats one approach.</span>
+<br>
+<br>9:39:54 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;you can try and check if it works for you.</span>
+<br>
+<br>9:40:12 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;what is the other approach?</span>
+<br>
+<br>9:41:53 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;as per your scenario, this seems to be better.</span>
+<br>
+<br>9:42:08 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;we can comeup with other solution as scenario changes.</span>
+<br>
+<br>9:42:57 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;ok so, just for my knowledge, &nbsp;what was the default according to you?</span>
+<br>
+<br>9:43:11 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;where do i track <span class="il">cost</span>  <span class="il">center</span> transactions?</span>
+<br>
+<br>9:43:43 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;there is no default as such <img class="CToWUd" src="https://mail.google.com/mail/u/0/?ui=2&amp;ik=5ded98c3b2&amp;view=fimg&amp;th=14997f6e6fc0690c&amp;attid=0.2&amp;disp=emb&amp;attbid=ANGjdJ8-s7s_w-HjfYCzquJ_jtWcYmi_jio2e21FfwAQMuN0Ojva3jv5ASXx__dGcNPLBGFnkLIhVx7IEYFiJRpimtb3Baen5vbSkns_O1ZHy63fuzSb1DKi0IilcQE&amp;sz=w1600-h1000&amp;ats=1415597192468&amp;rm=14997f6e6fc0690c&amp;zw&amp;atsh=1" alt="Smiley: Smile" title="Smile" height="24" width="24"></span>
+<br>
+<br>9:43:56 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;you can define masters you per your requirement..</span>
+<br>
+<br>9:44:06 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;we suggest setting up <span class="il">cost</span>  <span class="il">center</span> based on Project..</span>
+<br>
+<br>9:44:19 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;because it will help you track profitability as well.</span>
+<br>
+<br>9:44:29 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;but thats another scenario.</span>
+<br>
+<br>9:44:41 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;ok</span>
+<br>
+<br>9:44:44 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;cool</span>
+<br>
+<br>9:46:36 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;where to tract <span class="il">cost</span>  <span class="il">center</span> reports?</span>
+<br>
+<br>9:47:24 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;track*</span>
+<br>
+<br>9:48:32 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Dhaval Shah:</span>
+<br><span style="color:#006400;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;?</span>
+<br>
+<br>9:48:51 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;Accounts &gt;&gt; Main Reports &gt;&gt; Financial Analytics</span>
+<br>
+<br>9:49:12 AM: <span style="color:#696969;font-size:9.0pt;font-family:Verdana,sans-serif">Web Notes Support:</span>
+<br><span style="color:#b22222;font-size:9.0pt;font-family:Verdana,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;below P&amp;L and Balance Sheet, you will find <span class="il">cost</span>  <span class="il">centers</span> for selection.</span>
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/accounts/articles/accounting-for-projects.md b/erpnext/docs/user/manual/en/accounts/articles/accounting-for-projects.md
new file mode 100644
index 0000000..6eba288
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/accounting-for-projects.md
@@ -0,0 +1,72 @@
+<h1>Accounting for Projects</h1>
+
+Accounting for the projects is tracked via Cost Center in ERPNext. This will require you creating separate Cost Center for each Project. Separate Cost Center for each Project all allow:<
+
+- Allocating budget against specific Cost Center.
+- Getting Profitability Report for each Project.
+
+Let's check steps on how Project and Cost Center should be linked, and used in the sales and purchase transactions.
+
+### 1. Linking Project and Cost Center
+
+#### 1.1 Create Project
+
+You should first create new Project from:
+
+`Projects > Project > New`
+
+In the Project, you will find field to set default Cost Center for this Project.
+
+#### 1.2 Create Cost Center
+
+Since budgeting and costing for each Project will be managed separately, you should create separate Cost Center for each Project.
+
+To create new Cost Center, go to:
+
+`Accounts > Setup > Cost Center`
+
+[Click here to learn on how to add new Cost Center](https://erpnext.com/user-guide/accounts/cost-centers-and-budgeting).
+
+#### 1.3 Update Cost Center in the Project
+
+After creating Cost Center, come back to Project master, and select Cost Center creating for this Project under Default Cost Center field.
+
+![Project Default Cost Center]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-02-26 at 3.52.10 pm.png)
+
+With this, you will have Cost Center being fetched automatically in the Sales and Purchase transactions based on selection of Cost Center.
+
+Let's check how this setting will affect your sales and purchase entries.
+
+### 2. Selecting Project and Cost Center in the Sales and Purchase Transactions
+
+#### 2.1 Selecting Project in the Sales Transactions
+
+In the sales transactions (which are Sales Order, Delivery Note and Sales Invoice), Project will be selected in the More Info section. On selection of a Project, respective Cost Center will be updated for all the items in that transaction.
+
+![Cost Center in Sales]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-02-26 at 3.58.45 pm.png)
+
+#### 2.2 Selecting Project in the Purchase Cycle Transactions
+
+In the purchase transactions, Project will be define for each item. This is because you can create a consolidated purchase entry of materials for various projects. Just like it works in sales cycle, same way in the purchase transactions, on selection of Project, its default cost center will be fetched automatically.
+
+![Cost Center in Purchase]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-02-26 at 4.20.30 pm.png)
+
+### 3. Accounting Report for a Project
+
+#### 3.1 Projectwise Profitability
+
+Since Project's Cost Center has been updated in both sales and purchase entries made for a specific transaction, system will provide you a projectwise profitability report. Profitability for a Project will be derived based on total value income booked minus total value of expense booked where common Cost Center (of a Project) is tagged.
+
+![Financial Analytics for a Project]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-02-26 at 4.10.37 pm.png)
+
+#### 3.2 Projectwise Budgeting
+
+If you have also define budgets in the Cost Center of a Project, you will get Budget Variance Report for a Cost Center of a Project.
+
+To check Budget Variance report, go to:
+
+`Accounts > Standard Reports > Budget Variance Report`
+
+[Click here for detailed help on how to do budgeting from Cost Center](https://erpnext.com/user-guide/accounts/budgeting).
+
+<!-- markdown -->
diff --git a/erpnext/docs/user/manual/en/accounts/articles/c-form.md b/erpnext/docs/user/manual/en/accounts/articles/c-form.md
new file mode 100644
index 0000000..c2f2061
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/c-form.md
@@ -0,0 +1,47 @@
+<h1>C-Form</h1>
+
+C-Form functionality is only applicable for Indian customers.
+
+**What is C-Form?**
+
+C-Form is issued by the Customer. If Customer Issues C-Form, supplier applies discounted CST (central sales tax) in the invoice. C-Form is only applicable on the inter-state transactions.
+
+C-Form functionality in ERPNext allows Supplier to update C-Form No. as received from Customer in the submitted Sales Invoice. Also you can create report on Sales Invoice and track invoices for which C-Form has not yet been received from Customer.
+
+Following are step to manage C-Form related sales in ERPNext.
+
+####Set C-Form Applicability
+
+While creating Sales invoice for the customer, set C-Form applicability in Sales Invoice. In More Info section of Sales Invoice, set field called **Is C-Form Applicable** as **Yes**. Bydefault, this field will have No for a value.
+ 
+![C-form]({{docs_base_url}}/assets/img/articles/Selection_0028c9f9a.png)
+
+Updating this field as Yes will allow you to pull this Sales Invoice in the C-Form Tool, and update C-Form No. as received from the Customer.
+
+####Create C-Form Record
+
+After receiving C-Form from your Customer, you should update that C-Form no. in the Sales Invoice by creating C-Form record.
+
+Go to `Accounts > Setup > C-Form > New`
+
+Enter details like C-Form No, Received Date, State and Amount etc. Select Customer and pull related Sales Invoices under provided table.
+
+![New C-Form]({{docs_base_url}}/assets/img/articles/Selection_020f01c1e.png)
+
+####Save & Submit C-Form
+
+After entering details, save and submit C-Form record. On save system will generate C-Form record and on submission update that C-Form No. in the Sales Invoice.
+
+![C-Form]({{docs_base_url}}/assets/img/articles/Selection_02178f9d6.png)
+
+C-Form serial no will be updated in related invoice under the field 'C-Form No'.
+
+![C-Form No]({{docs_base_url}}/assets/img/articles/Selection_022b7c6d5.png)
+
+####Tracking Pending Invoice for C-Form
+
+To track invoices for which C-Form has not yet been received from Customer, you can create custom report on Sales Invoice. In this report, you can filter invoices which doesn't have C-Form updated in them yet, and followup with the customer accordingly.
+
+![C-Form Report]({{docs_base_url}}/assets/img/articles/Selection_026.png)
+
+<!-- markdown -->
diff --git a/erpnext/docs/user/manual/en/accounts/articles/changing-parent-account.md b/erpnext/docs/user/manual/en/accounts/articles/changing-parent-account.md
new file mode 100644
index 0000000..02cbd66
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/changing-parent-account.md
@@ -0,0 +1,28 @@
+<h1>Changing Parent Account</h1>
+
+Chart of Account has hierarchical structure. This means each account has a parent account defined for it. You will have few ledger preset, and few ledger (like for Customer, Supplier, Warehouse) will be auto-created based on their master record. These ledger will be placed under pre-defined groups in the Chart of Account. If needed you can place specific account under another group by changing its Parent Account.
+
+Following are the steps to edit Parent for specific Account.
+
+####1. Go to Chart of Account
+
+`Accounts > Setup > Chart of Account`
+
+Click on Account for which Parent Account is to be changed.
+
+####2. Edit Account
+
+![Account]({{docs_base_url}}/assets/img/articles/Selection_080.png)  
+
+####3. Change Parent Account
+
+Search and select preferred Parent Account and save.
+
+![Account]({{docs_base_url}}/assets/img/articles/Selection_084.png)
+
+Refresh system from Help menu to experience the change.
+
+![Account]({{docs_base_url}}/assets/img/articles/Selection_085.png)
+
+<div class="well">Note: Change of Parent Account is not applicable for Root Accounts.</div>
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/accounts/articles/customer-for-multiple-company.md b/erpnext/docs/user/manual/en/accounts/articles/customer-for-multiple-company.md
new file mode 100644
index 0000000..6770fa3
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/customer-for-multiple-company.md
@@ -0,0 +1,27 @@
+<h1>Customer for Multiple Company</h1>
+
+ERPNext allows you managing multiple companies in one ERPNext account. It is possible that you will have Customer and Supplier which would belong to more than one company of yours. While creating sales and purchase transactions, system shows result of Customer and Suppliers for that Company only.
+
+It means if you have added (say) Wind Mills Limited as a customer for the first company, you will not be able to select it as a customer when creating Sales Order (or any other sales transaction) for another company.
+
+There are two approach to address this scenario.
+
+####Create Another Customer Record
+
+You should create another Customer record for Wind Mills Limited, but for the second company.
+
+If you try adding another customer with exact same name (as Wind Mills Limited), system will throw a validation message that, account already exist for Wind Mills Limited.
+
+![Common Customer]({{docs_base_url}}/assets/img/articles/$SGrab_306.png)
+
+>To be able to track customerwise receivables, ERPNext created accounting ledger for each customer in the Chart of Account, under Accounts Receivable group.
+
+As indicated in the error message, since Account Name already exist for the first customer, you should change customer name for second customer a bit (say Wind Mills Pvt. Limited) to bring uniqueness in it. Then you will be able to save Customer correctly.
+
+####Change Company in Existing Customer
+
+Since creating another Customer record for the same party will be over-load in the system, you can change company in the exist Customer master of Wind Mills Limited, and re-save it. On saving customer again, it will create another accounting ledger for Wind Mills in the Chart of Account of second company.
+
+![Common Customer Account]({{docs_base_url}}/assets/img/articles/$SGrab_307.png)
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/accounts/articles/depreciation-for-fixed-asset-items.md b/erpnext/docs/user/manual/en/accounts/articles/depreciation-for-fixed-asset-items.md
new file mode 100644
index 0000000..026657f
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/depreciation-for-fixed-asset-items.md
@@ -0,0 +1,30 @@
+<h1>Depreciation for Fixed Asset Items</h1>
+
+Depereciation of fixed asset items.
+
+####Separate Group of Depreciation Account
+
+![Fixed Asset Account]({{docs_base_url}}/assets/img/articles/$SGrab_384.png)
+
+####Depreciation Entry for Fixed Asset Items
+
+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 Voucher at the end of each year reducing its value by a certain percentage.
+
+As per perpetual inventory valuation system (set by default), you should create Stock Reconciliation for depreciating value of fixed asset items. In the Stock Reconciliation template, you should only enter Item's Code, Warehouse and its current value.
+
+Let's assume current value of our computer is $250, and its purchase value was $320.
+
+![Fixed Asset Depreciation]({{docs_base_url}}/assets/img/articles/$SGrab_385.png)
+
+In this case, depreciation amount of Computer will be $70 ($320-$250). Depreciation Amount will be booked under Difference (expense) Account selected in the stock reconciliation.
+
+![Fixed Asset Depreciation]({{docs_base_url}}/assets/img/articles/$SGrab_386.png)
+
+Following is how general ledger will be posted for fixed this Stock Reconciliation.
+
+![Fixed Asset General Ledger]({{docs_base_url}}/assets/img/articles/$SGrab_387.png)
+
+Click [here](https://erpnext.com/user-guide/setting-up/stock-reconciliation-for-non-serialized-item) for steps to be followed when making Stock Reconciliation entry.
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/accounts/articles/difference-entry-button.html b/erpnext/docs/user/manual/en/accounts/articles/difference-entry-button.html
new file mode 100644
index 0000000..30cae4e
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/difference-entry-button.html
@@ -0,0 +1,16 @@
+<h1>Difference Entry Button </h1>
+
+As per accounting standards Debit amount must be equal to Credit amount. If these amounts are not equal, then entry will not be executed in system. Also system will through validation message. And difference amount will reflect under Difference (Dr-Cr) field.
+<br>
+<img src="{{docs_base_path}}/assets/img/articles/Selection_002.png"><br>
+When you press 'Make Difference Entry' button, one new Row will be added under Journal Entry Accounts table with difference amount. You can edit that row to select appropriate account.
+<br>
+<img src="{{docs_base_path}}/assets/img/articles/Selection_003.png">
+<br>
+<br>On selecting account under new row, you will be able to submit Journal Entry.
+<br>
+<br>
+<div class="well">If debit and credit amount entered for accounts are already tallying, then you need not click on "Make Difference Entry" button.</div>
+
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/accounts/articles/fiscal-year-error.md b/erpnext/docs/user/manual/en/accounts/articles/fiscal-year-error.md
new file mode 100644
index 0000000..e22a3ef
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/fiscal-year-error.md
@@ -0,0 +1,32 @@
+<h1>Fixing Fiscal Year's Error</h1>
+
+While creating entries in ERPNext, system validates if dates (like Posting Date, Transaction Date etc.) matches with Fiscal Year selected in the entry. If not, system through an error message saying:
+
+`Date ##-##-#### not in fiscal year`
+
+You are more likely to receive this error message if your Fiscal Year has changes, but you still have old Fiscal Year updated. To ensure new Fiscal Year is auto updated in the transactions, you should setup your master as instructed below.
+
+####Create New Fiscal Year
+
+Only User with System Manager's Role Assigned has permission to create new Fiscal Year. To create new Fiscal Year, go to:
+
+`Accounts > Setup > Fiscal Year`
+
+Click [here](https://erpnext.com/user-guide/accounts/fiscal-year) to learn more about Fiscal Year master.
+
+####Set Fiscal Year as Default
+
+After Fiscal Year is saved, you will find option to set that Fiscal year as Default.
+
+![Fiscal Year Default]({{docs_base_url}}/assets/img/articles/$SGrab_393.png)
+
+Default Fiscal Year will be updated in the Global Default setting as well. You can manually update Default Fiscal Year from:
+
+`Setup > Settings > Global Default`
+
+![Fiscal Year Global Default]({{docs_base_url}}/assets/img/articles/$SGrab_394.png)
+
+Then Save Global Default, and refresh browser of your ERPNext account. After this, you will have default Fiscal Year auto-updated in your transactions as well.
+
+Note: In transactions, you can manually select required Fiscal Year from More Info section. You might have to click on "View Details" button to access View Details section, and edit Fiscal Year.
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/accounts/articles/how-to-freeze-accounting-entries-upto-a-specific-date.html b/erpnext/docs/user/manual/en/accounts/articles/how-to-freeze-accounting-entries-upto-a-specific-date.html
new file mode 100644
index 0000000..38ecaf5
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/how-to-freeze-accounting-entries-upto-a-specific-date.html
@@ -0,0 +1,3 @@
+<h1>How to freeze accounting entries upto a specific date?</h1>
+
+To freeze accounting entries upto a certain date, follow these steps:<br><br>1. Go to <b>Accounts -&gt; Setup -&gt; Accounts Settings</b>.<br>2. Set the date in <b>Accounts Frozen Upto</b> field.<br><img src="{{docs_base_path}}/assets/img/articles/freeze-accounting-entry.png" height="302" width="488"><br><br>Now, the system will not allow to make accounting entries before that date. <br><br>But you can allow a specific <b>Role,</b> to make/edit accounting entries before that date. To do that set the desired <b>Role</b>, in <b>Role Allowed to Set Frozen Accounts &amp; Edit Frozen Entries</b> field.<br>
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/accounts/articles/how-to-freeze-accounting-ledger.md b/erpnext/docs/user/manual/en/accounts/articles/how-to-freeze-accounting-ledger.md
new file mode 100644
index 0000000..d76a331
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/how-to-freeze-accounting-ledger.md
@@ -0,0 +1,28 @@
+<h1>How To Freeze Accounting Ledger?</h1>
+
+You can freeze any accounting ledger in ERPNext. So that frozen accounting ledger became unsearchable in accounting transaction. Follow below step to understand the process.
+
+#### 1. Set Frozen Accounts Modifier
+
+To set frozen accounts modifier go to `Accounts > Setup > Accounts Setting`
+
+Search and select Role under Frozen Accounts Modifier field and save the Account Settings form. 
+   
+![Account Settings]({{docs_base_url}}/assets/img/articles/Selection_001f1e2ff.png)
+
+#### 2. Edit Accounting Ledger.
+
+To edit accounting ledger go to `Accounts > Setup > Chart of Accounts`
+
+![Account Settings]({{docs_base_url}}/assets/img/articles/Selection_0027e4d09.png)
+
+#### 3. Set Frozen Status of Ledger.
+
+![Account Settings]({{docs_base_url}}/assets/img/articles/Selection_003bf981b.png)
+
+Set Frozen field status of ledger as 'Yes' and save the ledger form. On save this ledger will be frozen and you will became unable to search this ledger in accounting transactions. 
+
+<div class ="well"> Note: If you want to make accounting transaction against this ledger in the future, then that time again set frozen field status as 'No'.</div>
+
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/accounts/articles/how-to-nullify-balance-from-temporary-accounts.md b/erpnext/docs/user/manual/en/accounts/articles/how-to-nullify-balance-from-temporary-accounts.md
new file mode 100644
index 0000000..5ba6d17
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/how-to-nullify-balance-from-temporary-accounts.md
@@ -0,0 +1,16 @@
+<h1>How to Nullify Balance From Temporary Accounts? </h1>
+
+There are two separate temporary accounts in Chart of Accounts. One is Temporary Account (Assets) and other one is Temporary Account (Liabilities). These accounts are available under Application of Funds and Source of Funds in Chart of Accounts respectively.
+
+These temporary accounts only used to update opening balances. [Click here to learn about update Opening balances](https://erpnext.com/kb/accounts/updating-opening-balance-in-accounts-using-temporary-account)
+
+After completing all opening entries against these temporary accounts balances for both accounts will updated. And Debit balance of Temporary Account (Assets) will became equal to Credit balance of Temporary Account (Liabilities).
+
+Since temporary account were used only for balancing purpose, it shall not have any balance in it.
+To nullify balance in these accounts, you should create a new Journal Voucher, where will you update  balances against these accounts. To create new Journal Entry go to `Accounts &gt; Documents &gt; Journal Entry
+
+![Journal Entry]({{docs_base_url}}/assets/img/articles/$SGrab_432.png)
+
+On submit of this journal entry, balances of these temporary accounts will be set to Zero.
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/accounts/articles/index.md b/erpnext/docs/user/manual/en/accounts/articles/index.md
new file mode 100644
index 0000000..4e1be28
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/index.md
@@ -0,0 +1 @@
+{content}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/accounts/articles/index.txt b/erpnext/docs/user/manual/en/accounts/articles/index.txt
new file mode 100644
index 0000000..2eb1756
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/index.txt
@@ -0,0 +1,22 @@
+
+accounting-for-projects
+c-form
+changing-parent-account
+customer-for-multiple-company
+depreciation-for-fixed-asset-items
+difference-entry-button
+fiscal-year-error
+how-to-freeze-accounting-entries-upto-a-specific-date
+how-to-freeze-accounting-ledger
+how-to-nullify-balance-from-temporary-accounts
+manage-foreign-exchange-difference
+managing-transactions-in-multiple-currency
+new-fiscal-year-auto-create-feature
+pos-view
+post-dated-cheque-entry
+pricing-rule
+recurring-order-and-invoices
+update-stock-option-in-sales-invoice
+updating-opening-balance-in-accounts-using-temporary-account
+what-is-the-differences-of-total-and-valuation-in-tax-and-charges
+withdrawing-salary-from-owners-equity-account
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/accounts/articles/manage-foreign-exchange-difference.md b/erpnext/docs/user/manual/en/accounts/articles/manage-foreign-exchange-difference.md
new file mode 100644
index 0000000..6e24f86
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/manage-foreign-exchange-difference.md
@@ -0,0 +1,25 @@
+<h1>Manage Foreign Exchange Difference</h1>
+
+When you book Sales Invoices and Purchase invoices in multiple currencies, you will have to deal with currency difference while booking payment entry. You can easily manage this in ERPNext in following ways.  
+
+####Add Expense Account
+
+To mange currency difference, create Account **Foreign Exchange Gain/Loss**.
+
+![Account]({{docs_base_url}}/assets/img/articles/Selection_577.png)
+
+####Book Payment Entry
+
+In the payment voucher, update invoice amount against Customer or Supplier account, then update actual payment amount against Bank/ Cash account. Add new row and select Foreign Exchange Gain/Loss to update currency difference amount.
+
+####Scenario
+
+Below is the Sales Invoice for a customer in Europe. The base currency of a Company in USD. Sales Invoice is  made at the exchange rate (USD to Eur) of 1.128.
+
+![Sales Invoice]({{docs_base_url}}/assets/img/articles/Selection_576.png)
+
+When receiving payment from the customer, exchange rate changed to 1.20. As per the update in the exchange rate, payment was for $120. Following is how payment entry will be booked to adjust the difference amount.
+
+![Journal Entry image]({{docs_base_url}}/assets/img/articles/Selection_578.png) 
+
+<!-- markdown -->
diff --git a/erpnext/docs/user/manual/en/accounts/articles/managing-transactions-in-multiple-currency.html b/erpnext/docs/user/manual/en/accounts/articles/managing-transactions-in-multiple-currency.html
new file mode 100644
index 0000000..3757a69
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/managing-transactions-in-multiple-currency.html
@@ -0,0 +1,39 @@
+<h1>Managing Transactions In Multiple Currency</h1>
+
+You can make transaction in your base currency as well as in customer or supplier currencies. When you make transaction in your customer or supplier currency, the same currency reflects only in print format of that transaction. And system pass back end
+entry in your base currency.
+<br>
+<br>To understand this scenario will take example of Sales Invoice, where your base currency is INR and your customer currency is USD.
+<br>
+<br>Following are steps to create Sales Invoice in customer currency.
+<br>&nbsp;
+<br><b>Step 1:</b> Go to Selling &gt;&gt; Documents &gt;&gt; Sales Invoice &gt;&gt; (+) New.
+<br>
+<br><b>Step 2:</b> Select Customer and Enter other details.
+<br>
+<br>
+<img src="{{docs_base_path}}/assets/img/articles/Selection_012.png">
+<br><b>Step 3:</b> Select customer currency and related Price List.
+<br>
+<br>
+<img src="{{docs_base_path}}/assets/img/articles/Selection_016.png">
+<br>
+<br>
+<br>On selecting customer currency 'Exchange Rate' field will open under Currency field, where you will enter exchange rate of customer currency to basic currency. In our case for USD to INR. You can check exchange rate online
+for your customer currency to your currency.
+<br>
+<br>Also you can set default customer currency in customer master. Which will auto fetch in transactions.
+<br>
+<br>
+<img src="{{docs_base_path}}/assets/img/articles/Selection_017.png">&nbsp;
+<br>System has Currency Exchange master, where you can set currency exchange masters for your multiple currencies. To Set this go to Accounts &gt; Setup &gt; Currency Exchange. <br><br><b>Step 4:</b> Select Item details.<br>
+<br>On selecting Item details Sales invoice Total section will look like below image.
+<br>
+<br>
+<img src="{{docs_base_path}}/assets/img/articles/Selection_018.png" width="750">
+<br>
+<br>
+<br>
+<b>Step 5:</b> Save and Submit <br><br>Enter other details like Taxes and charges, Terms and Condition if there and save and submit the invoice form. After submit click on Printer Icon to check print preview. The same document print or email document will you send to your customer or supplier.<br>For our case it will look as below image.<br><br><img src="{{docs_base_path}}/assets/img/articles/Selection_019.png">&nbsp;&nbsp; <br>
+<br>
+<br>
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/accounts/articles/new-fiscal-year-auto-create-feature.html b/erpnext/docs/user/manual/en/accounts/articles/new-fiscal-year-auto-create-feature.html
new file mode 100644
index 0000000..5b6c10f
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/new-fiscal-year-auto-create-feature.html
@@ -0,0 +1,3 @@
+<h1>New Fiscal Year Auto-Create feature</h1>
+
+New Fiscal Year needs to be created each year at the end of the previous fiscal year. This Process however has been automated in ERPNext.<div><br></div><div>3 days prior to the end of the existing fiscal year; the system shall check if the user has created a new fiscal year for the incoming year. If not the system generates a new fiscal year. All fiscal year Companies are also linked with the new fiscal year as in the previous year.<br><br></div><div><img src="{{docs_base_path}}/assets/img/articles/Screen Shot 2014-12-03 at 5.03.10 pm.png"><br></div>
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/accounts/articles/pos-view.html b/erpnext/docs/user/manual/en/accounts/articles/pos-view.html
new file mode 100644
index 0000000..fb3c500
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/pos-view.html
@@ -0,0 +1,3 @@
+<h1>POS View</h1>
+
+POS view renders form in a different layout, mainly designed for the quick selection of items. This view has primarily been designed for the retail business, who needs to be quick at invoicing.<div><br></div><div><img src="{{docs_base_path}}/assets/img/articles/$SGrab_219.png"><br></div><div><br></div><div>Using POS View, you can make complete Sales Invoice, without switching to standard form view.<br><div><br></div><div><b>Question: Why do I get error message for missing fields when making Purchase Receipt or other sales/purchase transactions from POS View?</b></div></div><div><br></div><div>Though POS View is mainly designed for Sales Invoice, but it is also made available in all the sales and purchase transactions. In other transactions, POS View is only meant for quick selection of items. This view will not provide all the fields which are available in the standard form view. Hence, you shall use POS View in other transactions just for Item selection, and revert to form view for enter values in other mandatory fields.</div>
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/accounts/articles/post-dated-cheque-entry.md b/erpnext/docs/user/manual/en/accounts/articles/post-dated-cheque-entry.md
new file mode 100644
index 0000000..12957d9
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/post-dated-cheque-entry.md
@@ -0,0 +1,32 @@
+<h1>Post Dated Cheque Entry</h1>
+
+Post Dated Cheque is a cheque dated on future date given to another party. This actually works as an advance payment which will could be cleared post cheque date only.
+
+In ERPNext, you can manage post dated cheque entries via journal voucher. Following are step to book payment entry for post dated cheque.
+
+####New Journal Voucher
+
+To open new journal voucher go to 
+
+`Accounts > Documents > Journal Voucher > New`
+
+####Set Posting Date and other details
+
+Assuming your Cheque Date is 31st December, 2014 (or any future date) and you need value of this cheque to reflect in the bank balance after cheque date only.
+
+![Journal Voucher]({{docs_base_url}}/assets/img/articles/Selection_005d73bc7.png)
+
+Note: Journal Voucher Reference Date should equal to or less than Posting Date.
+
+####Step 3: Save and Submit Journal Voucher
+
+After entering required details Save and Submit the Journal Voucher.
+
+####Adjusting Post Dated  Cheque Entry
+
+If Post Dated Journal Voucher needs to be adjusted against any invoice, it can be accomplished via [Payment Reconciliation Tool](https://erpnext.com/user-guide/accounts/payment-reconciliation).
+
+When cheque is cleared in the future date, i.e. actual date on the cheque, you can update its Clearance Date via [Bank Reconciliation Tool](https://erpnext.com/user-guide/accounts/bank-reconciliation).
+
+You might find value of this Journal Voucher already reflecting against bank's ledger. You should check **Bank Reconciliation Statement**, a report in the account module to know difference of balance as per system, and balance expected in the bank.
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/accounts/articles/pricing-rule.md b/erpnext/docs/user/manual/en/accounts/articles/pricing-rule.md
new file mode 100644
index 0000000..f1caf62
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/pricing-rule.md
@@ -0,0 +1,75 @@
+<h1>Pricing Rule</h1>
+
+Pricing Rule allows you to define rules based on which item's price or discount to be applied is determined.
+
+### Scenario:
+
+Following are the few cases which can be addressed using Pricing Rule.
+
+1. As per the promotional sale policy, if customer purchases more than 10 units of an item, he enjoys 20% discount. 
+
+2. For Customer "XYZ", selling price for the specific or group of "Products" should be updated as ###.
+
+3. Items categorized under specific Item Group has same selling or buying price.
+
+4. Customers catering to specific Customer Group has same selling price.
+
+5. Supplier's categorized under common Supplier Type should have same buying rate applied.
+
+To have %Discount and Price List Rate for an Item auto-applied, you should set Pricing Rules for it.
+
+Pricing Rule master has two sections:
+
+### 1. Applicability Section:
+
+In this section, conditions are set for the Pricing Rule. When transaction meets condition as specified in the Pricing Rule, Price or Discount as specified in the Item master will be applicable. You can set condition on following values.
+
+####1.1 Applicable On:
+
+![Applicable On]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-04-09 at 1.26.23 pm.png)
+
+If you want Pricing Rule to be applied on all the items, you should apply rule based on Item Group, and select most Parent Item Group for a value.
+
+####1.2 Applicable For:
+
+Applicability option will updated based on our selection for Selling or Buying or both. You can set applicability on one of the following master.
+
+![Applicable for]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-04-09 at 1.27.31 pm.png)
+
+####1.3 Quantity:
+
+Specify minimum and maximum qty of an item when this Pricing Rule should be applicable.
+
+![Pricing Rule Qty limit]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-04-09 at 1.28.05 pm.png)
+
+###2. Application:
+
+Using Price List Rule, you can ultimately define price or %discount to be applied on an item.
+
+![Pricing Rule Apply on]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-04-09 at 1.33.24 pm.png)
+
+####2.1 Price
+
+Price or Discount specified in the Pricing Rule will be applied only if above applicability rules are matched with values in the transaction. Price mentioned in Pricing Rule will be given priority over item's Price List rate.
+
+![Pricing Rule Price]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-04-09 at 1.30.27 pm.png)
+
+####2.2 Discount Percentage
+
+Discount Percentage can be applied for a specific Price List. To have it applied for all the Price List, %Discount field should be left blank.
+
+![Rule Discount Percent]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-04-09 at 1.31.01 pm.png)
+
+#### Validity
+
+Enter From and To date between which this Pricing Rule will be applicable. This will be useful if creating Pricing Rule for sales promotion exercise available for certain days.
+
+![Pricing Rule Validity]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-04-09 at 1.36.29 pm.png)
+
+####Disable
+
+Check Disable to inactive specific Pricing Rule.
+
+![Pricing Rule Disabled]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-04-09 at 1.37.38 pm.png)
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/accounts/articles/recurring-order-and-invoices.html b/erpnext/docs/user/manual/en/accounts/articles/recurring-order-and-invoices.html
new file mode 100644
index 0000000..6893761
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/recurring-order-and-invoices.html
@@ -0,0 +1,3 @@
+<h1>Recurring Orders and Invoices</h1>
+
+If you have a contract with a <b>Customer</b> where you bill the Customer on a monthly, quarterly, half-yearly or annual basis, you should use recurring feature in orders and invoices. <br><br><h4>Scenario:</h4><br>Subscription for your hosted ERPNext account requires yearly renewal. We use Sales Order for generating proforma invoices. To automate proforma invoicing for renewal, we set original Sales Order as recurring. Recurring proforma invoice is created automatically just before customer's account is about to expire, and requires renewal. This recurring Proforma Invoice is also emailed automatically to the customer.<br><br>Feature of setting document as recurring is available in Sales Order, Sales Invoice, Purchase Order and Purchase Invoice.<br><br>Option to set document as recurring will be visible only after submission. Recurring is last section in document. Check <b>Is Recurring</b> to set document as recurring.<br><br><img src="{{docs_base_path}}/assets/img/articles/is-recurring.gif"><br><br><b>From Date and To Date: </b>This defines contract period with the customer.<br><br><b>Repeat on the Day of Month: </b>If recurring type is set as Monthly, then it will be day of the month on which&nbsp; recurring invoice will be generated.<br><br><b>End Date:</b> Date after which auto-creation of recurring invoice will be stopped.<br><br><b>Notification Email Address:</b> Email Addresses (separated by comma) on which recurring invoice will be emailed when auto-generated.<br><br><b>Recurring ID: </b>Recurring ID will be original document id which will be linked to all corresponding recurring document. For example, original Sales Invoice's id will be updated into all recurring Sales Invoices.<br><br><b>Recurring Print Format:</b> Select a print format to define document view which should be emailed to customer.<br><br><h4>Exception Handling:</h4><p>In a situation where recurring invoice is not created successfully, user with System Manager role is notified about it via email. Also the document on which recurring event failed, "Is Recurring" field is unchecked for it. This means system doesn't try creating recurring invoice for that document again.</p><p>Failure in creation of recurring invoice could be due to multiple reasons like wrong email id mentioned in the Email Notification field in Recurring section etc.</p><p>On receipt of notification, if cause of failure is fixed (like correcting email id) within 24 hours, then recurring invoice will be generated automatically. If issue is not fixed within the said time, then document should be created for that month/year manually.<br></p>
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/accounts/articles/update-stock-option-in-sales-invoice.html b/erpnext/docs/user/manual/en/accounts/articles/update-stock-option-in-sales-invoice.html
new file mode 100644
index 0000000..106f383
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/update-stock-option-in-sales-invoice.html
@@ -0,0 +1,3 @@
+<h1>Update Stock Option in Sales Invoice</h1>
+
+The <i>Update Stock</i> check box is available in the <i>Items</i> section within <i>Sales Invoice</i> form.<br><br><img src="{{docs_base_path}}/assets/img/articles/kb_updatestk_field.png" height="221" width="603"><br><br>Usually the Sales Invoice is a voucher specifying the amount to be paid against Quantity delivered/to be delivered as per a particular Sales Order.<br><br>Checking the update Stock option before submitting an Invoice will directly deduct the Stock from the Inventory on submission of the Sales Invoice. In such a case the Sales Invoice also satisfies the function of a Delivery Note.<br>
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/accounts/articles/updating-opening-balance-in-accounts-using-temporary-account.md b/erpnext/docs/user/manual/en/accounts/articles/updating-opening-balance-in-accounts-using-temporary-account.md
new file mode 100644
index 0000000..4962b82
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/updating-opening-balance-in-accounts-using-temporary-account.md
@@ -0,0 +1,44 @@
+<h1>Updating Opening Balance in Accounts using Temporary Account</h1>
+
+For updating opening balances in the Accounts, you will need to use temporary adjustment accounts. In the Chart of Account, two adjustment accounts will be created by default.
+
+1. Temporary Account (Assets)
+2. Temporary Account (Liabilities)
+
+Since ERPNext is a double entry accounting system, it requires balancing on debit side with credit side in an accounting entry. When start working on fresh ERPNext account, you will have to update opening balance in your Balance Sheet accounts. You can update opening balance in account(s), and use Temporary Account for balancing purpose.
+
+Let's consider a scenario of updating opening balance in an Account using temporary account.
+
+#### Identifying Accounts to Update Opening Balance
+
+Say we have following customer's ledger, and have receivable from them. This receivable should be updated as opening balance in their account.
+
+1. Comtek Solutions
+1. Walky Tele Solution
+
+Also we can update opening balance on Bank and Cash account.
+
+1. Bank of Baroda
+1. Cash
+
+All these accounts are located on the Current Asset side, hence will have Debit balance.
+
+#### Identifying Temporary Account
+
+To update debit balance in them, we will have to select Credit account for balancing it. Out of the temporary accounts available, we can use `Temporary Account (Liabilities)`.
+
+##### Opening Balance Entry
+
+For Current Asset account, their current balance will be updated on the Debit side. The total value of Debit will be entered as Credit Balance for the Temporary Account (Liability).
+
+![Debit Opening Balance]({{docs_base_url}}/assets/img/articles/$SGrab_431.png)
+
+Same way, you will update opening balance for the liability account. Since Liability accounts will have credit balance, you will have to select Temporary Account (Asset), which is a Debit account for balancing purpose.
+
+After you have updated opening balance in all the Asset and Liability account, you will find that balance in the temporary account will be equal. If balance in temporary accounts is not equal, it must be because opening balance is not updated in some account, or other account was used for balancing purpose.
+
+Since temporary account were used only for balancing purpose, it shall not have any balance in it. To nullify balance in these accounts, you should create a Journal Voucher which will set balance as zero in these account.
+
+![Temporary Account Nullified]({{docs_base_url}}/assets/img/articles/$SGrab_432.png)
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/accounts/articles/what-is-the-differences-of-total-and-valuation-in-tax-and-charges.html b/erpnext/docs/user/manual/en/accounts/articles/what-is-the-differences-of-total-and-valuation-in-tax-and-charges.html
new file mode 100644
index 0000000..3d1c7db
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/what-is-the-differences-of-total-and-valuation-in-tax-and-charges.html
@@ -0,0 +1,34 @@
+<h1>Purchase Tax or Charges Categories</h1>
+
+Consider Tax or Charge field in Purchase Taxes and Charges master has three values.<br><br><ol>
+    <li>Total</li>
+    <li>Valuation</li>
+    <li>Total and Valuation<br><br><img src="{{docs_base_path}}/assets/img/articles/Screen Shot 2015-04-15 at 6.04.02 pm.png"><br></li>
+</ol>
+<p>Let's consider an example to understand an effect of value selected in Consider Tax or Charge field.</p>
+<p>We purchase 10 units of item, at the rate of 800, total purchase amount would be 800. Purchased item has 4% VAT tax and INR 100 transportation charges were incurred.
+
+</p><h4>Total:</h4>
+
+<p>An amount of tax/charge categorized Total will be accounted in the total of purchase transactions, but not in the value of purchased item.</p>
+<p>If VAT 4% is applied on item, it will amount to INR 32. Since VAT is the <a href="https://frappe.io/blog/erpnext-features/managing-consumption-tax" target="_blank">consumption tax</a>, its should be added value of Purchase Order/Invoice, since it will
+    be included in payable towards supplier, but its should not be added to the value of Purchased item.</p>
+<p>Hence for tax or charge you wish to be added to transaction total but not to the valuation of item, it should be categorized as Total.</p>
+<p>When Purchase Invoice is submitted, value of tax/charge is booked in respective account.
+    <br>
+</p>
+<h4>Valuation:</h4>
+<p>An amount of tax/charge categorized as Valuation will be added in the value of purchased item, but will not be added to the value of purchase transaction.</p>
+<p>Transportation charge of INR 100 should be categorized as valuation. With this, the value of purchased item will be increased from 800 to 900. Also, it will be not be added to the total of purchase transaction, because it should not be reflected to supplier,
+    as it will be irrelevant for them.
+    <br>
+</p>
+<p>When Purchase Invoice is submitted, value of tax/charge is booked in respective account. Transportation expense will be booked
+    <br>
+</p>
+<h4>Total and Valuation:</h4>
+<p>An amount of tax/charge categorized as for Total and Valuation will be added in the value of purchase item, as well as will be included in the totals of purchase transactions.</p>
+<p>Let's assume that transporter was arranged by our supplier, but we need to pay transportation charges to them. In that case, for transportation charges, category selected should be Total and Valuation. With this INR 100 transportation charges will be
+    added to actual purchase amount of INR 800. Also, INR 100 will reflect in the total, as it will be payable for us towards supplier.
+    <br>
+</p>
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/accounts/articles/withdrawing-salary-from-owners-equity-account.md b/erpnext/docs/user/manual/en/accounts/articles/withdrawing-salary-from-owners-equity-account.md
new file mode 100644
index 0000000..860f6eb
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/articles/withdrawing-salary-from-owners-equity-account.md
@@ -0,0 +1,21 @@
+<h1>WIthdrawing Salary from Owner's Equity Account</h1>
+
+### Question
+
+After meeting with my accountant here in the US, I was informed that with my company being a sole member, I should not pay myself a salary that would hit the direct expenses account but instead should take a "draw" that hits the balance sheet and not the expenses. Can you please advise how I should set this up in ERP Next please?
+
+### Answer
+
+1. Create an account for **Owner's Equity** under Liabilities if you already do not have. This account will be your investment in the business and the accumulated profits (or losses). It will have a "Credit" type balance.
+2. In an Version 5, Equity will be a new head (not under Liabilities). (In either case Assets = Owner's Equity + Liabilities, so your balance sheet will be okay [Learn more about owner's equity account](http://www.accountingcoach.com/blog/what-is-owners-equity)).
+3. Create an account for **Owner's Draws** under **Owner's Equity**.
+4. Note that the balance of **Owner's Draws** will always be negative since you are reducing money from your total equity / profits.
+
+### Example
+
+Example journal entry (using Journal Voucher in ERPNext) for a withdrawal of $1000 would be:
+
+1. Credit **Cash** $1000
+2. Debit **Owner's Draws** $1000
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/accounts/budgeting.md b/erpnext/docs/user/manual/en/accounts/budgeting.md
new file mode 100644
index 0000000..a5f35d2
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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.
+
+![]({{docs_base_url}}/assets/old_images/erpnext/budgeting-1.png)  
+
+<img alt="Accounts Receivable" class="screenshot" src="{{docs_base_url}}/assets/img/accounts/accounts-receivable.png">
+
+#### Step 2: Enter Monthly Distribution.
+
+![]({{docs_base_url}}/assets/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.  
+
+
+
+![]({{docs_base_url}}/assets/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.  
+
+![]({{docs_base_url}}/assets/old_images/erpnext/budgeting-4.png)
+
+
+
+These can be defined from the Company record.
+
+![]({{docs_base_url}}/assets/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/manual/en/accounts/chart-of-accounts.md b/erpnext/docs/user/manual/en/accounts/chart-of-accounts.md
new file mode 100644
index 0000000..99760e7
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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/manual/en/accounts/credit-limit.md b/erpnext/docs/user/manual/en/accounts/credit-limit.md
new file mode 100644
index 0000000..299e670
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/accounts/credit-limit-2.png">
+
+Save the changes.
+
+{next}
diff --git a/erpnext/docs/user/guides/accounts/index.md b/erpnext/docs/user/manual/en/accounts/index.md
similarity index 100%
rename from erpnext/docs/user/guides/accounts/index.md
rename to erpnext/docs/user/manual/en/accounts/index.md
diff --git a/erpnext/docs/user/manual/en/accounts/index.txt b/erpnext/docs/user/manual/en/accounts/index.txt
new file mode 100644
index 0000000..323764e
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/index.txt
@@ -0,0 +1,18 @@
+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
+articles
diff --git a/erpnext/docs/user/manual/en/accounts/item-wise-tax.md b/erpnext/docs/user/manual/en/accounts/item-wise-tax.md
new file mode 100644
index 0000000..8c1fc86
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/old_images/erpnext/item-wise-tax-calc.png)
+
+{next}
diff --git a/erpnext/docs/user/manual/en/accounts/journal-entry.md b/erpnext/docs/user/manual/en/accounts/journal-entry.md
new file mode 100644
index 0000000..68ba22a
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/accounts/making-payments.md b/erpnext/docs/user/manual/en/accounts/making-payments.md
new file mode 100644
index 0000000..2038e6f
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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/manual/en/accounts/multi-currency-accounting.md b/erpnext/docs/user/manual/en/accounts/multi-currency-accounting.md
new file mode 100644
index 0000000..a674f21
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/accounts/multi-currency/accounts-receivable.png">
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/accounts/opening-accounts.md b/erpnext/docs/user/manual/en/accounts/opening-accounts.md
new file mode 100644
index 0000000..214642d
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/old_images/erpnext/image-temp-opening.png)
+
+
+![Opening Entry]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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/manual/en/accounts/opening-entry.md b/erpnext/docs/user/manual/en/accounts/opening-entry.md
new file mode 100644
index 0000000..c6eb94d
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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.]({{docs_base_url}}/user/guides/accounts/opening-accounts.html)
+
+{next}
diff --git a/erpnext/docs/user/manual/en/accounts/point-of-sale-pos-invoice.md b/erpnext/docs/user/manual/en/accounts/point-of-sale-pos-invoice.md
new file mode 100644
index 0000000..e45b460
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/user/guides/setting-up/pos-setting.html) 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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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/manual/en/accounts/purchase-invoice.md b/erpnext/docs/user/manual/en/accounts/purchase-invoice.md
new file mode 100644
index 0000000..433219c
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/accounts/sales-invoice.md b/erpnext/docs/user/manual/en/accounts/sales-invoice.md
new file mode 100644
index 0000000..f9a453e
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/accounts/setup/accounts-settings.md b/erpnext/docs/user/manual/en/accounts/setup/accounts-settings.md
new file mode 100644
index 0000000..5242b39
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/setup/accounts-settings.md
@@ -0,0 +1,10 @@
+
+<img class="screenshot" alt="Account Settings" src="{{docs_base_url}}/assets/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/manual/en/accounts/setup/cost-center.md b/erpnext/docs/user/manual/en/accounts/setup/cost-center.md
new file mode 100644
index 0000000..8b9fcc1
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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/manual/en/accounts/setup/fiscal-year.md b/erpnext/docs/user/manual/en/accounts/setup/fiscal-year.md
new file mode 100644
index 0000000..618d20b
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/accounts/fiscal-year.png">
+
+{next}
diff --git a/erpnext/docs/user/guides/accounts/setup/index.md b/erpnext/docs/user/manual/en/accounts/setup/index.md
similarity index 100%
rename from erpnext/docs/user/guides/accounts/setup/index.md
rename to erpnext/docs/user/manual/en/accounts/setup/index.md
diff --git a/erpnext/docs/user/guides/accounts/setup/index.txt b/erpnext/docs/user/manual/en/accounts/setup/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/accounts/setup/index.txt
rename to erpnext/docs/user/manual/en/accounts/setup/index.txt
diff --git a/erpnext/docs/user/manual/en/accounts/setup/tax-rule.md b/erpnext/docs/user/manual/en/accounts/setup/tax-rule.md
new file mode 100644
index 0000000..72ecf11
--- /dev/null
+++ b/erpnext/docs/user/manual/en/accounts/setup/tax-rule.md
@@ -0,0 +1,21 @@
+You can define which [Tax Template]({{docs_base_url}}/user/guides/setting-up/setting-up-taxes.html) must be applied on a Sales / Purchase transaction using Tax Rule.
+
+<img class="screenshot" alt="Tax Rule" src="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/accounts/tax-rule-1.png">
+
+<img class="screenshot" alt="Tax Rule" src="{{docs_base_url}}/assets/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/manual/en/accounts/tools/bank-reconciliation.md b/erpnext/docs/user/manual/en/accounts/tools/bank-reconciliation.md
new file mode 100644
index 0000000..f2afe76
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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
+
+![]({{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/accounts/bank-reconciliation.png">
+
+__Step 5:__ Click on the button 'Update Clearance Date'.
+ 
+{next}
diff --git a/erpnext/docs/user/guides/accounts/tools/index.md b/erpnext/docs/user/manual/en/accounts/tools/index.md
similarity index 100%
rename from erpnext/docs/user/guides/accounts/tools/index.md
rename to erpnext/docs/user/manual/en/accounts/tools/index.md
diff --git a/erpnext/docs/user/guides/accounts/tools/index.txt b/erpnext/docs/user/manual/en/accounts/tools/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/accounts/tools/index.txt
rename to erpnext/docs/user/manual/en/accounts/tools/index.txt
diff --git a/erpnext/docs/user/manual/en/accounts/tools/payment-reconciliation.md b/erpnext/docs/user/manual/en/accounts/tools/payment-reconciliation.md
new file mode 100644
index 0000000..c719623
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/accounts/tools/payment-tool.md b/erpnext/docs/user/manual/en/accounts/tools/payment-tool.md
new file mode 100644
index 0000000..a5d6966
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/accounts/payment-tool-3.png">
+	
+{next}
diff --git a/erpnext/docs/user/manual/en/accounts/tools/period-closing-voucher.md b/erpnext/docs/user/manual/en/accounts/tools/period-closing-voucher.md
new file mode 100644
index 0000000..fbec8d1
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/buying/articles/index.md b/erpnext/docs/user/manual/en/buying/articles/index.md
new file mode 100644
index 0000000..4e1be28
--- /dev/null
+++ b/erpnext/docs/user/manual/en/buying/articles/index.md
@@ -0,0 +1 @@
+{content}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/buying/articles/index.txt b/erpnext/docs/user/manual/en/buying/articles/index.txt
new file mode 100644
index 0000000..c0ed867
--- /dev/null
+++ b/erpnext/docs/user/manual/en/buying/articles/index.txt
@@ -0,0 +1,3 @@
+maintaining-suppliers-part-no-in-item
+managing-purchase-uom-and-stock-uom
+select-material-requests-based-on-supplier
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/buying/articles/maintaining-suppliers-part-no-in-item.md b/erpnext/docs/user/manual/en/buying/articles/maintaining-suppliers-part-no-in-item.md
new file mode 100644
index 0000000..52f4c97
--- /dev/null
+++ b/erpnext/docs/user/manual/en/buying/articles/maintaining-suppliers-part-no-in-item.md
@@ -0,0 +1,20 @@
+<h1>Maintaining Supplier's Item Code in the Item master</h1>
+
+Since each company has their own item coding standards, for each item, your item code differ from supplier's Item Code. ERPNext allows you to track Supplier's Item Code in your item master, so that you refer to each others item code while transacting. Also you can fetch Supplier's Item Code in your purchase transactions, so that they can easily recognize item referring to their Item Code.
+
+#### 1. Updating Supplier Item Code In Item
+
+Under Purchase section in the Item master, you will find table to track Item Code for each Supplier.
+
+![Item Supplier Item Code]({{docs_base_url}}/assets/img/articles/Supplier Item Code.png)
+
+#### 2. Supplier's Item Code in Transactions
+
+Each purchase transaction has field in the Item table where Supplier's Item Code is fetched. This field is hidden in form as well as in the Standard print format. You can make it visible by changing property for this field from [Customize Form](https://erpnext.com/user-guide/customize-erpnext/customize-form).
+
+Supplier Item Code will only be fetched in the purchase transaction, if both Supplier and Item Code selected in purchase transaction is mapped with value mentioned in the Item master.
+
+![Supplier Item Code in transaction]({{docs_base_url}}/assets/img/articles/Supplier Item Code in Purchase Order.png)
+
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/buying/articles/managing-purchase-uom-and-stock-uom.md b/erpnext/docs/user/manual/en/buying/articles/managing-purchase-uom-and-stock-uom.md
new file mode 100644
index 0000000..d4d97be
--- /dev/null
+++ b/erpnext/docs/user/manual/en/buying/articles/managing-purchase-uom-and-stock-uom.md
@@ -0,0 +1,47 @@
+<h1>Managing Purchase UoM and Stock UoM</h1>
+
+When purchasing an item, you can set purchase UoM (Unit of Measurement) which could be different from item's stock UoM.
+
+### Scenario:
+
+Item ABC is stocked in Nos, but purchased in Cartons. Hence in the Purchase Order, you will need to update UoM as Carton.
+
+### 1. Editing Purchase UoM
+
+
+#### Step 1.1: Edit UoM in the Purchase Order
+
+In the Purchase Order, you will find two UoM fied.
+
+- UoM
+- Stock UoM
+
+In both the fields, default UoM of an item will be updated. You should edit UoM field, and select Purchase UoM (Carton in this case).
+
+![Item Purchase UoM]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-02-19 at 4.10.35 pm.png)
+
+#### Step 1.2: Update UoM Conversion Factor
+
+In one Carton, if you get 20 Nos. of item ABC, then UoM Conversion Factor would be 20. 
+
+![Item Conversion Factor]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-02-19 at 4.11.58 pm.png)
+
+Based on the Qty and Conversion Factor, qty will be calculated in the Stock UoM of an item. If you purchase just one carton, then Qty in the stock UoM will be set as 20.
+
+![Purchase Qty in Default UoM]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-02-19 at 4.14.46 pm.png)
+
+### 2. Stock Ledger Posting
+
+Irrespective of the Purchase UoM selected, stock ledger posting will be done in the Default UoM of an item only. Hence you should ensure that conversion factor is entered correctly while purchasing item in different UoM.
+
+With this, we can conclude that, updating Purchase UoM is mainly for the reference of the supplier. In the print format, you will see item qty in the Purchase UoM.
+
+![Print Format in Purchase UoM]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-02-19 at 4.15.27 pm.png)
+
+### 3. Setting Conversion Factor in the Item master
+
+In the Item master, under Purchase section, you can list all the possible purchase UoM of an item, with its UoM Conversion Factor.
+
+![Purchase UoM master]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-02-19 at 4.13.16 pm.png)
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/buying/articles/select-material-requests-based-on-supplier.md b/erpnext/docs/user/manual/en/buying/articles/select-material-requests-based-on-supplier.md
new file mode 100644
index 0000000..6b59695
--- /dev/null
+++ b/erpnext/docs/user/manual/en/buying/articles/select-material-requests-based-on-supplier.md
@@ -0,0 +1,19 @@
+<h1>Select Material Requests based on Supplier</h1>
+
+<b>Question</b>: How to create a single Purchase Order from multiple Material Requests for all Items that are purchased from common Supplier?<br>
+<br><b>Answer</b>:
+<br>
+<br>Material Requests can be individually fetched from Purchase Orders using the 'From Material Request' button. However this procedure becomes tedious when there are multiple Material Requests for items that are purchased from a single supplier.<br>
+<br>A more efficient way;
+<br>
+<br><u><b>Step 1:</b></u> When creating a Purchase order use the <i>'For Supplier'</i> button in the form.
+<br>
+<br><img src="{{docs_base_url}}/assets/img/articles/kb_po_forsupp.png" height="238" width="747"><br>
+<br><u><b>Step 2:</b></u> In the 'Get From Supplier' pop-up enter the Supplier name and click on <i>'Get'</i>.
+<br>
+<br><img src="{{docs_base_url}}/assets/img/articles/kb_po_popup.png"><br>
+<br><u><b>Step 3:</b></u> All the items associated with a Material Request and having the default Supplier, will be fetched in the Items Table. Any Item that is not required can be deleted.
+<br>
+<br><img src="{{docs_base_url}}/assets/img/articles/kb_po_itemtable.png" height="388" width="645"><br>
+<br><div class="well">Note: For this feature to map the Items correctly, the Default Supplier field in the Item Master must be filled.</div>
+<br>
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/buying/index.md b/erpnext/docs/user/manual/en/buying/index.md
similarity index 100%
rename from erpnext/docs/user/guides/buying/index.md
rename to erpnext/docs/user/manual/en/buying/index.md
diff --git a/erpnext/docs/user/manual/en/buying/index.txt b/erpnext/docs/user/manual/en/buying/index.txt
new file mode 100644
index 0000000..a12bb06
--- /dev/null
+++ b/erpnext/docs/user/manual/en/buying/index.txt
@@ -0,0 +1,6 @@
+supplier
+supplier-quotation
+purchase-order
+setup
+articles
+purchase-taxes
diff --git a/erpnext/docs/user/manual/en/buying/purchase-order.md b/erpnext/docs/user/manual/en/buying/purchase-order.md
new file mode 100644
index 0000000..e7f2429
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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/manual/en/buying/purchase-taxes.md b/erpnext/docs/user/manual/en/buying/purchase-taxes.md
new file mode 100644
index 0000000..871ff96
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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/manual/en/buying/setup/buying-settings.md b/erpnext/docs/user/manual/en/buying/setup/buying-settings.md
new file mode 100644
index 0000000..c89c5d1
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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.]({{docs_base_url}}/user/guides/setting-up/settings/naming-series.html)
+
+### 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/guides/buying/setup/index.md b/erpnext/docs/user/manual/en/buying/setup/index.md
similarity index 100%
rename from erpnext/docs/user/guides/buying/setup/index.md
rename to erpnext/docs/user/manual/en/buying/setup/index.md
diff --git a/erpnext/docs/user/guides/buying/setup/index.txt b/erpnext/docs/user/manual/en/buying/setup/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/buying/setup/index.txt
rename to erpnext/docs/user/manual/en/buying/setup/index.txt
diff --git a/erpnext/docs/user/manual/en/buying/setup/supplier-type.md b/erpnext/docs/user/manual/en/buying/setup/supplier-type.md
new file mode 100644
index 0000000..61f65fa
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/buying/supplier-quotation.md b/erpnext/docs/user/manual/en/buying/supplier-quotation.md
new file mode 100644
index 0000000..0f1d51a
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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/manual/en/buying/supplier.md b/erpnext/docs/user/manual/en/buying/supplier.md
new file mode 100644
index 0000000..455e060
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/customer-portal/customer-orders-invoices-and-shipping-status.md b/erpnext/docs/user/manual/en/customer-portal/customer-orders-invoices-and-shipping-status.md
new file mode 100644
index 0000000..83d7bf6
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/old_images/erpnext/customer-portal-orders-1.png)
+
+#### Invoice with paid status.
+
+![Invoice Paid]({{docs_base_url}}/assets/old_images/erpnext/portal-invoice-paid.png)
+
+#### Invoice with billed status.
+
+![Billed Invoice]({{docs_base_url}}/assets/old_images/erpnext/portal-order-billed.png)
+
+{next}
diff --git a/erpnext/docs/user/guides/customer-portal/index.md b/erpnext/docs/user/manual/en/customer-portal/index.md
similarity index 100%
rename from erpnext/docs/user/guides/customer-portal/index.md
rename to erpnext/docs/user/manual/en/customer-portal/index.md
diff --git a/erpnext/docs/user/guides/customer-portal/index.txt b/erpnext/docs/user/manual/en/customer-portal/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/customer-portal/index.txt
rename to erpnext/docs/user/manual/en/customer-portal/index.txt
diff --git a/erpnext/docs/user/manual/en/customer-portal/issues.md b/erpnext/docs/user/manual/en/customer-portal/issues.md
new file mode 100644
index 0000000..79ac676
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/old_images/erpnext/portal-ticket-list-empty.png)
+
+#### New Issue
+
+![New Ticket]({{docs_base_url}}/assets/old_images/erpnext/portal-new-ticket.png)
+
+#### Open Issue
+
+![Open Issue]({{docs_base_url}}/assets/old_images/erpnext/portal-ticket-1.png)
+
+#### Reply on Issue
+
+![Reply Issue]({{docs_base_url}}/assets/old_images/erpnext/portal-ticket-reply.png)
+
+{next}
diff --git a/erpnext/docs/user/manual/en/customer-portal/portal-login.md b/erpnext/docs/user/manual/en/customer-portal/portal-login.md
new file mode 100644
index 0000000..4a3b60c
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/old_images/erpnext/customer-portal-login.png)
+
+{next}
diff --git a/erpnext/docs/user/manual/en/customer-portal/sign-up.md b/erpnext/docs/user/manual/en/customer-portal/sign-up.md
new file mode 100644
index 0000000..01929ec
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/old_images/erpnext/customer-portal-sign-up-1.png)
+
+  
+
+#### Step 2: Click on Sign Up Icon
+
+![Sign Up]({{docs_base_url}}/assets/old_images/erpnext/customer-portal-sign-up-2.png)
+
+  
+
+#### Step 3: Enter Customer Name and ID
+
+![Sign Up]({{docs_base_url}}/assets/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/manual/en/customize-erpnext/articles/allow-fields-to-be-changed-after-submit.md b/erpnext/docs/user/manual/en/customize-erpnext/articles/allow-fields-to-be-changed-after-submit.md
new file mode 100644
index 0000000..7460568
--- /dev/null
+++ b/erpnext/docs/user/manual/en/customize-erpnext/articles/allow-fields-to-be-changed-after-submit.md
@@ -0,0 +1,26 @@
+<h1>Allow Fields to be Changed After Submit</h1>
+
+In many cases a field may need to be changed even after the document has been submitted to allow flexibility. The _Allow On Submit_ option is available for such a purpose. Certain standard fields in Doctypes are set as Allow On Submit by default (such as _Letterhead_ and _Print Heading_ in Invoices). The user can set Custom Fields as Allow On Submit using Customize Form.
+
+**Note:** Standard Fields cannot be set as Allow On Submit by a User
+
+#### Step 1: Go to Customize Form in Setup Module.
+
+```Setup >> Customize >> Customize Form```
+
+#### 
+####Step 2: Select the form containing the desired Custom Field in _Enter Form Type_ field.
+
+![]({{docs_base_url}}/assets/img/articles/kb_custom_name.png)
+
+#### **Step 3:** In the _Fields_ section, scroll down, click on the Custom field and check the _Allow On Submit._
+
+![]({{docs_base_url}}/assets/img/articles/kb_allowonsubmit_checkinform.png)
+
+_This field can now be changed even after the Document is submitted_.
+
+**Note:** The Custom Fields can also be set as Allow On Submit during the time of creation by checking the Allow On Submit option that is available.
+![]({{docs_base_url}}/assets/img/articles/kb_allowonsubmit_checkinfield.png)
+
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/articles/creating-custom-link-field.html b/erpnext/docs/user/manual/en/customize-erpnext/articles/creating-custom-link-field.html
new file mode 100644
index 0000000..cf27229
--- /dev/null
+++ b/erpnext/docs/user/manual/en/customize-erpnext/articles/creating-custom-link-field.html
@@ -0,0 +1,7 @@
+<h1>Creating Custom Link Fields</h1>
+
+Users can create Custom Link Fields within DocTypes by following these steps;
+
+
+
+<br><h4>Step 1: Go to Customize Form in Setup Module.</h4><code>Setup &gt;&gt; Customize &gt;&gt; Customize Form</code><br><br><h4>Step 2: Select the desired form in <em>Enter Form Type</em> field.</h4><img src="{{docs_base_path}}/assets/img/articles/kb_custom_name.png" height="194" width="697"><br><br><h4><strong>Step 3:</strong> In the <em>Fields</em> section;</h4><p>Insert a new Field row and set the attributes as;</p><ul><li><b>Label: </b>Desired label that user wishes to display in the form</li><li><b>Type: </b>Set as 'Link'</li><li><b>Name: </b>Desired name for the field</li><li><b>Options: </b>Enter the name of the Doctype to which the field is linked<br></li></ul><br><img src="{{docs_base_path}}/assets/img/articles/kb_customlink_newfield.png" height="311" width="697"><br><br><br><h4>Note: Please refer to https://frappe.io/kb/customization/form-architecture for more information about the form structure<br></h4><!-- html -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/articles/customizing-sorting-order-in-the-list-view.md b/erpnext/docs/user/manual/en/customize-erpnext/articles/customizing-sorting-order-in-the-list-view.md
new file mode 100644
index 0000000..cc7ac01
--- /dev/null
+++ b/erpnext/docs/user/manual/en/customize-erpnext/articles/customizing-sorting-order-in-the-list-view.md
@@ -0,0 +1,29 @@
+<h1>Customizing Sorting Order in the List View</h1>
+
+**Question:** I want records in my Item List sorted based on Desc Order of Item Code.
+
+**Answers:** Following are the steps to customize Sort Order for the Item master. These steps will be applicable for customizing Sort Order for the other documents as well.
+
+####Step 1: Go to Customize Form
+
+`Setup > Customize > Customize Form`
+
+####Step 2: Select Doctype
+
+Select document for which you Sort Order is to be customized. Considering a scenario, Item should be selected in the Doctype field.
+
+####Step 3: Update Sort Details
+
+In the Customize Form, you will find these fields.
+
+![Sort Order field]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-04-02 at 3.26.51 pm.png)
+
+1. Sort Field
+
+Select field based on which sorting will be done. It will be "Item_Code" field in scenario.
+
+2. Sort Order
+
+Sort Order will be two possible options, **Asc** for ascending, and **Desc** for descending.
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/articles/deleting-custom-reports.md b/erpnext/docs/user/manual/en/customize-erpnext/articles/deleting-custom-reports.md
new file mode 100644
index 0000000..bb0461c
--- /dev/null
+++ b/erpnext/docs/user/manual/en/customize-erpnext/articles/deleting-custom-reports.md
@@ -0,0 +1,23 @@
+<h1>Deleting Custom Reports</h1>
+
+ERPNext has several [types of reports](https://erpnext.com/kb/report/making-custom-reports-in-erpnext) which can be customize as per the companies/users requirement.
+
+If there is a report custom report which needs to be deleted, it can be achieved by following steps given below. Please note that its applicable only for the Custom Report, and not for the standard reports.
+
+####Report List
+
+In the Awesome Bar, type and select "Report List" for an option.
+
+![Report Search]({{docs_base_url}}/assets/img/articles/$SGrab_316.png)
+
+####Selecting and Deleting Report
+
+The Report List will have all the standard and custom reports of your account. You can select Custom Report to be deleted from the list itself, and click on Delete icon.
+
+![Report List]({{docs_base_url}}/assets/img/articles/$SGrab_317.png)
+
+Or you can open that report, and delete it from File menu option.
+
+![Report Delete]({{docs_base_url}}/assets/img/articles/$SGrab_318.png)
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/articles/disable-rounded-total.md b/erpnext/docs/user/manual/en/customize-erpnext/articles/disable-rounded-total.md
new file mode 100644
index 0000000..2f9655c
--- /dev/null
+++ b/erpnext/docs/user/manual/en/customize-erpnext/articles/disable-rounded-total.md
@@ -0,0 +1,23 @@
+<h1>Disable Rounded Total</h1>
+
+Each transaction in ERPNext has Standard print format. For transactions, Standard print format covers Rounded Total for that transaction by default.
+
+![Print Preview]({{docs_base_url}}/assets/img/articles/Selection_053.png)
+
+If you don't wish rounded total to be shown in the Standard Print Format, please complete following settings.
+
+####1. Go to Global Settings
+
+`Setup > Settings > Global Settings`
+
+####2. Set Global Defaults
+
+Check Disable Rounded Total, and Save Global Defaults.
+
+![Global Default]({{docs_base_url}}/assets/img/articles/Selection_052.png)
+
+For system to take effect of this setting, you should clear cache and refresh your ERPNext account. Then your print formats shall not render value for the Rounded Total in the print formats.
+   
+<div class=well>Note: This setting will only affect Standard print formats.</div>
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/articles/field-types.html b/erpnext/docs/user/manual/en/customize-erpnext/articles/field-types.html
new file mode 100644
index 0000000..6b1c38b
--- /dev/null
+++ b/erpnext/docs/user/manual/en/customize-erpnext/articles/field-types.html
@@ -0,0 +1,168 @@
+<h1>Field Types</h1>
+
+<p>Following are the types of fields you can define while creating new ones, or while amend standard ones.</p>
+<ul>
+    <li><b>Attach:</b>
+
+        <br>
+        <br>Attach field allows you browsing file from File Manager and attach in the transaction.
+        <br>
+        <br>
+        <img src="{{docs_base_path}}/assets/img/articles/$SGrab_184.png">
+        <br>
+        <br>
+    </li>
+    <li><b>Button:</b>
+
+        <br>
+        <br>This Field Type will generate a Button, on clicking which you can execute some function.
+        <br>
+        <br>
+    </li>
+    <li><b>Check:</b>
+
+        <br>
+        <br>Check will generate a check box field.
+        <br>
+        <br>
+        <img src="{{docs_base_path}}/assets/img/articles/$SGrab_185.png">
+        <br>
+        <br>
+    </li>
+    <li><b>Column Break:</b>
+
+        <br>
+        <br>Since ERPNext has two column layout, using Column Break fields, you can divide set of fields on either side.
+        <br>
+        <br>
+        <img src="{{docs_base_path}}/assets/img/articles/$SGrab_186.png">
+        <br>
+        <br>
+    </li>
+    <li><b>Currency:</b>
+
+        <br>
+        <br>Currency field holds numeric value, upto two decimal place. Also you can have currency symbol being shown for the currency field.
+        <br>
+        <br>
+        <img src="{{docs_base_path}}/assets/img/articles/$SGrab_187.png">
+        <br>
+        <br>
+    </li>
+</ul>
+<ul>
+    <li><b>Data:</b>
+
+        <br>
+        <br>Data field allows you entering value upto 255 character.
+        <br>
+        <br>
+        <img src="{{docs_base_path}}/assets/img/articles/$SGrab_183.png">
+        <br>
+        <br>
+    </li>
+    <li><b>Date and Time:<br><br></b>This field will give you date and time picker, with value for current date and time (as provided by your computer) set by default.
+        <br>
+        <br><b><img src="{{docs_base_path}}/assets/img/articles/$SGrab_188.png"><br><br></b>
+
+    </li>
+    <li><b>Dynamic Link:<br><br></b>Link field is one which pulls data from another master/table. Dynamic link field is connected with multiple masters at the same time. Its link is determined based on value selected in the previous field.
+        <br>
+        <br>Example: Customer will be Dynamic field in the Quotation form. If use selects Quotation made for Customer, then Customer field will be linked to Customer master, and suggest records accordingly. If user selects that Quotation is for Lead, then same Customer
+        field will be linked to Lead master.
+        <br>
+        <br>
+    </li>
+    <li><b>Float:</b>
+
+        <br>
+        <br>Float field carries numeric value, upto six decimal place. Float Precision set in Setup &gt;&gt; Settings &gt;&gt; System Setting will be applicable on all the link field. For float field, decimal places generated will be as define in Float Precision.
+        <br>
+        <br>
+        <img src="{{docs_base_path}}/assets/img/articles/$SGrab_189.png">
+        <br>If you need more than two decimal place in the Currency field, you can change its field type to Float field from Customize Form.
+        <br>
+        <br>
+    </li>
+    <li><b>Image:</b>
+
+        <br>
+        <br>Image field will render an image file selected in another attach field.
+        <br>
+        <br>
+        <img src="{{docs_base_path}}/assets/img/articles/$SGrab_190b611f3.png">
+        <br>
+        <br>For the Image field, under Option, Attach field name should be provide which this field will refer to for image file, and render that image file.
+        <br>
+        <br>
+    </li>
+    <li><b>Int (Integer):</b>
+
+        <br>
+        <br>Integer field holds numeric value, without decimal place.
+        <br>
+        <br>
+    </li>
+    <li>Link Field:
+        <br>
+        <br>Link field is connected with another master from where it fetches data.
+        <br>
+        <br>
+        <img src="{{docs_base_path}}/assets/img/articles/$SGrab_191.png">
+        <br>
+        <br>
+    </li>
+    <li><b>Password:<br><br></b>Password field will decode value in it. Extra coding will be required for validating password of specific user.<b><br><br></b>
+
+    </li>
+    <li><b>Read Only:<br><br></b>Read Only field will carry data fetched from another form, but they themselves will be non-editable. You should set Read Only as field type if its source for value is predetermined.
+        <br>
+        <br>
+    </li>
+    <li><b>Section Break:</b>
+
+        <br>
+        <br>Section Break can be used to divide form in multiple section.
+        <br>
+        <br>
+        <img src="{{docs_base_path}}/assets/img/articles/$SGrab_192.png">
+        <br>
+        <br>
+    </li>
+    <li><b>Select:<br><br></b>Select will be the drop-down field, with possible results (separate by row) define in the Option.
+        <br>
+        <br>
+        <img src="{{docs_base_path}}/assets/img/articles/$SGrab_193.png">
+        <br><b><br></b>
+
+    </li>
+    <li><b>Small Text:</b>
+
+        <br>
+        <br>Small Text field carries general text content, has little more character limit than Data field.
+        <br>
+        <br>
+        <img src="{{docs_base_path}}/assets/img/articles/$SGrab_194.png">
+        <br>
+        <br>
+    </li>
+    <li><b>Table:</b>
+
+        <br>
+        <br>Table will be (sort of) Link field which will render another docytpe within the current form. For example, Item table in the Sales Order form is Table field, which is linked to Sales Order Item doctype.
+        <br>
+        <br>
+        <img src="{{docs_base_path}}/assets/img/articles/$SGrab_196.png">
+        <br>
+        <br>
+    </li>
+    <li><b>Text Editor:</b>
+
+        <br>
+        <br>Text Editor will be large text field, with tools to format text.
+        <br>
+        <br>
+        <img src="{{docs_base_path}}/assets/img/articles/$SGrab_198.png">
+        <br>
+    </li>
+</ul>
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/articles/increase-max-attachments.html b/erpnext/docs/user/manual/en/customize-erpnext/articles/increase-max-attachments.html
new file mode 100644
index 0000000..450bfb1
--- /dev/null
+++ b/erpnext/docs/user/manual/en/customize-erpnext/articles/increase-max-attachments.html
@@ -0,0 +1,24 @@
+<h1>Increase Max Attachments</h1>
+
+You can increase Number of attachments which can be added to particular documents via Customize Form.
+<br>
+<br>Let's assume we need to increase Max Attachment limit for Quotation to five. Following will be the steps to achieve this.
+<br>
+<br>
+<b>Step 1</b>: Go to Setup &gt; Customize &gt; Customize Form.
+    <br>
+    <br><b>Step 2</b>: Enter Form Type.<br>&nbsp;
+    <br>In our case, it will be "Quotation".
+    <br><br><img src="{{docs_base_path}}/assets/img/articles/Selection_0179888b3.png"><br>
+    <br><b>Step 3:</b> Increase Numbers under the Max Attachments field.
+<br>
+    <br><br>
+<img src="{{docs_base_path}}/assets/img/articles/Selection_018ea50ef.png">
+    <br>
+    <br>After increasing numbers update the Customization Form.
+<br>
+<br>
+<div class="well">Note: Max limit/size of an attachment is 1MB.</div>
+
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/articles/index.md b/erpnext/docs/user/manual/en/customize-erpnext/articles/index.md
new file mode 100644
index 0000000..4e1be28
--- /dev/null
+++ b/erpnext/docs/user/manual/en/customize-erpnext/articles/index.md
@@ -0,0 +1 @@
+{content}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/articles/index.txt b/erpnext/docs/user/manual/en/customize-erpnext/articles/index.txt
new file mode 100644
index 0000000..3ac0897
--- /dev/null
+++ b/erpnext/docs/user/manual/en/customize-erpnext/articles/index.txt
@@ -0,0 +1,16 @@
+allow-fields-to-be-changed-after-submit
+creating-custom-link-field
+customizing-sorting-order-in-the-list-view
+deleting-custom-reports
+disable-rounded-total
+field-types
+increase-max-attachments
+make-field-visible-in-print-format
+making-custom-reports-in-erpnext
+managing-dynamic-link-fields
+module-visibility
+perm-level-error-in-permission-manager-1
+search-record-by-specific-field
+set-language
+set-precision-for-float-currency-and-percent-fields
+user-restriction
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/articles/make-field-visible-in-print-format.html b/erpnext/docs/user/manual/en/customize-erpnext/articles/make-field-visible-in-print-format.html
new file mode 100644
index 0000000..ffdd9d2
--- /dev/null
+++ b/erpnext/docs/user/manual/en/customize-erpnext/articles/make-field-visible-in-print-format.html
@@ -0,0 +1,5 @@
+<h1>Make Fields Visible In Print Format</h1>
+
+The standard print formats only display certain fields by default. In case the user prefers more information from fields to be displayed, this can be achieved by using the <i>Customize Form</i> feature.<b><br><br>Step 1:</b> Go to Customize Form in Setup Module.<br><br>
+<div class="well">Setup &gt;&gt; Customize &gt;&gt; Customize Form</div>
+<b>Step 2: </b>Select the desired form in <i>Enter Form Type</i> field.<br><br><img src="{{docs_base_path}}/assets/img/articles/kb_custom_name.png"><br><br><b>Step 3:</b> In the <i>Fields</i> section, click on the field that must be visible in the Print Format and remove the check on <i>Print Hide</i> field.<br><br><img src="{{docs_base_path}}/assets/img/articles/kb_custom_printhide.png" height="214" width="674"><br><br>The field will now be visible in all print formats for that Document type.<br>
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/articles/making-custom-reports-in-erpnext.md b/erpnext/docs/user/manual/en/customize-erpnext/articles/making-custom-reports-in-erpnext.md
new file mode 100644
index 0000000..540d1cd
--- /dev/null
+++ b/erpnext/docs/user/manual/en/customize-erpnext/articles/making-custom-reports-in-erpnext.md
@@ -0,0 +1,53 @@
+<h1>Reports in ERPNext</h1>
+
+There are three kind of reports in ERPNext.
+
+###1. Query Report
+
+Query Report is written in SQL which pull values from database and fetch in the report. Though SQL queries can be written from front end, like HTML for customer print format, its restricted from hosted users. Because it will allow users with no access to specific report to query data from query report.
+
+Check Purchase Order Item to be Received report in Stock module for example of Query report.
+
+###2. Script Report
+
+Script Reports are written in Python and stored on server side. These are complex reports which involves exception of logic and calculation. Since these reports are written on server side, its not available for hosted users.
+
+Check Financial Analytics report in Accounts module for example of Script Report.
+
+###3. Report Builder
+
+Report Builder is an in-built report customization tool in ERPNext. This allows you to define fields of the form which shall appear as column in the report. Also you can set required filters and do sorting as per your preference.
+
+Each form in ERPNext has Report Builder option in its list view.
+
+![Report Builder Icon]({{docs_base_url}}/assets/img/articles/Selection_046.png)
+
+####Adding Column in Report
+
+Go to Menu and click on Pick Column option to select field which should be added as column in the report. You can also select the field from the child table (eg. Item table in Sales Invoice) of the form.
+
+![Report Pick Column]({{docs_base_url}}/assets/img/articles/Selection_050.png)
+
+####Applying Filters
+
+All the fields of the form will be applicable for setting filter as well.
+
+![Report Pick Column]({{docs_base_url}}/assets/img/articles/$SGrab_238.png)
+
+####Sorting
+
+Select field based on which report will be sorted.
+
+![Report Pick Column]({{docs_base_url}}/assets/img/articles/Selection_052f7b160.png)
+
+####Save Report
+
+Go to Menu and click on Save button to have this report saved with selected column, filters and sorting.
+
+![Report Pick Column]({{docs_base_url}}/assets/img/articles/$SGrab_241.png)
+
+Saved reports appear under Customize section in the module's home page. Customize Report section only appear if you have custom reports being saved for documents of that module.
+
+![Report Pick Column]({{docs_base_url}}/assets/img/articles/$SGrab_242.png)
+
+<!-- markdown --> 
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/articles/managing-dynamic-link-fields.md b/erpnext/docs/user/manual/en/customize-erpnext/articles/managing-dynamic-link-fields.md
new file mode 100644
index 0000000..c14ef39
--- /dev/null
+++ b/erpnext/docs/user/manual/en/customize-erpnext/articles/managing-dynamic-link-fields.md
@@ -0,0 +1,46 @@
+<h1>Managing Dynamic Link Fields</h1>
+
+Dynamic Link field is one which can search and hold value of any document/doctype. Let's consider an example to learn how Dynamic Link field can benefit us.
+
+While creating Opportunity or Quotation, we have to explicitly define if it is for Lead or Customer. Based on our selection (Lead/Customer), another link field shows up where we can select actual Lead or Customer for whom we are creating this Quotation.
+
+If you set later field as Dynamic Link, where we select actual Lead or Customer, this field will be able to search Leads as well as Customers. Hence we need not insert separate link fields for Customer and Lead.
+
+Let's check steps to insert Custom Dynamic Field. For an instance, we will insert it under Journal Voucher Form.
+
+####Insert Link Field for Doctype
+
+Firstly we will create a link field which will be linked to the Doctype.
+
+![Custom Link Field]({{docs_base_url}}/assets/img/articles/$SGrab_349.png)
+
+By **Doctype** mentioned in the Option field, we mean parent Doctype. So, just like Quotation is one Doctype, which has multiple Quotation under it. Same way, Doctype is also a Doctype which has Sales Order Doctype, Purchase Order Doctype and other form's doctype created under it as child Doctype.
+
+-- Doctype<br>
+----- Sales Order<br>
+----- Purchase Invoice<br>
+----- Quotation<br>
+----- Sales Invoice<br>
+----- Employee<br>
+----- Production Order<br>
+and so on, till all the forms/document of ERPNext is covered.
+
+So linking this field with parent Doctype master list all the child doctypes/forms.
+
+![journal Voucher Link Field]({{docs_base_url}}/assets/img/articles/$SGrab_352.png)
+
+####Insert Dynamic Link Field
+
+It will be "Dynamic Link" for Field Type, and field name of Doctype field mentioned in its Option field.
+
+![Custom Dynamic Field]({{docs_base_url}}/assets/img/articles/$SGrab_350.png)
+
+This field will allow us to select document id, based on value selected in the Doctype link field. For example, if we select Sales Order in the prior field, this field will list all the Sales Orders id. If we select Purchase Invoice in the prior field, this field will render all the Purchase Order for our selection.
+
+![Journal Voucher Dynamic Field ]({{docs_base_url}}/assets/img/articles/$SGrab_353.png)
+
+####Customizing options in the Doctype Link field
+
+Bydefault, Docytpe link field will provide all the forms/doctypes for selection. If you wish this field to show certain specific doctypes in the search result, you will need to write Custom Script for it.
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/articles/module-visibility.md b/erpnext/docs/user/manual/en/customize-erpnext/articles/module-visibility.md
new file mode 100644
index 0000000..837ca92
--- /dev/null
+++ b/erpnext/docs/user/manual/en/customize-erpnext/articles/module-visibility.md
@@ -0,0 +1,17 @@
+<h1>Module Visibility</h1>
+
+If you have permission on specific module, but it is still not visible to you, following is how you should go about checking setting to make it visible again.
+
+As step zero, reassure that you have role assigned which is required for accessing Website and Shopping Cart module. For modules in question, you should have "Website Manager" role assigned. If permissions has been customized in your account, check Role Permission Manager to know which Role has permission on Website and Shopping Cart module.
+
+If modules are hidden in-spite of assignment of required permission, then you should check if Website and Shopping Cart module is not disabled from All Application option on your desk/home page.
+
+![All Applications]({{docs_base_url}}/assets/img/articles/$SGrab_223.png)
+
+If modules are still not visible, check if it is hidden by System Manager from Show/Hide Modules option in the Setup module.
+
+<div class="well">Setup &gt;&gt; Settings &gt;&gt; Show / Hide Modules</div>Ensure required module are checked, and not disabled in this page. If you just enabled/activated it, update Show/Hide Module page, and check your home page after Help &gt;&gt; Clear Cache.
+
+<div class="well">Note: In this help page, Website and Shopping Cart module is considered as an example. You can troubleshoot visibility issues for other modules following same steps.</div>
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/articles/perm-level-error-in-permission-manager-1.md b/erpnext/docs/user/manual/en/customize-erpnext/articles/perm-level-error-in-permission-manager-1.md
new file mode 100644
index 0000000..2fb27b6
--- /dev/null
+++ b/erpnext/docs/user/manual/en/customize-erpnext/articles/perm-level-error-in-permission-manager-1.md
@@ -0,0 +1,19 @@
+<h1>Perm Level Error in Permission Manager</h1>
+
+While customizing rules in the [Permission Manager](https://erpnext.com/user-guide/setting-up/permissions/role-based-permissions), you might receive an error message saying:
+
+`For System Manager_ (or other role) _at level 2_ (or other level) _in Customer_ (or document) _in row 8: Permission at level 0 must be set before higher levels are set`.
+
+Error message indicates problem in the existing permission setting for this document.
+
+For any role, before assigning permission at Perm Level 1, 2, permission at Perm Level 0 must be assigned. Error message says that System Manager has been assigned permission at Perm Level 1 and 2, but not at level 0. You should first correct the permission for System Manager's role by:
+
+- Assigning permission to System Manager at level 0.
+
+Or
+
+- By removing permission at level 1 and 2.
+
+After executing one of the above step, you should try adding additional rules in the Role Permission Manager.
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/articles/search-record-by-specific-field.md b/erpnext/docs/user/manual/en/customize-erpnext/articles/search-record-by-specific-field.md
new file mode 100644
index 0000000..1505964
--- /dev/null
+++ b/erpnext/docs/user/manual/en/customize-erpnext/articles/search-record-by-specific-field.md
@@ -0,0 +1,21 @@
+<h1>Search Record by Specific Field</h1>
+
+While creating any document in ERPNext, you might have to select other record id in it (like selecting Customer in Quotation). For ease in selecting other record, you can search them based on value in various fields of that record. Search By functionality enables you searching and filtering records based on value in the specific fields of that record.
+
+Let's consider an example to learn Search By functionality better. While creating Sales Order, we need to select Customer in it. If we need to filter search result of Customer for specific Customer Group, we should go about following these steps to achieve it.
+
+####Search By in Customize Form
+
+In the Customize Form tool, you will find field called Search Field. You should enter field names based on which we can search and filter result for this document.
+
+Considering our scenario, we should update name of Customer Group field for Customer in the Customize Form.
+
+![Search By in Customize Form]()
+
+####Searching in Another Record.
+
+While creating transaction, to get filtered result for Customer, you should firstly click on search magnifier.
+
+![Search for master]()
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/articles/set-language.md b/erpnext/docs/user/manual/en/customize-erpnext/articles/set-language.md
new file mode 100644
index 0000000..91e9e5f
--- /dev/null
+++ b/erpnext/docs/user/manual/en/customize-erpnext/articles/set-language.md
@@ -0,0 +1,38 @@
+<h1>Change the Language</h1>
+
+ERPNext is an multi-lingual application, which means user can select a preferred language for one's ERPNext account.
+
+### 1. Setting Language in User's Account
+
+Following are the steps to set language in your ERPNext account.
+
+#### 1.1 Go to My Setting
+
+![My Setting]({{docs_base_url}}/assets/img/articles/$SGrab_428.png)
+
+#### 1.2 Select Language
+
+![Select Language]({{docs_base_url}}/assets/img/articles/$SGrab_429.png)
+
+#### 1.3 Save User
+
+On saving User after selecting language, your ERPNext account will be refresh automatically. Then you will see ERPNext translated in your selected language.
+
+Being a System Manager, you can set language in other user's master as well.
+
+### 2. Set Language Globally for an Account
+
+#### 2.1 Go to Setup
+
+`Setup > Settings > System Settings`
+
+#### Set Language
+
+![Global Language]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-02-05 at 4.35.12 pm.png)
+
+#### Save
+
+Save System Settings, and refresh your EPRNext account. On refreshing, you should language in your ERPNext account changed as per your preference.
+
+Note: For now, we have translation available only for few languages. You can contribute to make translation better, and add new languages from [here](https://frappe.io/translator).
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/articles/set-precision-for-float-currency-and-percent-fields.md b/erpnext/docs/user/manual/en/customize-erpnext/articles/set-precision-for-float-currency-and-percent-fields.md
new file mode 100644
index 0000000..2cc39e1
--- /dev/null
+++ b/erpnext/docs/user/manual/en/customize-erpnext/articles/set-precision-for-float-currency-and-percent-fields.md
@@ -0,0 +1,26 @@
+<h1>Set Precision for Float, Currency and Percent fields</h1>
+
+In ERPNext, default precision for `Float`, `Currency` and `Percent` field is 3. So, you can enter any number up-to 3 decimals in such fields.
+
+You can also change / customize the precision settings globally or for a specific field.
+
+To change the precision globally, go to `Setup > Settings > System Settings`.
+![Global Precision]({{docs_base_url}}/assets/img/articles/precision-global.png)
+
+You can also set field specific precision. To do that go to `Setup > Customize > Customize Form` and select the DocType there. Then go to the specific field row and change precision. Precision field is only visible if field-type is one of the Float, Currency and Percent.
+![Field-wise Precision]({{docs_base_url}}/assets/img/articles/precision-fieldwise.png)
+
+**Note:**
+If you are changing precision of a field to a higher number, all the related fields should also be set to the same precision.
+
+For example, if you want to calculate invoice total upto 5 decimals, you need to change the precision of all related fields, which resulted total. In this case you have to change following fields to get correct total.
+
+    Sales Invoice Item: price_list_rate, base_price_list_rate, rate, base_rate, amount and base_amount
+    
+    Taxes and Charges: tax_amount, total and tax_amount_after_discount
+    
+    Sales Invoice: net_total, other_charges_total, discount_amount and grand_total
+
+And precision should be changed in all related documents as well, to get correct mapping. In this case, same precision should be set for Quotation, Sales order, Delivery Note and Sales Invoice.
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/articles/user-restriction.html b/erpnext/docs/user/manual/en/customize-erpnext/articles/user-restriction.html
new file mode 100644
index 0000000..09f9cb1
--- /dev/null
+++ b/erpnext/docs/user/manual/en/customize-erpnext/articles/user-restriction.html
@@ -0,0 +1,29 @@
+<h1>Owner Restriction</h1>
+
+To restricting user based on Owner (creator of record),&nbsp; form/document should have field linked with User master. If that document is not linked with user, then you should create <a href="https://erpnext.com/user-guide/customize-erpnext/custom-field" target="_blank">custom field</a> and link it with User master.
+<br>
+<br>Following are the steps to restrict User based on Owner.
+<br>
+<br><b>Step 1: </b>Go to:
+<br>
+<br>Setup &gt; Permissions &gt; Role Permissions Manager
+<br>
+<br><b>Step 2:</b> Select Document Type for which you want to set user permission. After permissions are loaded for selected document, scroll to role for which you want to set restriction.
+<br>&nbsp;
+<img src="{{docs_base_path}}/assets/img/articles/Selection_0045d151c.png"><br>
+<br><b>Step 3:</b> For Role to be resricted (Sales User in this case), check "Apply User Restriction". On checking Apply User Permission, two links will be show up called:
+<br>
+<br>- Select Document Type
+<br>- Select User Permissions
+<br>
+<br>Click on "Select Document Type".
+<br>
+<br>
+<img src="{{docs_base_path}}/assets/img/articles/Selection_0028834c2.png" height="168" width="691">
+<br>
+<br><b>Step 4:</b> Check mark on User, and un-check for others. If you want user to be restricted based on some other criteria as well, like territory, customer groups, then that should be checked as well.
+<br>
+<br>
+<img src="{{docs_base_path}}/assets/img/articles/Selection_003fea339.png">&nbsp;
+<br>
+<div class="well">When restricting User based on User master itself, then there is no need to create User Permission Setting.</div>
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/custom-doctype.md b/erpnext/docs/user/manual/en/customize-erpnext/custom-doctype.md
new file mode 100644
index 0000000..fdca8da
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/img/setup/customize/Doctype-permissions.png)
+
+#### Save Doctype
+
+On saving doctype, you will get pop-up to provide name for this Doctype.
+
+![Doctype Save]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/img/setup/customize/Doctype-list-view.png)
+
+#### Book master
+
+Using the fields entered, following is the master one book.
+
+![Doctype List]({{docs_base_url}}/assets/img/setup/customize/Doctype-book-added.png)
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/custom-field.md b/erpnext/docs/user/manual/en/customize-erpnext/custom-field.md
new file mode 100644
index 0000000..8aefa80
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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/guides/customize-erpnext/custom-scripts/custom-script-examples/custom-button.md b/erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/custom-button.md
similarity index 100%
rename from erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/custom-button.md
rename to erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/custom-button.md
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/custom-script-fetch-values-from-master.md b/erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/custom-script-fetch-values-from-master.md
new file mode 100644
index 0000000..38395f9
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/user/guides/customize-erpnext/custom-scripts.html)
+
+{next}
diff --git a/erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/date-validation.md b/erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/date-validation.md
similarity index 100%
rename from erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/date-validation.md
rename to erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/date-validation.md
diff --git a/erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/generate-item-code-based-on-custom-logic.md b/erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/generate-item-code-based-on-custom-logic.md
similarity index 100%
rename from erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/generate-item-code-based-on-custom-logic.md
rename to erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/generate-item-code-based-on-custom-logic.md
diff --git a/erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/index.md b/erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/index.md
similarity index 100%
rename from erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/index.md
rename to erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/index.md
diff --git a/erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/index.txt b/erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/index.txt
rename to erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/index.txt
diff --git a/erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/make-read-only-after-saving.md b/erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/make-read-only-after-saving.md
similarity index 100%
rename from erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/make-read-only-after-saving.md
rename to erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/make-read-only-after-saving.md
diff --git a/erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/restrict-cancel-rights.md b/erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/restrict-cancel-rights.md
similarity index 100%
rename from erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/restrict-cancel-rights.md
rename to erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/restrict-cancel-rights.md
diff --git a/erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/restrict-purpose-of-stock-entry.md b/erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/restrict-purpose-of-stock-entry.md
similarity index 100%
rename from erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/restrict-purpose-of-stock-entry.md
rename to erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/restrict-purpose-of-stock-entry.md
diff --git a/erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/restrict-user-based-on-child-record.md b/erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/restrict-user-based-on-child-record.md
similarity index 100%
rename from erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/restrict-user-based-on-child-record.md
rename to erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/restrict-user-based-on-child-record.md
diff --git a/erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/sales-invoice-id-based-on-sales-order-id.md b/erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/sales-invoice-id-based-on-sales-order-id.md
similarity index 100%
rename from erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/sales-invoice-id-based-on-sales-order-id.md
rename to erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/sales-invoice-id-based-on-sales-order-id.md
diff --git a/erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/update-date-field-based-on-value-in-other-date-field.md b/erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/update-date-field-based-on-value-in-other-date-field.md
similarity index 100%
rename from erpnext/docs/user/guides/customize-erpnext/custom-scripts/custom-script-examples/update-date-field-based-on-value-in-other-date-field.md
rename to erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/update-date-field-based-on-value-in-other-date-field.md
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/index.md b/erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/index.md
new file mode 100644
index 0000000..e5e9d74
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/old_images/erpnext/custom-script.png)
+
+### Topics
+
+{index}
diff --git a/erpnext/docs/user/guides/customize-erpnext/custom-scripts/index.txt b/erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/customize-erpnext/custom-scripts/index.txt
rename to erpnext/docs/user/manual/en/customize-erpnext/custom-scripts/index.txt
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/customize-form.md b/erpnext/docs/user/manual/en/customize-erpnext/customize-form.md
new file mode 100644
index 0000000..232f34b
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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/manual/en/customize-erpnext/document-title.md b/erpnext/docs/user/manual/en/customize-erpnext/document-title.md
new file mode 100644
index 0000000..639e358
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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/manual/en/customize-erpnext/hiding-modules-and-features.md b/erpnext/docs/user/manual/en/customize-erpnext/hiding-modules-and-features.md
new file mode 100644
index 0000000..60addc1
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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/guides/customize-erpnext/index.md b/erpnext/docs/user/manual/en/customize-erpnext/index.md
similarity index 100%
rename from erpnext/docs/user/guides/customize-erpnext/index.md
rename to erpnext/docs/user/manual/en/customize-erpnext/index.md
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/index.txt b/erpnext/docs/user/manual/en/customize-erpnext/index.txt
new file mode 100644
index 0000000..1113395
--- /dev/null
+++ b/erpnext/docs/user/manual/en/customize-erpnext/index.txt
@@ -0,0 +1,8 @@
+custom-field
+custom-doctype
+custom-scripts
+customize-form
+document-title
+hiding-modules-and-features
+print-format
+articles
diff --git a/erpnext/docs/user/manual/en/customize-erpnext/print-format.md b/erpnext/docs/user/manual/en/customize-erpnext/print-format.md
new file mode 100644
index 0000000..e3c9450
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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/manual/en/human-resources/appraisal.md b/erpnext/docs/user/manual/en/human-resources/appraisal.md
new file mode 100644
index 0000000..d3ec301
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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/manual/en/human-resources/articles/employees-loan-management.md b/erpnext/docs/user/manual/en/human-resources/articles/employees-loan-management.md
new file mode 100644
index 0000000..fddab31
--- /dev/null
+++ b/erpnext/docs/user/manual/en/human-resources/articles/employees-loan-management.md
@@ -0,0 +1,55 @@
+<h1>Employees Loan Management</h1>
+
+Employee Loan is an sum of money paid by Employer to Employee based on certain terms and condition. There are multiple ways accounting for the Employee loan can be managed. Company could collect loan from an employee separately. Or they can choose to deduct loan installment from the employee's salary.
+
+Let's check below how accounting can be managed for Employee Loan in ERPNext.
+
+### 1. Setup Masters
+
+Create following Groups and Ledgers in Chart of Accounts if not there.
+      
+#### 1.1  Employee Loan Account
+
+Create Group as 'Employees Loans' under Current Assets and create employee loan A/C (Ledger) under it. [Check this link for new account creation](https://erpnext.com/kb/setup/managing-tree-structure-masters)
+
+![CoA]({{docs_base_url}}/assets/img/articles/Selection_433.png)
+
+#### 1.2 Salaries Account
+
+Create Group as 'Salaries' under Current Liabilities and create employee salary loan A/C (Ledger) under it.
+
+![CoA]({{docs_base_url}}/assets/img/articles/Selection_434.png)
+
+#### 1.3 Interest Account
+
+Create Ledger as 'Interest on Loan' under Indirect Income.
+
+### 2. Book Loan Amount
+
+Once loan amount is finalized, make journal voucher to book loan payment entry. You should Credit Loan amount to Bank/Cash account and Debit Loan amount employee loan account.  
+
+![Loan Entry]({{docs_base_url}}/assets/img/articles/Selection_435.png)
+
+### 3. Book Loan Recovery and Interest
+
+#### 3.1 Loan Recovery Entry
+
+If your employee pays separately for his/her loan installment and loan interest, then create journal voucher. 
+
+![Loan Reco]({{docs_base_url}}/assets/img/articles/Selection_436.png)
+
+#### 3.2 Loan Adjustment in Salary
+
+And if you deduct loan installment and interest from employees salary, then book journal entry for the same.
+
+![Loan Reco]({{docs_base_url}}/assets/img/articles/Selection_437.png)
+
+In the Salary Slip of an employee, then create two Deduction Types in Salary Structure. One as 'Loan Installment' and other one as 'Loan Interest'. So that you can update those values under this deduction heads.
+
+### 4. Loan Account Report
+
+After recovering loan and loan interest, General Ledger report will show the loan account details as follows.
+
+![Loan Reco]({{docs_base_url}}/assets/img/articles/Selection_439.png)
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/human-resources/articles/index.md b/erpnext/docs/user/manual/en/human-resources/articles/index.md
new file mode 100644
index 0000000..4e1be28
--- /dev/null
+++ b/erpnext/docs/user/manual/en/human-resources/articles/index.md
@@ -0,0 +1 @@
+{content}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/human-resources/articles/index.txt b/erpnext/docs/user/manual/en/human-resources/articles/index.txt
new file mode 100644
index 0000000..3fbdc5b
--- /dev/null
+++ b/erpnext/docs/user/manual/en/human-resources/articles/index.txt
@@ -0,0 +1,2 @@
+employees-loan-management
+leave-calculation-in-salary-slip
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/human-resources/articles/leave-calculation-in-salary-slip.md b/erpnext/docs/user/manual/en/human-resources/articles/leave-calculation-in-salary-slip.md
new file mode 100644
index 0000000..7153708
--- /dev/null
+++ b/erpnext/docs/user/manual/en/human-resources/articles/leave-calculation-in-salary-slip.md
@@ -0,0 +1,52 @@
+<h1>Leave Calculation In Salary Slip</h1>
+
+There are two types of leave which user can apply for.
+<br>
+<br>
+<ol>
+    <li>Paid Leave (Sick Leave, Privilege Leave, Casual Leave etc.)</li>
+    <li>Unpaid Leave
+        <br>
+    </li>
+</ol>Paid Leave are firstly allocated by HR manager. As and when Employee creates Leave Application, leaves allocated to him/her are deducted. These leaves doesn't have impact on the employee's Salary Slip.
+<br>
+<br>When Employee is out of paid leave, he create Leave Application for unpaid leave. The term used for unpaid leave in ERPNext is Leave Without Pay (LWP). These leaves does have impact on the Employee's Salary Slip.
+<br>
+<br>
+<div class="well">Just marking Absent in the Attendance record do not have impact on salary calculation of an Employee, as that absenteeism could be because of paid leave. Hence creating Leave Application should be created incase of absenteeism.<br></div>Let's consider
+a scenario to understand how leaves impact employees Salary Slip.
+<br>
+<br><b>Masters:</b>
+
+<br>
+<br>
+<ol>
+    <li>Setup Employee</li>
+    <li>Allocate him paid leaves</li>
+    <li>Create Salary Structure for that Employee. In the Earning and Deduction table, select which component of salary should be affected if Employee takes LWP.</li>
+    <li>Create Holiday List (if any), and link it with Employee master.</li>
+</ol>
+<p>When creating Salary Slip for an Employee, following is what you will see:</p>
+<img src="{{docs_base_url}}/assets/img/articles/SGrab_282.png">
+<br>
+<br><b>Working Days:</b> Working Days in Salary Slip are calculated based on number of days selected above. If you don't wish to consider holiday in Working Days, then you should do following setting.
+<br>
+<br>
+<div class="well">Human Resource &gt;&gt; Setup &gt;&gt; HR Setting
+    <br>
+    <br>Uncheck field "Include Holidays in Total No. of Working Days"
+    <br>
+</div>Holidays are counted based on Holiday List attached to the Employee's master.<b><br><br>Leave Without Pay: </b>Leave Without Pay is updated based on Leave Application made for this Employee, in the month for which Salary Slip is created, and which has
+Leave Type as "Leave Without Pay".
+<br>
+<br><b>Payment Days:</b> Following is how Payment Days are calculated:
+<br>
+<br>Payment Days = Working Days - Leave Without Pay
+<br>
+<br>As indicated above, if you have LWP checked for components in the earning and deducted table, you will notice a reduction in Amount based on no. of LWP of an Employee for that month.
+<br>
+<br>
+<img src="{{docs_base_url}}/assets/img/articles/SGrab_283.png" width="760"><br>
+
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/human-resources/attendance.md b/erpnext/docs/user/manual/en/human-resources/attendance.md
new file mode 100644
index 0000000..961d528
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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 ]({{docs_base_url}}/user/guides/human-resources/tools/upload-attendance.html)
+
+{next}
+
diff --git a/erpnext/docs/user/manual/en/human-resources/employee.md b/erpnext/docs/user/manual/en/human-resources/employee.md
new file mode 100644
index 0000000..fd14aa9
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/human-resources/employee.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/human-resources/expense-claim.md b/erpnext/docs/user/manual/en/human-resources/expense-claim.md
new file mode 100644
index 0000000..187bf49
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/project/project_expense_claim_link.png">
+
+{next}
diff --git a/erpnext/docs/user/manual/en/human-resources/holiday-list.md b/erpnext/docs/user/manual/en/human-resources/holiday-list.md
new file mode 100644
index 0000000..1a98ad3
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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
+
+![]({{docs_base_url}}/assets/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
+
+![]({{docs_base_url}}/assets/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/guides/human-resources/human-resource-setup.md b/erpnext/docs/user/manual/en/human-resources/human-resource-setup.md
similarity index 100%
rename from erpnext/docs/user/guides/human-resources/human-resource-setup.md
rename to erpnext/docs/user/manual/en/human-resources/human-resource-setup.md
diff --git a/erpnext/docs/user/manual/en/human-resources/human-resources-reports.md b/erpnext/docs/user/manual/en/human-resources/human-resources-reports.md
new file mode 100644
index 0000000..664c07d
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/human-resources/monthly-attendance-sheet-report.png">
+
+{next}
diff --git a/erpnext/docs/user/guides/human-resources/index.md b/erpnext/docs/user/manual/en/human-resources/index.md
similarity index 100%
rename from erpnext/docs/user/guides/human-resources/index.md
rename to erpnext/docs/user/manual/en/human-resources/index.md
diff --git a/erpnext/docs/user/manual/en/human-resources/index.txt b/erpnext/docs/user/manual/en/human-resources/index.txt
new file mode 100644
index 0000000..caa3292
--- /dev/null
+++ b/erpnext/docs/user/manual/en/human-resources/index.txt
@@ -0,0 +1,15 @@
+employee
+leave-application
+expense-claim
+attendance
+salary-and-payroll
+appraisal
+job-applicant
+job-opening
+offer-letter
+tools
+human-resources-reports
+setup
+holiday-list
+human-resource-setup
+articles
diff --git a/erpnext/docs/user/manual/en/human-resources/job-applicant.md b/erpnext/docs/user/manual/en/human-resources/job-applicant.md
new file mode 100644
index 0000000..3e885d9
--- /dev/null
+++ b/erpnext/docs/user/manual/en/human-resources/job-applicant.md
@@ -0,0 +1,25 @@
+You can mantain a list of People who have applied for a [Job Opening]({{docs_base_url}}/user/guides/human-resources/job-opening.html).
+
+To create a new Job Applicant go to 
+
+> Human Resource > Job Applicant > New
+
+<img class="screenshot" alt="Job Applicant" src="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/human-resources/email-account.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/human-resources/job-opening.md b/erpnext/docs/user/manual/en/human-resources/job-opening.md
new file mode 100644
index 0000000..7e4f0c3
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/human-resources/job-opening.png">
+
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/human-resources/leave-application.md b/erpnext/docs/user/manual/en/human-resources/leave-application.md
new file mode 100644
index 0000000..04e3144
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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]({{docs_base_url}}/user/guides/setting-up/users-and-permissions.html)
+for more info.
+
+You assign Leaves aginast an Employee check [Leave Allocation]({{docs_base_url}}/user/guides/human-resources/setup/leave-allocation.html)
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/human-resources/offer-letter.md b/erpnext/docs/user/manual/en/human-resources/offer-letter.md
new file mode 100644
index 0000000..c48fe64
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/human-resources/offer-letter.png">
+
+> Note: An offer letter can be made only against a [Job Applicant]({{docs_base_url}}/user/guides/human-resources/job-applicant.html)
+
+There is a pre-designed print format to print you offer letter.
+
+<img class="screenshot" alt="Offer Letter" src="{{docs_base_url}}/assets/img/human-resources/offer-letter-print.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/human-resources/salary-and-payroll.md b/erpnext/docs/user/manual/en/human-resources/salary-and-payroll.md
new file mode 100644
index 0000000..05e01e1
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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/manual/en/human-resources/setup/branch.md b/erpnext/docs/user/manual/en/human-resources/setup/branch.md
new file mode 100644
index 0000000..8116ca4
--- /dev/null
+++ b/erpnext/docs/user/manual/en/human-resources/setup/branch.md
@@ -0,0 +1,5 @@
+Branches of your organization
+
+<img class="screenshot" alt="Branch" src="{{docs_base_url}}/assets/img/human-resources/branch.png">
+
+{next}
diff --git a/erpnext/docs/user/manual/en/human-resources/setup/deduction-type.md b/erpnext/docs/user/manual/en/human-resources/setup/deduction-type.md
new file mode 100644
index 0000000..4371b62
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/human-resources/deduction-type.png">
+
+
+{next}
diff --git a/erpnext/docs/user/manual/en/human-resources/setup/department.md b/erpnext/docs/user/manual/en/human-resources/setup/department.md
new file mode 100644
index 0000000..1b088b1
--- /dev/null
+++ b/erpnext/docs/user/manual/en/human-resources/setup/department.md
@@ -0,0 +1,5 @@
+Departments in your organization
+
+<img class="screenshot" alt="Department" src="{{docs_base_url}}/assets/img/human-resources/department.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/human-resources/setup/designation.md b/erpnext/docs/user/manual/en/human-resources/setup/designation.md
new file mode 100644
index 0000000..1de779e
--- /dev/null
+++ b/erpnext/docs/user/manual/en/human-resources/setup/designation.md
@@ -0,0 +1,5 @@
+Designations in your organization
+
+<img class="screenshot" alt="Designation" src="{{docs_base_url}}/assets/img/human-resources/designation.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/human-resources/setup/earning-type.md b/erpnext/docs/user/manual/en/human-resources/setup/earning-type.md
new file mode 100644
index 0000000..e5c35c6
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/human-resources/earning-type.png">
+
+
+{next}
diff --git a/erpnext/docs/user/manual/en/human-resources/setup/employment-type.md b/erpnext/docs/user/manual/en/human-resources/setup/employment-type.md
new file mode 100644
index 0000000..37d0fd3
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/human-resources/employment-type.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/human-resources/setup/holiday-list.md b/erpnext/docs/user/manual/en/human-resources/setup/holiday-list.md
new file mode 100644
index 0000000..31094f7
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/human-resources/holiday-list.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/human-resources/setup/hr-settings.md b/erpnext/docs/user/manual/en/human-resources/setup/hr-settings.md
new file mode 100644
index 0000000..1741df4
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/human-resources/hr-settings.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/human-resources/setup/index.md b/erpnext/docs/user/manual/en/human-resources/setup/index.md
similarity index 100%
rename from erpnext/docs/user/guides/human-resources/setup/index.md
rename to erpnext/docs/user/manual/en/human-resources/setup/index.md
diff --git a/erpnext/docs/user/guides/human-resources/setup/index.txt b/erpnext/docs/user/manual/en/human-resources/setup/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/human-resources/setup/index.txt
rename to erpnext/docs/user/manual/en/human-resources/setup/index.txt
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
new file mode 100644
index 0000000..91cf990
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/human-resources/leave-allocation.png">
+
+To assign leaves to multiple employees use the [Leave Allocation Tool]({{docs_base_url}}/user/guides/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
new file mode 100644
index 0000000..d52cb2e
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/guides/human-resources/tools/index.md b/erpnext/docs/user/manual/en/human-resources/tools/index.md
similarity index 100%
rename from erpnext/docs/user/guides/human-resources/tools/index.md
rename to erpnext/docs/user/manual/en/human-resources/tools/index.md
diff --git a/erpnext/docs/user/guides/human-resources/tools/index.txt b/erpnext/docs/user/manual/en/human-resources/tools/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/human-resources/tools/index.txt
rename to erpnext/docs/user/manual/en/human-resources/tools/index.txt
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
new file mode 100644
index 0000000..56e8d3d
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/human-resources/leave-application.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/human-resources/tools/upload-attendance.md b/erpnext/docs/user/manual/en/human-resources/tools/upload-attendance.md
new file mode 100644
index 0000000..adfc66d
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/human-resources/attendence-upload.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/index.md b/erpnext/docs/user/manual/en/index.md
new file mode 100644
index 0000000..2184273
--- /dev/null
+++ b/erpnext/docs/user/manual/en/index.md
@@ -0,0 +1,5 @@
+# User Manual (English)
+
+### Contents:
+
+{index}
diff --git a/erpnext/docs/user/manual/en/index.txt b/erpnext/docs/user/manual/en/index.txt
new file mode 100644
index 0000000..97a8cd8
--- /dev/null
+++ b/erpnext/docs/user/manual/en/index.txt
@@ -0,0 +1,15 @@
+introduction
+setting-up
+accounts
+stock
+CRM
+selling
+buying
+manufacturing
+projects
+support
+human-resources
+customer-portal
+website
+using-erpnext
+customize-erpnext
diff --git a/erpnext/docs/user/guides/introduction/concepts-and-terms.md b/erpnext/docs/user/manual/en/introduction/concepts-and-terms.md
similarity index 100%
rename from erpnext/docs/user/guides/introduction/concepts-and-terms.md
rename to erpnext/docs/user/manual/en/introduction/concepts-and-terms.md
diff --git a/erpnext/docs/user/guides/introduction/do-i-need-an-erp.md b/erpnext/docs/user/manual/en/introduction/do-i-need-an-erp.md
similarity index 100%
rename from erpnext/docs/user/guides/introduction/do-i-need-an-erp.md
rename to erpnext/docs/user/manual/en/introduction/do-i-need-an-erp.md
diff --git a/erpnext/docs/user/guides/introduction/getting-started-with-erpnext.md b/erpnext/docs/user/manual/en/introduction/getting-started-with-erpnext.md
similarity index 100%
rename from erpnext/docs/user/guides/introduction/getting-started-with-erpnext.md
rename to erpnext/docs/user/manual/en/introduction/getting-started-with-erpnext.md
diff --git a/erpnext/docs/user/guides/introduction/implementation-strategy.md b/erpnext/docs/user/manual/en/introduction/implementation-strategy.md
similarity index 100%
rename from erpnext/docs/user/guides/introduction/implementation-strategy.md
rename to erpnext/docs/user/manual/en/introduction/implementation-strategy.md
diff --git a/erpnext/docs/user/guides/introduction/index.md b/erpnext/docs/user/manual/en/introduction/index.md
similarity index 100%
rename from erpnext/docs/user/guides/introduction/index.md
rename to erpnext/docs/user/manual/en/introduction/index.md
diff --git a/erpnext/docs/user/guides/introduction/index.txt b/erpnext/docs/user/manual/en/introduction/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/introduction/index.txt
rename to erpnext/docs/user/manual/en/introduction/index.txt
diff --git a/erpnext/docs/user/manual/en/introduction/key-workflows.md b/erpnext/docs/user/manual/en/introduction/key-workflows.md
new file mode 100644
index 0000000..8c8d6ec
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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.
+
+![]({{docs_base_url}}/assets/old_images/erpnext/overview.png)
+
+
+[Full Resolution]({{docs_base_url}}/assets/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/guides/introduction/open-source.md b/erpnext/docs/user/manual/en/introduction/open-source.md
similarity index 100%
rename from erpnext/docs/user/guides/introduction/open-source.md
rename to erpnext/docs/user/manual/en/introduction/open-source.md
diff --git a/erpnext/docs/user/manual/en/introduction/the-champion.md b/erpnext/docs/user/manual/en/introduction/the-champion.md
new file mode 100644
index 0000000..21a2383
--- /dev/null
+++ b/erpnext/docs/user/manual/en/introduction/the-champion.md
@@ -0,0 +1,46 @@
+<!-- no-heading -->
+
+<h1 class="white">The Champion</h1>
+
+<img class="cover" src="{{docs_base_url}}/assets/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/manual/en/manufacturing/articles/index.md b/erpnext/docs/user/manual/en/manufacturing/articles/index.md
new file mode 100644
index 0000000..4e1be28
--- /dev/null
+++ b/erpnext/docs/user/manual/en/manufacturing/articles/index.md
@@ -0,0 +1 @@
+{content}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/manufacturing/articles/index.txt b/erpnext/docs/user/manual/en/manufacturing/articles/index.txt
new file mode 100644
index 0000000..59f3503
--- /dev/null
+++ b/erpnext/docs/user/manual/en/manufacturing/articles/index.txt
@@ -0,0 +1,4 @@
+nested-bom-structure
+partial-production-entry
+production-planning-subassembly
+valuation-based-on-field-in-bom
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/manufacturing/articles/nested-bom-structure.md b/erpnext/docs/user/manual/en/manufacturing/articles/nested-bom-structure.md
new file mode 100644
index 0000000..266ae12
--- /dev/null
+++ b/erpnext/docs/user/manual/en/manufacturing/articles/nested-bom-structure.md
@@ -0,0 +1,30 @@
+<h1>Nested BOM Structure</h1>
+
+**Question:** Our manufacturing process involves producing sub-assembly items before final product. How should we manage BOM master in this scenario?
+
+**Answer:** You should create BOM for item in the order of their production. Let's consider an example to understand this better.
+
+If Computer manufacturer assembles Hard Disk and DVD Drive (sub-assemblies) themselves, they should first create BOM for Hard Disk and DVD Drive. After that BOM for Computer will be created, which is finished and saleable item. BOM of computer will have&nbsp;
+Hard Disk and DVD Drive (sub-assemblies) will be selected as raw-material items in it. BOM ID will be fetched for the respective sub-assembly item.
+
+
+<img src="{{docs_base_url}}/assets/img/articles/Screen Shot 2015-04-02 at 3.58.19 pm.png">
+
+<br>Following is how the structure of nested BOM will look:
+<br>
+<br><b>Computer (FG Item)</b>
+<br><b>---</b> Mother Board
+<br><b>---</b> SMTP
+<br><b>---</b> Accessories and wires
+<br><b>---</b>  <i>Hard Disk (sub-assembly)</i>
+<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ------ Item A
+<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ------ Item B
+<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ------ Item C
+<br><b>---</b>  <i>DVD Drive (sub-assembly)</i>
+<br>&nbsp;&nbsp;&nbsp; &nbsp; ------ Item X
+<br>&nbsp; &nbsp; &nbsp; ------ Item Y
+<br>&nbsp;&nbsp; &nbsp;&nbsp; ------ Item Z
+<br>
+
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/manufacturing/articles/partial-production-entry.md b/erpnext/docs/user/manual/en/manufacturing/articles/partial-production-entry.md
new file mode 100644
index 0000000..e2a702e
--- /dev/null
+++ b/erpnext/docs/user/manual/en/manufacturing/articles/partial-production-entry.md
@@ -0,0 +1,25 @@
+<h1>Partial Production Entry</h1>
+
+If you completed production for few items, then you can make Partial Production Entry for that items in system. For example, your production order is for 15 quantity and you completed production for 10 quantity only. Then you can make production entry for 5 quantity. Following are step to make Partial Production Entry
+
+#### 1. Stock Entry
+
+Click on Update Finish Goods button from submitted Product Order, You will land on new Stock entry form.
+
+#### 2. Edit Manufacturing Quantity
+
+In the Update Finished Goods entry, check "From Bill of Material section", and edit Manufacturing Quantity to actual quantity produced.  Production Order quantity will be fetched as Manufacturing Quantity by default.
+
+#### 3. Update Qty of Items
+
+Click on **Get Items**. With this, quantity will be updated for both raw-material as well as finish good item. 
+
+![FGE STE]({{docs_base_url}}/assets/img/articles/Selection_078.png)
+
+#### 4. Save and Submit 
+
+After updating quantity in stock entry form, save and submit the stock entry. On submit stock will update for quantity entered in this stock entry.
+
+When will you create another finish goods entry against this Production Order, system will only fetch pending quantity to be produced.
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/manufacturing/articles/production-planning-subassembly.html b/erpnext/docs/user/manual/en/manufacturing/articles/production-planning-subassembly.html
new file mode 100644
index 0000000..5568750
--- /dev/null
+++ b/erpnext/docs/user/manual/en/manufacturing/articles/production-planning-subassembly.html
@@ -0,0 +1,8 @@
+<h1>Production Planning & Subassembly</h1>
+
+if you need Production Planning Tool to consider raw-materials required for the manufacturing of sub-assembly items selected in the BOM, please check following instructions to achieve the same.<br><br>Production Planning Tool has field called "Use Multi-Level BOM", checking which will consider raw-material of sub-assemblies as well in the material planning. If this field is not checked, then it will consider sub-assembly as an item, and won't consider raw-material required for the manufacturing of that sub-assembly.<br><br><img src="{{docs_base_path}}/assets/img/articles/$SGrab_203.png"><br><br>You will find same field in the Production Order and Stock Entry as well.<br><br>This feature is very useful for the companies who create BOM for the
+ sub-assemblies, but Production Order is created only for the finished 
+item. They do not create separate Production Order for the 
+sub-assemblies, but raw-materials as listed in the BOM of sub-assembly 
+items are consumed in the production process, and not sub-assembly item 
+directly.<br>
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/manufacturing/articles/valuation-based-on-field-in-bom.html b/erpnext/docs/user/manual/en/manufacturing/articles/valuation-based-on-field-in-bom.html
new file mode 100644
index 0000000..4460ce0
--- /dev/null
+++ b/erpnext/docs/user/manual/en/manufacturing/articles/valuation-based-on-field-in-bom.html
@@ -0,0 +1,10 @@
+<h1>'Valuation Based On' Field in BOM</h1>
+
+<div><b>Question:</b> What do the various options in <i>Valuation Based On </i>Field in Bill Of Materials (BOM) Form mean? <br><br><b>Answer:</b> There are 3 available options in the <i>Valuation Based On</i> field;<br><br><img src="{{docs_base_path}}/assets/img/articles/kb_bom_field.png"><br><br><ul><li><b><i>Valuation Rate:</i></b> <br></li><ul><li>Item valuation rate is 
+defined based on it's purchase/manufacture value + other charges. <br></li><li>For 
+Purchase Item, it is defined based on charges entered in the Purchase 
+Receipt. If you don't have any Purchase Receipt
+ made for an item or a Stock Reconciliation, then you won't have 
+Valuation Rate for that item.</li></ul></ul><ul><li><b><i>Price List Rate:</i></b> <br></li><ul><li>Just like you pull item prices in sales and purchase transaction, it can be pulled in BOM via Price List Rate.</li></ul></ul></div><div><ul><li><i><b>Last Purchase Rate</b>:</i> <br></li><ul><li>It will be the last Purchase Rate value of an item. This 
+value is updated in the item master as well, based on rate in the 
+Purchase Order for this item.</li></ul></ul><p><br></p></div>
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/manufacturing/bill-of-materials.md b/erpnext/docs/user/manual/en/manufacturing/bill-of-materials.md
new file mode 100644
index 0000000..34d8530
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/manufacturing/bom.png">
+
+* To add Operations select 'With Operation'. The Operations table shall appear.
+
+<img class="screenshot" alt="Task" src="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/manufacturing/bom-costing.png">
+
+* This cost can be updated on by using the 'Update Cost' button.
+
+<img class="screenshot" alt="Update Cost" src="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/manufacturing/bom-exploded.png">
+
+{next}
diff --git a/erpnext/docs/user/guides/manufacturing/index.md b/erpnext/docs/user/manual/en/manufacturing/index.md
similarity index 100%
rename from erpnext/docs/user/guides/manufacturing/index.md
rename to erpnext/docs/user/manual/en/manufacturing/index.md
diff --git a/erpnext/docs/user/manual/en/manufacturing/index.txt b/erpnext/docs/user/manual/en/manufacturing/index.txt
new file mode 100644
index 0000000..3b932a5
--- /dev/null
+++ b/erpnext/docs/user/manual/en/manufacturing/index.txt
@@ -0,0 +1,9 @@
+introduction
+bill-of-materials
+production-order
+workstation
+operation
+subcontracting
+tools
+setup
+articles
diff --git a/erpnext/docs/user/manual/en/manufacturing/introduction.md b/erpnext/docs/user/manual/en/manufacturing/introduction.md
new file mode 100644
index 0000000..f9d827c
--- /dev/null
+++ b/erpnext/docs/user/manual/en/manufacturing/introduction.md
@@ -0,0 +1,24 @@
+<img class="screenshot" alt="Task" src="{{docs_base_url}}/assets/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/manual/en/manufacturing/operation.md b/erpnext/docs/user/manual/en/manufacturing/operation.md
new file mode 100644
index 0000000..b21304e
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/manufacturing/operation.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/manufacturing/production-order.md b/erpnext/docs/user/manual/en/manufacturing/production-order.md
new file mode 100644
index 0000000..6438d81
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/manufacturing/PO-material-transfer.png">
+
+* Mention the quantity of materials to be transfered.
+
+<img class="screenshot" alt="Material Transfer Qty" src="{{docs_base_url}}/assets/img/manufacturing/PO-material-transfer-qty.png">
+
+* Submit the Stock Entry
+
+<img class="screenshot" alt="Stock Entry for PO" src="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/manufacturing/PO-material-transfer-updated.png">
+
+### Making Time Logs
+
+* Progress in the Production Order can be tracked using [Time Log]({{docs_base_url}}/user/guides/projects/time-log.html)
+* 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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/manufacturing/PO-FG-update.png">
+
+* Mention the quantity of materials to be transfered.
+
+<img class="screenshot" alt="Update Finished Goods Qty" src="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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/guides/manufacturing/setup/index.md b/erpnext/docs/user/manual/en/manufacturing/setup/index.md
similarity index 100%
rename from erpnext/docs/user/guides/manufacturing/setup/index.md
rename to erpnext/docs/user/manual/en/manufacturing/setup/index.md
diff --git a/erpnext/docs/user/guides/manufacturing/setup/index.txt b/erpnext/docs/user/manual/en/manufacturing/setup/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/manufacturing/setup/index.txt
rename to erpnext/docs/user/manual/en/manufacturing/setup/index.txt
diff --git a/erpnext/docs/user/manual/en/manufacturing/setup/manufacturing-settings.md b/erpnext/docs/user/manual/en/manufacturing/setup/manufacturing-settings.md
new file mode 100644
index 0000000..dc59689
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/manufacturing/subcontracting.md b/erpnext/docs/user/manual/en/manufacturing/subcontracting.md
new file mode 100644
index 0000000..6f2b86b
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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/manual/en/manufacturing/tools/bom-replace-tool.md b/erpnext/docs/user/manual/en/manufacturing/tools/bom-replace-tool.md
new file mode 100644
index 0000000..794d982
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/guides/manufacturing/tools/index.md b/erpnext/docs/user/manual/en/manufacturing/tools/index.md
similarity index 100%
rename from erpnext/docs/user/guides/manufacturing/tools/index.md
rename to erpnext/docs/user/manual/en/manufacturing/tools/index.md
diff --git a/erpnext/docs/user/guides/manufacturing/tools/index.txt b/erpnext/docs/user/manual/en/manufacturing/tools/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/manufacturing/tools/index.txt
rename to erpnext/docs/user/manual/en/manufacturing/tools/index.txt
diff --git a/erpnext/docs/user/manual/en/manufacturing/tools/production-planning-tool.md b/erpnext/docs/user/manual/en/manufacturing/tools/production-planning-tool.md
new file mode 100644
index 0000000..61ec4c7
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/manufacturing/ppt-get-item.png">
+
+#### Step 3: Create Production Orders
+
+<img class="screenshot" alt="Production Planing Tool" src="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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/manual/en/manufacturing/workstation.md b/erpnext/docs/user/manual/en/manufacturing/workstation.md
new file mode 100644
index 0000000..4e27eb5
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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]({{docs_base_url}}/user/guides/manufacturing/setup/manufacturing-settings.html)
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/projects/activity-cost.md b/erpnext/docs/user/manual/en/projects/activity-cost.md
new file mode 100644
index 0000000..d4e2106
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/project/activity_cost.png">
diff --git a/erpnext/docs/user/manual/en/projects/activity-type.md b/erpnext/docs/user/manual/en/projects/activity-type.md
new file mode 100644
index 0000000..7f37f51
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/projects/articles/index.md b/erpnext/docs/user/manual/en/projects/articles/index.md
new file mode 100644
index 0000000..4e1be28
--- /dev/null
+++ b/erpnext/docs/user/manual/en/projects/articles/index.md
@@ -0,0 +1 @@
+{content}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/projects/articles/index.txt b/erpnext/docs/user/manual/en/projects/articles/index.txt
new file mode 100644
index 0000000..56c193c
--- /dev/null
+++ b/erpnext/docs/user/manual/en/projects/articles/index.txt
@@ -0,0 +1 @@
+project-costing
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/projects/articles/project-costing.md b/erpnext/docs/user/manual/en/projects/articles/project-costing.md
new file mode 100644
index 0000000..e5c5940
--- /dev/null
+++ b/erpnext/docs/user/manual/en/projects/articles/project-costing.md
@@ -0,0 +1,39 @@
+<h1>Project Costing</h1>
+
+Each project has multiple task associated with it. To track actual costing of a Project, primarily in terms of services, user has to create Time Log based on actual time spent on Project-Task. Following the steps on how you can track actual service cost against Project.
+
+#### Activity Type
+
+Activity Type is a master of service offered by your personnel. You can add new Activity type from:
+
+`Project > Activity Type > New`	
+
+#### Activity Cost
+
+Activity Cost is a master where you can track billing and costing rate for each Employee, and for each Activity Type.
+
+![Activity Cost]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-06-11 at 4.57.01 pm.png)
+
+#### Time Log
+
+Based on Actual Time spent on the Project-Task, Employee will create a time log.
+
+![Time Log]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-06-11 at 4.59.49 pm.png)
+
+On selection of Activity Type in the Time Log, Billing and Costing Rate will fetched for that Employee from respective Activity Cost master. 
+
+![Time Log Costing]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-06-11 at 5.00.06 pm.png)
+
+Multiplying these rates with total no. of Hours in the Time Log gives Costing Amount and Billing Amount for the specific Time Log.
+
+#### Costing in Project and Task
+
+Based on total Time Logs created for a specific Task, its costing will be updated in the respective Task master. 
+
+![Costing in Task]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-06-11 at 5.02.54 pm.png)
+
+Same way, Project master will have cost updated based on Time Log created against that Projects, and tasks associated with that Project.
+
+![Costing in Project]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-06-11 at 5.02.29 pm.png)
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/projects/index.md b/erpnext/docs/user/manual/en/projects/index.md
similarity index 100%
rename from erpnext/docs/user/guides/projects/index.md
rename to erpnext/docs/user/manual/en/projects/index.md
diff --git a/erpnext/docs/user/manual/en/projects/index.txt b/erpnext/docs/user/manual/en/projects/index.txt
new file mode 100644
index 0000000..f2bae77
--- /dev/null
+++ b/erpnext/docs/user/manual/en/projects/index.txt
@@ -0,0 +1,7 @@
+tasks
+project
+time-log
+time-log-batch
+activity-type
+activity-cost
+articles
diff --git a/erpnext/docs/user/manual/en/projects/project.md b/erpnext/docs/user/manual/en/projects/project.md
new file mode 100644
index 0000000..e4558e1
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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]({{docs_base_url}}/user/guides/projects/tasks.html)
+
+<img class="screenshot" alt="Project" src="{{docs_base_url}}/assets/img/project/project_task.png">
+
+* To view Task made against a Project click on 'Tasks'
+
+<img class="screenshot" alt="Project - View Task" src="{{docs_base_url}}/assets/img/project/project_view_task.png">
+
+<img class="screenshot" alt="Project - Task List" src="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/project/project_task_grid.png">
+
+### Managing time
+
+ERPNext uses [Time Log]({{docs_base_url}}/user/guides/projects/time-log.html) 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="{{docs_base_url}}/assets/img/project/project_view_time_log.png">
+
+<img class="screenshot" alt="Project - Time Log List" src="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/project/project_time_log_link.png">
+
+### Managing expenses
+
+You can book [Expense Claim]({{docs_base_url}}/user/guides/human-resources/expense-claim.html) 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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/project/project_total_expense_claim.png">
+
+### Cost Center
+
+You can make a [Cost Center]({{docs_base_url}}/user/guides/accounts/setup/cost-center.html) 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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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]({{docs_base_url}}/user/guides/selling/sales-order.html) 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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/project/project_view_gantt_chart.png">
+
+<img class="screenshot" alt="Project - Gantt Chart" src="{{docs_base_url}}/assets/img/project/project_gantt_chart.png">
+
+{next}
diff --git a/erpnext/docs/user/manual/en/projects/tasks.md b/erpnext/docs/user/manual/en/projects/tasks.md
new file mode 100644
index 0000000..bf1e9af
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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]({{docs_base_url}}/user/guides/projects/time-log.html) 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="{{docs_base_url}}/assets/img/project/task_view_time_log.png">
+
+<img class="screenshot" alt="Task - Time Log List" src="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/project/task_time_log_link.png">
+
+### Managing Expenses
+
+You can book [Expense Claim]({{docs_base_url}}/user/guides/human-resource-management/expense-claim.html) 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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/project/task_total_expense_claim.png">
+
+{next}
diff --git a/erpnext/docs/user/manual/en/projects/time-log-batch.md b/erpnext/docs/user/manual/en/projects/time-log-batch.md
new file mode 100644
index 0000000..d48633a
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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/manual/en/projects/time-log.md b/erpnext/docs/user/manual/en/projects/time-log.md
new file mode 100644
index 0000000..1739240
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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]({{docs_base_url}}/user/guides/projects/activity-cost.html) 
+	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="{{docs_base_url}}/assets/img/project/time_log_costing.png">
+
+* After submitting the Time Log, you need to create [Time Log batch]({{docs_base_url}}/user/guides/projects/time-log-batch.html) to further bill the Time Log.
+
+{next}
diff --git a/erpnext/docs/user/manual/en/selling/articles/applying-discount.md b/erpnext/docs/user/manual/en/selling/articles/applying-discount.md
new file mode 100644
index 0000000..9dfc730
--- /dev/null
+++ b/erpnext/docs/user/manual/en/selling/articles/applying-discount.md
@@ -0,0 +1,31 @@
+<h1>Applying Discount</h1>
+
+There are two ways Discount can be applied on an items in the sales transactions.
+
+#### 1. Discount on "Price List Rate" of an item
+
+In the Item table of transaction, after Price List Rate field, you will find Discount (%) field. Discount Rate applied in this field will be applicable on the Price List Rate of an item.
+
+Before applying Discount (%). 
+
+![Before discount]({{docs_base_url}}/assets/img/articles/Selection_00616c670.png)
+
+After applying Discount (%) under Discount on Price List Rate (%) field.
+
+![After discount]({{docs_base_url}}/assets/img/articles/Selection_007f81dc2.png)
+     
+You can apply percent discount in all sales and purchase transactions.
+
+#### 2. Discount on Grand Total
+
+In transactions, after Taxes and Charges table, you will find option to enter "Additional Discount Amount". Based on Amount entered in this field, item's Basic Rate and Taxes will be recalculated.
+
+Before applying Additional Discount Amount,
+
+![Discount]({{docs_base_url}}/assets/img/articles/Selection_0085ca13e.png)
+
+After applying Additional Discount Amount.
+
+![Discount Amount]({{docs_base_url}}/assets/img/articles/Selection_010496ae2.png)
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/selling/articles/drop-shipping.md b/erpnext/docs/user/manual/en/selling/articles/drop-shipping.md
new file mode 100644
index 0000000..8c3af05
--- /dev/null
+++ b/erpnext/docs/user/manual/en/selling/articles/drop-shipping.md
@@ -0,0 +1,34 @@
+**Drop shipping** is a supply chain management technique in which the retailer does not keep goods in stock. Instead they transfer customer orders and shipment details to either the manufacturer, another retailer, or a wholesaler, who then ships the goods directly to the customer
+
+In ERPNext, you can create a Drop Shipping by creating Purchase Order against Sales Order.
+
+> Selling > Documents > Sales Order > Purchase Order
+
+#### Setup on Item Master
+
+Set **_Delivered by Supplier (Drop Ship)_** and **_Default Supplier_** in Item Master.
+<img class="screenshot" alt="Setup Item Master" src="{{docs_base_url}}/assets/img/selling/setup-drop-ship-on-item-master.png">
+
+#### Setup on Sales Order
+If Drop Shipping has set on Item master, it will automatically set **Supplier delivers to Customer** and **Supplier** on Salse Order Item.
+
+You can setup Drop Shipping, on Sales Order Item. Under **Drop Ship** section, set **Supplier delivers to Customer** and select **Supplier** agaist which Purchase Order will get created.
+<img class="screenshot" alt="Setup Drop Shipping on Sales Order Item" src="{{docs_base_url}}/assets/img/selling/setup-drop-ship-on-sales-order-item.png">
+
+#### Create Purchase Order
+After submitting a Sales Order, create Puchase Order.<br> 
+<img class="screenshot" alt="Setup Drop Shipping on Sales Order Item" src="{{docs_base_url}}/assets/img/selling/drop-ship-sales-order.png">
+
+From Sales Order, all items, having **Supplier delivers to Customer**  checked or **Supplier**(matching with supplier selected on For Supplier popup) mentioned, will get mapped onto Purchase Order. 
+
+It will automatically set Customer, Customer Address and Contact Person.
+
+After submitting Purchase Order, to update delivery status, use **Mark as Delivered** button on Purchase Order. It will update delivery percetage and delivered quantity on Sales Order.
+<img class="screenshot" alt="Purchase Order for Drop Shipping" src="{{docs_base_url}}/assets/img/selling/drop-ship-purchase-order.png">
+
+<span style="color:#18B52D">**_Close_**</span>, is a new feature introduced on **Purchase Order** and **Sales Order**, to close or to mark fulfillment.
+<img class="screenshot" alt="Close Sales Order" src="{{docs_base_url}}/assets/img/selling/close-sales-order.png">
+
+###Drop Shipping Print Format
+You can notify, Suppliers by sending a email after submitting Purchase Order by attaching Drop Shipping print format.
+<img class="screenshot" alt="Drop Dhip Print Format" src="{{docs_base_url}}/assets/img/selling/drop-ship-print-format.png">
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/selling/articles/erpnext-for-services-organization.md b/erpnext/docs/user/manual/en/selling/articles/erpnext-for-services-organization.md
new file mode 100644
index 0000000..2fafa68
--- /dev/null
+++ b/erpnext/docs/user/manual/en/selling/articles/erpnext-for-services-organization.md
@@ -0,0 +1,28 @@
+<h1>ERPNext for Service Organizations</h1>
+
+**Question:** At first look, ERPNext looks primarily designed for the traders and manufacturers. Is ERPNext used by service companies as well?
+
+**Answer:**
+About 30% of ERPNext customers comes from services background. These are companies into software development, certification services, individual consultants and many more. Being into services business ourselves, we use ERPNext to manage our sales, accounting, support and HR operations.
+
+https://conf.erpnext.com/2014/videos/umair-sayyed
+
+###Master Setup
+
+Between the service and trading company, the most differentiating master is an item master. While trading and manufacturing business has stock item, with warehouse and other stock details, service items will have none of these details.
+
+To create a services item, which will be non-stock item, in the Item master, you should set "Is Stock Item" field as "No".
+
+![non-stock item]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-04-01 at 5.32.57 pm.png)
+
+###Hiding Non-required Features
+
+####Feature Setup
+
+In Feature Setup, you can activate specific functionalities, and disable others. Based on this setting, forms and fields not required for your business will be hidden. [More on feature setup here](https://manual.erpnext.com/customize-erpnext/hiding-modules-and-features).
+
+####Permissions
+
+ERPNext is the permission driven system. User will be able to access system based on permissions assigned to him/her. So, if user is not assigned Role related to Stock and Manufacturing module, it will be hidden from user. [More on permission management in ERPNext here](https://manual.erpnext.com/setting-up/users-and-permissions).
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/selling/articles/index.md b/erpnext/docs/user/manual/en/selling/articles/index.md
new file mode 100644
index 0000000..4e1be28
--- /dev/null
+++ b/erpnext/docs/user/manual/en/selling/articles/index.md
@@ -0,0 +1 @@
+{content}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/selling/articles/index.txt b/erpnext/docs/user/manual/en/selling/articles/index.txt
new file mode 100644
index 0000000..70b4ac2
--- /dev/null
+++ b/erpnext/docs/user/manual/en/selling/articles/index.txt
@@ -0,0 +1,6 @@
+applying-discount
+drop-shipping
+erpnext-for-services-organization
+manage-shipping-rule
+managing-sales-persons-in-sales-transactions
+stopping-sales-order
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/selling/articles/manage-shipping-rule.md b/erpnext/docs/user/manual/en/selling/articles/manage-shipping-rule.md
new file mode 100644
index 0000000..c9c4f91
--- /dev/null
+++ b/erpnext/docs/user/manual/en/selling/articles/manage-shipping-rule.md
@@ -0,0 +1,25 @@
+<h1>Manage Shipping Rule</h1>
+
+Shipping Rule master help you define rules based on which shipping charge will be applied on sales transactions.
+
+Most of the companies (mainly retail) have shipping charge applied based on invoice total. If invoice value is above certain range, then shipping charge applied will be lesser. If invoice total is less, then shipping charges applied will be higher. You can setup Shipping Rule to address the requirement of varying shipping charge based on total.
+
+To setup Shipping Rule, go to:
+
+Selling/Accounts >> Setup >> Shipping Rule
+
+Here is an example of Shipping Rule master:
+
+![Shipping Rule Master]({{docs_base_url}}/assets/img/articles/$SGrab_258.png)
+
+Referring above, you will notice that shipping charges are reducing as range of total is increasing. This shipping charge will only be applied if transaction total falls under one of the above range, else not.
+
+If shipping charges are applied based on Shipping Rule, then more values like Shipping Account, Cost Center will be needed as well to add row in the Taxes and Other Charges table of sales transaction. Hence these details are tracked as well in the Shipping Rule itself.
+
+![Shipping Rule Filters]({{docs_base_url}}/assets/img/articles/$SGrab_260.png)
+
+Apart from price range, Shipping Rule will also validate if its territory and company matches with that of Customer's territory and company.
+
+Following is an example of how shipping charges are auto-applied on sales order based on Shipping Rule.
+
+![Shipping Rule Application]({{docs_base_url}}/assets/img/articles/$SGrab_261.png)
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/selling/articles/managing-sales-persons-in-sales-transactions.md b/erpnext/docs/user/manual/en/selling/articles/managing-sales-persons-in-sales-transactions.md
new file mode 100644
index 0000000..ae92e63
--- /dev/null
+++ b/erpnext/docs/user/manual/en/selling/articles/managing-sales-persons-in-sales-transactions.md
@@ -0,0 +1,43 @@
+<h1>Managing Sales Persons In Sales Transactions</h1>
+
+In ERPNext, Sales Person master is maintained in [tree structure](https://erpnext.com/kb/setup/managing-tree-structure-masters). Sales Person table is available in all the Sales transactions, at the bottom of  transactions form.
+
+If you have specific Sales Person attached to Customer, you can mention Sales Person details in the Customer master itself. On selection of Customer in the transactions, you will have Sales Person details auto-fetched in that transaction.
+
+####Sales Person Contribution
+
+If you have more than one sales person working together on an order, then with listing all the sales person for that order, you will also need to define contribution based on their effort. For example, Sales Person Aasif, Harish and Jivan are working on order. While Aasif and Harish followed this order throughout, Jivan got involved just in the end. Accordingly you should define % Contribution in the sales transaction as:
+
+![Sales Person]({{docs_base_url}}/assets/img/articles/Selection_01087d575.png)
+
+Where Sales Order Net Total is 30,000.
+
+<div class=well>Total % Contribution for all Sales Person must be 100%. If only one Sales Person is selected, then enter % Contribution as 100% for him/her.</div>
+
+####Sales Person Transaction Report
+
+You can check Sales Person Transaction Report from 
+
+`Selling > Standard Reports > Sales Person-wise Transaction Summary`
+
+This report will be generated based on Sales Order, Delivery Note and Sales Invoice. This report will give you total amount of sales made by an employee over a period. Based on data provided from this report, you can determine incentives and plan appraisal for an employee.
+
+![SP Report]({{docs_base_url}}/assets/img/articles/Selection_011.png)
+
+####Sales Person wise Commission
+
+ERPNext doesn't calculate commission payable to an Employee, but only provide total amount of sales made by him/her. As a work around, you can add your Sales Person as Sales Partner, as commission calculation feature is readily available in ERPNext. You can check Sales Partner's Commission report from 
+
+`Accounts > Standard Reports > Sales Partners Commission`
+
+####Disable Sales Person Feature
+
+If you don't track sales person wise performance, and doesn't wish to use this feature, you can disable it from:
+
+`Setup > Customize > Features Setup` 
+
+![Feature Setup]({{docs_base_url}}/assets/img/articles/Selection_01244aec7.png)
+
+After uncheck Sales Extras from Sales and Purchase section, refresh your ERPNext account's tab, so that forms will take effect based on your setting.
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/selling/articles/stopping-sales-order.md b/erpnext/docs/user/manual/en/selling/articles/stopping-sales-order.md
new file mode 100644
index 0000000..96a15de
--- /dev/null
+++ b/erpnext/docs/user/manual/en/selling/articles/stopping-sales-order.md
@@ -0,0 +1,17 @@
+<h1>Stopping a Sales Order</h1>
+
+In the submitted Sales Orders, you will find **Stop** option. Stopping Sales Order will restrict user from creating Delivery Note and Sales Invoice against it.
+
+![stop Sales Order]({{docs_base_url}}/assets/img/articles/$SGrab_439.png)
+
+####Scenario
+
+East Wind receives an order for ten laptops. Sales Order is also created for ten units. Due to scarcity of stock, only seven units are delivered to customer. Pending three units are to be delivered soon. Customer inform East Wind need not deliver pending item, as they have purchased it from other vendor.
+
+In this case, after East Wind will create Delivery Note and Sales Invoice only for the seven units of Laptop, and set Sales Order as stopped.
+
+![Sales Order Stopped]({{docs_base_url}}/assets/img/articles/$SGrab_440.png)
+
+Once Sales Order is set as stopped, you will not have pending quantities (three in this case) reflecting in Pending to Deliver and Pending to Invoice reports. To make further transactions against Stopped Sales Order, you should first Unstop it.
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/selling/index.md b/erpnext/docs/user/manual/en/selling/index.md
similarity index 100%
rename from erpnext/docs/user/guides/selling/index.md
rename to erpnext/docs/user/manual/en/selling/index.md
diff --git a/erpnext/docs/user/manual/en/selling/index.txt b/erpnext/docs/user/manual/en/selling/index.txt
new file mode 100644
index 0000000..14332b7
--- /dev/null
+++ b/erpnext/docs/user/manual/en/selling/index.txt
@@ -0,0 +1,5 @@
+quotation
+sales-order
+drop-shipping
+setup
+articles
diff --git a/erpnext/docs/user/manual/en/selling/quotation.md b/erpnext/docs/user/manual/en/selling/quotation.md
new file mode 100644
index 0000000..5be1508
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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]({{docs_base_url}}/user/guides/setting-up/price-lists.html)
+
+  * 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]({{docs_base_url}}/user/guides/setting-up/setting-up-taxes.html)
+
+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/manual/en/selling/sales-order.md b/erpnext/docs/user/manual/en/selling/sales-order.md
new file mode 100644
index 0000000..269473a
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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/guides/selling/setup/index.md b/erpnext/docs/user/manual/en/selling/setup/index.md
similarity index 100%
rename from erpnext/docs/user/guides/selling/setup/index.md
rename to erpnext/docs/user/manual/en/selling/setup/index.md
diff --git a/erpnext/docs/user/manual/en/selling/setup/index.txt b/erpnext/docs/user/manual/en/selling/setup/index.txt
new file mode 100644
index 0000000..67a93e5
--- /dev/null
+++ b/erpnext/docs/user/manual/en/selling/setup/index.txt
@@ -0,0 +1,8 @@
+selling-settings
+sales-partner
+shipping-rule
+product-bundle
+item-price.md
+sales-person-target-allocation.md
+item-price.md
+sales-person-target-allocation.md
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/selling/setup/item-price.md b/erpnext/docs/user/manual/en/selling/setup/item-price.md
new file mode 100644
index 0000000..b877e8d
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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/manual/en/selling/setup/product-bundle.md b/erpnext/docs/user/manual/en/selling/setup/product-bundle.md
new file mode 100644
index 0000000..fa7f948
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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/manual/en/selling/setup/sales-partner.md b/erpnext/docs/user/manual/en/selling/setup/sales-partner.md
new file mode 100644
index 0000000..1174969
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/selling/sales-partner-website.png">
+
+To see listing of partner, you should go to:
+
+https://example.erpnext.com/partners
+
+![Sales Partner Listing]({{docs_base_url}}/assets/old_images/erpnext/sales-partner-listing.png)
+
+Following is the complete partners details published on the website.
+
+![Sales Partner Published]({{docs_base_url}}/assets/old_images/erpnext/sales-partner-published.png)
+
+{next}
diff --git a/erpnext/docs/user/manual/en/selling/setup/sales-person-target-allocation.md b/erpnext/docs/user/manual/en/selling/setup/sales-person-target-allocation.md
new file mode 100644
index 0000000..134a9b4
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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/manual/en/selling/setup/selling-settings.md b/erpnext/docs/user/manual/en/selling/setup/selling-settings.md
new file mode 100644
index 0000000..d5d7117
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/selling/setup/shipping-rule.md b/erpnext/docs/user/manual/en/selling/setup/shipping-rule.md
new file mode 100644
index 0000000..c4369cb
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/selling/shipping-rule.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/setting-up/articles/change-password.md b/erpnext/docs/user/manual/en/setting-up/articles/change-password.md
new file mode 100644
index 0000000..c65cc8b
--- /dev/null
+++ b/erpnext/docs/user/manual/en/setting-up/articles/change-password.md
@@ -0,0 +1,17 @@
+<h1>Change Password</h1>
+
+Each ERPNext user can customize password for his/her ERPNext account. Also user with System Manager role will be able to reset password for himself as well as for other users. Following are the steps to go about changing your password.
+
+
+####Step 1: Go to My Setting.
+
+![Image]({{docs_base_url}}/assets/img/articles/SGrab_250.png)
+
+####Step 2: Set New Password.
+
+![NEW]({{docs_base_url}}/assets/img/articles/Selection_014dd1559.png)
+
+Enter the new password and save the form to save changes. 
+
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/setting-up/articles/delete-a-company-and-all-related-transactions.md b/erpnext/docs/user/manual/en/setting-up/articles/delete-a-company-and-all-related-transactions.md
new file mode 100644
index 0000000..04e5203
--- /dev/null
+++ b/erpnext/docs/user/manual/en/setting-up/articles/delete-a-company-and-all-related-transactions.md
@@ -0,0 +1,20 @@
+<h1>Delete All Related Transactions for a Company</h1>
+
+Often, users setup all the master data and then create a few dummy records. Then they want to delete the dummy records and the company and start over again, keeping the other master data like Customers, Items, BOMs intact.
+
+Version 5 onwards, you can now delete all dummy transactions related to a company.
+
+To do that, open the company record.
+ 
+`Setup > Accounts > Company` or  `Accounts > Setup > Company`
+
+In Company master, click on the **Delete Company Transactions** button right at the bottom of the form. Then you must re-type the company name to confirm if you are sure you want to continue with this.
+
+This action will wipe out all the data related to that company like Quotation, Invoices, Purchase Orders etc. So be careful
+
+![Delete Company]({{docs_base_url}}/assets/img/articles/delete-company.png)
+
+
+**Note:** If you want to delete the company record itself, the use the normal "Delete" button from Menu options. It will also delete Chart of Accounts, Chart of Cost Centers and Warehouse records for that company.
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/setting-up/articles/edit-submitted-document.html b/erpnext/docs/user/manual/en/setting-up/articles/edit-submitted-document.html
new file mode 100644
index 0000000..366d8a3
--- /dev/null
+++ b/erpnext/docs/user/manual/en/setting-up/articles/edit-submitted-document.html
@@ -0,0 +1,28 @@
+<h1>Edit Submitted Document</h1>
+
+&nbsp;To edit submitted document, you need to cancel it first. Followings are steps to edit submitted document.
+<br>
+<br><b>Step 1: Cancel Submitted Document</b><br>
+<br>You will find Cancel button on upper right corner of submitted document.
+<br>
+<br>
+<img src="{{docs_base_path}}/assets/img/articles/Selection_001.png">
+<br>
+<br><b>Step 2: Amend the document</b><br>
+<br>On cancellation of submitted document, <b>Amend</b> button will be became visible.
+<br>
+<br>
+<img src="{{docs_base_path}}/assets/img/articles/Selection_00256341a.png">
+<br>
+<br><b>Step 3: Save and Submit the document</b><br>
+<br>On clicking Amend button, same document will become editable again. After Making required changes, save and submit the document.
+<br>
+<br>
+<img src="{{docs_base_path}}/assets/img/articles/Selection_0036e00ef.png">
+<br>
+<br><div class="well">Note: If your document linked with other documents, then you will need to cancel last document you made on top of this document. Example:<br><br>If you have created Delivery Note and Sales Invoice against Sales Order, which you need to amend, then you should first Cancel Delivery Note and Sales Invoice made for that Sales Order. Then amend Sales Order, re-save and re-submit it.<br>
+</div><br>
+<br>
+
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/setting-up/articles/index.md b/erpnext/docs/user/manual/en/setting-up/articles/index.md
new file mode 100644
index 0000000..4e1be28
--- /dev/null
+++ b/erpnext/docs/user/manual/en/setting-up/articles/index.md
@@ -0,0 +1 @@
+{content}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/setting-up/articles/index.txt b/erpnext/docs/user/manual/en/setting-up/articles/index.txt
new file mode 100644
index 0000000..6f99f89
--- /dev/null
+++ b/erpnext/docs/user/manual/en/setting-up/articles/index.txt
@@ -0,0 +1,13 @@
+change-password
+delete-a-company-and-all-related-transactions
+edit-submitted-document
+integrating-erpnext-with-other-application
+manage-header-and-footer
+managing-multiple-companies
+managing-perm-level
+managing-tree-structure-masters
+naming-series-current-value
+overwriting-data-from-data-import-tool
+rename-user
+setting-up-dropbox-backups
+using-custom-domain-on-erpnext
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/setting-up/articles/integrating-erpnext-with-other-application.md b/erpnext/docs/user/manual/en/setting-up/articles/integrating-erpnext-with-other-application.md
new file mode 100644
index 0000000..1b7adf4
--- /dev/null
+++ b/erpnext/docs/user/manual/en/setting-up/articles/integrating-erpnext-with-other-application.md
@@ -0,0 +1,14 @@
+<h1>Integrating ERPNext with other Applications</h1>
+
+For now, ERPNext doesn't have out-of-the-box integration available for the third party applications. However, Frappe has REST API using which you can get ERPNext integrated with any other solution.
+
+Learn more about Frappe API here.
+
+[https://frappe.io/help/rest_api](https://frappe.io/help/rest_api)
+
+For experts services on integration, you can connect with our service providers from community portal.
+
+[https://frappe.io/community/service-providers](https://frappe.io/community/service-providers)
+
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/setting-up/articles/manage-header-and-footer.html b/erpnext/docs/user/manual/en/setting-up/articles/manage-header-and-footer.html
new file mode 100644
index 0000000..eee9618
--- /dev/null
+++ b/erpnext/docs/user/manual/en/setting-up/articles/manage-header-and-footer.html
@@ -0,0 +1,4 @@
+<h1>Manage Header And Footer</h1>
+
+<h1>Manage Header And Footer</h1>
+
diff --git a/erpnext/docs/user/manual/en/setting-up/articles/managing-multiple-companies.md b/erpnext/docs/user/manual/en/setting-up/articles/managing-multiple-companies.md
new file mode 100644
index 0000000..dc9f667
--- /dev/null
+++ b/erpnext/docs/user/manual/en/setting-up/articles/managing-multiple-companies.md
@@ -0,0 +1,42 @@
+<h1>Managing Multiple Companies</h1>
+
+<h1>Managing Multiple Companies</h1>
+
+ERPNext allows you to create multiple companies in the same/common ERPNext account.
+
+With this, you will find option to select Company in your transactions. While most of the transactions will be separated based on Company, there are few masters like Item, Item Group, Customer Group, Territory etc. which can be used across all the companies.
+
+If you have separate teams working on each company, you can also restrict the access of user to the data of specific company. Click [here](https://manual.erpnext.com/search?txt=user%20permission) to know more about how to set permission to achieve the same.
+
+Following are the steps to create companies in your ERPNext account.
+
+####Go to Setup Module
+
+`Setup &gt; Masters &gt; Company &gt; New`
+
+####Enter Company Details
+
+Company master will be saved with Company Name provided at the time of its creation. 
+
+![New Company]({{docs_base_url}}/assets/img/articles/SGrab_343.png)
+
+Also, you can define other properties for new company like:
+
+* Country
+* Currency
+* Default Cash and Bank Account
+* Income/Expense Account
+* Company Registration Details
+
+Value will be auto-filled in most of these field to define company-wise defaults. You can edit/customize it as per your requirement. 
+
+![New Company]({{docs_base_url}}/assets/img/articles/SGrab_344.png)
+
+####Chart of Account for New Company
+
+A separate Chart of Account master will be set for each company in the ERPNext. This allows you managing Accounts/Ledger master separately for each company. Also it allows you avail financial statement and reports like Balance Sheet and Profit and Loss Statement separately for each company.
+
+![Company]({{docs_base_url}}/assets/img/articles/SGrab_342.png)
+
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/setting-up/articles/managing-perm-level.md b/erpnext/docs/user/manual/en/setting-up/articles/managing-perm-level.md
new file mode 100644
index 0000000..c44d1ea
--- /dev/null
+++ b/erpnext/docs/user/manual/en/setting-up/articles/managing-perm-level.md
@@ -0,0 +1,27 @@
+<h1>Managing Perm Level in Permission Manager</h1>
+
+<h1>Managing Perm Level in Permission Manager</h1>
+
+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.
+
+Perm Level for a field can be defined in the [Customize Form](https://erpnext.com/user-guide/customize-erpnext/customize-form).
+
+![Customize Form]({{docs_base_url}}/assets/img/articles/$SGrab_256.png)
+
+If you need to assign different permission of particular field to different users, you can achieve it via Perm Level. Let's consider an example for better understanding.
+
+Delivery Note is accessible to Stock Manager as well as Stock User. You don't wish Stock User to access Amount related field in Delivery Note, but other field should be visible just like it is visible Stock Manager.
+
+For the amount related fields, you should set Perm Level as (say) 2.
+
+For Stock Manager, they will have permission on fields on Delivery Note as Perm Level 2 whereas a Stock User will not have any permission on Perm Level 2 for Delivery Note.
+
+![Perm Level Manager]({{docs_base_url}}/assets/img/articles/$SGrab_253.png)
+
+Considering the same scenario, if you want a Stock User to access a field at Perm Level 2, but not edit it, the Stock User will be assigned permission on Perm Level 2, but only for read, and not for write/edit.
+
+![Perm Level User]({{docs_base_url}}/assets/img/articles/$SGrab_254.png)
+
+Perm Level (1, 2, 3) not need be in order. Perm Level is primarily for grouping number of fields together, and then assigning permission to Roles for that group. Hence, you can set any perm level for an item, and then do permission setting for it.
+
+<!-- markdown -->
diff --git a/erpnext/docs/user/manual/en/setting-up/articles/managing-tree-structure-masters.md b/erpnext/docs/user/manual/en/setting-up/articles/managing-tree-structure-masters.md
new file mode 100644
index 0000000..0de7869
--- /dev/null
+++ b/erpnext/docs/user/manual/en/setting-up/articles/managing-tree-structure-masters.md
@@ -0,0 +1,58 @@
+<h1>Managing Tree Structure Masters</h1>
+
+<h1>Managing Tree Structure Masters</h1>
+
+Some of the masters in ERPNext are maintained in tree structure. Tree structured masters allow you to set Parent masters, and Child masters under those Parents. Setting up this structure allows you creating intelligent report, and track growth at each level in the hierarchy. 
+
+Following is the partial list of masters which are maintained in the tree structure.
+
+* Chart of Accounts
+
+* Chart of Cost Centers
+
+* Customer Group
+
+* Territory
+
+* Sales Person
+
+* Item Group
+
+Following are the steps to manage and create record in the tree structured master. Let's consider Territory master to understand managing tree masters.
+
+####Step 1 : Go to Master
+
+`Selling > Setup > Territory`
+
+Also you can type master name in Awesome Bar to go to the related master.
+
+Tree master allows you to set Parent Territories, and Child Territories Groups under those Parents.
+
+####Step 2 : New Parent Territory
+
+![Territory Group]({{docs_base_url}}/assets/img/articles/Sselection_013.png)
+
+When click on Parent Territory, you will see option to add child territory under it. All default Territory groups will be listed under parent group called "All Territories". You can add further parent or child Territory Groups under it.
+
+####Step 3: Name The Territory Group
+
+When click on Add Child, a dialog box will provide two fields.
+
+**Territory Group Name**
+
+Territory will be saved with Territory Name provided here.
+
+**Group Node**
+
+If Group Node selected as Yes, then this Territory will be created as Parent, which means you can further create sub-territories under it. If select No, then it will become child Territory which you will be able to select in another masters.
+
+<div class="well">Only child Territory Groups are selectable in another masters and transactions.</div>
+![Child Territory]({{docs_base_url}}/assets/img/articles/Selection_0124080f1.png)
+
+Following is how Child Territories will be listed under a Parent Territory.
+
+![Territory Tree]({{docs_base_url}}/assets/img/articles/Selection_014.png)
+
+Following this steps, you can manage other tree masters in ERPNext.
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/setting-up/articles/naming-series-current-value.md b/erpnext/docs/user/manual/en/setting-up/articles/naming-series-current-value.md
new file mode 100644
index 0000000..47cf1a4
--- /dev/null
+++ b/erpnext/docs/user/manual/en/setting-up/articles/naming-series-current-value.md
@@ -0,0 +1,63 @@
+<h1>Setting the Current Value for Naming Series</h1>
+
+<h1>Setting the Current Value for Naming Series</h1>
+
+Naming Series feature allows you to define prefix for number series of documents. For example, if a Sales Order has prefix "SO", then the series will be generated as SO00001, SO00002... and so on. Click [here](https://erpnext.com/user-guide/setting-up/document-naming-series) to learn how you can customize Number Series for a transaction/master in ERPNext.
+
+### 1. Setting the Current Value
+
+Naming Series feature also offers a tool where you can set Current Value for specific prefix. This is generally required if you have recently started using ERPNext, and have old transactions in the previous system, and you want the numbering series to start in from where it ended in the old system. Let's consider a scenario to learn this better.
+
+For example, you have 322 Sales Orders created in your old system with SO00322 as highest Sales Order Id. In ERPNext, you need the first Sales Order to pick up #323 when it is saved. To enable this, you should set Current Value for SO series in following steps.
+
+#### Go to Naming Series Tool
+
+`Setup > System > Naming Series`
+
+#### Update Series Section
+
+![Update Series Section]({{docs_base_url}}/assets/img/articles/$SGrab_420.png)
+
+#### Select Prefix
+
+Considering our scenario, prefix for Sales Order will be "SO".
+
+![Series Prefix]({{docs_base_url}}/assets/img/articles/$SGrab_418.png)
+
+#### Current Value
+
+If you have currently 12 Sales Orders created in your account, then current value updated will be 12. You can edit Current Value to 322, and then click on Update Series Number.
+
+![Series Current Value]({{docs_base_url}}/assets/img/articles/$SGrab_419.png)
+
+With this setting, you will have numbering for the New Sales Orders starting with #323.
+
+### 2. Error Due Series Number
+
+If you receive a Duplicate Name error while saving a transaction, for example, while saving Item Price, you receive an error saying:
+
+`Duplicate name Item Price RFD/00016`
+
+This error message indicates that when you are saving Item Price, system is trying to allocate "RFD/00016" to that Item Price record. But it is finding that Item Price with this ID is already existing in your system.
+
+This error could arise because Current Value for Series/Prefix of Item Price is disturbed and not in sync with actual Current Value. While actual Current Value for Item Price could be 20 (or any number more than 16), someone has set Current Value for this series as 15. 
+
+To confirm actual Current Value for particular Series, you should check report for document in question (Item Price in this case), and check for the Item Price ID with highest value. 
+
+Let's assume we find that actual Current Value for Item price is 22, then you go Naming Series, and set Current Value for the Prefix/Series of Item Price to 22, and Update Series Number.
+
+These instructions is applicable for all the documents in ERPNext for which user can customize Series and its Current Value.
+
+Let's consider another scenario to learn this better. On assigning a document to another user, error message says:
+
+`Duplicate name ToDo TDI00014286`
+
+This indicate the Current Value for Series/Prefix of ToDo (TDI) has been disturbed. You should follow these steps to correct value for Current Value for TDI prefix.
+
+1. Check ToDo report for the highest ToDo id value.
+1. Setup >> Settings >> Naming Series
+1. Check section B of Update Series
+1. Select Prefix for ToDo "TDI"
+1. Ensure that highest number for ToDo is updated as Current Value in Naming Series. If not, correct Current Value, and click on "Update Series Numbering".
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/setting-up/articles/overwriting-data-from-data-import-tool.html b/erpnext/docs/user/manual/en/setting-up/articles/overwriting-data-from-data-import-tool.html
new file mode 100644
index 0000000..1ae6cb5
--- /dev/null
+++ b/erpnext/docs/user/manual/en/setting-up/articles/overwriting-data-from-data-import-tool.html
@@ -0,0 +1,11 @@
+<h1>Overwriting Data from Data Import Tool</h1>
+
+<h1>Overwriting Data from Data Import Tool</h1>
+
+Data Import Tool allows importing documents (like customers, Suppliers, Orders, Invoices etc.) from spreadsheet file into ERPNext. The very same tool can also be used for overwrite values in the existing documents.
+<br>
+<br><div class="well">Over-writing data from Data Import Tool works only for Saved transactions, and not for Submitted ones.</div>
+Let's assume there are no. of items for which we need to overwrite Item Group.
+Following are the steps to go about overwriting Item Groups for existing Items.<br><br><h4>Step 1: Download Template</h4><br>Template Used for overwriting data will be same as one used for importing new items. Hence, you should first download template from.<br><br>Setup &gt;&gt; Data &gt;&gt; Import/Export Data<br><br>Since items to be over-written will be already available in the system, while downloading template, "Download with data" field should be checked. With this, we will have all the existing items being downloaded with the template.<br><br><img src="{{docs_base_path}}/assets/img/articles/$SGrab_285.png"><br><br><h4>Step 2: Prepare Data</h4><br>In the download template, We will only keep rows of the items to be worked on and delete the rest. Then we will enter new value in the Item Group column for an item. Since Item Group is a master in itself, we should ensure that Item Group entered in the excel file is already available in the Item Group master as well.<br><br><img src="{{docs_base_path}}/assets/img/articles/$SGrab_287.png"><br><br>Since we are overwriting only Item Group, only following columns will be mandatory.<br><br><ol><li>Column A (since it has main values of template)<br></li><li>Name (Column B)<br></li><li>Item Group<br></li></ol>Columns of other field which won't have any impact of overwriting can be
+ removed, even if they are mandatory. This is applicable only for 
+overwriting, and not when importing new records.<br><br><h4>Step 3: Import Data</h4><br>Once excel file is ready for importing, come back to Data Import Tool in ERPNext. We should first browser and select the File/template which has data to be overwritten. "Overwrite" field should be checked since we are overwriting Item Group in the existing items.<br><br><img src="{{docs_base_path}}/assets/img/articles/$SGrab_288.png"><br><br><h4>Step 4: Upload</h4><br>On clicking Upload and Import, if values as provided in the spreadsheet file is validated, it will be successfully updated in the item master.<br><br><img src="{{docs_base_path}}/assets/img/articles/$SGrab_289.png"><br><br>If validation of values fails, then it will indicate row no. of spreadsheet for which validation failed and needs correction. In that case, you should corrected value in that row, and then try importing/uploading file again. If validation fails for even one row, none of the records are imported/updated.<br>
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/setting-up/articles/rename-user.md b/erpnext/docs/user/manual/en/setting-up/articles/rename-user.md
new file mode 100644
index 0000000..51fb637
--- /dev/null
+++ b/erpnext/docs/user/manual/en/setting-up/articles/rename-user.md
@@ -0,0 +1,31 @@
+<h1>Rename User</h1>
+
+<h1>Rename User</h1>
+
+Renaming functionality allows you to edit id of specific record. User is saved with person's email id. Only User with System Manager's role will be able to rename User IDs.
+
+Following are the steps to rename user id.
+
+#### Step 1: Go to User List
+
+Setup &gt; Users &gt; User
+
+Click to open user id you want to rename.
+
+#### Step 2: Go to Menu and click on Rename option. 
+
+When will you click on Rename option, pop up will open on same form. 
+
+<img src="{{docs_base_url}}/assets/img/articles/Selection_019811b13.png">
+
+
+#### Step 3: Enter new user ID and Press Rename Button.
+
+
+<img src="{{docs_base_url}}/assets/img/articles/Selection_021ac61a5.png"> 
+
+After successful renaming user can login to their ERPNext account with new ID.
+
+
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/setting-up/articles/setting-up-dropbox-backups.html b/erpnext/docs/user/manual/en/setting-up/articles/setting-up-dropbox-backups.html
new file mode 100644
index 0000000..1b7e4f7
--- /dev/null
+++ b/erpnext/docs/user/manual/en/setting-up/articles/setting-up-dropbox-backups.html
@@ -0,0 +1,74 @@
+<h1>Setting Up Dropbox Backups</h1>
+
+<h1>Setting Up Dropbox Backups</h1>
+
+<p style="font-family: 'Noto Sans', sans-serif; line-height: 23.7999992370605px;">If you wish to store your backups on a periodic basis,on Dropbox, you can do it directly through ERPNext.</p>
+<blockquote style="font-family: 'Noto Sans', sans-serif; line-height: 23.7999992370605px; background-color: rgb(247, 247, 247);">
+    <p>Setup &gt; Manage 3rd Party Backups</p>
+</blockquote>
+<p style="font-family: 'Noto Sans', sans-serif; line-height: 23.7999992370605px;"><strong>Step 1:</strong>&nbsp;Click on Integrations &gt; Backup Manager
+    <br>
+</p>
+<br>
+<div>
+    <p style="font-family: 'Noto Sans', sans-serif; line-height: 23.7999992370605px;">In 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.</p>
+    <p style="font-family: 'Noto Sans', sans-serif; line-height: 23.7999992370605px;"><strong>Step 2</strong> Click on&nbsp;<strong>Allow Dropbox Access</strong>.</p>
+    <blockquote style="font-family: 'Noto Sans', sans-serif; line-height: 23.7999992370605px; background-color: rgb(247, 247, 247);">
+        <p>Tip: In future, if you wish to discontinue uploading backups to dropbox, then select the Never option.</p>
+    </blockquote>
+    <img src="{{docs_base_path}}/assets/img/articles/Screen Shot 2015-09-23 at 1.02.52 pm.png">
+</div>
+<div>&nbsp;
+    <br>
+</div>
+<div><b>
+    Step 3</b>
+    <br>
+</div>
+<div>
+    <p style="font-family: 'Noto Sans', sans-serif; line-height: 23.7999992370605px;">You need to login to your dropbox account, with your user id and password.</p>
+</div>
+<div>
+    <img src="{{docs_base_path}}/assets/img/articles/dropbox-access.png" style="line-height: 1.42857143;">&nbsp;
+    <br>
+</div>
+<div>
+    <br>
+    <hr>
+</div>
+<div>
+     <h3 style="font-family: 'Noto Sans', Helvetica, Arial, sans-serif; color: rgb(51, 51, 51);">Open Source Users</h3>
+
+</div>
+<div>
+    <br>
+</div>
+<div><b>Step 1: </b>Go to&nbsp;<a href="https://www.dropbox.com/developers/apps" target="_blank" style="line-height: 1.42857143;">https://www.dropbox.com/developers/apps</a>
+
+</div>
+<div><b>Step 2:</b> Create a new app</div>
+<div>
+    <img src="{{docs_base_path}}/assets/img/articles/Screen Shot 2014-11-11 at 11.22.38 pm.png">
+    <br>
+</div>
+<div><b>Step 3: </b>Fill in details for the app.</div>
+<div>
+    <img src="{{docs_base_path}}/assets/img/articles/Screen Shot 2014-11-11 at 11.23.32 pm.png">
+    <br>
+</div>
+<div>
+    <br>
+</div>
+<div><b>Step 4: </b>After the app is created, note the app key and app secret and enter in `sites/{sitename}/site_config.json` as follows,</div>
+<div>
+    <br>
+</div>
+<div><pre><code>{ 
+ "db_name": "demo", 
+ "db_password": "DZ1Idd55xJ9qvkHvUH", 
+ "dropbox_access_key": "ACCESSKEY", 
+ "dropbox_secret_key": "SECRECTKEY" 
+} </code></pre>
+    <br>
+</div>
+<div><b>Step 5: </b>Setup dropbox backups from the backup manager as shown in previous section.</div>
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/setting-up/articles/using-custom-domain-on-erpnext.md b/erpnext/docs/user/manual/en/setting-up/articles/using-custom-domain-on-erpnext.md
new file mode 100644
index 0000000..ff631b1
--- /dev/null
+++ b/erpnext/docs/user/manual/en/setting-up/articles/using-custom-domain-on-erpnext.md
@@ -0,0 +1,13 @@
+<!-- markdown -->
+
+If you have subscribed to any of the plans at [ERPNext](https://erpnext.com), you can have us serve your site on your custom domain (for example at http://example.com). This enables your website to be served on a custom domain.
+
+To enable this feature, you will first have to edit DNS settings of your domain as follows.
+
+- Make a CNAME record for a subdomain (www in most cases) to {youraccountname}.erpnext.com
+- If you want serve the website on a naked domain (ie. http://example.com), set a URL redirect to http://www.example.com and not a CNAME record. Making a CNAME record in this case can have unexpected consequences including you not being able to receive emails anymore.
+
+After you've setup the DNS records, you will have to raise a support ticket by sending an email to support@erpnext.com and we'll take it from there.
+
+**Note**: We do not support HTTPS on custom domains. HTTPS enables end to end encryption (from your browser to our server). Although not critical for the website but we strongly recommend against using the ERPNext app over an unencrypted protocol. To be safe always use the ERP at your erpext.com address.
+
diff --git a/erpnext/docs/user/manual/en/setting-up/authorization-rule.md b/erpnext/docs/user/manual/en/setting-up/authorization-rule.md
new file mode 100644
index 0000000..6b79b6d
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/setting-up/bar-code.md b/erpnext/docs/user/manual/en/setting-up/bar-code.md
new file mode 100644
index 0000000..2077842
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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/guides/setting-up/calculate-incentive-for-sales-team.md b/erpnext/docs/user/manual/en/setting-up/calculate-incentive-for-sales-team.md
similarity index 100%
rename from erpnext/docs/user/guides/setting-up/calculate-incentive-for-sales-team.md
rename to erpnext/docs/user/manual/en/setting-up/calculate-incentive-for-sales-team.md
diff --git a/erpnext/docs/user/guides/setting-up/company-setup.md b/erpnext/docs/user/manual/en/setting-up/company-setup.md
similarity index 100%
rename from erpnext/docs/user/guides/setting-up/company-setup.md
rename to erpnext/docs/user/manual/en/setting-up/company-setup.md
diff --git a/erpnext/docs/user/manual/en/setting-up/data/bulk-rename.md b/erpnext/docs/user/manual/en/setting-up/data/bulk-rename.md
new file mode 100644
index 0000000..499ee32
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/setup/data/rename.png">
+
+{next}
diff --git a/erpnext/docs/user/manual/en/setting-up/data/data-import-tool.md b/erpnext/docs/user/manual/en/setting-up/data/data-import-tool.md
new file mode 100644
index 0000000..e59ed21
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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]({{docs_base_url}}/assets/old_images/erpnext/import-3.png)
+
+Then export your template or save it as a **Comma Separated Values** (CSV)
+file.
+
+![Spreadsheet]({{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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/guides/setting-up/data/index.md b/erpnext/docs/user/manual/en/setting-up/data/index.md
similarity index 100%
rename from erpnext/docs/user/guides/setting-up/data/index.md
rename to erpnext/docs/user/manual/en/setting-up/data/index.md
diff --git a/erpnext/docs/user/guides/setting-up/data/index.txt b/erpnext/docs/user/manual/en/setting-up/data/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/setting-up/data/index.txt
rename to erpnext/docs/user/manual/en/setting-up/data/index.txt
diff --git a/erpnext/docs/user/manual/en/setting-up/email/.md b/erpnext/docs/user/manual/en/setting-up/email/.md
new file mode 100644
index 0000000..feb724f
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/old_images/erpnext/email-digest.png)
+
diff --git a/erpnext/docs/user/manual/en/setting-up/email/email-account.md b/erpnext/docs/user/manual/en/setting-up/email/email-account.md
new file mode 100644
index 0000000..4392bf4
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/setup/email/email-account-unreplied.png">
+
+{next}
diff --git a/erpnext/docs/user/manual/en/setting-up/email/email-alerts.md b/erpnext/docs/user/manual/en/setting-up/email/email-alerts.md
new file mode 100644
index 0000000..f4cccd3
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/setup/email/email-alert-1.png">
+
+1. Setting the Recipients and Message
+    <img class="screenshot" alt="Set Message" src="{{docs_base_url}}/assets/img/setup/email/email-alert-2.png">
+
+{next}
diff --git a/erpnext/docs/user/manual/en/setting-up/email/email-digest.md b/erpnext/docs/user/manual/en/setting-up/email/email-digest.md
new file mode 100644
index 0000000..5fa836e
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/setup/email/email-digest.png">
+
+{next}
diff --git a/erpnext/docs/user/guides/setting-up/email/index.md b/erpnext/docs/user/manual/en/setting-up/email/index.md
similarity index 100%
rename from erpnext/docs/user/guides/setting-up/email/index.md
rename to erpnext/docs/user/manual/en/setting-up/email/index.md
diff --git a/erpnext/docs/user/manual/en/setting-up/email/index.txt b/erpnext/docs/user/manual/en/setting-up/email/index.txt
new file mode 100644
index 0000000..b25c0d5
--- /dev/null
+++ b/erpnext/docs/user/manual/en/setting-up/email/index.txt
@@ -0,0 +1,6 @@
+email-account
+email-alerts
+email-digest
+sending-email
+setting-up-email.md
+setting-up-email.md
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/setting-up/email/sending-email.md b/erpnext/docs/user/manual/en/setting-up/email/sending-email.md
new file mode 100644
index 0000000..cabcff5
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/setup/email/send-email.gif">
+
+**Note:** You must have outgoing [email accounts]({{docs_base_url}}/user/guides/setting-up/email/email-account.html) setup for this.
+
+{next}
diff --git a/erpnext/docs/user/guides/setting-up/index.md b/erpnext/docs/user/manual/en/setting-up/index.md
similarity index 100%
rename from erpnext/docs/user/guides/setting-up/index.md
rename to erpnext/docs/user/manual/en/setting-up/index.md
diff --git a/erpnext/docs/user/manual/en/setting-up/index.txt b/erpnext/docs/user/manual/en/setting-up/index.txt
new file mode 100644
index 0000000..9237825
--- /dev/null
+++ b/erpnext/docs/user/manual/en/setting-up/index.txt
@@ -0,0 +1,19 @@
+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
+calculate-incentive-for-sales-team
+articles
diff --git a/erpnext/docs/user/manual/en/setting-up/pos-setting.md b/erpnext/docs/user/manual/en/setting-up/pos-setting.md
new file mode 100644
index 0000000..d04580c
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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]({{docs_base_url}}/user/guides/accounts/point-of-sale-pos-invoice.html)
+
+{next}
diff --git a/erpnext/docs/user/manual/en/setting-up/price-lists.md b/erpnext/docs/user/manual/en/setting-up/price-lists.md
new file mode 100644
index 0000000..156e66d
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/setting-up/print/address-template.md b/erpnext/docs/user/manual/en/setting-up/print/address-template.md
new file mode 100644
index 0000000..c2b9bb7
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/setup/print/address-format.png">
+
+{next}
diff --git a/erpnext/docs/user/guides/setting-up/print/index.md b/erpnext/docs/user/manual/en/setting-up/print/index.md
similarity index 100%
rename from erpnext/docs/user/guides/setting-up/print/index.md
rename to erpnext/docs/user/manual/en/setting-up/print/index.md
diff --git a/erpnext/docs/user/guides/setting-up/print/index.txt b/erpnext/docs/user/manual/en/setting-up/print/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/setting-up/print/index.txt
rename to erpnext/docs/user/manual/en/setting-up/print/index.txt
diff --git a/erpnext/docs/user/manual/en/setting-up/print/letter-head.md b/erpnext/docs/user/manual/en/setting-up/print/letter-head.md
new file mode 100644
index 0000000..d3c24f2
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/setup/print/letter-head.png">
+
+This is how the letter head looks in a document print:
+
+<img class="screenshot" alt="Print Heading" src="{{docs_base_url}}/assets/img/setup/print/letter-head-1.png">
+
+{next}
diff --git a/erpnext/docs/user/manual/en/setting-up/print/print-format-builder.md b/erpnext/docs/user/manual/en/setting-up/print/print-format-builder.md
new file mode 100644
index 0000000..f979927
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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/manual/en/setting-up/print/print-headings.md b/erpnext/docs/user/manual/en/setting-up/print/print-headings.md
new file mode 100644
index 0000000..98fbf53
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/setup/print/print-heading.png">
+
+Example of a change in print heading is shown below:
+
+<img class="screenshot" alt="Print Heading" src="{{docs_base_url}}/assets/img/setup/print/print-heading-1.png">
+
+{next}
diff --git a/erpnext/docs/user/manual/en/setting-up/print/print-settings.md b/erpnext/docs/user/manual/en/setting-up/print/print-settings.md
new file mode 100644
index 0000000..cdf3c54
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/setup/print/print-settings.png">
+
+{next}
diff --git a/erpnext/docs/user/manual/en/setting-up/print/terms-and-conditions.md b/erpnext/docs/user/manual/en/setting-up/print/terms-and-conditions.md
new file mode 100644
index 0000000..8c939d0
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/setup/print/terms-3.png">
+
+{next}
diff --git a/erpnext/docs/user/manual/en/setting-up/setting-up-taxes.md b/erpnext/docs/user/manual/en/setting-up/setting-up-taxes.md
new file mode 100644
index 0000000..a3c11ab
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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/manual/en/setting-up/settings/global-defaults.md b/erpnext/docs/user/manual/en/setting-up/settings/global-defaults.md
new file mode 100644
index 0000000..412572a
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/setup/settings/global-defaults.png">
+
+{next}
diff --git a/erpnext/docs/user/guides/setting-up/settings/index.md b/erpnext/docs/user/manual/en/setting-up/settings/index.md
similarity index 100%
rename from erpnext/docs/user/guides/setting-up/settings/index.md
rename to erpnext/docs/user/manual/en/setting-up/settings/index.md
diff --git a/erpnext/docs/user/guides/setting-up/settings/index.txt b/erpnext/docs/user/manual/en/setting-up/settings/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/setting-up/settings/index.txt
rename to erpnext/docs/user/manual/en/setting-up/settings/index.txt
diff --git a/erpnext/docs/user/manual/en/setting-up/settings/module-settings.md b/erpnext/docs/user/manual/en/setting-up/settings/module-settings.md
new file mode 100644
index 0000000..ecfb282
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/setup/settings/show-hide-modules.png">
+
+{next}
diff --git a/erpnext/docs/user/manual/en/setting-up/settings/naming-series.md b/erpnext/docs/user/manual/en/setting-up/settings/naming-series.md
new file mode 100644
index 0000000..df7de6d
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/setup/settings/naming-series.gif">
+
+{next}
+
diff --git a/erpnext/docs/user/manual/en/setting-up/settings/system-settings.md b/erpnext/docs/user/manual/en/setting-up/settings/system-settings.md
new file mode 100644
index 0000000..053b4f1
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/setup/settings/system-settings.png">
+
+{next}
diff --git a/erpnext/docs/user/guides/setting-up/setup-wizard/index.md b/erpnext/docs/user/manual/en/setting-up/setup-wizard/index.md
similarity index 100%
rename from erpnext/docs/user/guides/setting-up/setup-wizard/index.md
rename to erpnext/docs/user/manual/en/setting-up/setup-wizard/index.md
diff --git a/erpnext/docs/user/guides/setting-up/setup-wizard/index.txt b/erpnext/docs/user/manual/en/setting-up/setup-wizard/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/setting-up/setup-wizard/index.txt
rename to erpnext/docs/user/manual/en/setting-up/setup-wizard/index.txt
diff --git a/erpnext/docs/user/manual/en/setting-up/setup-wizard/step-1-language.md b/erpnext/docs/user/manual/en/setting-up/setup-wizard/step-1-language.md
new file mode 100644
index 0000000..00219fd
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/setting-up/setup-wizard/step-10-item.md b/erpnext/docs/user/manual/en/setting-up/setup-wizard/step-10-item.md
new file mode 100644
index 0000000..bc71b98
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/setting-up/setup-wizard/step-2-currency-and-timezone.md b/erpnext/docs/user/manual/en/setting-up/setup-wizard/step-2-currency-and-timezone.md
new file mode 100644
index 0000000..5dc1648
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/setting-up/setup-wizard/step-3-user-details.md b/erpnext/docs/user/manual/en/setting-up/setup-wizard/step-3-user-details.md
new file mode 100644
index 0000000..b9eff18
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/setup-wizard/step-3.png">
+
+---
+
+Note: Add your own photograph, not your company's
+
+{next}
diff --git a/erpnext/docs/user/manual/en/setting-up/setup-wizard/step-4-company-details.md b/erpnext/docs/user/manual/en/setting-up/setup-wizard/step-4-company-details.md
new file mode 100644
index 0000000..f88d31c
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/setting-up/setup-wizard/step-5-letterhead-and-logo.md b/erpnext/docs/user/manual/en/setting-up/setup-wizard/step-5-letterhead-and-logo.md
new file mode 100644
index 0000000..7cc258b
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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]({{docs_base_url}}/user/guides/setting-up/print/letter-head.html)
+
+#### 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/manual/en/setting-up/setup-wizard/step-6-add-users.md b/erpnext/docs/user/manual/en/setting-up/setup-wizard/step-6-add-users.md
new file mode 100644
index 0000000..7e8f083
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/setup-wizard/step-6.png">
+
+{next}
diff --git a/erpnext/docs/user/manual/en/setting-up/setup-wizard/step-7-tax-details.md b/erpnext/docs/user/manual/en/setting-up/setup-wizard/step-7-tax-details.md
new file mode 100644
index 0000000..ead3fc9
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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]({{docs_base_url}}/user/guides/setting-up/setting-up-taxes.html)
+
+{next}
diff --git a/erpnext/docs/user/manual/en/setting-up/setup-wizard/step-8-customer-names.md b/erpnext/docs/user/manual/en/setting-up/setup-wizard/step-8-customer-names.md
new file mode 100644
index 0000000..b82202c
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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]({{docs_base_url}}/user/guides/CRM/customer.html)
+
+{next}
diff --git a/erpnext/docs/user/manual/en/setting-up/setup-wizard/step-9-suppliers.md b/erpnext/docs/user/manual/en/setting-up/setup-wizard/step-9-suppliers.md
new file mode 100644
index 0000000..5d2f381
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/setup-wizard/step-9.png">
+
+---
+
+To understand Suppliers in detail visit [Supplier Master]({{docs_base_url}}/user/guides/buying/supplier-master.html)
+
+{next}
diff --git a/erpnext/docs/user/manual/en/setting-up/sms-setting.md b/erpnext/docs/user/manual/en/setting-up/sms-setting.md
new file mode 100644
index 0000000..4871ed1
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/old_images/erpnext/sms-settings1.png)
+
+{next}
diff --git a/erpnext/docs/user/manual/en/setting-up/stock-reconciliation-for-non-serialized-item.md b/erpnext/docs/user/manual/en/setting-up/stock-reconciliation-for-non-serialized-item.md
new file mode 100644
index 0000000..bd46bf1
--- /dev/null
+++ b/erpnext/docs/user/manual/en/setting-up/stock-reconciliation-for-non-serialized-item.md
@@ -0,0 +1,154 @@
+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="{{docs_base_url}}/assets/img/setup/stock-recon-1.png">
+
+#### Step 2: Enter Data in csv file.
+
+![Stock Reco Data]({{docs_base_url}}/assets/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.
+
+#### **Step 3: Upload file and Enter Values in Stock Reconciliation Form
+
+<img class="screenshot" alt="Stock Reconciliation" src="{{docs_base_url}}/assets/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]({{docs_base_url}}/assets/old_images/erpnext/stock-reco-upload.png)
+
+### Stock Ledger Report
+
+![Stock Reco Ledger]({{docs_base_url}}/assets/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/manual/en/setting-up/territory.md b/erpnext/docs/user/manual/en/setting-up/territory.md
new file mode 100644
index 0000000..3a1abfd
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/crm/territory-tree.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/setting-up/third-party-backups.md b/erpnext/docs/user/manual/en/setting-up/third-party-backups.md
new file mode 100644
index 0000000..c4e74ca
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/old_images/erpnext/backup-manager.png)
+
+You need to login to your dropbox account, with your user id and password.
+
+![Dropbox Access]({{docs_base_url}}/assets/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/manual/en/setting-up/users-and-permissions/adding-users.md b/erpnext/docs/user/manual/en/setting-up/users-and-permissions/adding-users.md
new file mode 100644
index 0000000..dfd9ea0
--- /dev/null
+++ b/erpnext/docs/user/manual/en/setting-up/users-and-permissions/adding-users.md
@@ -0,0 +1,48 @@
+# Adding Users
+
+Users can be added by the System Manager. If you are a System Manager, you can add Users via
+
+There are two main classes of users: Web Users and System Users. System Users are people using ERPNext in the company. Web users are customers or suppliers (or portal users).
+  
+Under User a lot of info can be entered. For the sake of usability the information entered for webs users is minimal: First Name and email.
+Important is to realize that the email address is the unique key (ID) identifying the Users.
+
+> Setup > User
+
+### 1. List of Users
+
+<img class="screenshot" src="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/setup/users/user-4.png" alt="User Security">
+
+{next}
diff --git a/erpnext/docs/user/guides/setting-up/users-and-permissions/index.md b/erpnext/docs/user/manual/en/setting-up/users-and-permissions/index.md
similarity index 100%
rename from erpnext/docs/user/guides/setting-up/users-and-permissions/index.md
rename to erpnext/docs/user/manual/en/setting-up/users-and-permissions/index.md
diff --git a/erpnext/docs/user/guides/setting-up/users-and-permissions/index.txt b/erpnext/docs/user/manual/en/setting-up/users-and-permissions/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/setting-up/users-and-permissions/index.txt
rename to erpnext/docs/user/manual/en/setting-up/users-and-permissions/index.txt
diff --git a/erpnext/docs/user/manual/en/setting-up/users-and-permissions/role-based-permissions.md b/erpnext/docs/user/manual/en/setting-up/users-and-permissions/role-based-permissions.md
new file mode 100644
index 0000000..9a96b17
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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]({{docs_base_url}}/user/guides/setting-up/users-and-permissions/user-permissions.html)
+
+---
+
+**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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/users-and-permissions/setting-up-permissions-hr-user-role.png">
+
+{next}
diff --git a/erpnext/docs/user/manual/en/setting-up/users-and-permissions/sharing.md b/erpnext/docs/user/manual/en/setting-up/users-and-permissions/sharing.md
new file mode 100644
index 0000000..a939e65
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/setup/users/share.gif">
+
+{next}
diff --git a/erpnext/docs/user/manual/en/setting-up/users-and-permissions/user-permissions.md b/erpnext/docs/user/manual/en/setting-up/users-and-permissions/user-permissions.md
new file mode 100644
index 0000000..c1cefc6
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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/manual/en/setting-up/workflows.md b/erpnext/docs/user/manual/en/setting-up/workflows.md
new file mode 100644
index 0000000..a4ddc38
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/setup/workflow-1.png">
+
+#### Step 2: Enter Transition Rules.
+
+<img class="screenshot" alt="Workflow" src="{{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/old_images/erpnext/workflow-leave-approver-la.png)
+
+{next}
diff --git a/erpnext/docs/user/manual/en/stock/accounting-of-inventory-stock/index.md b/erpnext/docs/user/manual/en/stock/accounting-of-inventory-stock/index.md
new file mode 100644
index 0000000..f98f511
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/user/guides/stock/accounting-of-inventory-stock/perpetual-inventory.html)
+
+#### **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]({{docs_base_url}}/user/guides/stock/accounting-of-inventory-stock/migrate-to-perpetual-inventory.html).
+
+{next}
diff --git a/erpnext/docs/user/guides/stock/accounting-of-inventory-stock/index.txt b/erpnext/docs/user/manual/en/stock/accounting-of-inventory-stock/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/stock/accounting-of-inventory-stock/index.txt
rename to erpnext/docs/user/manual/en/stock/accounting-of-inventory-stock/index.txt
diff --git a/erpnext/docs/user/manual/en/stock/accounting-of-inventory-stock/migrate-to-perpetual-inventory.md b/erpnext/docs/user/manual/en/stock/accounting-of-inventory-stock/migrate-to-perpetual-inventory.md
new file mode 100644
index 0000000..ffc5f40
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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/manual/en/stock/accounting-of-inventory-stock/perpetual-inventory.md b/erpnext/docs/user/manual/en/stock/accounting-of-inventory-stock/perpetual-inventory.md
new file mode 100644
index 0000000..fbe880f
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/old_images/erpnext/accounting-for-stock-2.png)
+
+**General Ledger**
+
+![pr<em>general</em>ledger]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/old_images/erpnext/accounting-for-stock-5.png)
+
+**General Ledger**
+
+![dn<em>general</em>ledger]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/old_images/erpnext/accounting-for-stock-7.png)
+
+**General Ledger**
+
+![si<em>general</em>ledger]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/old_images/erpnext/accounting-for-stock-9.png)
+
+**General Ledger**
+
+![mr<em>stock</em>ledger]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/old_images/erpnext/accounting-for-stock-11.png)
+
+**General Ledger**
+
+![mi<em>stock</em>ledger]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/old_images/erpnext/accounting-for-stock-13.png)
+
+**General Ledger**
+
+![mtn<em>general</em>ledger]({{docs_base_url}}/assets/old_images/erpnext/accounting-for-stock-14.png)
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/stock/articles/allow-over-delivery-billing-against-sales-order-upto-certain-limit.md b/erpnext/docs/user/manual/en/stock/articles/allow-over-delivery-billing-against-sales-order-upto-certain-limit.md
new file mode 100644
index 0000000..bfee143
--- /dev/null
+++ b/erpnext/docs/user/manual/en/stock/articles/allow-over-delivery-billing-against-sales-order-upto-certain-limit.md
@@ -0,0 +1,15 @@
+<h1>Allow over delivery / billing against Sales Order upto certain limit</h1>
+
+<h1>Allow over delivery / billing against Sales Order upto certain limit</h1>
+
+To setup over delivery / receipt / billing against a Sales / Purchase Order upto certain limit:
+
+1. Go to `Stock > Setup > Stock Settings`.
+2. Set `Allowance Percentage` and save the Stock Settings.
+![Allowance Percentage]({{docs_base_url}}/assets/img/articles/allowance_percentage.png)
+For example: If you have ordered 100 units. and your Allowance is 50% then you are allowed to receive 150 units.
+3. To set item-specific limit, set `Allowance Percentage` in `Item` master.
+![Allowance Percentage in Item]({{docs_base_url}}/assets/img/articles/allowance_percentage_item.png)
+
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/stock/articles/auto-creation-of-material-request.md b/erpnext/docs/user/manual/en/stock/articles/auto-creation-of-material-request.md
new file mode 100644
index 0000000..e95b113
--- /dev/null
+++ b/erpnext/docs/user/manual/en/stock/articles/auto-creation-of-material-request.md
@@ -0,0 +1,25 @@
+<h1>Auto Creation of Material Request</h1>
+
+<h1>Auto Creation of Material Request</h1>
+
+ERPNext allows you to define item-wise and warehouse-wise reorder level in the item master. Reorder level is the item's stock level at which item should be re-ordered.
+
+With reorder level, you can also define what should be the next action. Either new purchase or transfer from another warehouse. Based on setting in Item master, purpose will be updated in the Material Request as well.
+
+![Item Reorder Level]({{docs_base_url}}/assets/img/articles/$SGrab_391.png)
+
+You can have Material Request automatically created for items whose stock level reaches re-order level. You can enable this feature from:
+
+`Stock > Setup > Stock Settings`
+
+![Item Reorder Stock Setting]({{docs_base_url}}/assets/img/articles/$SGrab_392.png)
+
+A separate Material Request will be created for each item. User with Purchase Manager's role will be informed about these Material Request. He can further process this Material Request, and create Supplier Quotation and Purchase Order against it.
+
+If auto creation of Material Request is failed, Purchase Manager will be informed about error message via email. One of the most encountered error message is:
+
+**An error occurred for certain Items while creating Material Requests based on Re-order level.
+Date 01-04-2015 not in any Fiscal Year.**
+
+One of the reason of error could be Fiscal Year as well. Click [here](https://erpnext.com/kb/accounts/fiscal-year-error) to learn more about it.
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/stock/articles/creating-depreciation-for-item.html b/erpnext/docs/user/manual/en/stock/articles/creating-depreciation-for-item.html
new file mode 100644
index 0000000..6115ed5
--- /dev/null
+++ b/erpnext/docs/user/manual/en/stock/articles/creating-depreciation-for-item.html
@@ -0,0 +1,27 @@
+<h1>Creating Depreciation For Item</h1>
+
+<h1>Creating Depreciation For Item</h1>
+
+<b>Question:</b> A Fixed Asset Item has been purchased and stored in a warehouse. How can the user create a depreciation for a Fixed Asset Item?<u><b><br><br></b></u><b>Answer:</b><u><b><br><br></b></u>Though there is no direct, automated method to book
+Asset Depreciation. A suitable work around to achieve this is by creating a Stock Reconciliation Entry.
+<br><u><b><br>Step 1:</b></u> In the Attachment file, fill in the appropriate columns;
+<br>
+<ul>
+    <li><i>Item Code</i> whose value is to be depreciated</li>
+    <li><i>Warehouse </i>in which it is stored</li>
+    <li><i>Qty (Quantity) </i>Leave this column blank</li>
+    <li>&nbsp;<i>Valuation Rate </i>Enter the Value after Depreciation</li>
+</ul>
+<p>
+    <br>
+</p>
+<img src="{{docs_base_path}}/assets/img/articles/kb_deprec_csv.png"><br>
+<p><u><b><br></b></u>
+</p>
+<p><u><b>Step 2:</b></u> In the Stock Reconciliation Form, enter the Expense account for depreciation in <i>Difference Account</i>.</p>
+<br><img src="{{docs_base_path}}/assets/img/articles/kb_deprec_form.png" height="302" width="652"><br>
+<p>
+    <br>
+</p>
+<div class="well">Note: For more information on Stock Reconciliation, see the <a href="https://erpnext.com/user-guide/setting-up/stock-reconciliation-for-non-serialized-item" target="_blank">User Guide</a>.</div>
+<div class="well"> Note: An Automated Asset Depreciation feature in on our To-Do List. See this <a href="https://github.com/frappe/erpnext/issues/191" target="_blank">Github Issue</a>.</div>
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/stock/articles/index.md b/erpnext/docs/user/manual/en/stock/articles/index.md
new file mode 100644
index 0000000..4e1be28
--- /dev/null
+++ b/erpnext/docs/user/manual/en/stock/articles/index.md
@@ -0,0 +1 @@
+{content}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/stock/articles/index.txt b/erpnext/docs/user/manual/en/stock/articles/index.txt
new file mode 100644
index 0000000..fc039b1
--- /dev/null
+++ b/erpnext/docs/user/manual/en/stock/articles/index.txt
@@ -0,0 +1,15 @@
+allow-over-delivery-billing-against-sales-order-upto-certain-limit
+auto-creation-of-material-request
+creating-depreciation-for-item
+is-stock-item-field-frozen-in-item-master
+manage-rejected-finished-goods-items
+managing-assets
+managing-batch-wise-inventory
+managing-fractions-in-uom
+opening-stock-balance-entry-for-the-serialized-and-batch-item
+repack-entry
+serial-no-naming
+stock-entry-purpose
+stock-level-report
+track-items-using-barcode
+using-batch-feature-in-stock-entry
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/stock/articles/is-stock-item-field-frozen-in-item-master.md b/erpnext/docs/user/manual/en/stock/articles/is-stock-item-field-frozen-in-item-master.md
new file mode 100644
index 0000000..a012827
--- /dev/null
+++ b/erpnext/docs/user/manual/en/stock/articles/is-stock-item-field-frozen-in-item-master.md
@@ -0,0 +1,19 @@
+<h1>Is Stock Item field Frozen in the Item master</h1>
+
+<h1>Is Stock Item field Frozen in the Item master</h1>
+
+In the item master, you might witness values in the following fields be frozen.
+
+1. Is Stock Item
+1. Has Batch No.
+1. Has Serial No.
+
+![Item Field Frozen]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-02-16 at 2.52.56 pm.png)
+
+For an item, once stock ledger entry is created, values in these fields will be froze. This is to prevent user from changing value which can lead to mis-match of actual stock, and stock level in the system of an item.
+
+For the serialized item, since its stock level is calculated based on count of available Serial Nos., setting Item as non-serialized mid-way will break the sync, and item's stock level shown in the report will not be accurate, hence Has Serial No. field is froze.
+
+To make these fields editable once again, you should delete all the stock transactions made for this item. For the Serialized and Batch Item, you should also delete Serial No. and Batch No. record for this item.
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/stock/articles/manage-rejected-finished-goods-items.md b/erpnext/docs/user/manual/en/stock/articles/manage-rejected-finished-goods-items.md
new file mode 100644
index 0000000..9bb0103
--- /dev/null
+++ b/erpnext/docs/user/manual/en/stock/articles/manage-rejected-finished-goods-items.md
@@ -0,0 +1,32 @@
+<h1>Manage Rejected Finished Goods Items</h1>
+
+<h1>Manage Rejected Finished Goods Items</h1>
+
+There could be manufactured Items which would not pass quality test, and would be rejected.
+
+Standard manufacturing process in ERPNext doesn't cover managing rejected items separately. Hence you should create finished goods entry for both accepted as well as rejected items. With this, you will have rejected items also received in the finished goods warehouse.
+
+To move rejected items from the finished goods warehouse, you should create Material Transfer entry. Steps below to create Material Transfer entry.
+
+####New Stock Entry
+
+`Stock > Stock Entry > New`
+
+####Entry Purpose
+
+Purpose = Material Transfer
+
+####Warehouse
+
+Source Warehouse = Finished Goods warehouse
+Target Warehouse = Rejected items warehouse
+
+####Items
+
+Select item which failed quality test, and enter total rejected items as Qty.
+
+####Submit Stock Entry
+
+On Saving and Submitting Stock Entry, stock of rejected items will be moved from Finished Goods Warehouse to Rejected Warehouse.
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/stock/articles/managing-assets.md b/erpnext/docs/user/manual/en/stock/articles/managing-assets.md
new file mode 100644
index 0000000..5032dcd
--- /dev/null
+++ b/erpnext/docs/user/manual/en/stock/articles/managing-assets.md
@@ -0,0 +1,24 @@
+<h1>Managing Assets</h1>
+
+<h1>Managing Assets</h1>
+
+Items like machinery, furniture, land and property, patents etc. can be categorized as fixed asset of a company. In ERPNext, you can maintain fixed asset items in a separate Warehouse.
+
+Item can be created for each type of an asset. Whereas unique Serial No. will be created for each unit of that asset item. Maintaining serialized inventory of asset item will have in tracking item's warranty and expiry details.
+
+####Fixed Asset Master
+
+While creating Item Code for the fixed asset item, you should updated field "Is Fixed Asset" as "Yes".
+
+![Fixed Asset Item]({{docs_base_url}}/assets/img/articles/$SGrab_383.png)
+
+Other item properties like Stock/Non-stock item can be updated on the nature of asset. Like patent and trademarks will be non-stock assets.
+
+If your asset item is serialized, click [here](https://erpnext.com/user-guide/stock/serialized-inventory) to learn how serialized inventory is managed in ERPNext.
+
+####Warehouse for Fixed Asset
+
+Separate Warehouse should be created for the fixed asset items. All the sales, purchase and stock transactions for asset items will be done in that fixed asset warehouse only.
+
+Also, as per the perpetual inventory valuation system, you will have accounting ledger auto-created for the warehouse. You can move the accounting ledger of warehouse created for fixed asset from Stock Asset group to fixed asset group. This will be helpful while preparing financial statement for a company.
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/stock/articles/managing-batch-wise-inventory.html b/erpnext/docs/user/manual/en/stock/articles/managing-batch-wise-inventory.html
new file mode 100644
index 0000000..23cd46d
--- /dev/null
+++ b/erpnext/docs/user/manual/en/stock/articles/managing-batch-wise-inventory.html
@@ -0,0 +1,5 @@
+<h1>Managing Batch wise Inventory</h1>
+
+<h1>Managing Batch wise Inventory</h1>
+
+To maintain batches against an Item you need to mention 'has batch no' as yes in the Item Master. You can create a new Batch from&nbsp;<div><br></div><div><p >Stock &gt; Documents &gt; Batch &gt; New</p></div><div><br></div><div>To learn more about batch check out the manual page at&nbsp;https://manual.erpnext.com/contents/stock/batch</div><div><br></div><div>While making a purchase receipt or delivery note, mention the batch number against the item.</div><div><br></div><div><p ><strong>Batch No. in Purchase Receipt</strong></p><p ><img src="{{docs_base_path}}/assets/img/articles/Screen Shot 2015-06-23 at 5.33.37 pm.png"><br></p><p ><strong>Batch No. in Delivery Note</strong></p><p ><img src="{{docs_base_path}}/assets/img/articles/Screen Shot 2015-06-23 at 5.35.28 pm.png"><br></p><p ><b>Batch-wise Stock Balance Report</b></p><p >To check batch-wise stock balance report, go to:</p><p >Stock &gt; Standard Reports &gt; Batch-wise Balance History</p><p ><br></p></div>
diff --git a/erpnext/docs/user/manual/en/stock/articles/managing-fractions-in-uom.md b/erpnext/docs/user/manual/en/stock/articles/managing-fractions-in-uom.md
new file mode 100644
index 0000000..75acd38
--- /dev/null
+++ b/erpnext/docs/user/manual/en/stock/articles/managing-fractions-in-uom.md
@@ -0,0 +1,34 @@
+<h1>Managing Fractions in UoM</h1>
+
+<h1>Managing Fractions in UoM</h1>
+
+UoM stands for Unit of Measurement. Few examples of UoM are Numbers (Nos), Kgs, Litre, Meter, Box, Carton etc.
+
+There are few UoMs which cannot have value decimal places. For example, if we have television for an item, with Nos as its UoM, we cannot have 1.5 Nos. of television, or 3.7 Nos. of computer sets. The value of quantity for these items must be whole number.
+
+You can configure if particular UoM can have value in decimal place or no. Bydefault, decimal places will be allowed in all the UoMs. To restrict decimal places or value in fraction for any UoM, you should follow these steps.
+
+####UoM List
+
+For UoM list, go to:
+
+`Stock > Setup > UoM`
+
+For the list of UoM, select one which you want to restrict value in fraction. Let's assume that UoM is Nos.
+
+####Configure
+
+In the UoM form, you will find a field called "Must be whole number". Check this field to restrict user from enter decimal places in quantity field for item with this UoM.
+
+![UoM Whole No]({{docs_base_url}}/assets/img/articles/$SGrab_390.png)
+
+####While Creating Entry
+
+While creating transaction, if you enter value in fraction for item who's UoM has "Must be whole number" checked, you will get error message stating:
+
+`Quantity cannot be a fraction at row #`
+
+![UoM Fraction Error]({{docs_base_url}}/assets/img/articles/$SGrab_389.png)
+
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/stock/articles/opening-stock-balance-entry-for-the-serialized-and-batch-item.md b/erpnext/docs/user/manual/en/stock/articles/opening-stock-balance-entry-for-the-serialized-and-batch-item.md
new file mode 100644
index 0000000..5251a8e
--- /dev/null
+++ b/erpnext/docs/user/manual/en/stock/articles/opening-stock-balance-entry-for-the-serialized-and-batch-item.md
@@ -0,0 +1,63 @@
+<h1>Opening Stock Balance Entry for the Serialized and Batch Item</h1>
+
+<h1>Opening Stock Balance Entry for the Serialized and Batch Item</h1>
+
+Items for which Serial No. and Batch No. is maintained, opening stock balance entry for them will be update via Stock Entry. [Click here to learn how serialized inventory is managed in ERPNext](https://erpnext.com/user-guide/stock/serialized-inventory).
+
+Why Opening Balance entry for the Serialized and Batch Item cannot be updated via Stock Reconciliation?
+
+In the ERPNext, stock level of a serialized items is derived based on the count of Serial Nos for that item. Hence, unless Serial Nos. are created for the serialized item, its stock level will not be updated. In the Stock Reconciliation Tool, you can only update opening quantity of an item, and not their Serial No. and Batch No.
+
+Let's check steps for create opening stock balance entry for the Serialized and Batch item.
+
+#### Step 1: New Stock Entry
+
+`Stock > Stock Entry > New`
+
+#### Step 2: Select Purpose
+
+Stock Entry Purpose should be updated as `Material Receipt`.
+
+#### Step 3: Update Posting Date
+
+Posting Date should be date on which you wish to update opening balance for an item.
+
+#### Step 4: Update Target Warehouse
+
+Target Warehouse will be one in which opening balance of an item will be updated.
+
+#### Step 5: Select Items
+
+Select Items in the Stock Entry table.
+
+#### Step 6: Update Opening Qty
+
+For the serialized item, you should update as many Serial Nos as their Qty. If you have updated Prefix in the Item master, on the submission of Stock Entry Serial Nos. will be auto-created following that prefix.
+
+![Item Serial No. Prefix]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-02-19 at 5.13.50 pm.png)
+
+For a batch item, you should provide Batch ID in which opening balance will be updated. You should keep batch master ready, and updated it for the Batch Item. To create new Batch, go to:
+
+`Stock > Setup > Batch > New`
+
+[Click here to learn how Batchwise inventory is managed in ERPNext](https://erpnext.com/user-guide/stock/batchwise-inventory).
+
+#### Step 7: Update Valuation Rate an Item
+
+Valuation Rate is the mandatory field, where you should update `per unit value of item`. If you have unit of items having different valuation rates, they should be updated in a separate row, with different Valuation Rate.
+
+#### Step 8: Difference Account
+
+As per perpetual inventory valuation system, accounting entry is created for every stock entry. Accounting system followed in the ERPNext requires Total Debit in an entry matching with Total Credit. On the submission of Stock Entry, system Debits accounting ledger of a Warehouse by total value of items. To balance the same, we use Temporary Liability account in the Difference Account field. [Click here to learn more about use of Temporary Accounts in updating opening balance](https://erpnext.com/kb/accounts/updating-opening-balance-in-accounts-using-temporary-account).
+
+![Difference Account]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-02-19 at 5.20.52 pm.png)
+
+#### Step 9: Save and Submit Stock Entry
+
+On submission of Stock Entry, stock ledger entry will be posted, and opening balance will be updated for the items on a given posting date.
+
+If Serial Nos. for your items are set to be created based on prefix, then on submission of Stock Entry, Serial Nos. will be created as well.
+
+![Serial No Creation]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-02-19 at 5.28.57 pm.png)
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/stock/articles/repack-entry.md b/erpnext/docs/user/manual/en/stock/articles/repack-entry.md
new file mode 100644
index 0000000..59bf983
--- /dev/null
+++ b/erpnext/docs/user/manual/en/stock/articles/repack-entry.md
@@ -0,0 +1,35 @@
+<h1>Repack Entry</h1>
+
+<h1>Repack Entry</h1>
+
+If you buy items in bulk to be repacked into smaller packs, you can create a **Stock Entry** of type "Repack". For example, item bought in tons can be repacked into Kgs. 
+
+Notes:
+1. Separate purchase and repacked Items must be made.
+2. Repack entry can be made with or without BOM (Bill of Material).
+
+Let's check below scenario to understand this better.
+
+Assume you buy crude oil in barrel, and get diesel and gasoline as its output. To create production entry, go to:
+
+#### 1. New Stock Entry
+
+`Stock > Documents > Stock Entry > New Stock Entry`
+
+#### 2. Enter Items
+
+Select Purpose as 'Repack Entry'.
+
+For raw-material/input item, only Source Warehouse will be provided.
+
+For repacked/production item, only Target Warehouse will be entered. You will have to provide valuation for the repacked/production item.
+
+![New STE]({{docs_base_url}}/assets/img/articles/Selection_071.png)
+
+#### 3. Submit Stock Entry
+
+On submitting Stock Entry, stock of input item will be reduced from Source Warehouse, and stock of repacked/production item will be added in the Target Warehouse.
+
+![New STE]({{docs_base_url}}/assets/img/articles/Selection_072.png)
+
+<!-- markdown --> 
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/stock/articles/serial-no-naming.md b/erpnext/docs/user/manual/en/stock/articles/serial-no-naming.md
new file mode 100644
index 0000000..c4e8774
--- /dev/null
+++ b/erpnext/docs/user/manual/en/stock/articles/serial-no-naming.md
@@ -0,0 +1,41 @@
+<h1>Serial No. Naming</h1>
+
+<h1>Serial No. Naming</h1>
+
+Serial Nos. are unique value assigned on each unit of an item. Serial no. helps in locating and tracking item's warranty and expiry details.
+
+To make item Serialized, in the Item master, on selecting **Has Serial No** field should be updated as "Yes".
+
+There are two ways Serial no. can be generated in ERPNext.
+
+###1. Serializing Purchase Items
+
+If purchased items are received with Serial Nos. applied by OEM (original equipment manufacturer), you should follow this approach. While creating Purchase Receipt, you shall scan or manually enter Serial nos. for an item. On submitting Purchase Receipt, Serial Nos. will be created in the backend as per Serial No. entered for an item.
+
+If received items already has its Serial No. barcoded, you can simply scan that barcode for entering Serial No. in the Purchase Receipt. Click [here](https://frappe.io/blog/management/using-barcodes-to-ease-data-entry) to learn more about it.
+
+On submission of Purchase Receipt or Stock entry for the serialized item, Serial Nos. will be auto-generated.
+
+![Serial Nos]({{docs_base_url}}/assets/img/articles/Selection_061.png)
+
+Generated Serial numbers will be updated for each item.
+
+![Serial Nos]({{docs_base_url}}/assets/img/articles/Selection_062.png)
+
+###2. Serializing Manufacturing Item
+
+To Serialize Manufacturing Item, you can define Series for Serial No. Generation in the Item master itself. Following that series, system will create Serial Nos. for Item when its Production entry is made.
+
+####2.1 Serial No. Series
+
+When Item is set as serialized, it will allow you to mentioned Series for it.
+
+![Item Serial No. Series]({{docs_base_url}}/assets/img/articles/Selection_049.png)
+
+####2.2 Production Entry for Serialized Item
+
+On submission of production entry for manufacturing item, system will automatically generate Serial Nos. following Series as specified in the Item master.
+
+![Serial No]({{docs_base_url}}/assets/img/articles/Selection_054.png)
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/stock/articles/stock-entry-purpose.md b/erpnext/docs/user/manual/en/stock/articles/stock-entry-purpose.md
new file mode 100644
index 0000000..26b6346
--- /dev/null
+++ b/erpnext/docs/user/manual/en/stock/articles/stock-entry-purpose.md
@@ -0,0 +1,53 @@
+<h1>Stock Entry Purpose</h1>
+
+<h1>Stock Entry Purpose</h1>
+
+Stock Entry document records Item movement from a Warehouse, to a Warehouse and between Warehouses. And in stock entry form selection of 'Purpose' belongs to type of item movement. Following are the uses of Stock Entry Purposes in stock entry form.
+
+#### 1.Purpose = Material Issue
+
+This purpose is selected to issue item from a warehouse. In this stock entry, you should define Source Warehouse only. This type of stock entry can be perform for adjustment of serialized inventory.
+
+![Material Issue]({{docs_base_url}}/assets/img/articles/Selection_440.png)
+
+#### 2.Purpose = Material Receipt
+
+This purpose is selected to receive item in a warehouse. In this stock entry, you should define Target Warehouse only. This type of stock entry can be perform for adjustment of serialized inventory.
+
+![Material Receipt]({{docs_base_url}}/assets/img/articles/Selection_442.png)
+
+#### 3.Purpose = Material Transfer
+
+This purpose is selected to transfer item from warehouse to warehouse or to transfer raw material for production. In this stock entry, you should define Source Warehouse and Target Warehouse also.
+
+![Material Transfer]({{docs_base_url}}/assets/img/articles/Selection_443.png)
+ 
+#### 4.Purpose = Manufacture
+
+This purpose is selected to perform finished goods entry. This purpose is auto selected in stock entry form, when you Update Finished Goods entry from Submitted Production Order. ![Check this page to know more about Manufacturing](https://erpnext.com/user-guide/guide-books/engineer-to-order/stock-entry)
+
+![Manufacture]({{docs_base_url}}/assets/img/articles/Selection_444.png) 
+
+#### 5.Purpose = Repack
+
+This purpose is selected to perform repack of item. ![Check this page to know more about Repack entry](https://erpnext.com/kb/stock/repack-entry)
+
+#### 6.Purpose = Subcontract
+
+This purpose is selected to transfer row material to supplier for manufacturing subcontracting item.![Check this page to know more about Subcontracting](https://erpnext.com/user-guide/manufacturing/subcontracting)
+
+![Subcontract]({{docs_base_url}}/assets/img/articles/Selection_445.png)
+
+#### 6.Purpose = Sales Return
+
+This purpose is selected to receive returned item by customer. ![Check this page to know more about Sales Return](https://erpnext.com/user-guide/stock/sales-return)
+
+![Sales Return]({{docs_base_url}}/assets/img/articles/Selection_446.png)
+
+#### 6.Purpose = Purchase Return
+
+This purpose is selected to issue purchased item to supplier. ![Check this page to know more about Purchase Return](https://erpnext.com/user-guide/stock/purchase-return)
+
+![Purchase Return]({{docs_base_url}}/assets/img/articles/Selection_447.png)
+        
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/stock/articles/stock-level-report.md b/erpnext/docs/user/manual/en/stock/articles/stock-level-report.md
new file mode 100644
index 0000000..fa92612
--- /dev/null
+++ b/erpnext/docs/user/manual/en/stock/articles/stock-level-report.md
@@ -0,0 +1,41 @@
+<h1>Stock Level Report</h1>
+
+<h1>Stock Level Report</h1>
+
+Stock Level report list stock item's quantity available in a particular warehouse.
+
+There are multiple reports available you can check for item's stock level.
+
+####Stock Projected Quantity Report
+
+You can access this report from `Stock > Main Report > Stock Projected Quantity`
+
+This report list item wise - warehouse wise stock level of an item considering all the stock transactions. With Actual Quantity of an item, it also provide other details like:
+
+1. Actual Qty: Quantity available in the warehouse.
+2. Planned Qty: Quantity, for which, Production Order has been raised, but is pending to be manufactured.
+3. Requested Qty: Quantity requested for purchase, but not ordered.
+4. Ordered Qty: Quantity ordered for purchase, but not received.
+5. Reserved Qty: Quantity ordered for sale, but not delivered.
+6. Project Qty: Project Quantity is calculated as
+
+<div class="well">Projected Qty = Actual Qty + Planned Qty + Requested Qty + Ordered Qty - Reserved Qty</div>
+
+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.
+
+####Stock Balance Report
+
+Stock Ledger report helps you check stock balance of an item on a given date. 
+
+You can access this report from
+
+`Stock > Main Report > Stock Balance`
+
+This allows you to go back in time, and check what was stock level of an item in a particular warehouse in the near past. 
+
+With item's stock levels, you will also get their valuation details in this report.
+
+Based on the date filters, this report provides item's Opening Stock on From Date, and Closing Stock on To From. It will also list the In Quantity and Out Quantity for an item between the date range.
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/stock/articles/track-items-using-barcode.md b/erpnext/docs/user/manual/en/stock/articles/track-items-using-barcode.md
new file mode 100644
index 0000000..5b0d99a
--- /dev/null
+++ b/erpnext/docs/user/manual/en/stock/articles/track-items-using-barcode.md
@@ -0,0 +1,20 @@
+<h1>Track items using Barcode</h1>
+
+A barcode, is a code using multiple lines and spaces of varying widths, designed to represent some alpha-numeric characters. For example, in retail, it generally represents item code / serial number. Most barcode scanners behave like an external keyboard. When it scans a barcode, the data appears in the computer screens at the point of cursor.
+
+To enable barcode feature in ERPNext go to `Setup –> Customize –> Features Setup` and check "Item Barcode" option.
+![Features Setup]({{docs_base_url}}/assets/img/articles/feature-setup-barcode.png)
+
+Now, a new field "Barcode" will be appear in Item master, enter barcode while creating a new item. You can update barcode field for existing items using "Data Import Tool".
+
+If you are creating your own barcode, then you should print those same barcodes and attach to your products.
+![Item Barcode]({{docs_base_url}}/assets/img/articles/item-barcode.png)
+
+
+Once you have updated barcode field in item master, you can fetch items using barcode in Delivery Note, Sales Invoice and Purchase Receipt document.
+
+For example, in Delivery Note Item table, a new field "Barcode" will be appear and if you point your mouse cursor to that field and scan the barcode using Barcode Scanner, the code will appear in that field. At the same time, system will pull item details, based on the barcode.
+![Delivery Note Barcode]({{docs_base_url}}/assets/img/articles/delivery-note-barcode.png)
+
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/stock/articles/using-batch-feature-in-stock-entry.md b/erpnext/docs/user/manual/en/stock/articles/using-batch-feature-in-stock-entry.md
new file mode 100644
index 0000000..eeb5cdf
--- /dev/null
+++ b/erpnext/docs/user/manual/en/stock/articles/using-batch-feature-in-stock-entry.md
@@ -0,0 +1,13 @@
+<h1>Using Batch feature in Stock Entry.</h1>
+
+1. You need to first create an Item Master Record. You can do so by typing 'new Item' in the Awesome bar.
+    <img class="screenshot" src="{{docs_base_url}}/assets/img/articles/Screenshot from 2014-11-18 17:56:19.png">
+2. In the Item Master fill in all item related details. In the 'Inventory' section select 'Has Batch No.' as 'YES'
+    <img  class="screenshot" src="{{docs_base_url}}/assets/img/articles/Screenshot from 2014-11-18 18:00:57.png">
+    NOTE: This option can be changed after submit but only as long as there are no Stock Entries created against that Item. Once an Stock Entry is created against that item this field freezes. To modify it again you need to cancel all outstanding 'Stock Entries'
+3. You can then create a batch. To do so you can type 'new Batch' in the Awesome bar.
+4. Fill in the batch related details and save the Doc.
+    <img  class="screenshot"
+     src="{{docs_base_url}}/assets/img/articles/Screenshot from 2014-11-18 18:09:42.png">
+5. Now in Stock Transaction You can associate a batch against that item under the 'Serial No / Batch' Section.<br>
+    <img  class="screenshot" src="{{docs_base_url}}/assets/img/articles/Screenshot from 2014-11-18 18:13:22.png"><br></div>
diff --git a/erpnext/docs/user/manual/en/stock/batch.md b/erpnext/docs/user/manual/en/stock/batch.md
new file mode 100644
index 0000000..e6a1253
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/stock/delivery-note.md b/erpnext/docs/user/manual/en/stock/delivery-note.md
new file mode 100644
index 0000000..f7e7f1e
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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]({{docs_base_url}}/user/guides/selling/setup/sales-bom.html), 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/guides/stock/index.md b/erpnext/docs/user/manual/en/stock/index.md
similarity index 100%
rename from erpnext/docs/user/guides/stock/index.md
rename to erpnext/docs/user/manual/en/stock/index.md
diff --git a/erpnext/docs/user/manual/en/stock/index.txt b/erpnext/docs/user/manual/en/stock/index.txt
new file mode 100644
index 0000000..cd36ac6
--- /dev/null
+++ b/erpnext/docs/user/manual/en/stock/index.txt
@@ -0,0 +1,20 @@
+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
+articles
+item-price
+item-valuation-fifo-and-moving-average
+opening-stock
+stock-how-to
diff --git a/erpnext/docs/user/manual/en/stock/installation-note.md b/erpnext/docs/user/manual/en/stock/installation-note.md
new file mode 100644
index 0000000..0519652
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/stock/installation-note.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/stock/item-price.md b/erpnext/docs/user/manual/en/stock/item-price.md
new file mode 100644
index 0000000..b877e8d
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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/manual/en/stock/item-valuation-fifo-and-moving-average.md b/erpnext/docs/user/manual/en/stock/item-valuation-fifo-and-moving-average.md
new file mode 100644
index 0000000..9344870
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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/manual/en/stock/item/index.md b/erpnext/docs/user/manual/en/stock/item/index.md
new file mode 100644
index 0000000..4fe0aad
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/user/guides/stock/item/item-codification.html)
+  * **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]({{docs_base_url}}/user/guides/stock/setup/item-group.html)
+  * **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]({{docs_base_url}}/user/guides/stock/item/item-variants.html)
+  
+### 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]({{docs_base_url}}/user/guides/setting-up/stock-reconciliation-for-non-serialized-item.html)  
+
+### 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]({{docs_base_url}}/user/guides/setting-up/setting-up-taxes.html) 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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/old_images/erpnext/item-manufacturing-website.png)
+
+Visit [Manufacturing]({{docs_base_url}}/user/guides/manufacturing.html) and [Website ]({{docs_base_url}}/user/guides/website.html)to understand these topics in detail.
+
+{next}
diff --git a/erpnext/docs/user/manual/en/stock/item/index.txt b/erpnext/docs/user/manual/en/stock/item/index.txt
new file mode 100644
index 0000000..eadae6c
--- /dev/null
+++ b/erpnext/docs/user/manual/en/stock/item/index.txt
@@ -0,0 +1,6 @@
+item-codification
+item-variants
+purchase-details.md
+reorder.md
+purchase-details.md
+reorder.md
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/stock/item/item-codification.md b/erpnext/docs/user/manual/en/stock/item/item-codification.md
similarity index 100%
rename from erpnext/docs/user/guides/stock/item/item-codification.md
rename to erpnext/docs/user/manual/en/stock/item/item-codification.md
diff --git a/erpnext/docs/user/manual/en/stock/item/item-variants.md b/erpnext/docs/user/manual/en/stock/item/item-variants.md
new file mode 100644
index 0000000..c10addb
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/stock/make-variant.png">
+
+<img class="screenshot" alt="Make Variants" src="{{docs_base_url}}/assets/img/stock/make-variant-1.png">
+
+To learn more about setting Attributes Master check [Item Attributes]({{docs_base_url}}/user/guides/stock/setup/item-attribute.html)
diff --git a/erpnext/docs/user/manual/en/stock/item/purchase-details.md b/erpnext/docs/user/manual/en/stock/item/purchase-details.md
new file mode 100644
index 0000000..5749178
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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/manual/en/stock/item/reorder.md b/erpnext/docs/user/manual/en/stock/item/reorder.md
new file mode 100644
index 0000000..4537d95
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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/manual/en/stock/material-request.md b/erpnext/docs/user/manual/en/stock/material-request.md
new file mode 100644
index 0000000..784778d
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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]({{docs_base_url}}/user/guides/stock/projected-quantity.html) 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/manual/en/stock/opening-stock.md b/erpnext/docs/user/manual/en/stock/opening-stock.md
new file mode 100644
index 0000000..463eef4
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/user/guides/setting-up/stock-reconciliation-for-non-serialized-item.html)
+
+{next}
diff --git a/erpnext/docs/user/manual/en/stock/projected-quantity.md b/erpnext/docs/user/manual/en/stock/projected-quantity.md
new file mode 100644
index 0000000..9251a1b
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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/manual/en/stock/purchase-receipt.md b/erpnext/docs/user/manual/en/stock/purchase-receipt.md
new file mode 100644
index 0000000..0f43b58
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/stock/purchase-return.md b/erpnext/docs/user/manual/en/stock/purchase-return.md
new file mode 100644
index 0000000..328ed08
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/stock/purchase-return-general-ledger.png">
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/stock/sales-return.md b/erpnext/docs/user/manual/en/stock/sales-return.md
new file mode 100644
index 0000000..1ce922d
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/stock/sales-return-general-ledger.png">
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/stock/serial-no.md b/erpnext/docs/user/manual/en/stock/serial-no.md
new file mode 100644
index 0000000..fbbfb1a
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/guides/stock/setup/index.md b/erpnext/docs/user/manual/en/stock/setup/index.md
similarity index 100%
rename from erpnext/docs/user/guides/stock/setup/index.md
rename to erpnext/docs/user/manual/en/stock/setup/index.md
diff --git a/erpnext/docs/user/guides/stock/setup/index.txt b/erpnext/docs/user/manual/en/stock/setup/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/stock/setup/index.txt
rename to erpnext/docs/user/manual/en/stock/setup/index.txt
diff --git a/erpnext/docs/user/manual/en/stock/setup/item-attribute.md b/erpnext/docs/user/manual/en/stock/setup/item-attribute.md
new file mode 100644
index 0000000..0b2ab74
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/stock/item-attribute-numeric.png">
diff --git a/erpnext/docs/user/manual/en/stock/setup/item-group.md b/erpnext/docs/user/manual/en/stock/setup/item-group.md
new file mode 100644
index 0000000..cf6a75a
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/stock/item-group-del.gif">
+
+{next}
diff --git a/erpnext/docs/user/manual/en/stock/setup/stock-settings.md b/erpnext/docs/user/manual/en/stock/setup/stock-settings.md
new file mode 100644
index 0000000..f8cb9ea
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/stock/stock-settings.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/stock/stock-entry.md b/erpnext/docs/user/manual/en/stock/stock-entry.md
new file mode 100644
index 0000000..b7e0860
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/stock/additional-costs-general-ledger.png">
+
+
+> **Note:** To update Stock from a spreadsheet, see Stock Reconciliation.
+
+{next}
diff --git a/erpnext/docs/user/guides/stock/stock-how-to.md b/erpnext/docs/user/manual/en/stock/stock-how-to.md
similarity index 100%
rename from erpnext/docs/user/guides/stock/stock-how-to.md
rename to erpnext/docs/user/manual/en/stock/stock-how-to.md
diff --git a/erpnext/docs/user/guides/stock/tools/index.md b/erpnext/docs/user/manual/en/stock/tools/index.md
similarity index 100%
rename from erpnext/docs/user/guides/stock/tools/index.md
rename to erpnext/docs/user/manual/en/stock/tools/index.md
diff --git a/erpnext/docs/user/guides/stock/tools/index.txt b/erpnext/docs/user/manual/en/stock/tools/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/stock/tools/index.txt
rename to erpnext/docs/user/manual/en/stock/tools/index.txt
diff --git a/erpnext/docs/user/manual/en/stock/tools/landed-cost-voucher.md b/erpnext/docs/user/manual/en/stock/tools/landed-cost-voucher.md
new file mode 100644
index 0000000..1209aff
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/stock/tools/packing-slip.md b/erpnext/docs/user/manual/en/stock/tools/packing-slip.md
new file mode 100644
index 0000000..0820959
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/stock/packing-slip.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/stock/tools/quality-inspection.md b/erpnext/docs/user/manual/en/stock/tools/quality-inspection.md
new file mode 100644
index 0000000..34bea40
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/stock/quality-inspection.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/stock/warehouse.md b/erpnext/docs/user/manual/en/stock/warehouse.md
new file mode 100644
index 0000000..d86f401
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/guides/support/index.md b/erpnext/docs/user/manual/en/support/index.md
similarity index 100%
rename from erpnext/docs/user/guides/support/index.md
rename to erpnext/docs/user/manual/en/support/index.md
diff --git a/erpnext/docs/user/guides/support/index.txt b/erpnext/docs/user/manual/en/support/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/support/index.txt
rename to erpnext/docs/user/manual/en/support/index.txt
diff --git a/erpnext/docs/user/manual/en/support/issue.md b/erpnext/docs/user/manual/en/support/issue.md
new file mode 100644
index 0000000..246af8d
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/support/maintenance-schedule.md b/erpnext/docs/user/manual/en/support/maintenance-schedule.md
new file mode 100644
index 0000000..e211562
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/support/maintenance-visit.md b/erpnext/docs/user/manual/en/support/maintenance-visit.md
new file mode 100644
index 0000000..e93260d
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/manual/en/support/warranty-claim.md b/erpnext/docs/user/manual/en/support/warranty-claim.md
new file mode 100644
index 0000000..0a58e18
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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/manual/en/using-erpnext/articles/adding-attachments-to-outgoing-messages.md b/erpnext/docs/user/manual/en/using-erpnext/articles/adding-attachments-to-outgoing-messages.md
new file mode 100644
index 0000000..91f7950
--- /dev/null
+++ b/erpnext/docs/user/manual/en/using-erpnext/articles/adding-attachments-to-outgoing-messages.md
@@ -0,0 +1,10 @@
+<h1>Adding Attachments to Outgoing Messages</h1>
+
+ERPNext has in-built file manage system. Click [here](https://erpnext.com/kb/tools/managing-attachments) to learn more on how attachments are managed in ERPNext.
+
+If you have some files attached in your transaction (say Purchase Order), which needs to be emailed with Purchase Order details. When click on Email option, at the end of the Communication dialog box, you will find all the attachments listed with check-box option. You should check files which needs to be emailed as an attachment to recipient.
+
+![Emailing Attachments]({{docs_base_url}}/assets/img/articles/$SGrab_422.png)
+
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/using-erpnext/articles/check-link-between-documents.md b/erpnext/docs/user/manual/en/using-erpnext/articles/check-link-between-documents.md
new file mode 100644
index 0000000..27ad650
--- /dev/null
+++ b/erpnext/docs/user/manual/en/using-erpnext/articles/check-link-between-documents.md
@@ -0,0 +1,27 @@
+<h1>Checking Link Between Documents</h1>
+
+Linked With function in ERPNext allows you checking a document is linked with which other documents. You will find Linked With function in the every document.
+
+![linked with icon]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-02-10 at 5.32.56 pm.png)
+
+####Scenario
+
+If you need to check which Delivery Note and Sales Invoice has been created against Sales Order, you should open Sales Order document, and click on Linked With in it.
+
+![Sales Order Links]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-02-10 at 5.35.44 pm.png)
+
+Since Sales Order is a centralize transaction, using linked-with option in the Sales Order, you can track complete deal, like billing done, purchases made, manufacturing development against this particular order.
+
+####How It Works?
+
+When you check Linked With in for a Sales Order, it lists all the record where this Sales Order ID is updated. It will not show documents where this Sales Order Id is entered as text, and not in the link field.
+
+####Backward Links
+
+If I check Linked With in the Delivery Note, will it list Sales Order created before this delivery  note?
+
+Linked With function works only for the forward linkages. For the backward linkages, you should check current document itself. In the Delivery Note, you can check Item table to see which Sales Order it is linked with.
+
+![Linked With Backward]({{docs_base_url}}/assets/img/articles/Screen Shot 2015-02-10 at 5.36.23 pm.png)
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/using-erpnext/articles/delete-submitted-document.md b/erpnext/docs/user/manual/en/using-erpnext/articles/delete-submitted-document.md
new file mode 100644
index 0000000..dad85ad
--- /dev/null
+++ b/erpnext/docs/user/manual/en/using-erpnext/articles/delete-submitted-document.md
@@ -0,0 +1,27 @@
+<h1>Delete Submitted Document</h1>
+
+ERPNext allows you to assign deletion permission exclusively to User. Only those users will be able to delete records. Click [here](/user-guide/setting-up/permissions/role-based-permissions) to learn more about permissions.
+
+To delete any document from system you should cancel all linked documents. For example if you need to delete Sales Order, but Delivery Note and Sales Invoice has already been created against that Sales Order. Then you should cancel and delete documents in reverse order, i.e. Sales Invoice, Delivery Note and then Sales Order. If payment entry was also made against Sales Invoice, then you should first Cancel and Delete that Journal Voucher, and then come to Sales Invoice.
+
+Following are step to delete submitted documents.
+
+####1. Cancel Document
+
+To be able to delete Submitted document, it must be cancelled first. After document is cancelled, you will find option to delete it.
+
+![Cancel Sales Order]({{docs_base_url}}/assets/img/articles/Selection_064.png)
+
+####2. Delete Document
+
+After cancellation, go to File menu and click on Delete option.
+
+![Cancel Sales Order]({{docs_base_url}}/assets/img/articles/Selection_066.png)
+
+#### Deleting from List
+
+For bulk deletion, you can select multiple Cancelled records and delete them at once from the list.
+
+![Cancel Sales Order List]({{docs_base_url}}/assets/img/articles/Selection_069.png)
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/using-erpnext/articles/duplicate-record.md b/erpnext/docs/user/manual/en/using-erpnext/articles/duplicate-record.md
new file mode 100644
index 0000000..2a1c0b4
--- /dev/null
+++ b/erpnext/docs/user/manual/en/using-erpnext/articles/duplicate-record.md
@@ -0,0 +1,17 @@
+<h1>Duplicate a Record</h1>
+
+ERPNext allows you to duplicate existing record. With this, you get values of existing record into new form, and create entries faster.
+
+####Scenario
+
+An electronic supplier receives a repeat order from an existing customer. Since new order will have details just like previous order, you can open previous order, and Copy it to create new order faster. On copying, details of the previous transaction will be updated in the new form. You can make changes where needed and submit the transaction.
+
+You will find Copy option under:
+
+File > Copy
+
+![Copy]({{docs_base_url}}/assets/img/articles/Order Copy.png)
+
+When Copy function is executed, values are mapped field-by-field from existing to new form.
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/using-erpnext/articles/index.md b/erpnext/docs/user/manual/en/using-erpnext/articles/index.md
new file mode 100644
index 0000000..4e1be28
--- /dev/null
+++ b/erpnext/docs/user/manual/en/using-erpnext/articles/index.md
@@ -0,0 +1 @@
+{content}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/using-erpnext/articles/index.txt b/erpnext/docs/user/manual/en/using-erpnext/articles/index.txt
new file mode 100644
index 0000000..460fa16
--- /dev/null
+++ b/erpnext/docs/user/manual/en/using-erpnext/articles/index.txt
@@ -0,0 +1,10 @@
+adding-attachments-to-outgoing-messages
+check-link-between-documents
+delete-submitted-document
+duplicate-record
+managing-attachments
+merging-documents
+rename-tool
+renaming-documents
+search-filters
+tree-master-renaming
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/using-erpnext/articles/managing-attachments.md b/erpnext/docs/user/manual/en/using-erpnext/articles/managing-attachments.md
new file mode 100644
index 0000000..e7420b7
--- /dev/null
+++ b/erpnext/docs/user/manual/en/using-erpnext/articles/managing-attachments.md
@@ -0,0 +1,20 @@
+<h1>Adding Attachments in a Documents</h1>
+
+ERPNext allows to attach files with documents like Order, Invoices, Items etc. User with a read permission on particular document will also be able to access files attached with it. For example, Sales Order can have text file attached detailing item description and specification as decided with customers. Also it can be image file of drawing as per which product is to be manufactured.
+
+Open to attach file is at the footer of a form.
+
+![Sales Order File Attachment]({{docs_base_url}}/assets/img/articles/$SGrab_406.png)
+
+Click on Attach to browse and select the file.
+
+![Sales Order Select File]({{docs_base_url}}/assets/img/articles/$SGrab_407.png)
+
+If you maintain separate server for the files, or use online service like Dropbox, you can provide link of a particular file in the document in ERPNext.
+
+![Sales Order File Link]({{docs_base_url}}/assets/img/articles/$SGrab_408.png)
+
+`For hosted users, limit of 1 MB is applied on file size.`
+
+To ensure there are not many files attached against the document, which can lead to your system slowing down, you can set limit as how many files can be attached against particular document. Click [here](https://erpnext.com/kb/customize/increase-max-attachments) to learn more about it.
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/using-erpnext/articles/merging-documents.md b/erpnext/docs/user/manual/en/using-erpnext/articles/merging-documents.md
new file mode 100644
index 0000000..08a2620
--- /dev/null
+++ b/erpnext/docs/user/manual/en/using-erpnext/articles/merging-documents.md
@@ -0,0 +1,32 @@
+<h1>Merging Documents </h1>
+
+Document merging feature is available in ERPNext. You can done this via 'Rename' feature in ERPNext. 
+
+Following are step to merge document in existing document. Let's assume we are merging Account Ledger.
+
+#### 1: Go to Chart of Account
+
+`Accounts > Setup > Chart of Accounts`
+
+#### 2: Go to Account 
+
+Click on Rename option of that account, which you want to merge in existing account.
+
+#### 3: Merge Account
+
+Enter existing account name in New Name field and check Mark on "Merge with existing" option. Then press 'Rename' button to merge.
+
+![Account]({{docs_base_url}}/assets/img/articles/Selection_043.png)
+
+Following is how merged account will appear in the Chart of Account master.
+
+![New Account]({{docs_base_url}}/assets/img/articles/Selection_044.png)
+
+###Effect of Merging 
+
+Merging document affects existing transaction where this record is selected. As well as it will affected on existing document balance.
+
+<div class="well"> Note: You can't merge Group into Ledger documents. As well as Ledger into Group documents. Also this feature is applicable for few documents only.</div>
+
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/using-erpnext/articles/rename-tool.md b/erpnext/docs/user/manual/en/using-erpnext/articles/rename-tool.md
new file mode 100644
index 0000000..3bae21d
--- /dev/null
+++ b/erpnext/docs/user/manual/en/using-erpnext/articles/rename-tool.md
@@ -0,0 +1,37 @@
+<h1>Rename Tool</h1>
+
+ERPNext has Renaming Tool which allows you to rectify/change record id for existing records. This facility can be only performed by User with System Manager's role.
+
+There are two ways you can rename records in your account. You can follow the approach based on how many records needs to be renamed.
+
+###Rename Record via Rename Tool
+
+Using this tool you can correct/rectify primary ids of 500 records at a time.
+
+Following are step to rename bulk records in ERPNext. Let's assume we are renaming Item Codes for existing Items.
+
+#### Step 1: Open Excel File
+
+In new excel file enter old Item Ids in one column and enter new Item Ids in exact next column. Then save data file in .csv format.
+
+![Data File]({{docs_base_url}}/assets/img/articles/Selection_018ef32b6.png)
+
+#### Step 2: Upload Data File
+
+To upload data file go to,
+
+`Setup > Data > Rename Tool`
+
+Select DocType which you want to rename. Here DocType will be Item. Then Browse and Upload data file.
+
+![Upload Data]({{docs_base_url}}/assets/img/articles/Selection_0173436a8.png) 
+
+Following are the renamed Item Codes.
+
+![New Name]({{docs_base_url}}/assets/img/articles/Selection_019bf0547.png)
+
+###Rename Individual Document
+
+Click [here](https://erpnext.com/kb/tools/renaming-documents) for detailed steps on how to rename document one by one.
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/using-erpnext/articles/renaming-documents.md b/erpnext/docs/user/manual/en/using-erpnext/articles/renaming-documents.md
new file mode 100644
index 0000000..064f41d
--- /dev/null
+++ b/erpnext/docs/user/manual/en/using-erpnext/articles/renaming-documents.md
@@ -0,0 +1,69 @@
+<h1>Renaming Documents</h1>
+
+ERPNext has Renaming feature which allows you to correct primary id of a record. 
+	
+Following are step to rename document in ERPNext. Let's assume we are renaming Item Code for existing Item.
+ 
+#### 1. Go to Item
+
+`Stock > Documents > Item List > (Open Item)`
+
+Open Item for which Item Code needs to be renamed.
+
+#### 2. Go to File
+
+![Item]({{docs_base_url}}/assets/img/articles/Selection_013.png)
+
+#### 3. Rename
+
+Enter desired Item Code, and click on "Rename".
+
+![Renamed Item]({{docs_base_url}}/assets/img/articles/Selection_0149d98bf.png)
+
+###Effect of Renaming
+
+Renaming document affects existing transaction where this record is selected. Consider given example, Item Code for a given item will be updated in the existing transaction as well.
+
+###See Also
+
+1. [Bulk Renaming](https://erpnext.com/kb/tools/rename-tool)
+2. [Document Merging](https://erpnext.com/kb/tools/merging-documents)
+
+**List of Renamable Documents**
+
+1. Contact        					     	
+2. Address         					     	
+3. Warehouse       			   
+4. Supplier        		
+5. Customer      						    	
+6. User           				    	
+7. Sales Partner  		
+8. Project	   		
+9. Cost Center	   	
+10. Item Group
+11. Item	   	
+12. Company
+13. Role
+14. Earning Type
+15. Note 
+16. Serial No
+17. Account
+18. Territory
+19. Terms and Conditions
+20. Supplier Type	
+21. Workstation		
+22. Employee
+23. Sales Taxes and Charges Master
+24. Purchase Taxes and Charges Master
+25. Price List
+26. Party Type	
+27. Mode of Payment
+28. Designation
+29. Department
+30. Deduction Type
+31. Customer Group
+32. Brand	
+33. Branch
+34. Sales Person
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/using-erpnext/articles/search-filters.md b/erpnext/docs/user/manual/en/using-erpnext/articles/search-filters.md
new file mode 100644
index 0000000..0853ab1
--- /dev/null
+++ b/erpnext/docs/user/manual/en/using-erpnext/articles/search-filters.md
@@ -0,0 +1,39 @@
+<h1>Search Filters</h1>
+
+Search Filter option allows user to filter records based on value in the specific fields of that form.
+
+Search Filter option is available on the List View page of transactions.
+
+![Filter in List]({{docs_base_url}}/assets/img/articles/$SGrab_323.png)
+
+Each filter option has three fields to select value in.
+
+#### Field
+
+Select field of the form based on which you wish to filter records.
+
+![Filter Field]({{docs_base_url}}/assets/img/articles/$SGrab_327.png)
+
+#### Based On
+
+With Field, you will provide a value. In the based on field, you can define a criterion that when filter should be applied in record. It will be when value define for the field if filter is:
+
+![Filter Based On]({{docs_base_url}}/assets/img/articles/$SGrab_328.png)
+
+#### Value
+
+A value should be entered in this field based on while records will be filtered.
+
+![Filter Value]({{docs_base_url}}/assets/img/articles/$SGrab_329.png)
+
+After filter is applied, records will be filtered based on it. And filter will shrunk under one field/button.
+
+![Filter Result]({{docs_base_url}}/assets/img/articles/$SGrab_330.png)
+ 
+On the transactions, Document Status - Not Equal To - Cancelled is applied by default. With this, Cancelled transactions are hidden from the list. 
+
+![Default filter]({{docs_base_url}}/assets/img/articles/$SGrab_331.png)
+
+You can apply multiple filters on a list of transactions one-by-one. To remove specific filter, just click on cancelled (X) sign ahead of it.
+
+<!-- markdown -->
diff --git a/erpnext/docs/user/manual/en/using-erpnext/articles/tree-master-renaming.md b/erpnext/docs/user/manual/en/using-erpnext/articles/tree-master-renaming.md
new file mode 100644
index 0000000..30aa979
--- /dev/null
+++ b/erpnext/docs/user/manual/en/using-erpnext/articles/tree-master-renaming.md
@@ -0,0 +1,29 @@
+<h1>Tree Master Renaming</h1>
+
+There are various master which are maintained in tree structure. Click [here](https://erpnext.com/kb/setup/managing-tree-structure-masters) to learn more about tree structured masters in ERPNext.
+
+Following are the steps to be followed for renaming Account/Ledger ID, master which is maintained in tree structure. These steps will be applicable for renaming any master which is maintained in tree structure.
+
+#### Step 1: Go to Chart of Account
+
+`Accounts > Setup > Chart of Accounts`
+
+#### Step 2: Go to Account 
+
+Expand Chart of Accounts and click on that account which you want to rename. When you click on that account, you will find Rename option.
+
+![Account]({{docs_base_url}}/assets/img/articles/Selection_028.png)
+
+#### Step 2: Rename Account
+
+On clicking Rename option, dialog box will give you field to enter New Name for this Account. You should enter new name for the Account/Ledger and click on "Rename" button. On clicking Rename button, existing account will be renamed.
+
+![Account]({{docs_base_url}}/assets/img/articles/Selection_029.png)
+
+Following is how renamed account will appear in the Chart of Account master.
+
+![New Account]({{docs_base_url}}/assets/img/articles/Selection_030.png)
+  
+
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/using-erpnext/assignment.md b/erpnext/docs/user/manual/en/using-erpnext/assignment.md
new file mode 100644
index 0000000..6ecd377
--- /dev/null
+++ b/erpnext/docs/user/manual/en/using-erpnext/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]({{docs_base_url}}/assets/old_images/erpnext/assigned-to-icon.png)
+
+
+![Assigned To]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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/manual/en/using-erpnext/calendar.md b/erpnext/docs/user/manual/en/using-erpnext/calendar.md
new file mode 100644
index 0000000..de564be
--- /dev/null
+++ b/erpnext/docs/user/manual/en/using-erpnext/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/old_images/erpnext/calender-email-digest.png)
+
+{next}
diff --git a/erpnext/docs/user/manual/en/using-erpnext/collaborating-around-forms.md b/erpnext/docs/user/manual/en/using-erpnext/collaborating-around-forms.md
new file mode 100644
index 0000000..2de6f12
--- /dev/null
+++ b/erpnext/docs/user/manual/en/using-erpnext/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/user/guides/collaboration-tools/tags.html)  
+
+{next}
diff --git a/erpnext/docs/user/guides/collaboration-tools/index.md b/erpnext/docs/user/manual/en/using-erpnext/index.md
similarity index 100%
rename from erpnext/docs/user/guides/collaboration-tools/index.md
rename to erpnext/docs/user/manual/en/using-erpnext/index.md
diff --git a/erpnext/docs/user/manual/en/using-erpnext/index.txt b/erpnext/docs/user/manual/en/using-erpnext/index.txt
new file mode 100644
index 0000000..259835e
--- /dev/null
+++ b/erpnext/docs/user/manual/en/using-erpnext/index.txt
@@ -0,0 +1,8 @@
+to-do
+collaborating-around-forms
+messages
+notes
+calendar
+assignment
+tags
+articles
diff --git a/erpnext/docs/user/manual/en/using-erpnext/messages.md b/erpnext/docs/user/manual/en/using-erpnext/messages.md
new file mode 100644
index 0000000..dfa0526
--- /dev/null
+++ b/erpnext/docs/user/manual/en/using-erpnext/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]({{docs_base_url}}/assets/old_images/erpnext/message-list.png)
+
+You can choose to send message to all the users, or to specific user.
+
+![Messsage To]({{docs_base_url}}/assets/old_images/erpnext/message-to.png)
+
+{next}
diff --git a/erpnext/docs/user/manual/en/using-erpnext/notes.md b/erpnext/docs/user/manual/en/using-erpnext/notes.md
new file mode 100644
index 0000000..cc88aec
--- /dev/null
+++ b/erpnext/docs/user/manual/en/using-erpnext/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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/manual/en/using-erpnext/tags.md b/erpnext/docs/user/manual/en/using-erpnext/tags.md
new file mode 100644
index 0000000..6f6c983
--- /dev/null
+++ b/erpnext/docs/user/manual/en/using-erpnext/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]({{docs_base_url}}/assets/old_images/erpnext/tags-in-list.png)
+
+{next}
diff --git a/erpnext/docs/user/manual/en/using-erpnext/to-do.md b/erpnext/docs/user/manual/en/using-erpnext/to-do.md
new file mode 100644
index 0000000..03f84d5
--- /dev/null
+++ b/erpnext/docs/user/manual/en/using-erpnext/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/old_images/erpnext/todo-close.png)
+
+{next}
diff --git a/erpnext/docs/user/manual/en/website/add-products-to-website.md b/erpnext/docs/user/manual/en/website/add-products-to-website.md
new file mode 100644
index 0000000..3bad0df
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/old_images/erpnext/item-webimage-1.png)
+
+  
+
+##### Step 3: Enter Website Details
+
+![Webimage]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/old_images/erpnext/itemgroup-website-settings.png)
+
+  
+
+#### Webpage labels
+
+![Webpage]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/old_images/erpnext/itemgroup-websettings.png)
+
+  
+
+Item Group Display
+
+![Item Group Display]({{docs_base_url}}/assets/old_images/erpnext/webpage-itemgroup-display.png)
+
+{next}
diff --git a/erpnext/docs/user/manual/en/website/articles/index.md b/erpnext/docs/user/manual/en/website/articles/index.md
new file mode 100644
index 0000000..4e1be28
--- /dev/null
+++ b/erpnext/docs/user/manual/en/website/articles/index.md
@@ -0,0 +1 @@
+{content}
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/website/articles/index.txt b/erpnext/docs/user/manual/en/website/articles/index.txt
new file mode 100644
index 0000000..a89040a
--- /dev/null
+++ b/erpnext/docs/user/manual/en/website/articles/index.txt
@@ -0,0 +1,3 @@
+managing-user-sign-up-via-website
+website-security
+wesite-home-page
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/website/articles/managing-user-sign-up-via-website.html b/erpnext/docs/user/manual/en/website/articles/managing-user-sign-up-via-website.html
new file mode 100644
index 0000000..cef6b7a
--- /dev/null
+++ b/erpnext/docs/user/manual/en/website/articles/managing-user-sign-up-via-website.html
@@ -0,0 +1,6 @@
+<h1>Managing User Sign Up via Website</h1>
+
+Users can sign up for ERPNext account via the ERPNext Website.<div><img src="{{docs_base_path}}/assets/img/articles/Screen Shot 2014-12-10 at 4.45.27 pm.jpg"><br></div><div><br></div><div>As seen above the login / sign-up button appears on the homepage of the website generated using ERPNext.</div><div>One might want to disable this feature to prevent anonymous users from signing up via the web.</div><div>To do so -</div><div>1. Go to&nbsp;<span style="line-height: 1.42857143;">` Website > Setup > Website Settings `&nbsp;</span></div><div>2. In website settings doctype navigate to the misc section.</div><div>3. Check the disable SignUp check-box and save the doc.</div><div><br></div><div>Now only the login button shall appear and there shall be no option to sign-up via the website. You can always revert back by following the same steps.</div><div><br></div>
+
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/website/articles/website-security.html b/erpnext/docs/user/manual/en/website/articles/website-security.html
new file mode 100644
index 0000000..1371ca5
--- /dev/null
+++ b/erpnext/docs/user/manual/en/website/articles/website-security.html
@@ -0,0 +1,3 @@
+<h1>Website Security</h1>
+
+<div><span style="line-height: 1.42857143;">One can easily generate a website using erpnext. We can list out Products on the website and also create blogs. Products are directly fetched from the Item Master records of your erpnext account. some people would like to limit the access of the website generated by ERPNext to certain people. This is because some of the items may not be available to public.</span><br></div><div><span style="line-height: 1.42857143;"><br></span></div><div>Well at the moment this feature is not available. You cannot&nbsp;<span style="line-height: 1.42857143;">limit the access of the website generated by ERPNext to certain people.&nbsp;</span><span style="line-height: 1.42857143;">If you publish the website it will be&nbsp;</span><span style="line-height: 1.42857143;">publicly</span><span style="line-height: 1.42857143;">&nbsp;visible.</span></div><div><span style="line-height: 1.42857143;"><br></span></div><div><span style="line-height: 1.42857143;">However while you cannot control who can view the website, you can always choose which items to display on the website.</span></div><div><span style="line-height: 1.42857143;"><br></span></div><div><ul><li><span style="line-height: 1.42857143;">To show or not show an Item on your website go to 'Item Master' and in the Item form check the 'show in website' checkbox.</span><br></li></ul></div><div><span style="line-height: 1.42857143;"><br></span></div><div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><img src="{{docs_base_path}}/assets/img/articles/Screen Shot 2014-11-26 at 10.43.51 am.png"></div></blockquote></div><div><ul><li><span style="line-height: 1.42857143;">You can also fill in the details of the product as to be shown on the website here.</span><br></li></ul></div>
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/website/articles/wesite-home-page.md b/erpnext/docs/user/manual/en/website/articles/wesite-home-page.md
new file mode 100644
index 0000000..363926e
--- /dev/null
+++ b/erpnext/docs/user/manual/en/website/articles/wesite-home-page.md
@@ -0,0 +1,23 @@
+<h1>Wesite Home Page</h1>
+
+It is very much possible in ERPNext to setup certain standard page as default website Home Page. Following are steps to setup default website home page.
+
+#### **Step 1: Open Website Settings Page.**
+To Open website settings page go to:
+
+`Website > Setup > Website Settings`
+
+
+#### **Step 2: Set Home page.**
+
+Enter standard page like, index, login, products, blog, about, contact etc. as Home Page in Landing Page section of Website Settings page. For e.g consider you want login page as your default website home page.      
+
+![Website Setting Home]({{docs_base_url}}/assets/img/articles/Selection_021.png)
+
+#### **Step 3: Save Website Settings Form.**
+
+After setting up Home Page Press 'Save' button from website settings page and refresh the system from Help menu.Like this you can set any standard page as your default website home page. When some one visited to your website, he/she will see home page as default landing page on your website.
+
+![Website Home Page]({{docs_base_url}}/assets/img/articles/Selection_022.png)    
+
+<!-- markdown -->
\ No newline at end of file
diff --git a/erpnext/docs/user/manual/en/website/blog-post.md b/erpnext/docs/user/manual/en/website/blog-post.md
new file mode 100644
index 0000000..dbf7b17
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/website/blog-sample.png">
+
+{next}
diff --git a/erpnext/docs/user/manual/en/website/blogger.md b/erpnext/docs/user/manual/en/website/blogger.md
new file mode 100644
index 0000000..cb39f80
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/website/blogger.png">
+
+{next}
\ No newline at end of file
diff --git a/erpnext/docs/user/guides/website/index.md b/erpnext/docs/user/manual/en/website/index.md
similarity index 100%
rename from erpnext/docs/user/guides/website/index.md
rename to erpnext/docs/user/manual/en/website/index.md
diff --git a/erpnext/docs/user/manual/en/website/index.txt b/erpnext/docs/user/manual/en/website/index.txt
new file mode 100644
index 0000000..846011d
--- /dev/null
+++ b/erpnext/docs/user/manual/en/website/index.txt
@@ -0,0 +1,8 @@
+web-page
+blog-post
+web-form
+blogger
+setup
+add-products-to-website
+shopping-cart
+articles
diff --git a/erpnext/docs/user/guides/website/setup/index.md b/erpnext/docs/user/manual/en/website/setup/index.md
similarity index 100%
rename from erpnext/docs/user/guides/website/setup/index.md
rename to erpnext/docs/user/manual/en/website/setup/index.md
diff --git a/erpnext/docs/user/guides/website/setup/index.txt b/erpnext/docs/user/manual/en/website/setup/index.txt
similarity index 100%
rename from erpnext/docs/user/guides/website/setup/index.txt
rename to erpnext/docs/user/manual/en/website/setup/index.txt
diff --git a/erpnext/docs/user/guides/website/setup/social-login-keys.md b/erpnext/docs/user/manual/en/website/setup/social-login-keys.md
similarity index 100%
rename from erpnext/docs/user/guides/website/setup/social-login-keys.md
rename to erpnext/docs/user/manual/en/website/setup/social-login-keys.md
diff --git a/erpnext/docs/user/manual/en/website/setup/website-settings.md b/erpnext/docs/user/manual/en/website/setup/website-settings.md
new file mode 100644
index 0000000..0868e8c
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/img/website/website-settings.png">
+
+####Landing Page
+
+* Home Page: You can specify which [Web Page]({{docs_base_url}}/user/guides/website/web-page.html) 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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/website/banner.png">
+
+####Top Bar
+
+You can set the menus items in the Top Bar here.
+
+<img class="screenshot" alt="Top Bar" src="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/img/website/integrations.png">
+
+* You can disable public signup to your ERPNext account by checking 'disable signup'
+
+{next}
+
diff --git a/erpnext/docs/user/manual/en/website/shopping-cart.md b/erpnext/docs/user/manual/en/website/shopping-cart.md
new file mode 100644
index 0000000..773e162
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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]({{docs_base_url}}/assets/old_images/erpnext/shopping-cart-1.png)
+
+  
+
+#### Step 2: Enter Price List, Tax Master and Shipping Rule.
+
+![Shopping Cart]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/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]({{docs_base_url}}/assets/old_images/erpnext/shopping-cart-display-amount.png)
+
+{next}
diff --git a/erpnext/docs/user/manual/en/website/web-form.md b/erpnext/docs/user/manual/en/website/web-form.md
new file mode 100644
index 0000000..1668ac0
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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="{{docs_base_url}}/assets/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/manual/en/website/web-page.md b/erpnext/docs/user/manual/en/website/web-page.md
new file mode 100644
index 0000000..947891e
--- /dev/null
+++ b/erpnext/docs/user/manual/en/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="{{docs_base_url}}/assets/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/docs/user/manual/index.md b/erpnext/docs/user/manual/index.md
new file mode 100644
index 0000000..47fc2c2
--- /dev/null
+++ b/erpnext/docs/user/manual/index.md
@@ -0,0 +1,5 @@
+# ERPNext User Manual
+
+Select your language
+
+1. [English](en)
diff --git a/erpnext/docs/user/manual/index.txt b/erpnext/docs/user/manual/index.txt
new file mode 100644
index 0000000..c574d07
--- /dev/null
+++ b/erpnext/docs/user/manual/index.txt
@@ -0,0 +1 @@
+en
diff --git a/erpnext/docs/user/videos/index.md b/erpnext/docs/user/videos/index.md
index 9976dd4..dcefe84 100644
--- a/erpnext/docs/user/videos/index.md
+++ b/erpnext/docs/user/videos/index.md
@@ -1,13 +1,13 @@
 # ERPNext Videos
 
 <h3>
-	<a class="no-decoration" href="{{url_prefix}}/user/videos/learn">Learn ERPNext</a>
+	<a class="no-decoration" href="{{docs_base_url}}/user/videos/learn">Learn ERPNext</a>
 </h3>
 
 <div class="row">
     <div class="col-sm-4">
-        <a href="{{url_prefix}}/user/videos/learn">
-            <img src="{{url_prefix}}/assets/img/videos/learn.jpg" class="img-responsive" style="margin-top: 0px;">
+        <a href="{{docs_base_url}}/user/videos/learn">
+            <img src="{{docs_base_url}}/assets/img/videos/learn.jpg" class="img-responsive" style="margin-top: 0px;">
         </a>
     </div>
     <div class="col-sm-8">
@@ -24,7 +24,7 @@
 <div class="row">
     <div class="col-sm-4">
         <a href="https://conf.erpnext.com/2014/videos">
-            <img src="{{url_prefix}}/assets/img/videos/conf-2014.jpg" class="img-responsive" style="margin-top: 0px;">
+            <img src="{{docs_base_url}}/assets/img/videos/conf-2014.jpg" class="img-responsive" style="margin-top: 0px;">
         </a>
     </div>
     <div class="col-sm-8">
diff --git a/erpnext/docs/user/videos/index.txt b/erpnext/docs/user/videos/index.txt
new file mode 100644
index 0000000..b2d525b
--- /dev/null
+++ b/erpnext/docs/user/videos/index.txt
@@ -0,0 +1 @@
+index
\ No newline at end of file
diff --git a/erpnext/docs/user/videos/learn/index.html b/erpnext/docs/user/videos/learn/index.html
deleted file mode 100644
index 2dceecf..0000000
--- a/erpnext/docs/user/videos/learn/index.html
+++ /dev/null
@@ -1,217 +0,0 @@
-<!-- no-sidebar -->
-<!-- no-breadcrumbs -->
-<!-- title: Learn ERPNext -->
-<div style="max-width: 700px; margin: auto;">
-    <div class="row hero" style="padding-top: 50px; border-bottom: 0px;">
-        <div class="col-sm-12 hero-content">
-            <h1>ERPNext Video Tutorials</h1>
-            <p>Step-by-step guides to setting up and using ERPNext</p>
-        </div>
-    </div>
-    <br>
-    <h3>Using ERPNext</h3>
-    <ul class="list-unstyled video-list">
-        <li>
-            <a href="{{url_prefix}}/user/videos/learn/navigation.html">
-              User Interface and Navigation</a>
-            <span class="text-muted pull-right">1:17</span>
-        </li>
-    </ul>
-    <br>
-    <h3>Setting Up</h3>
-    <ul class="list-unstyled video-list">
-        <li><a href="{{url_prefix}}/user/videos/learn/setup-wizard.html">
-            The Setup Wizard</a>
-            <span class="text-muted pull-right">2:28</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/user-and-permission.html">
-            User and Permissions</a>
-            <span class="text-muted pull-right">4:20</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/data-import-tool.html">
-            Data Import Tool</a>
-            <span class="text-muted pull-right">3:24</span>
-    </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/printing-and-branding.html">
-            Printing and Branding</a>
-            <span class="text-muted pull-right">4:00</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/customer-and-supplier.html">
-            Customer and Supplier</a>
-            <span class="text-muted pull-right">3:21</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/item.html">
-            Item and Pricing</a>
-            <span class="text-muted pull-right">3:17</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/opening-stock.html">
-            Opening Stock</a>
-            <span class="text-muted pull-right">2:06</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/opening-account-balances.html">
-            Opening Account Balances</a>
-            <span class="text-muted pull-right">3:46</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/email-account.html">
-            Email Account</a>
-            <span class="text-muted pull-right">2:27</span>
-        </li>
-    </ul>
-    <br>
-    <h3>CRM and Sales</h3>
-    <ul class="list-unstyled video-list">
-        <li><a href="{{url_prefix}}/user/videos/learn/lead-to-quotation.html">
-            Lead to Quotation</a>
-            <span class="text-muted pull-right">2:00</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/sales-cycle.html">
-            Sales Order to Payment</a>
-              <span class="text-muted pull-right">4:28</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/product-bundle.html">
-            Product Bundle</a>
-            <span class="text-muted pull-right">2:31</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/newsletter.html">
-            Newsletter</a>
-            <span class="text-muted pull-right">2:04</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/taxes.html">
-            Taxes</a>
-            <span class="text-muted pull-right">3:00</span>
-        </li>
-    </ul>
-    <br>
-    <h3>Buying</h3>
-    <ul class="list-unstyled video-list">
-        <li><a href="{{url_prefix}}/user/videos/learn/material-request-to-purchase-order.html">
-            Material Request to Purchase Order</a>
-            <span class="text-muted pull-right">2:25</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/purchase-cycle.html">
-            Purchase Order to Payment</a>
-              <span class="text-muted pull-right">3:16</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/taxes.html">
-            Taxes</a>
-            <span class="text-muted pull-right">3:00</span>
-        </li>
-    </ul>
-    <br>
-    <h3>Stock</h3>
-    <ul class="list-unstyled video-list">
-        <li><a href="{{url_prefix}}/user/videos/learn/item.html">
-            Item and Pricing</a>
-            <span class="text-muted pull-right">3:17</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/item-variant.html">
-            Item Variant</a>
-            <span class="text-muted pull-right">2:38</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/opening-stock.html">
-            Opening Stock</a>
-            <span class="text-muted pull-right">2:06</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/stock-entries.html">
-            Stock Entries</a>
-              <span class="text-muted pull-right">3:46</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/serialized-inventory.html">
-            Seriralized Inventory</a>
-            <span class="text-muted pull-right">4:12</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/batch-inventory.html">
-            Batch Inventory</a>
-            <span class="text-muted pull-right">3:46</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/subcontracting.html">
-            Managing Subcontracting</a>
-            <span class="text-muted pull-right">4:37</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/quality-inspection.html">
-            Quality Inspection</a>
-            <span class="text-muted pull-right">2:36</span>
-        </li>
-    </ul>
-    <br>
-    <h3>Accounts</h3>
-    <ul class="list-unstyled video-list">
-        <li><a href="{{url_prefix}}/user/videos/learn/chart-of-accounts.html">
-            Chart of Accounts</a>
-            <span class="text-muted pull-right">2:26</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/opening-account-balances.html">
-            Opening Account Balances</a>
-            <span class="text-muted pull-right">3:46</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/taxes.html">
-            Taxes</a>
-              <span class="text-muted pull-right">3:00</span>
-        </li>
-    </ul>
-    <br>
-    <h3>Manufacturing</h3>
-    <ul class="list-unstyled video-list">
-        <li><a href="{{url_prefix}}/user/videos/learn/bill-of-materials.html">
-            Bill of Materials</a>
-            <span class="text-muted pull-right">3:27</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/production-planning.html">
-            Production Planning Tool</a>
-              <span class="text-muted pull-right">1:41</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/production-order.html">
-            Production Order</a>
-            <span class="text-muted pull-right">2:24</span>
-        </li>
-    </ul>
-    <br>
-    <h3>Human Resource</h3>
-    <ul class="list-unstyled video-list">
-        <li><a href="{{url_prefix}}/user/videos/learn/employee.html">
-            Employee</a>
-            <span class="text-muted pull-right">1:59</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/processing-payroll.html">
-            Processing Payroll</a>
-              <span class="text-muted pull-right">4:00</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/leave-management.html">
-            Leave Management</a>
-            <span class="text-muted pull-right">2:50</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/expense-claim.html">
-            Expense Claim</a>
-            <span class="text-muted pull-right">2:52</span>
-        </li>
-    </ul>
-    <br>
-    <h3>Retail</h3>
-    <ul class="list-unstyled video-list">
-        <li><a href="{{url_prefix}}/user/videos/learn/point-of-sale.html">
-            Point of Sale</a>
-            <span class="text-muted pull-right">2:34</span>
-        </li>
-    </ul>
-    <br>
-    <h3>Project</h3>
-    <ul class="list-unstyled video-list">
-        <li><a href="{{url_prefix}}/user/videos/learn/project-and-task.html">
-            Project and Task</a>
-            <span class="text-muted pull-right">3:52</span>
-        </li>
-    </ul>
-    <br>
-    <h3>Customization</h3>
-    <ul class="list-unstyled video-list">
-        <li><a href="{{url_prefix}}/user/videos/learn/field-customization.html">
-            Field Customization</a>
-            <span class="text-muted pull-right">3:10</span>
-        </li>
-        <li><a href="{{url_prefix}}/user/videos/learn/workflow.html">
-            Workflow</a>
-            <span class="text-muted pull-right">3:38</span>
-        </li>
-    </ul>
-</div>
-<div style="height: 70px;"></div>
diff --git a/erpnext/docs/user/videos/learn/index.md b/erpnext/docs/user/videos/learn/index.md
new file mode 100644
index 0000000..35e1ad7
--- /dev/null
+++ b/erpnext/docs/user/videos/learn/index.md
@@ -0,0 +1,217 @@
+<!-- no-sidebar -->
+<!-- no-breadcrumbs -->
+<!-- title: Learn ERPNext -->
+<div style="max-width: 700px; margin: auto;">
+    <div class="row hero" style="padding-top: 50px; border-bottom: 0px;">
+        <div class="col-sm-12 hero-content">
+            <h1>ERPNext Video Tutorials</h1>
+            <p>Step-by-step guides to setting up and using ERPNext</p>
+        </div>
+    </div>
+    <br>
+    <h3>Using ERPNext</h3>
+    <ul class="list-unstyled video-list">
+        <li>
+            <a href="{{docs_base_url}}/user/videos/learn/navigation.html">
+              User Interface and Navigation</a>
+            <span class="text-muted pull-right">1:17</span>
+        </li>
+    </ul>
+    <br>
+    <h3>Setting Up</h3>
+    <ul class="list-unstyled video-list">
+        <li><a href="{{docs_base_url}}/user/videos/learn/setup-wizard.html">
+            The Setup Wizard</a>
+            <span class="text-muted pull-right">2:28</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/user-and-permission.html">
+            User and Permissions</a>
+            <span class="text-muted pull-right">4:20</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/data-import-tool.html">
+            Data Import Tool</a>
+            <span class="text-muted pull-right">3:24</span>
+    </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/printing-and-branding.html">
+            Printing and Branding</a>
+            <span class="text-muted pull-right">4:00</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/customer-and-supplier.html">
+            Customer and Supplier</a>
+            <span class="text-muted pull-right">3:21</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/item.html">
+            Item and Pricing</a>
+            <span class="text-muted pull-right">3:17</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/opening-stock.html">
+            Opening Stock</a>
+            <span class="text-muted pull-right">2:06</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/opening-account-balances.html">
+            Opening Account Balances</a>
+            <span class="text-muted pull-right">3:46</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/email-account.html">
+            Email Account</a>
+            <span class="text-muted pull-right">2:27</span>
+        </li>
+    </ul>
+    <br>
+    <h3>CRM and Sales</h3>
+    <ul class="list-unstyled video-list">
+        <li><a href="{{docs_base_url}}/user/videos/learn/lead-to-quotation.html">
+            Lead to Quotation</a>
+            <span class="text-muted pull-right">2:00</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/sales-cycle.html">
+            Sales Order to Payment</a>
+              <span class="text-muted pull-right">4:28</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/product-bundle.html">
+            Product Bundle</a>
+            <span class="text-muted pull-right">2:31</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/newsletter.html">
+            Newsletter</a>
+            <span class="text-muted pull-right">2:04</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/taxes.html">
+            Taxes</a>
+            <span class="text-muted pull-right">3:00</span>
+        </li>
+    </ul>
+    <br>
+    <h3>Buying</h3>
+    <ul class="list-unstyled video-list">
+        <li><a href="{{docs_base_url}}/user/videos/learn/material-request-to-purchase-order.html">
+            Material Request to Purchase Order</a>
+            <span class="text-muted pull-right">2:25</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/purchase-cycle.html">
+            Purchase Order to Payment</a>
+              <span class="text-muted pull-right">3:16</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/taxes.html">
+            Taxes</a>
+            <span class="text-muted pull-right">3:00</span>
+        </li>
+    </ul>
+    <br>
+    <h3>Stock</h3>
+    <ul class="list-unstyled video-list">
+        <li><a href="{{docs_base_url}}/user/videos/learn/item.html">
+            Item and Pricing</a>
+            <span class="text-muted pull-right">3:17</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/item-variant.html">
+            Item Variant</a>
+            <span class="text-muted pull-right">2:38</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/opening-stock.html">
+            Opening Stock</a>
+            <span class="text-muted pull-right">2:06</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/stock-entries.html">
+            Stock Entries</a>
+              <span class="text-muted pull-right">3:46</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/serialized-inventory.html">
+            Seriralized Inventory</a>
+            <span class="text-muted pull-right">4:12</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/batch-inventory.html">
+            Batch Inventory</a>
+            <span class="text-muted pull-right">3:46</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/subcontracting.html">
+            Managing Subcontracting</a>
+            <span class="text-muted pull-right">4:37</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/quality-inspection.html">
+            Quality Inspection</a>
+            <span class="text-muted pull-right">2:36</span>
+        </li>
+    </ul>
+    <br>
+    <h3>Accounts</h3>
+    <ul class="list-unstyled video-list">
+        <li><a href="{{docs_base_url}}/user/videos/learn/chart-of-accounts.html">
+            Chart of Accounts</a>
+            <span class="text-muted pull-right">2:26</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/opening-account-balances.html">
+            Opening Account Balances</a>
+            <span class="text-muted pull-right">3:46</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/taxes.html">
+            Taxes</a>
+              <span class="text-muted pull-right">3:00</span>
+        </li>
+    </ul>
+    <br>
+    <h3>Manufacturing</h3>
+    <ul class="list-unstyled video-list">
+        <li><a href="{{docs_base_url}}/user/videos/learn/bill-of-materials.html">
+            Bill of Materials</a>
+            <span class="text-muted pull-right">3:27</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/production-planning.html">
+            Production Planning Tool</a>
+              <span class="text-muted pull-right">1:41</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/production-order.html">
+            Production Order</a>
+            <span class="text-muted pull-right">2:24</span>
+        </li>
+    </ul>
+    <br>
+    <h3>Human Resource</h3>
+    <ul class="list-unstyled video-list">
+        <li><a href="{{docs_base_url}}/user/videos/learn/employee.html">
+            Employee</a>
+            <span class="text-muted pull-right">1:59</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/processing-payroll.html">
+            Processing Payroll</a>
+              <span class="text-muted pull-right">4:00</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/leave-management.html">
+            Leave Management</a>
+            <span class="text-muted pull-right">2:50</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/expense-claim.html">
+            Expense Claim</a>
+            <span class="text-muted pull-right">2:52</span>
+        </li>
+    </ul>
+    <br>
+    <h3>Retail</h3>
+    <ul class="list-unstyled video-list">
+        <li><a href="{{docs_base_url}}/user/videos/learn/point-of-sale.html">
+            Point of Sale</a>
+            <span class="text-muted pull-right">2:34</span>
+        </li>
+    </ul>
+    <br>
+    <h3>Project</h3>
+    <ul class="list-unstyled video-list">
+        <li><a href="{{docs_base_url}}/user/videos/learn/project-and-task.html">
+            Project and Task</a>
+            <span class="text-muted pull-right">3:52</span>
+        </li>
+    </ul>
+    <br>
+    <h3>Customization</h3>
+    <ul class="list-unstyled video-list">
+        <li><a href="{{docs_base_url}}/user/videos/learn/field-customization.html">
+            Field Customization</a>
+            <span class="text-muted pull-right">3:10</span>
+        </li>
+        <li><a href="{{docs_base_url}}/user/videos/learn/workflow.html">
+            Workflow</a>
+            <span class="text-muted pull-right">3:38</span>
+        </li>
+    </ul>
+</div>
+<div style="height: 70px;"></div>
diff --git a/erpnext/docs/user/videos/learn/index.txt b/erpnext/docs/user/videos/learn/index.txt
new file mode 100644
index 0000000..ed1002c
--- /dev/null
+++ b/erpnext/docs/user/videos/learn/index.txt
@@ -0,0 +1,36 @@
+batch-inventory
+bill-of-materials
+chart-of-accounts
+customer-and-supplier
+data-import-tool
+email-account
+employee
+expense-claim
+field-customization
+index
+item
+item-variant
+lead-to-quotation
+leave-management
+material-request-to-purchase-order
+navigation
+newsletter
+opening-account-balances
+opening-stock
+point-of-sale
+printing-and-branding
+processing-payroll
+product-bundle
+production-order
+production-planning
+project-and-task
+purchase-cycle
+quality-inspection
+sales-cycle
+serialized-inventory
+setup-wizard
+stock-entries
+subcontracting
+taxes
+user-and-permission
+workflow
\ No newline at end of file
diff --git a/erpnext/docs/user/videos/learn/opening-stock.md b/erpnext/docs/user/videos/learn/opening-stock.md
index 7626316..6048039 100644
--- a/erpnext/docs/user/videos/learn/opening-stock.md
+++ b/erpnext/docs/user/videos/learn/opening-stock.md
@@ -6,4 +6,4 @@
 
 This tutorial demonstrates updating opening stock balance of an item. Following same steps, you can also reconcile stock of an item with respect to physical stock in a warehouse.
 
-If you maintain serialized inventory, [click here]({{url_prefix}}/user/videos/learn/serialized-inventory.html) for the tutorial on updating it's opening stock in ERPNext.
+If you maintain serialized inventory, [click here]({{docs_base_url}}/user/videos/learn/serialized-inventory.html) for the tutorial on updating it's opening stock in ERPNext.