From 41f03cd303befec22a990e28b27633eecc17e13d Mon Sep 17 00:00:00 2001 From: Makarand Bauskar Date: Wed, 6 Sep 2017 19:25:30 +0530 Subject: [PATCH 1/2] [hotfix] don't add trigger if the autoname field and fieldname is not same (#4074) --- frappe/public/js/frappe/form/controls/data.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frappe/public/js/frappe/form/controls/data.js b/frappe/public/js/frappe/form/controls/data.js index 698d704a9e..5751451f27 100644 --- a/frappe/public/js/frappe/form/controls/data.js +++ b/frappe/public/js/frappe/form/controls/data.js @@ -29,7 +29,8 @@ frappe.ui.form.ControlData = frappe.ui.form.ControlInput.extend({ if (!this.df.parent) return; this.meta = frappe.get_meta(this.df.parent); if (this.meta && this.meta.autoname - && this.meta.autoname.substr(0, 6)==='field:') { + && this.meta.autoname.substr(0, 6)==='field:' + && this.meta.autoname.substr(6) === this.df.fieldname) { this.$input.on('keyup', () => { this.set_description(''); if (this.doc && this.doc.__islocal) { From 1c7e3a57ae071ce1f465ade4486d8286265cdb68 Mon Sep 17 00:00:00 2001 From: mbauskar Date: Wed, 6 Sep 2017 19:56:31 +0600 Subject: [PATCH 2/2] bumped to version 8.10.1 --- frappe/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/__init__.py b/frappe/__init__.py index 0f336324b4..fd98d7872f 100644 --- a/frappe/__init__.py +++ b/frappe/__init__.py @@ -14,7 +14,7 @@ import os, sys, importlib, inspect, json from .exceptions import * from .utils.jinja import get_jenv, get_template, render_template, get_email_from_template -__version__ = '8.10.0' +__version__ = '8.10.1' __title__ = "Frappe Framework" local = Local()