mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 06:29:20 +00:00
fix: Linting Issues
(cherry picked from commit e7e2ce1271)
# Conflicts:
# erpnext/accounts/doctype/tax_withholding_category/tax_withholding_category.py
# erpnext/patches/v13_0/update_dates_in_tax_withholding_category.py
This commit is contained in:
@@ -5,7 +5,11 @@
|
|||||||
import frappe
|
import frappe
|
||||||
from frappe import _
|
from frappe import _
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
<<<<<<< HEAD
|
||||||
from frappe.utils import cint, flt, getdate
|
from frappe.utils import cint, flt, getdate
|
||||||
|
=======
|
||||||
|
from frappe.utils import cint, getdate
|
||||||
|
>>>>>>> e7e2ce1271 (fix: Linting Issues)
|
||||||
|
|
||||||
|
|
||||||
class TaxWithholdingCategory(Document):
|
class TaxWithholdingCategory(Document):
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
import frappe
|
import frappe
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
|
<<<<<<< HEAD
|
||||||
|
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
@@ -27,8 +28,12 @@ def execute():
|
|||||||
"Tax Withholding Rate", rate.name, {"from_date": from_date, "to_date": to_date}
|
"Tax Withholding Rate", rate.name, {"from_date": from_date, "to_date": to_date}
|
||||||
)
|
)
|
||||||
=======
|
=======
|
||||||
|
=======
|
||||||
|
|
||||||
|
>>>>>>> e7e2ce1271 (fix: Linting Issues)
|
||||||
from erpnext.accounts.utils import get_fiscal_year
|
from erpnext.accounts.utils import get_fiscal_year
|
||||||
|
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
frappe.reload_doc('accounts', 'doctype', 'Tax Withholding Rate')
|
frappe.reload_doc('accounts', 'doctype', 'Tax Withholding Rate')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user