2
0
mirror of https://github.com/frappe/books.git synced 2025-02-14 17:56:34 +00:00

Set Invoice account back to formula

This commit is contained in:
Faris Ansari 2018-09-23 13:47:06 +05:30
parent d8dace31f8
commit b57a301821

View File

@ -38,7 +38,7 @@ module.exports = {
label: 'Account',
fieldtype: 'Link',
target: 'Account',
fetch: (doc) => doc.getFrom('Party', doc.customer , 'default_account'),
formula: (doc) => doc.getFrom('Party', doc.customer , 'default_account'),
getFilters: (query, control) => {
return {
keywords: ['like', query],