mirror of
https://github.com/frappe/books.git
synced 2024-11-10 15:50:56 +00:00
Fetching fresh document and avoiding cached one to prevent error
This commit is contained in:
parent
55832f19ad
commit
721bfab5b8
@ -19,7 +19,9 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
this.doc = await frappe.getSingle('AccountingSettings');
|
this.doc = await frappe.getDoc('AccountingSettings', 'AccountingSettings', {
|
||||||
|
skipCacheDocument: true
|
||||||
|
});
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
fields() {
|
fields() {
|
||||||
|
Loading…
Reference in New Issue
Block a user