mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 21:59:13 +00:00
* fix(workspace): enable is_query_report on purchase reports * fix: resolved conflict --------- Co-authored-by: venkat102 <venkatesharunachalam659@gmail.com>
26 lines
452 B
Python
26 lines
452 B
Python
import frappe
|
|
|
|
|
|
def execute():
|
|
reports = [
|
|
"Accounts Payable",
|
|
"Accounts Payable Summary",
|
|
"Purchase Register",
|
|
"Item-wise Purchase Register",
|
|
"Purchase Order Analysis",
|
|
"Received Items To Be Billed",
|
|
"Supplier Ledger Summary",
|
|
]
|
|
frappe.db.set_value(
|
|
"Workspace Link",
|
|
{
|
|
"parent": "Payables",
|
|
"link_type": "Report",
|
|
"type": "Link",
|
|
"link_to": ["in", reports],
|
|
"is_query_report": 0,
|
|
},
|
|
"is_query_report",
|
|
1,
|
|
)
|