Set company from the dunning line when generating dunning

Closes #12192
This commit is contained in:
Cédric Krier committed 2023-04-07 14:33:34 +02:00
1 parent ca1901f0c3
commit dbbb2be05c
1 file changed
+1
+1
View File
@@ -318,6 +318,7 @@ class Dunning(ModelSQL, ModelView):
else:
return
return cls(
company=line.account.company,
line=line,
procedure=procedure,
level=level,