forked from elmau/empresa-libre
Fix - Issue #150
This commit is contained in:
commit
ac481862d9
|
@ -3070,7 +3070,7 @@ class Facturas(BaseModel):
|
||||||
.order_by(SQL('mf'))
|
.order_by(SQL('mf'))
|
||||||
.scalar())
|
.scalar())
|
||||||
|
|
||||||
if inicio is None:
|
if inicio is None or inicio_serie > inicio:
|
||||||
inicio = inicio_serie
|
inicio = inicio_serie
|
||||||
else:
|
else:
|
||||||
inicio += 1
|
inicio += 1
|
||||||
|
|
Loading…
Reference in New Issue