Merge pull request #32225 from nabinhait/dunning-fix

fix: create dunning from sales invoice
This commit is contained in:
Deepesh Garg 2022-09-16 11:04:55 +05:30 committed by GitHub
commit 38d00f407e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,