mirror of
https://github.com/frappe/books.git
synced 2024-12-23 19:39:07 +00:00
Renamed to skipDocumentCache
This commit is contained in:
parent
89592070b5
commit
9459b66148
4
index.js
4
index.js
@ -226,8 +226,8 @@ module.exports = {
|
||||
return this.metaCache[doctype];
|
||||
},
|
||||
|
||||
async getDoc(doctype, name, options = {skipCacheDocument: false}) {
|
||||
let doc = options.skipCacheDocument ? null : this.getDocFromCache(doctype, name);
|
||||
async getDoc(doctype, name, options = {skipDocumentCache: false}) {
|
||||
let doc = options.skipDocumentCache ? null : this.getDocFromCache(doctype, name);
|
||||
if (!doc) {
|
||||
doc = new (this.getDocumentClass(doctype))({
|
||||
doctype: doctype,
|
||||
|
Loading…
Reference in New Issue
Block a user