Merge branch 'develop' into develop-company-address-label

This commit is contained in:
Rohan
2019-10-23 15:57:26 +05:30
committed by GitHub
117 changed files with 3655 additions and 1021 deletions

View File

@@ -8,7 +8,7 @@ import unittest
from erpnext.accounts.party import get_due_date
from frappe.test_runner import make_test_records
from erpnext.exceptions import PartyFrozen
from erpnext.exceptions import PartyFrozen, PartyDisabled
from frappe.utils import flt
from erpnext.selling.doctype.customer.customer import get_credit_limit, get_customer_outstanding
from erpnext.tests.utils import create_test_contact_and_address
@@ -178,7 +178,7 @@ class TestCustomer(unittest.TestCase):
so = make_sales_order(do_not_save=True)
self.assertRaises(frappe.ValidationError, so.save)
self.assertRaises(PartyDisabled, so.save)
frappe.db.set_value("Customer", "_Test Customer", "disabled", 0)

View File

@@ -23,9 +23,6 @@ frappe.ui.form.on('Quotation', {
refresh: function(frm) {
frm.trigger("set_label");
frm.trigger("set_dynamic_field_label");
if (frm.doc.quotation_to && frm.doc.party_name && !frm.doc.contact_person) {
frm.trigger("party_name");
}
},
quotation_to: function(frm) {

View File

@@ -1186,6 +1186,7 @@
"default": "0",
"fieldname": "skip_delivery_note",
"fieldtype": "Check",
"hidden": 1,
"label": "Skip Delivery Note",
"print_hide": 1
}
@@ -1193,7 +1194,7 @@
"icon": "fa fa-file-text",
"idx": 105,
"is_submittable": 1,
"modified": "2019-10-16 00:45:55.686974",
"modified": "2019-10-23 14:26:42.767189",
"modified_by": "Administrator",
"module": "Selling",
"name": "Sales Order",