refactor: remove unused function 'get_postings'

This commit is contained in:
ruthra 2021-12-14 16:34:51 +05:30
parent c3453cd73c
commit a8a598ace7

View File

@ -181,12 +181,6 @@ class Deferred_Invoice(object):
for item in self.uniq_items:
self.items.append(Deferred_Item(item, self, [x for x in items if x.item == item]))
def get_postings(self):
"""
get GL/Journal postings for deferred items in invoice
"""
[item.get_gl_and_journal_postings() for item in self.items]
def calculate_invoice_revenue_expense_for_period(self):
"""
calculate deferred revenue/expense for all items in invoice