diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-01-13 11:08:12 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-01-13 11:08:12 +0700 |
| commit | 3dca935bb9866a391de22a719b0accf914491e2f (patch) | |
| tree | 85bd77ea5adfd0ae7a41dad94935c2bbb2f9cdaf /indoteknik_custom/models | |
| parent | a6aa377e6c1aa05ce1780c892b816cccde31d386 (diff) | |
add logic dunning run
Diffstat (limited to 'indoteknik_custom/models')
| -rw-r--r-- | indoteknik_custom/models/dunning_run.py | 1 |
1 files changed, 1 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, |
