mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-07 20:42:50 +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_defaults = frappe.db.get_values(
|
||||||
"Item Default",
|
"Item Default",
|
||||||
{"parent": self.item_group},
|
{
|
||||||
|
"parent": self.item_group,
|
||||||
|
"parenttype": "Item Group",
|
||||||
|
},
|
||||||
[
|
[
|
||||||
"company",
|
"company",
|
||||||
"default_warehouse",
|
"default_warehouse",
|
||||||
|
|||||||
Reference in New Issue
Block a user