Merge pull request #34739 from resilient-tech/item-tax-override-remove
chore!: remove override to set item tax based on HSN code
This commit is contained in:
commit
ba553dba62
@ -117,7 +117,6 @@ class Item(Document):
|
|||||||
self.validate_auto_reorder_enabled_in_stock_settings()
|
self.validate_auto_reorder_enabled_in_stock_settings()
|
||||||
self.cant_change()
|
self.cant_change()
|
||||||
self.validate_item_tax_net_rate_range()
|
self.validate_item_tax_net_rate_range()
|
||||||
set_item_tax_from_hsn_code(self)
|
|
||||||
|
|
||||||
if not self.is_new():
|
if not self.is_new():
|
||||||
self.old_item_group = frappe.db.get_value(self.doctype, self.name, "item_group")
|
self.old_item_group = frappe.db.get_value(self.doctype, self.name, "item_group")
|
||||||
@ -1316,11 +1315,6 @@ def update_variants(variants, template, publish_progress=True):
|
|||||||
frappe.publish_progress(count / total * 100, title=_("Updating Variants..."))
|
frappe.publish_progress(count / total * 100, title=_("Updating Variants..."))
|
||||||
|
|
||||||
|
|
||||||
@erpnext.allow_regional
|
|
||||||
def set_item_tax_from_hsn_code(item):
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def validate_item_default_company_links(item_defaults: List[ItemDefault]) -> None:
|
def validate_item_default_company_links(item_defaults: List[ItemDefault]) -> None:
|
||||||
for item_default in item_defaults:
|
for item_default in item_defaults:
|
||||||
for doctype, field in [
|
for doctype, field in [
|
||||||
|
Loading…
Reference in New Issue
Block a user