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