mirror of
https://github.com/frappe/books.git
synced 2024-11-10 15:50:56 +00:00
15 lines
325 B
JavaScript
15 lines
325 B
JavaScript
import frappe from 'frappe';
|
|
import importCharts from '../accounting/importCOA';
|
|
import registerReportMethods from '../reports';
|
|
|
|
export default function registerServerMethods() {
|
|
registerReportMethods();
|
|
|
|
frappe.registerMethod({
|
|
method: 'import-coa',
|
|
async handler() {
|
|
await importCharts();
|
|
},
|
|
});
|
|
}
|