fix: create dunning from sales invoice

(cherry picked from commit 29db084dc3)
This commit is contained in:
Nabin Hait
2022-09-15 13:11:53 +05:30
committed by Mergify
parent c07e61953a
commit 17ea6cc5a5

View File

@@ -2429,7 +2429,6 @@ def create_dunning(source_name, target_doc=None):
target.closing_text = letter_text.get("closing_text")
target.language = letter_text.get("language")
amounts = calculate_interest_and_amount(
target.posting_date,
target.outstanding_amount,
target.rate_of_interest,
target.dunning_fee,