2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00

chore: start naming from 1001

This commit is contained in:
18alantom 2022-02-07 17:24:05 +05:30
parent e8ad2ce21d
commit 349d15e9cc

View File

@ -73,7 +73,7 @@ module.exports = {
return prefix + next;
},
async createNumberSeries(prefix, setting, start = 1000) {
async createNumberSeries(prefix, setting, start = 1001) {
if (!(await frappe.db.exists('NumberSeries', prefix))) {
const series = frappe.newDoc({
doctype: 'NumberSeries',