[Feature Request] Add Payment Mode field on Payment Terms Template #13117 (#13243)

* add mode of payment field to Payment Term

* add mode of payment field to Payment Terms Template Detail

* add mode of payment field to Payment Schedule

* add mode of payment in `get_payment_term_details`
This commit is contained in:
tundebabzy
2018-03-09 07:53:53 +01:00
committed by Nabin Hait
parent 3fd634783d
commit e69747ca6d
4 changed files with 120 additions and 4 deletions

View File

@@ -947,6 +947,7 @@ def get_payment_term_details(term, posting_date=None, grand_total=None, bill_dat
if getdate(term_details.due_date) < getdate(posting_date):
term_details.due_date = posting_date
term_details.mode_of_payment = term.mode_of_payment
return term_details