Fixed merge conflict

This commit is contained in:
Nabin Hait
2018-04-04 11:40:16 +05:30
18 changed files with 65 additions and 35 deletions

View File

@@ -667,7 +667,9 @@ class AccountsController(TransactionBase):
self.remove(item)
def set_payment_schedule(self):
if self.doctype == 'Sales Invoice' and self.is_pos: return
if self.doctype == 'Sales Invoice' and self.is_pos:
self.payment_terms_template = ''
return
posting_date = self.get("bill_date") or self.get("posting_date") or self.get("transaction_date")
date = self.get("due_date")