patch oko teksta PDFa i UI tablica
Some checks failed
ERP CI/CD Pipeline / test (push) Has been cancelled
ERP CI/CD Pipeline / Deploy (server git pull + compose) (push) Has been cancelled

This commit is contained in:
mariomitte
2026-07-12 03:25:03 +02:00
parent 3b54499b17
commit 4e3bf6dab0
40 changed files with 2149 additions and 331 deletions

View File

@@ -10,6 +10,13 @@ from modules.crm.models import Client
logger = logging.getLogger(__name__)
class InvoiceService:
@staticmethod
def create_full_invoice(*args, **kwargs):
from modules.invoicing.services import InvoiceService as _InvoiceService
return _InvoiceService.create_full_invoice(*args, **kwargs)
@shared_task(bind=True, max_retries=3)
def process_paperless_document_task(self, document_id):
"""
@@ -57,8 +64,6 @@ def process_paperless_document_task(self, document_id):
"created_at": raw_created,
}
from modules.invoicing.services import InvoiceService
lookup_field = User.USERNAME_FIELD
system_user = User.objects.filter(**{lookup_field: "bot@erp.hr"}).first()