minor fix
This commit is contained in:
parent
822fd7747a
commit
093beecd0a
@ -1,6 +1,7 @@
|
||||
import frappe
|
||||
|
||||
def execute():
|
||||
frappe.reload_doctype("System Settings")
|
||||
ss = frappe.get_doc("System Settings", "System Settings")
|
||||
ss.email_footer_address = frappe.db.get_default("company")
|
||||
ss.save()
|
||||
|
@ -98,7 +98,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
|
||||
},
|
||||
|
||||
hide_currency_and_price_list: function() {
|
||||
if(this.frm.doc.docstatus > 0) {
|
||||
if(this.frm.doc.conversion_rate == 1 && this.frm.doc.docstatus > 0) {
|
||||
hide_field("currency_and_price_list");
|
||||
} else {
|
||||
unhide_field("currency_and_price_list");
|
||||
|
Loading…
x
Reference in New Issue
Block a user