Merge branch 'develop' of https://github.com/frappe/erpnext into develop
This commit is contained in:
commit
ea142971a8
@ -308,7 +308,7 @@ frappe.ui.form.on('Payment Entry', {
|
||||
() => {
|
||||
frm.set_party_account_based_on_party = false;
|
||||
if (r.message.bank_account) {
|
||||
frm.set_value("bank_account", r.message.bank_account);
|
||||
frm.set_value("party_bank_account", r.message.bank_account);
|
||||
}
|
||||
}
|
||||
]);
|
||||
|
@ -4,7 +4,7 @@ from frappe.model.utils.rename_field import rename_field
|
||||
|
||||
|
||||
def execute():
|
||||
frappe.reload_doc('desk', 'doctype', 'auto_repeat')
|
||||
frappe.reload_doc('automation', 'doctype', 'auto_repeat')
|
||||
|
||||
doctypes_to_rename = {
|
||||
'accounts': ['Journal Entry', 'Payment Entry', 'Purchase Invoice', 'Sales Invoice'],
|
||||
@ -41,4 +41,4 @@ def drop_columns_from_subscription():
|
||||
if field in frappe.db.get_table_columns("Subscription"):
|
||||
fields_to_drop['Subscription'].append(field)
|
||||
|
||||
frappe.model.delete_fields(fields_to_drop, delete=1)
|
||||
frappe.model.delete_fields(fields_to_drop, delete=1)
|
||||
|
@ -66,7 +66,7 @@ def place_order():
|
||||
from erpnext.selling.doctype.quotation.quotation import _make_sales_order
|
||||
sales_order = frappe.get_doc(_make_sales_order(quotation.name, ignore_permissions=True))
|
||||
|
||||
if not cart_settings.allow_items_not_in_stock:
|
||||
if not cint(cart_settings.allow_items_not_in_stock):
|
||||
for item in sales_order.get("items"):
|
||||
item.reserved_warehouse, is_stock_item = frappe.db.get_value("Item",
|
||||
item.item_code, ["website_warehouse", "is_stock_item"])
|
||||
|
Loading…
Reference in New Issue
Block a user