fix: create dunning from sales invoice

This commit is contained in:
Nabin Hait 2022-09-15 13:11:53 +05:30
parent 97977cdb4b
commit 29db084dc3

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,