Use move date instead of post date as FechaRegContable
issue11760 review415711004
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user