Fix - abrir prefacturas grandes
This commit is contained in:
parent
a946a1aa9a
commit
046a61a2f2
|
@ -8,4 +8,4 @@ threads = 4
|
||||||
py-autoreload = 1
|
py-autoreload = 1
|
||||||
thunder-lock = true
|
thunder-lock = true
|
||||||
static-map = /static=../static
|
static-map = /static=../static
|
||||||
http-timeout = 120
|
http-timeout = 180
|
|
@ -4090,9 +4090,6 @@ class PreFacturasDetalle(BaseModel):
|
||||||
@classmethod
|
@classmethod
|
||||||
def can_open(cls, id):
|
def can_open(cls, id):
|
||||||
c = cls.count(id)
|
c = cls.count(id)
|
||||||
# ~ result = c < 300
|
|
||||||
# ~ if result:
|
|
||||||
# ~ return True
|
|
||||||
PreFacturas.get_pdf_in_thread(id)
|
PreFacturas.get_pdf_in_thread(id)
|
||||||
return c < 300
|
return c < 300
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue