mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 08:54:45 +00:00
chore: fix linters issue
This commit is contained in:
@@ -635,7 +635,9 @@ def _get_item_tax_template(args, taxes, out=None, for_validate=False):
|
|||||||
taxes_with_no_validity = []
|
taxes_with_no_validity = []
|
||||||
|
|
||||||
for tax in taxes:
|
for tax in taxes:
|
||||||
disabled, tax_company = frappe.get_cached_value("Item Tax Template", tax.item_tax_template, ["disabled", "company"])
|
disabled, tax_company = frappe.get_cached_value(
|
||||||
|
"Item Tax Template", tax.item_tax_template, ["disabled", "company"]
|
||||||
|
)
|
||||||
if not disabled and tax_company == args["company"]:
|
if not disabled and tax_company == args["company"]:
|
||||||
if tax.valid_from or tax.maximum_net_rate:
|
if tax.valid_from or tax.maximum_net_rate:
|
||||||
# In purchase Invoice first preference will be given to supplier invoice date
|
# In purchase Invoice first preference will be given to supplier invoice date
|
||||||
|
|||||||
Reference in New Issue
Block a user