fix: default_print_language instead of default_print_format (#7461)
This commit is contained in:
parent
3294b52b68
commit
e649871594
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ frappe.ui.form.PrintPreview = Class.extend({
|
|||
},
|
||||
set_default_print_language: function () {
|
||||
var print_format = this.get_print_format();
|
||||
this.lang_code = print_format.default_print_format || frappe.boot.lang;
|
||||
this.lang_code = print_format.default_print_language || frappe.boot.lang;
|
||||
this.language_sel.val(this.lang_code);
|
||||
},
|
||||
multilingual_preview: function () {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue