{"en_US": "<t name=\"Tasks List\" t-name=\"project.portal_tasks_list\">\n        <t t-if=\"grouped_tasks\">\n            <t t-call=\"portal.portal_table\">\n                <thead>\n                    <tr>\n                        <!-- Allows overrides in modules -->\n                        <t t-set=\"group_by_in_header_list\" t-value=\"['priority', 'status', 'project', 'stage', 'milestone']\"/>\n                        <t t-set=\"number_of_header\" t-value=\"8\"/>\n                        <!-- Computes the right colspan once and use it everywhere -->\n                        <t t-set=\"grouped_tasks_colspan\" t-value=\"number_of_header - 1 if groupby in group_by_in_header_list else number_of_header\"/>\n                        <t t-set=\"grouped_tasks_colspan\" t-value=\"grouped_tasks_colspan if allow_milestone else grouped_tasks_colspan - 1\"/>\n                        <th t-attf-colspan=\"{{2 if groupby != 'priority' else 1}}\"/>\n                        <th>Name</th>\n                        <th>Assignees</th>\n                        <th t-if=\"groupby != 'milestone' and allow_milestone\" name=\"project_portal_milestones\">Milestone</th>\n                        <th t-if=\"groupby != 'status'\"/>\n                        <th t-if=\"groupby != 'project'\">Project</th>\n                        <th t-if=\"groupby != 'stage'\" class=\"text-end\">Stage</th>\n                    </tr>\n                </thead>\n                <t t-foreach=\"grouped_tasks\" t-as=\"tasks\">\n                    <tbody t-if=\"tasks\">\n                        <tr t-if=\"not groupby == 'none'\" class=\"table-light\">\n                            <th t-if=\"groupby == 'project'\" t-attf-colspan=\"{{grouped_tasks_colspan}}\">\n                                <!-- This div is necessary for documents_project_sale -->\n                                <div name=\"project_name\" class=\"d-flex w-100 align-items-center\">\n                                    <span t-field=\"tasks[0].sudo().project_id.name\"/>\n                                </div>\n                            </th>\n                            <th t-if=\"groupby == 'milestone'\" t-attf-colspan=\"{{grouped_tasks_colspan}}\">\n                                <span t-if=\"tasks[0].sudo().milestone_id and tasks[0].sudo().allow_milestones\" class=\"text-truncate\" t-field=\"tasks[0].sudo().milestone_id.name\"/>\n                                <span t-else=\"\">No Milestone</span>\n                            </th>\n                            <th t-if=\"groupby == 'stage'\" t-attf-colspan=\"{{grouped_tasks_colspan}}\">\n                                <span class=\"text-truncate\" t-field=\"tasks[0].sudo().stage_id.name\"/></th>\n                            <th t-if=\"groupby == 'priority'\" t-attf-colspan=\"{{grouped_tasks_colspan}}\">\n                                <span class=\"text-truncate\" t-field=\"tasks[0].sudo().priority\"/></th>\n                            <th t-if=\"groupby == 'status'\" t-attf-colspan=\"{{grouped_tasks_colspan}}\">\n                                <span class=\"text-truncate\" t-field=\"tasks[0].sudo().kanban_state\"/></th>\n                            <th t-if=\"groupby == 'customer'\" t-attf-colspan=\"{{grouped_tasks_colspan}}\">\n                                <span t-if=\"tasks[0].sudo().partner_id\" class=\"text-truncate\" t-field=\"tasks[0].sudo().partner_id.name\"/>\n                                <span t-else=\"\">No Customer</span>\n                            </th>\n                        </tr>\n                    </tbody>\n                    <tbody t-if=\"tasks\">\n                        <t t-foreach=\"tasks\" t-as=\"task\">\n                            <tr>\n                                <td class=\"text-start\">\n                                    #<span t-esc=\"task.id\"/>\n                                </td>\n                                <td t-if=\"groupby != 'priority'\" class=\"text-end\">\n                                    <t t-call=\"project.portal_my_tasks_priority_widget_template\"/>\n                                </td>\n                                <td>\n                                    <a t-attf-href=\"/my/#{task_url}/#{task.id}?{{ keep_query() }}\"><span t-field=\"task.name\"/></a>\n                                </td>\n                                <td>\n                                    <t t-set=\"assignees\" t-value=\"task.sudo().user_ids\"/>\n                                    <div t-if=\"assignees\" class=\"row flex-nowrap ps-3\">\n                                        <img class=\"rounded-circle o_portal_contact_img me-2 px-0\" t-attf-src=\"#{image_data_uri(assignees[:1].avatar_128)}\" alt=\"User\" style=\"width: 20px; height: 20px;\"/>\n                                        <span t-out=\"'%s%s' % (assignees[:1].name, ' + %s others' % len(assignees[1:]) if len(assignees.user_ids) &gt; 1 else '')\" t-att-title=\"'\\n'.join(assignees.mapped('name'))\"/>\n                                    </div>\n                                </td>\n                                <td t-if=\"groupby != 'milestone' and allow_milestone\" name=\"project_portal_milestones\">\n                                    <t t-if=\"task.milestone_id and task.allow_milestones\">\n                                        <span t-esc=\"task.milestone_id.name\"/>\n                                    </t>\n                                </td>\n                                <td t-if=\"groupby != 'status'\" align=\"right\">\n                                    <t t-call=\"project.portal_my_tasks_state_widget_template\">\n                                        <t t-set=\"path\" t-value=\"'tasks'\"/>\n                                    </t>\n                                </td>\n                                <td t-if=\"groupby != 'project'\">\n                                    <span class=\"badge rounded-pill text-bg-info mw-100 text-truncate\" title=\"Current project of the task\" t-esc=\"task.project_id.name\"/>\n                                </td>\n                                <td t-if=\"groupby != 'stage'\" class=\"text-end\">\n                                    <span t-attf-class=\"badge #{'text-bg-primary' if task.stage_id.fold else 'text-bg-light'}\" title=\"Current stage of the task\" t-esc=\"task.stage_id.name\"/>\n                                </td>\n                            </tr>\n                        </t>\n                    </tbody>\n                </t>\n            </t>\n        </t>\n    </t>", "vi_VN": "<t name=\"Tasks List\" t-name=\"project.portal_tasks_list\">\n        <t t-if=\"grouped_tasks\">\n            <t t-call=\"portal.portal_table\">\n                <thead>\n                    <tr>\n                        <!-- Allows overrides in modules -->\n                        <t t-set=\"group_by_in_header_list\" t-value=\"['priority', 'status', 'project', 'stage', 'milestone']\"/>\n                        <t t-set=\"number_of_header\" t-value=\"8\"/>\n                        <!-- Computes the right colspan once and use it everywhere -->\n                        <t t-set=\"grouped_tasks_colspan\" t-value=\"number_of_header - 1 if groupby in group_by_in_header_list else number_of_header\"/>\n                        <t t-set=\"grouped_tasks_colspan\" t-value=\"grouped_tasks_colspan if allow_milestone else grouped_tasks_colspan - 1\"/>\n                        <th t-attf-colspan=\"{{2 if groupby != 'priority' else 1}}\"/>\n                        <th>Tên</th>\n                        <th>Người được phân công</th>\n                        <th t-if=\"groupby != 'milestone' and allow_milestone\" name=\"project_portal_milestones\">Mốc thời gian</th>\n                        <th t-if=\"groupby != 'status'\"/>\n                        <th t-if=\"groupby != 'project'\">Dự án</th>\n                        <th t-if=\"groupby != 'stage'\" class=\"text-end\">Giai đoạn</th>\n                    </tr>\n                </thead>\n                <t t-foreach=\"grouped_tasks\" t-as=\"tasks\">\n                    <tbody t-if=\"tasks\">\n                        <tr t-if=\"not groupby == 'none'\" class=\"table-light\">\n                            <th t-if=\"groupby == 'project'\" t-attf-colspan=\"{{grouped_tasks_colspan}}\">\n                                <!-- This div is necessary for documents_project_sale -->\n                                <div name=\"project_name\" class=\"d-flex w-100 align-items-center\">\n                                    <span t-field=\"tasks[0].sudo().project_id.name\"/>\n                                </div>\n                            </th>\n                            <th t-if=\"groupby == 'milestone'\" t-attf-colspan=\"{{grouped_tasks_colspan}}\">\n                                <span t-if=\"tasks[0].sudo().milestone_id and tasks[0].sudo().allow_milestones\" class=\"text-truncate\" t-field=\"tasks[0].sudo().milestone_id.name\"/>\n                                <span t-else=\"\">Không có mốc thời gian</span>\n                            </th>\n                            <th t-if=\"groupby == 'stage'\" t-attf-colspan=\"{{grouped_tasks_colspan}}\">\n                                <span class=\"text-truncate\" t-field=\"tasks[0].sudo().stage_id.name\"/></th>\n                            <th t-if=\"groupby == 'priority'\" t-attf-colspan=\"{{grouped_tasks_colspan}}\">\n                                <span class=\"text-truncate\" t-field=\"tasks[0].sudo().priority\"/></th>\n                            <th t-if=\"groupby == 'status'\" t-attf-colspan=\"{{grouped_tasks_colspan}}\">\n                                <span class=\"text-truncate\" t-field=\"tasks[0].sudo().kanban_state\"/></th>\n                            <th t-if=\"groupby == 'customer'\" t-attf-colspan=\"{{grouped_tasks_colspan}}\">\n                                <span t-if=\"tasks[0].sudo().partner_id\" class=\"text-truncate\" t-field=\"tasks[0].sudo().partner_id.name\"/>\n                                <span t-else=\"\">Không có khách hàng</span>\n                            </th>\n                        </tr>\n                    </tbody>\n                    <tbody t-if=\"tasks\">\n                        <t t-foreach=\"tasks\" t-as=\"task\">\n                            <tr>\n                                <td class=\"text-start\">\n                                    #<span t-esc=\"task.id\"/>\n                                </td>\n                                <td t-if=\"groupby != 'priority'\" class=\"text-end\">\n                                    <t t-call=\"project.portal_my_tasks_priority_widget_template\"/>\n                                </td>\n                                <td>\n                                    <a t-attf-href=\"/my/#{task_url}/#{task.id}?{{ keep_query() }}\"><span t-field=\"task.name\"/></a>\n                                </td>\n                                <td>\n                                    <t t-set=\"assignees\" t-value=\"task.sudo().user_ids\"/>\n                                    <div t-if=\"assignees\" class=\"row flex-nowrap ps-3\">\n                                        <img class=\"rounded-circle o_portal_contact_img me-2 px-0\" t-attf-src=\"#{image_data_uri(assignees[:1].avatar_128)}\" alt=\"Người dùng\" style=\"width: 20px; height: 20px;\"/>\n                                        <span t-out=\"'%s%s' % (assignees[:1].name, ' + %s others' % len(assignees[1:]) if len(assignees.user_ids) &gt; 1 else '')\" t-att-title=\"'\\n'.join(assignees.mapped('name'))\"/>\n                                    </div>\n                                </td>\n                                <td t-if=\"groupby != 'milestone' and allow_milestone\" name=\"project_portal_milestones\">\n                                    <t t-if=\"task.milestone_id and task.allow_milestones\">\n                                        <span t-esc=\"task.milestone_id.name\"/>\n                                    </t>\n                                </td>\n                                <td t-if=\"groupby != 'status'\" align=\"right\">\n                                    <t t-call=\"project.portal_my_tasks_state_widget_template\">\n                                        <t t-set=\"path\" t-value=\"'tasks'\"/>\n                                    </t>\n                                </td>\n                                <td t-if=\"groupby != 'project'\">\n                                    <span class=\"badge rounded-pill text-bg-info mw-100 text-truncate\" title=\"Dự án hiện tại của nhiệm vụ\" t-esc=\"task.project_id.name\"/>\n                                </td>\n                                <td t-if=\"groupby != 'stage'\" class=\"text-end\">\n                                    <span t-attf-class=\"badge #{'text-bg-primary' if task.stage_id.fold else 'text-bg-light'}\" title=\"Tình trạng hiện tại của tác vụ\" t-esc=\"task.stage_id.name\"/>\n                                </td>\n                            </tr>\n                        </t>\n                    </tbody>\n                </t>\n            </t>\n        </t>\n    </t>"}