mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-03 13:38:27 +00:00
[perpetual accounting] make gl entries relevant for different transactions
This commit is contained in:
@@ -34,7 +34,7 @@ class AccountsController(TransactionBase):
|
||||
self.set_total_in_words()
|
||||
|
||||
self.validate_for_freezed_account()
|
||||
|
||||
|
||||
def set_missing_values(self, for_validate=False):
|
||||
for fieldname in ["posting_date", "transaction_date"]:
|
||||
if not self.doc.fields.get(fieldname) and self.meta.get_field(fieldname):
|
||||
@@ -410,7 +410,6 @@ class AccountsController(TransactionBase):
|
||||
def get_company_default(self, fieldname):
|
||||
from accounts.utils import get_company_default
|
||||
return get_company_default(self.doc.company, fieldname)
|
||||
|
||||
|
||||
def get_stock_items(self):
|
||||
stock_items = []
|
||||
|
||||
Reference in New Issue
Block a user