mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-26 01:58:31 +00:00
fix: consider table multiselect in delete transaction
(cherry picked from commit be3d2422a7)
This commit is contained in:
committed by
Mergify
parent
3744c32950
commit
38679d6d14
@@ -317,7 +317,9 @@ class TransactionDeletionRecord(Document):
|
|||||||
list: List of child table DocType names (Table field options)
|
list: List of child table DocType names (Table field options)
|
||||||
"""
|
"""
|
||||||
return frappe.get_all(
|
return frappe.get_all(
|
||||||
"DocField", filters={"parent": doctype_name, "fieldtype": "Table"}, pluck="options"
|
"DocField",
|
||||||
|
filters={"parent": doctype_name, "fieldtype": ["in", ["Table", "Table MultiSelect"]]},
|
||||||
|
pluck="options",
|
||||||
)
|
)
|
||||||
|
|
||||||
def _get_to_delete_row_infos(self, doctype_name, company_field=None, company=None):
|
def _get_to_delete_row_infos(self, doctype_name, company_field=None, company=None):
|
||||||
|
|||||||
Reference in New Issue
Block a user