refactor!: drop e-invoicing integration from erpnext (#26940)

This commit is contained in:
Saqib
2021-08-20 11:10:46 +05:30
committed by GitHub
parent 153fe1cdb4
commit c335962827
41 changed files with 24 additions and 2506 deletions

View File

@@ -135,14 +135,9 @@ class AccountsController(TransactionBase):
validate_regional(self)
validate_einvoice_fields(self)
if self.doctype != 'Material Request':
apply_pricing_rule_on_transaction(self)
def before_cancel(self):
validate_einvoice_fields(self)
def on_trash(self):
# delete sl and gl entries on deletion of transaction
if frappe.db.get_single_value('Accounts Settings', 'delete_linked_ledger_entries'):
@@ -1975,7 +1970,3 @@ def update_child_qty_rate(parent_doctype, trans_items, parent_doctype_name, chil
@erpnext.allow_regional
def validate_regional(doc):
pass
@erpnext.allow_regional
def validate_einvoice_fields(doc):
pass