Skip to content

Commit

Permalink
Revert "fix: unable to create partial invoice with auto fetch terms e…
Browse files Browse the repository at this point in the history
…nabled (frappe#35285)"

This reverts commit 0da6c16.
  • Loading branch information
bosue committed Nov 11, 2023
1 parent bf6d095 commit 4d47bb1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions erpnext/controllers/accounts_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -1958,9 +1958,6 @@ def set_payment_schedule(self):
d.base_payment_amount = flt(
d.payment_amount * self.get("conversion_rate"), d.precision("base_payment_amount")
)
else:
self.fetch_payment_terms_from_order(po_or_so, doctype)
self.ignore_default_payment_terms_template = 1

def get_order_details(self):
if self.doctype == "Sales Invoice":
Expand Down

0 comments on commit 4d47bb1

Please sign in to comment.