fix: removed manual enable-discount-account method
This commit is contained in:
parent
2c78cc2014
commit
02e17dbded
@ -3173,12 +3173,6 @@ class TestSalesInvoice(unittest.TestCase):
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def enable_discount_accounting(enable=1):
|
|
||||||
selling_settings = frappe.get_doc("Selling Settings")
|
|
||||||
selling_settings.enable_discount_accounting = enable
|
|
||||||
selling_settings.save()
|
|
||||||
|
|
||||||
|
|
||||||
def get_sales_invoice_for_e_invoice():
|
def get_sales_invoice_for_e_invoice():
|
||||||
si = make_sales_invoice_for_ewaybill()
|
si = make_sales_invoice_for_ewaybill()
|
||||||
si.naming_series = "INV-2020-.#####"
|
si.naming_series = "INV-2020-.#####"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user