diff options
| -rw-r--r-- | indoteknik_custom/models/dunning_run.py | 1 | ||||
| -rw-r--r-- | indoteknik_custom/views/dunning_run.xml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/dunning_run.py b/indoteknik_custom/models/dunning_run.py index ef6407e8..ed9aa7c0 100644 --- a/indoteknik_custom/models/dunning_run.py +++ b/indoteknik_custom/models/dunning_run.py @@ -66,6 +66,7 @@ class DunningRun(models.Model): for invoice in invoices: self.env['dunning.run.line'].create([{ 'dunning_id': self.id, + 'partner_id': invoice.partner_id.id, 'invoice_id': invoice.id, 'date_invoice': invoice.invoice_date, 'efaktur_id': invoice.efaktur_id.id, diff --git a/indoteknik_custom/views/dunning_run.xml b/indoteknik_custom/views/dunning_run.xml index 427653fe..ab01d476 100644 --- a/indoteknik_custom/views/dunning_run.xml +++ b/indoteknik_custom/views/dunning_run.xml @@ -18,6 +18,7 @@ <field name="model">dunning.run.line</field> <field name="arch" type="xml"> <tree> + <field name="partner_id"/> <field name="invoice_id"/> <field name="date_invoice"/> <field name="efaktur_id"/> |
