mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
fix: PrintSetting quick edit fields
This commit is contained in:
parent
4c12755d16
commit
8133ad0300
@ -2,7 +2,6 @@ module.exports = {
|
||||
name: 'PrintSettings',
|
||||
label: 'Print Settings',
|
||||
isSingle: 1,
|
||||
isChild: 0,
|
||||
fields: [
|
||||
{
|
||||
fieldname: 'logo',
|
||||
@ -70,5 +69,6 @@ module.exports = {
|
||||
options: ['Inter', 'Roboto'],
|
||||
default: 'Inter'
|
||||
}
|
||||
]
|
||||
],
|
||||
quickEditFields: ['email', 'phone', 'address', 'gstin']
|
||||
};
|
||||
|
@ -71,14 +71,7 @@ export default {
|
||||
return frappe.getMeta('PrintSettings');
|
||||
},
|
||||
fields() {
|
||||
return [
|
||||
'email',
|
||||
'phone',
|
||||
'address',
|
||||
'gstin',
|
||||
'template',
|
||||
'font'
|
||||
].map(fieldname => this.meta.getField(fieldname));
|
||||
return this.meta.getQuickEditFields();
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
Loading…
Reference in New Issue
Block a user