minor fixes

This commit is contained in:
Anand Doshi
2015-02-26 20:27:41 +05:30
parent 851c745fdf
commit 8f9e631a44
4 changed files with 5 additions and 4 deletions

View File

@@ -5,7 +5,8 @@ def execute():
frappe.reload_doctype("Project")
for m in frappe.get_all("Project Milestone", "*"):
if m.milestone and m.milestone_date:
if (m.milestone and m.milestone_date
and frappe.db.exists("Project", m.parent)):
frappe.get_doc({
"doctype": "Task",
"subject": m.milestone,

View File

@@ -9,7 +9,7 @@ $(document).bind('toolbar_setup', function() {
$('.navbar-home').html('ERPNext');
$('[data-link="docs"]').attr("href", "https://erpnext.com/user-guide")
$('[data-link="docs"]').attr("href", "https://manual.erpnext.com")
});
// doctypes created via tree

View File

@@ -3,6 +3,6 @@
<a class="product-link" href="{{ route or page_name }}">
<div class="col-sm-2 col-xs-4 product-image-wrapper">
{{ product_image_square(website_image) }}
<div class="text-ellipsis small product-text">{{ item_name }}</div>
<div class="text-ellipsis inline-block small product-text">{{ item_name }}</div>
</div>
</a>