2
0

2 Revīzijas ff39f8b5b1 ... a0ee67ad74

Autors SHA1 Ziņojums Datums
  marton levente a0ee67ad74 Merge branch 'master' of https://deeejas.asuscomm.com:3000/Shared/anafapi.git 3 mēneši atpakaļ
  marton levente 578456958c limit notes to 1000 chars 3 mēneši atpakaļ
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      anafapi/anafoauth.py

+ 1 - 0
anafapi/anafoauth.py

@@ -549,6 +549,7 @@ class Efactoauth(Anafoauth):
             notes_ = ''
         for line in invoice.lines:
             notes_ += ' ' + line.item_name
+            notes_ = notes_[:1000]
         post = client.add_invoice2(code_,  # ciel.partners.PARTNERS[invoice.seller_party.name]
                                    lines=document_lines,
                                    date=invoice.issue_date.strftime('%Y-%m-%d'),