fix: report column widths

This commit is contained in:
Rucha Mahabal
2021-04-25 20:29:14 +05:30
parent e63f3b2f36
commit 2a25c7505e

View File

@@ -133,14 +133,14 @@ def get_columns():
"label": _("Sales Invoice"), "label": _("Sales Invoice"),
"fieldtype": "Link", "fieldtype": "Link",
"options": "Sales Invoice", "options": "Sales Invoice",
"width": 180 "width": 120
}, },
{ {
"fieldname": "timesheet", "fieldname": "timesheet",
"label": _("Timesheet"), "label": _("Timesheet"),
"fieldtype": "Link", "fieldtype": "Link",
"options": "Timesheet", "options": "Timesheet",
"width": 130 "width": 120
}, },
{ {
"fieldname": "project", "fieldname": "project",
@@ -174,37 +174,37 @@ def get_columns():
"fieldname": "utilization", "fieldname": "utilization",
"label": _("Utilization"), "label": _("Utilization"),
"fieldtype": "Percentage", "fieldtype": "Percentage",
"width": 120 "width": 100
}, },
{ {
"fieldname": "fractional_cost", "fieldname": "fractional_cost",
"label": _("Fractional Cost"), "label": _("Fractional Cost"),
"fieldtype": "Int", "fieldtype": "Int",
"width": 100 "width": 120
}, },
{ {
"fieldname": "total_billed_hours", "fieldname": "total_billed_hours",
"label": _("Total Billed Hours"), "label": _("Total Billed Hours"),
"fieldtype": "Int", "fieldtype": "Int",
"width": 100 "width": 150
}, },
{ {
"fieldname": "start_date", "fieldname": "start_date",
"label": _("Start Date"), "label": _("Start Date"),
"fieldtype": "Date", "fieldtype": "Date",
"width": 120 "width": 100
}, },
{ {
"fieldname": "end_date", "fieldname": "end_date",
"label": _("End Date"), "label": _("End Date"),
"fieldtype": "Date", "fieldtype": "Date",
"width": 120 "width": 100
}, },
{ {
"label": _("Currency"), "label": _("Currency"),
"fieldname": "currency", "fieldname": "currency",
"fieldtype": "Link", "fieldtype": "Link",
"options": "Currency", "options": "Currency",
"width": 100 "width": 80
} }
] ]