compute hash from id and issue date only (#9688)
This commit is contained in:
parent
b80d118872
commit
28190a94b4
|
@ -94,9 +94,7 @@ class Command(BaseCommand):
|
|||
except (KeyError, ValueError):
|
||||
continue
|
||||
attachment = os.path.join(settings.INVOICES_DIR, 'facture_%s.pdf' % invoice.id)
|
||||
invoice_hash = self.get_invoice_hash(invoice.id,
|
||||
invoice.date_generation,
|
||||
invoice.montant)
|
||||
invoice_hash = self.get_invoice_hash(invoice.id, invoice.date_generation)
|
||||
|
||||
context = {'invoice': invoice, 'invoice_view_url_base': invoice_view_url_base,
|
||||
'invoice_hash': invoice_hash}
|
||||
|
|
Reference in New Issue