Skip to content

Commit

Permalink
[fix] afip_qr_code debe devolver siempre un valor por se un campo com…
Browse files Browse the repository at this point in the history
…putado
  • Loading branch information
filoquin authored and jjscarafia committed Apr 6, 2021
1 parent 08fe8db commit 0baf636
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions l10n_ar_afipws_fe/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ def _compute_qr_code(self):
qr_data = base64.encodestring(json.dumps(
qr_dict, indent=None).encode('ascii')).decode('ascii')
rec.afip_qr_code = 'https://www.afip.gob.ar/fe/qr/?p=%s' % qr_data
else:
rec.afip_qr_code = False

def get_related_invoices_data(self):
"""
Expand Down

0 comments on commit 0baf636

Please sign in to comment.