mirror of
https://github.com/frappe/books.git
synced 2024-09-20 11:29:00 +00:00
chore: start naming from 1001
This commit is contained in:
parent
e8ad2ce21d
commit
349d15e9cc
@ -73,7 +73,7 @@ module.exports = {
|
|||||||
return prefix + next;
|
return prefix + next;
|
||||||
},
|
},
|
||||||
|
|
||||||
async createNumberSeries(prefix, setting, start = 1000) {
|
async createNumberSeries(prefix, setting, start = 1001) {
|
||||||
if (!(await frappe.db.exists('NumberSeries', prefix))) {
|
if (!(await frappe.db.exists('NumberSeries', prefix))) {
|
||||||
const series = frappe.newDoc({
|
const series = frappe.newDoc({
|
||||||
doctype: 'NumberSeries',
|
doctype: 'NumberSeries',
|
||||||
|
Loading…
Reference in New Issue
Block a user