Issues originating due to sql_mode='STRICT_ALL_TABLES'

Fixes frappe/frappe-bench#18
Merge pull request #1883 from anandpdoshi/anand-july-3

Issues originating due to sql_mode='STRICT_ALL_TABLES'
Merge pull request #1884 from nabinhait/hotfix

Hotfix
BugFix: selling_controller.py
Merge pull request #1896 from anandpdoshi/anand-july-7

BugFix: selling_controller.py
BugFix: Maintenance Visit against Customer Issue

+ Map Item details from Customer Issue into Maintenance Visit Purpose Table
+ Map Prev DocType and Prev DocName
+ Changed prevdoc_doctype and prevdoc_docname into Dynamic Link
sales order status bugfix, add leading / in website_image and removed send_print_in_body_and_attachment
Merge pull request #1898 from rmehta/pdf-etc

sales order status bugfix, add leading / in website_image and removed se...
Merge pull request #1899 from anandpdoshi/anand-july-7

BugFix: Maintenance Visit against Customer Issue
BugFix in Purchase Order: Validate minimum order qty using Qty in Stock UOM
Catch FiscalYearError in Re-order Item
Minor fix
Merge pull request #1900 from anandpdoshi/anand-july-7

Fix in Purchase Order and Re-order Item
Run trigger of company field on onload function, even if company exists