mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +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() {
|
||||
this.doc = await frappe.getSingle('AccountingSettings');
|
||||
this.doc = await frappe.getDoc('AccountingSettings', 'AccountingSettings', {
|
||||
skipCacheDocument: true
|
||||
});
|
||||
},
|
||||
computed: {
|
||||
fields() {
|
||||
|
Loading…
Reference in New Issue
Block a user