fix: No permission to read doctype

(cherry picked from commit c0da948a4e)
This commit is contained in:
Nabin Hait
2022-09-15 11:27:35 +05:30
committed by Mergify
parent 3691eec66c
commit 8e1c0cd234

View File

@@ -22,8 +22,7 @@ def get_columns():
{ {
"label": _("Payment Document Type"), "label": _("Payment Document Type"),
"fieldname": "payment_document_type", "fieldname": "payment_document_type",
"fieldtype": "Link", "fieldtype": "Data",
"options": "Doctype",
"width": 130, "width": 130,
}, },
{ {
@@ -33,15 +32,15 @@ def get_columns():
"options": "payment_document_type", "options": "payment_document_type",
"width": 140, "width": 140,
}, },
{"label": _("Posting Date"), "fieldname": "posting_date", "fieldtype": "Date", "width": 100}, {"label": _("Posting Date"), "fieldname": "posting_date", "fieldtype": "Date", "width": 120},
{"label": _("Cheque/Reference No"), "fieldname": "cheque_no", "width": 120}, {"label": _("Cheque/Reference No"), "fieldname": "cheque_no", "width": 120},
{"label": _("Clearance Date"), "fieldname": "clearance_date", "fieldtype": "Date", "width": 100}, {"label": _("Clearance Date"), "fieldname": "clearance_date", "fieldtype": "Date", "width": 120},
{ {
"label": _("Against Account"), "label": _("Against Account"),
"fieldname": "against", "fieldname": "against",
"fieldtype": "Link", "fieldtype": "Link",
"options": "Account", "options": "Account",
"width": 170, "width": 200,
}, },
{"label": _("Amount"), "fieldname": "amount", "fieldtype": "Currency", "width": 120}, {"label": _("Amount"), "fieldname": "amount", "fieldtype": "Currency", "width": 120},
] ]