[minor] [fix] fixed conflict
This commit is contained in:
commit
fa910593e6
@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
"creation": "2013-05-21 16:16:39",
|
"creation": "2013-05-21 16:16:39",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
"modified": "2013-07-19 16:14:49",
|
"modified": "2013-07-19 22:04:17",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"owner": "Administrator"
|
"owner": "Administrator"
|
||||||
},
|
},
|
||||||
|
@ -65,6 +65,11 @@ wn.module_page["Buying"] = [
|
|||||||
"doctype":"Purchase Taxes and Charges Master",
|
"doctype":"Purchase Taxes and Charges Master",
|
||||||
"description": wn._("Tax Template for Purchase")
|
"description": wn._("Tax Template for Purchase")
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: wn._("Price List"),
|
||||||
|
description: wn._("Mupltiple Item prices."),
|
||||||
|
doctype:"Price List"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"doctype":"Supplier Type",
|
"doctype":"Supplier Type",
|
||||||
"label": wn._("Supplier Type"),
|
"label": wn._("Supplier Type"),
|
||||||
|
@ -21,3 +21,4 @@ def execute():
|
|||||||
for si in webnotes.conn.sql("""select name from `tabSales Invoice` where docstatus = 1"""):
|
for si in webnotes.conn.sql("""select name from `tabSales Invoice` where docstatus = 1"""):
|
||||||
webnotes.get_obj("Sales Invoice", si[0],
|
webnotes.get_obj("Sales Invoice", si[0],
|
||||||
with_children=1).update_qty(change_modified=False)
|
with_children=1).update_qty(change_modified=False)
|
||||||
|
webnotes.conn.commit()
|
@ -15,9 +15,16 @@ wn.modules_path = 'erpnext';
|
|||||||
|
|
||||||
// add toolbar icon
|
// add toolbar icon
|
||||||
$(document).bind('toolbar_setup', function() {
|
$(document).bind('toolbar_setup', function() {
|
||||||
$('.navbar-brand').html('<div style="display: inline-block; cursor: pointer;">\
|
var brand = ($("<div></div>").append(wn.boot.website_settings.brand_html).text() || 'erpnext');
|
||||||
|
$('.navbar-brand').html('<div style="display: inline-block;">\
|
||||||
<object type="image/svg+xml" data="app/images/splash.svg" class="toolbar-splash"></object>\
|
<object type="image/svg+xml" data="app/images/splash.svg" class="toolbar-splash"></object>\
|
||||||
</div>' + ($("<div></div>").append(wn.boot.website_settings.brand_html).text() || 'erpnext'))
|
</div>' + brand)
|
||||||
|
.attr("title", brand)
|
||||||
.addClass("navbar-icon-home")
|
.addClass("navbar-icon-home")
|
||||||
.css('max-width', '200px').css('overflow', 'hidden');
|
.css({
|
||||||
|
"max-width": "200px",
|
||||||
|
"overflow": "hidden",
|
||||||
|
"text-overflow": "ellipsis",
|
||||||
|
"white-space": "nowrap"
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
@ -67,10 +67,10 @@ erpnext.selling.Opportunity = wn.ui.form.Controller.extend({
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.frm.set_query("item_code", "enquiry_details", function() {
|
this.frm.set_query("item_code", "enquiry_details", function() {
|
||||||
var key = (me.frm.doc.enquiry_type === "Maintenance" ? "is_service_item" : "is_sales_item");
|
|
||||||
return {
|
return {
|
||||||
query: "controllers.queries.item_query",
|
query: "controllers.queries.item_query",
|
||||||
filters: { key: "Yes" }
|
filters: me.frm.doc.enquiry_type === "Maintenance" ?
|
||||||
|
{"is_service_item": "Yes"} : {"is_sales_item": "Yes"}
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import webnotes
|
import webnotes
|
||||||
from core.doctype.communication.communication import make
|
|
||||||
from webnotes.utils import now
|
from webnotes.utils import now
|
||||||
|
|
||||||
max_communications_per_hour = 300
|
max_communications_per_hour = 300
|
||||||
|
Loading…
x
Reference in New Issue
Block a user