Skip to content

Commit

Permalink
[IMP] account_payment_group: date field when adding debit note
Browse files Browse the repository at this point in the history
Ticket: 60687
Si no se carga fecha contable (campo date) en el wizard de creación de nota de débito en el grupo de pagos entonces se carga la fecha del día ya que es un campo obligatorio para el asiento del pago

closes #369

Signed-off-by: Katherine Zaoral <kz@adhoc.com.ar>
  • Loading branch information
pablohmontenegro committed May 31, 2023
1 parent 45a7c3b commit 45b6f78
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -199,7 +199,7 @@ def get_invoice_vals(self):

return {
'ref': self.description,
'date': self.date,
'date': self.date or self.invoice_date or fields.Date.context_today(self),
'invoice_date': self.invoice_date,
'invoice_origin': _('Payment id %s') % payment_group.id,
'journal_id': self.journal_id.id,
Expand Down

0 comments on commit 45b6f78

Please sign in to comment.