Merge branch 'master' into develop
This commit is contained in:
commit
2c808c578d
@ -2,7 +2,7 @@
|
||||
from __future__ import unicode_literals
|
||||
import frappe
|
||||
|
||||
__version__ = '8.0.45'
|
||||
__version__ = '8.0.46'
|
||||
|
||||
|
||||
def get_default_company(user=None):
|
||||
|
@ -2664,6 +2664,7 @@
|
||||
"bold": 0,
|
||||
"collapsible": 0,
|
||||
"columns": 0,
|
||||
"depends_on": "eval:doc.is_pos===1",
|
||||
"fieldname": "payments",
|
||||
"fieldtype": "Table",
|
||||
"hidden": 0,
|
||||
@ -4564,7 +4565,7 @@
|
||||
"istable": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": 0,
|
||||
"modified": "2017-05-17 10:34:44.412147",
|
||||
"modified": "2017-06-07 11:00:01.903429",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Accounts",
|
||||
"name": "Sales Invoice",
|
||||
|
@ -833,7 +833,6 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({
|
||||
|
||||
update_customer: function (new_customer) {
|
||||
var me = this;
|
||||
if (!this.connection_status) return;
|
||||
|
||||
this.customer_doc = new frappe.ui.Dialog({
|
||||
'title': 'Customer',
|
||||
|
@ -60,11 +60,11 @@ erpnext.buying.MaterialRequestController = erpnext.buying.BuyingController.exten
|
||||
if(doc.docstatus == 1 && doc.status != 'Stopped') {
|
||||
if(flt(doc.per_ordered, 2) < 100) {
|
||||
// make
|
||||
if(doc.material_request_type === "Material Transfer" && doc.status === "Submitted")
|
||||
if(doc.material_request_type === "Material Transfer")
|
||||
cur_frm.add_custom_button(__("Transfer Material"),
|
||||
this.make_stock_entry, __("Make"));
|
||||
|
||||
if(doc.material_request_type === "Material Issue" && doc.status === "Submitted")
|
||||
if(doc.material_request_type === "Material Issue")
|
||||
cur_frm.add_custom_button(__("Issue Material"),
|
||||
this.make_stock_entry, __("Make"));
|
||||
|
||||
@ -80,7 +80,7 @@ erpnext.buying.MaterialRequestController = erpnext.buying.BuyingController.exten
|
||||
cur_frm.add_custom_button(__("Supplier Quotation"),
|
||||
this.make_supplier_quotation, __("Make"));
|
||||
|
||||
if(doc.material_request_type === "Manufacture" && doc.status === "Submitted")
|
||||
if(doc.material_request_type === "Manufacture")
|
||||
cur_frm.add_custom_button(__("Production Order"),
|
||||
function() { me.raise_production_orders() }, __("Make"));
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<span class="indicator {{ "red" if task.status=="Open" else "green" if task.status=="Closed" else "darkgrey" }}" title="{{ task.status }}" > {{ task.subject }}</span>
|
||||
<div class="small text-muted item-timestamp"
|
||||
title="{{ frappe.utils.pretty_date(task.modified) }}">
|
||||
{{ __("modified") }} {{ frappe.utils.pretty_date(task.modified) }}
|
||||
{{ _("modified") }} {{ frappe.utils.pretty_date(task.modified) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class='col-xs-1'>{% if task.todo %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user