Skip to content

Commit

Permalink
chore: changed function name
Browse files Browse the repository at this point in the history
  • Loading branch information
ljain112 committed Sep 23, 2024
1 parent 78b5c73 commit 390f7ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ def get_gl_entries(self, warehouse_account=None):

self.make_tax_gl_entries(gl_entries)
self.make_internal_transfer_gl_entries(gl_entries)
self.make_gl_entries_for_tax_withholding(gl_entries)
self.make_tax_withholding_gl_entries(gl_entries)

gl_entries = make_regional_gl_entries(gl_entries, self)

Expand Down Expand Up @@ -1432,7 +1432,7 @@ def make_internal_transfer_gl_entries(self, gl_entries):
)
)

def make_gl_entries_for_tax_withholding(self, gl_entries):
def make_tax_withholding_gl_entries(self, gl_entries):
"""
Tax withholding amount is not part of supplier invoice.
Separate supplier GL Entry for correct reporting.
Expand Down

0 comments on commit 390f7ad

Please sign in to comment.