Use move date instead of post date as FechaRegContable

issue11760
review415711004
This commit is contained in:
Sergi Almacellas Abellana
2022-10-04 08:49:40 +02:00
parent 2590a340d2
commit 000d79836a
+1 -1
View File
@@ -586,7 +586,7 @@ class InvoiceSII(ModelSQL, ModelView):
'DetalleIVA': list(chain(*tax_values.values())),
},
}
detail['FechaRegContable'] = self.invoice.move.post_date.strftime(
detail['FechaRegContable'] = self.invoice.move.date.strftime(
'%d-%m-%Y')
detail['CuotaDeducible'] = str(tax_amount)
return detail