mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-16 19:24:21 +00:00
fix(item): avoid inheriting item defaults from identically named items (#49571)
This commit is contained in:
committed by
GitHub
parent
87a2774511
commit
9e58a56b5c
@@ -724,7 +724,10 @@ class Item(Document):
|
||||
|
||||
item_defaults = frappe.db.get_values(
|
||||
"Item Default",
|
||||
{"parent": self.item_group},
|
||||
{
|
||||
"parent": self.item_group,
|
||||
"parenttype": "Item Group",
|
||||
},
|
||||
[
|
||||
"company",
|
||||
"default_warehouse",
|
||||
|
||||
Reference in New Issue
Block a user