Update account_move fix bug

This commit is contained in:
MahmoudSalahEXP 2025-10-13 10:42:45 +03:00 committed by GitHub
parent d69708164b
commit 388629a51b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class AccountMove(models.Model):
company_name_length_encoding = len(company_name_byte_array).to_bytes(length=1, byteorder='big')
return company_name_tag_encoding + company_name_length_encoding + company_name_byte_array
record.qr_string = ''
self.qr_string = ''
for record in self:
qr_code_str = ''
if record.invoice_date and record.company_id.vat: