Skip to content

Commit

Permalink
Merge branch 'develop' into refactor-batch
Browse files Browse the repository at this point in the history
  • Loading branch information
s-aga-r authored Apr 8, 2023
2 parents 4a9a5f0 + ba553db commit 299fb26
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions erpnext/stock/doctype/item/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ def validate(self):
self.validate_auto_reorder_enabled_in_stock_settings()
self.cant_change()
self.validate_item_tax_net_rate_range()
set_item_tax_from_hsn_code(self)

if not self.is_new():
self.old_item_group = frappe.db.get_value(self.doctype, self.name, "item_group")
Expand Down Expand Up @@ -1316,11 +1315,6 @@ def update_variants(variants, template, publish_progress=True):
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:
for item_default in item_defaults:
for doctype, field in [
Expand Down

0 comments on commit 299fb26

Please sign in to comment.