{"en_US": "<kanban create=\"false\" class=\"oe_background_grey o_kanban_dashboard o_account_kanban\" banner_route=\"/account/account_dashboard_onboarding\" js_class=\"account_dashboard_kanban\">\n                <field name=\"id\"/>\n                <field name=\"name\"/>\n                <field name=\"type\"/>\n                <field name=\"color\"/>\n                <field name=\"show_on_dashboard\"/>\n                <field name=\"kanban_dashboard\"/>\n                <field name=\"activity_ids\"/>\n                <field name=\"activity_state\"/>\n                <field name=\"alias_domain\"/>\n                <templates>\n                    <t t-name=\"kanban-box\">\n                        <div t-attf-class=\"d-flex flex-column flex-fill\">\n                            <t t-value=\"JSON.parse(record.kanban_dashboard.raw_value)\" t-set=\"dashboard\"/>\n                            <t t-value=\"record.type.raw_value\" t-set=\"journal_type\"/>\n                            <t t-call=\"JournalTop\"/>\n                            <div t-att-class=\"'container o_kanban_card_content' + (dashboard.is_sample_data ? ' o_sample_data' : '')\">\n                                <div class=\"row\">\n                                    <t t-if=\"(journal_type == 'bank' || journal_type == 'cash')\" t-call=\"JournalBodyBankCash\"/>\n                                    <t t-if=\"journal_type == 'sale' || journal_type == 'purchase'\" t-call=\"JournalBodySalePurchase\"/>\n                                    <t t-if=\"journal_type == 'general'\" t-call=\"JournalMiscelaneous\"/>\n                                    <div class=\"col-12 col-sm-5 mb-3 mb-sm-0 o_kanban_primary_left\"/>\n                                    <div class=\"col-12 col-sm-7 o_kanban_primary_right\">\n                                        <t t-call=\"HasSequenceHoles\"/>\n                                    </div>\n                                </div>\n                                <div class=\"row mt-auto\">\n                                    <t t-if=\"['bank', 'cash', 'sale', 'purchase'].includes(journal_type)\" t-call=\"JournalBodyGraph\"/>\n                                </div>\n                            </div>\n                            <div class=\"container o_kanban_card_manage_pane dropdown-menu\" role=\"menu\">\n                                <t t-call=\"JournalManage\"/>\n                            </div>\n                        </div>\n                    </t>\n\n                    <t t-name=\"JournalTop\">\n                        <div t-attf-class=\"o_kanban_card_header\">\n                            <div class=\"o_kanban_card_header_title\">\n                                <div class=\"o_primary\">\n                                    <a type=\"object\" name=\"open_action\"><field name=\"name\"/></a>\n                                    <t t-if=\"dashboard.company_count &gt; 1\">\n                                        <span groups=\"base.group_multi_company\" class=\"small\">- <field name=\"company_id\"/></span>\n                                    </t>\n                                </div>\n                                <div class=\"o_secondary\" t-att-title=\"dashboard.title\" t-if=\"journal_type == 'purchase' &amp;&amp; record.alias_domain.raw_value\">\n                                    <field name=\"alias_id\"/>\n                                </div>\n                            </div>\n                            <div class=\"o_kanban_manage_button_section\">\n                                <a class=\"o_kanban_manage_toggle_button\" href=\"#\"><i class=\"fa fa-ellipsis-v\" aria-label=\"Selection\" role=\"img\" title=\"Selection\"/></a>\n                            </div>\n                        </div>\n                    </t>\n\n                    <t t-name=\"HasSequenceHoles\">\n                        <a t-if=\"dashboard.has_sequence_holes\" name=\"show_sequence_holes\" type=\"object\" class=\"text-warning\" title=\"Gaps due to canceled invoices, deleted entries or manual errors in open period.\">\n                            Gaps in the sequence\n                        </a>\n                    </t>\n\n                    <t t-name=\"JournalManage\">\n\n                        <!-- For bank and cash -->\n                        <div t-if=\"journal_type == 'bank' || journal_type == 'cash'\" class=\"row\">\n                             <div class=\"col-4 o_kanban_card_manage_section o_kanban_manage_view\">\n                                <div id=\"card_action_view_menus\" class=\"o_kanban_card_manage_title\">\n                                    <span role=\"separator\">View</span>\n                                </div>\n                                <div id=\"action_card_statements\">\n                                    <a t-if=\"journal_type == 'bank'\" role=\"menuitem\" type=\"object\" name=\"open_action_with_context\" context=\"{'action_name': 'action_bank_statement_tree', 'search_default_journal': True}\">Statements</a>\n                                    <a t-if=\"journal_type == 'cash'\" role=\"menuitem\" type=\"object\" name=\"open_action_with_context\" context=\"{'action_name': 'action_view_bank_statement_tree', 'search_default_journal': True}\">Statements</a>\n                                </div>\n                                <div>\n                                    <a role=\"menuitem\" type=\"object\" name=\"open_collect_money\">Cust. Payments</a>\n                                </div>\n                                <div>\n                                    <a role=\"menuitem\" type=\"object\" name=\"open_spend_money\">Vendor Payments</a>\n                                </div>\n                                <div>\n                                    <a role=\"menuitem\" type=\"object\" name=\"open_transfer_money\">Internal Transfers</a>\n                                </div>\n                                <div>\n                                    <a role=\"menuitem\" type=\"object\" name=\"open_action\" context=\"{'action_name': 'action_account_moves_all_a'}\">Journal Items</a>\n                                </div>\n                            </div>\n\n                             <div class=\"col-4 o_kanban_card_manage_section o_kanban_manage_new\" groups=\"account.group_account_user\">\n                                <div class=\"o_kanban_card_manage_title\">\n                                    <span role=\"separator\">New</span>\n                                </div>\n                                <div name=\"bank_customer_payment\">\n                                    <a role=\"menuitem\" type=\"object\" name=\"create_customer_payment\">Cust. Payment</a>\n                                </div>\n                                <div>\n                                    <a role=\"menuitem\" type=\"object\" name=\"create_supplier_payment\">Vendor Payment</a>\n                                </div>\n                                <div>\n                                    <a role=\"menuitem\" type=\"object\" name=\"create_internal_transfer\">Internal Transfer</a>\n                                </div>\n                            </div>\n\n                             <div class=\"col-4 o_kanban_card_manage_section o_kanban_manage_reconciliation\">\n                                <div class=\"o_kanban_card_manage_title\">\n                                    <span role=\"separator\">Reconciliation</span>\n                                </div>\n                                <div>\n                                    <a role=\"menuitem\" type=\"object\" name=\"open_action_with_context\" context=\"{'action_name': 'action_account_reconcile_model', 'use_domain': ['|', ('match_journal_ids', '=', False), ('match_journal_ids', 'in', active_id)]}\" groups=\"account.group_account_manager\">Reconciliation Models</a>\n                                </div>\n                            </div>\n                        </div>\n\n                        <!-- For purchase and sale -->\n                        <div t-if=\"journal_type == 'purchase' || journal_type == 'sale'\" class=\"row\">\n                             <div class=\"col-4 o_kanban_card_manage_section o_kanban_manage_view\">\n                                <div class=\"o_kanban_card_manage_title\">\n                                    <span>View</span>\n                                </div>\n                                <div>\n                                    <a t-if=\"journal_type == 'sale'\" type=\"object\" name=\"open_action\" context=\"{'action_name': 'action_move_out_invoice_type'}\">Invoices</a>\n                                    <a t-if=\"journal_type == 'purchase'\" type=\"object\" name=\"open_action\" context=\"{'action_name': 'action_move_in_invoice_type'}\">Bills</a>\n                                </div>\n                                <div id=\"sale_purchase_refund\">\n                                    <a t-if=\"journal_type == 'sale'\" type=\"object\" name=\"open_action\" context=\"{'action_name': 'action_move_out_refund_type'}\">Credit Notes</a>\n                                    <a t-if=\"journal_type == 'purchase'\" type=\"object\" name=\"open_action\" context=\"{'action_name': 'action_move_in_refund_type'}\">Refund</a>\n                                </div>\n                                <div>\n                                    <a type=\"object\" name=\"open_action\" context=\"{'action_name': 'action_account_moves_all_a'}\" groups=\"base.group_no_one\">Journal Items</a>\n                                </div>\n                            </div>\n\n                             <div class=\"col-4 o_kanban_card_manage_section o_kanban_manage_new\" groups=\"account.group_account_invoice\">\n                                <div class=\"o_kanban_card_manage_title\">\n                                    <span>New</span>\n                                </div>\n                                <div>\n                                    <a type=\"object\" name=\"action_create_new\">\n                                        <span t-if=\"journal_type == 'sale'\">Invoice</span>\n                                        <span t-if=\"journal_type == 'purchase'\">Bill</span>\n                                    </a>\n                                </div>\n                                <div>\n                                    <a type=\"object\" name=\"action_create_new\" context=\"{'refund':True}\">\n                                        <span t-if=\"journal_type == 'sale'\">Credit Note</span>\n                                        <span t-if=\"journal_type == 'purchase'\">Refund</span>\n                                    </a>\n                                </div>\n                                <div t-if=\"journal_type == 'sale'\">\n                                    <widget name=\"account_file_uploader\" title=\"Upload Invoices\" btnClass=\"file_upload_kanban_action_a\"/>\n                                </div>\n                            </div>\n\n                             <div class=\"col-4 o_kanban_card_manage_section o_kanban_manage_reports\">\n                                <div class=\"o_kanban_card_manage_title\">\n                                    <span>Reporting</span>\n                                </div>\n                                <div>\n                                    <a t-if=\"journal_type == 'sale'\" type=\"action\" name=\"267\" groups=\"account.group_account_readonly\">Invoices Analysis</a>\n                                    <a t-if=\"journal_type == 'purchase'\" type=\"action\" name=\"266\" groups=\"account.group_account_readonly\">Bills Analysis</a>\n                                </div>\n                            </div>\n                        </div>\n\n                        <!-- For general and situation -->\n                        <div t-if=\"journal_type == 'general' || journal_type == 'situation'\" class=\"row\">\n                             <div class=\"col-4 o_kanban_card_manage_section o_kanban_manage_view\">\n                                <div class=\"o_kanban_card_manage_title\">\n                                    <span>View</span>\n                                </div>\n                                <div>\n                                    <a type=\"object\" name=\"open_action\" context=\"{'action_name': 'action_move_journal_line'}\">Journal Entries</a>\n                                </div>\n                                <div>\n                                    <a type=\"object\" name=\"open_action\" context=\"{'action_name': 'action_move_journal_line', 'search_default_unposted': 1}\">Entries to Review</a>\n                                </div>\n                                <div>\n                                    <a type=\"object\" name=\"open_action\" context=\"{'action_name': 'action_account_moves_all_a'}\" groups=\"base.group_no_one\">Journal Items</a>\n                                </div>\n                            </div>\n\n                             <div class=\"col-4 o_kanban_card_manage_section o_kanban_manage_new\" groups=\"account.group_account_user\">\n                                <div class=\"o_kanban_card_manage_title\">\n                                    <span>New</span>\n                                </div>\n                                <div>\n                                    <a type=\"object\" name=\"action_create_new\">Journal Entry</a>\n                                </div>\n                            </div>\n\n                             <div class=\"col-4 o_kanban_card_manage_section o_kanban_manage_operations\">\n                                <div class=\"o_kanban_card_manage_title\">\n                                    <span>Operations</span>\n                                </div>\n                                <div>\n                                    <a type=\"object\" name=\"open_action_with_context\" context=\"{'action_name': 'action_validate_account_move', 'search_default_journal': True}\" groups=\"account.group_account_user\">Post All Entries</a>\n                                </div>\n                            </div>\n                        </div>\n\n                        <div t-if=\"widget.editable\" class=\"o_kanban_card_manage_settings row\">\n                            <div class=\"col-8\">\n                                <ul class=\"oe_kanban_colorpicker\" data-field=\"color\"/>\n                            </div>\n                        </div>\n\n                        <div groups=\"account.group_account_manager\" class=\"row o_kanban_card_manage_settings\">\n                            <div class=\"col-6 position-relative\">\n                                <field name=\"show_on_dashboard\" widget=\"boolean_favorite\"/>\n                            </div>\n                            <div class=\"col-6 text-end mt-1\">\n                                <a class=\"dropdown-item\" t-if=\"widget.editable\" type=\"edit\">Configuration</a>\n                            </div>\n                        </div>\n                    </t>\n\n                    <t t-name=\"JournalMiscelaneous\">\n                        <div class=\"col-12 col-sm-4 mb-3 mb-sm-0 o_kanban_primary_left\">\n                            <button id=\"new_misc_entry_button\" type=\"object\" name=\"action_create_new\" class=\"btn btn-primary\" groups=\"account.group_account_invoice\">\n                                <span>New Entry</span>\n                            </button>\n                        </div>\n                        <div class=\"col-12 col-sm-8 o_kanban_primary_right\">\n                            <field name=\"json_activity_data\" widget=\"kanban_vat_activity\"/>\n                            <t t-if=\"dashboard.number_to_check &gt; 0\">\n                                <div class=\"row\">\n                                    <div class=\"col overflow-hidden text-start\">\n                                        <a type=\"object\" name=\"open_action\" context=\"{'action_name': 'action_move_journal_line', 'search_default_to_check': True}\"><t t-esc=\"dashboard.number_to_check\"/> to check</a>\n                                    </div>\n                                    <div class=\"col-auto text-end\">\n                                        <span class=\"o_kanban_monetary\"><t t-esc=\"dashboard.to_check_balance\"/></span>\n                                    </div>\n                                </div>\n                            </t>\n                        </div>\n                    </t>\n\n                    <t t-name=\"JournalBodyBankCash\">\n                        <!-- On the left, display :\n                            - A button corresponding to the bank_statements_source, if it wasn't configured, a button for each of them\n                            - If there are statements to reconcile, a link to reconcile them -->\n                        <div id=\"dashboard_bank_cash_left\" class=\"col-12 col-sm-5 mb-3 mb-sm-0 o_kanban_primary_left\">\n                            <t t-if=\"journal_type == 'bank'\">\n                                <t t-if=\"dashboard.bank_statements_source == 'undefined'\">\n                                    <a t-if=\"dashboard.number_to_reconcile &gt; 0\" name=\"action_configure_bank_journal\" type=\"object\" class=\"oe_inline\" groups=\"account.group_account_invoice\">Connect</a>\n                                    <button t-if=\"dashboard.number_to_reconcile == 0\" name=\"action_configure_bank_journal\" type=\"object\" class=\"btn btn-primary\" groups=\"account.group_account_invoice\">Connect</button>\n                                </t>\n                                <div name=\"bank_journal_cta\" class=\"mt-3 mt-sm-0\"/>\n                            </t>\n                            <t t-if=\"journal_type == 'cash'\">\n                                <a t-if=\"dashboard.number_to_reconcile &gt; 0\" type=\"object\" name=\"create_cash_statement\" class=\"oe_inline\" groups=\"account.group_account_invoice\">New Transaction</a>\n                                <button t-if=\"dashboard.number_to_reconcile == 0\" type=\"object\" name=\"create_cash_statement\" class=\"btn btn-primary\" groups=\"account.group_account_invoice\">New Transaction</button>\n                            </t>\n                        </div>\n                        <!-- On the right, show other common informations/actions -->\n                        <div id=\"dashboard_bank_cash_right\" class=\"col-12 col-sm-7 o_kanban_primary_right\">\n                            <div class=\"row\" t-if=\"dashboard.nb_lines_bank_account_balance &gt; 0\">\n                                <div id=\"dashboard_bank_cash_balance\" class=\"col overflow-hidden text-start\">\n                                    <span>Running Balance</span>\n                                </div>\n                                <div class=\"col-auto text-end\">\n                                    <span class=\"o_kanban_monetary\"><t t-esc=\"dashboard.account_balance\"/></span>\n                                </div>\n                            </div>\n                            <div class=\"row\" t-if=\"dashboard.nb_lines_outstanding_pay_account_balance &gt; 0\">\n                                <div id=\"dashboard_bank_cash_outstanding_balance\" class=\"col overflow-hidden text-start\">\n                                    <span title=\"Outstanding Payments/Receipts\">Outstanding Payments/Receipts</span>\n                                </div>\n                                <div class=\"col-auto text-end\">\n                                    <span class=\"o_kanban_monetary\"><t t-esc=\"dashboard.outstanding_pay_account_balance\"/></span>\n                                </div>\n                            </div>\n                            <t t-if=\"dashboard.has_at_least_one_statement and dashboard.account_balance != dashboard.last_balance\">\n                                <div class=\"row\" name=\"latest_statement\">\n                                    <div class=\"col overflow-hidden text-start\">\n                                        <span title=\"Latest Statement\">Latest Statement</span>\n                                    </div>\n                                    <div class=\"col-auto text-end\">\n                                        <span class=\"o_kanban_monetary\"><t t-esc=\"dashboard.last_balance\"/></span>\n                                    </div>\n                                </div>\n                            </t>\n                        </div>\n                    </t>\n                    <t t-name=\"JournalBodySalePurchase\" id=\"account.JournalBodySalePurchase\">\n                        <div class=\"col-12 col-sm-5 mb-3 mb-sm-0 o_kanban_primary_left\">\n                            <t t-if=\"journal_type == 'sale'\">\n                                <button type=\"object\" name=\"action_create_new\" class=\"btn btn-primary o_invoice_new\" groups=\"account.group_account_invoice\">\n                                    <span>New Invoice</span>\n                                </button>\n                            </t>\n                            <t t-if=\"journal_type == 'purchase'\">\n                                <t t-if=\"dashboard.entries_count &gt; 0\">\n                                    <widget name=\"account_file_uploader\" btnClass=\"btn btn-primary oe_kanban_action_button\"/>\n                                </t>\n                                <t t-else=\"\">\n                                    <button type=\"object\" name=\"action_create_vendor_bill\" class=\"btn btn-primary d-block\" journal_type=\"purchase\" groups=\"account.group_account_invoice\">\n                                        <span>Upload</span>\n                                    </button>\n                                </t>\n                                <a type=\"object\" name=\"action_create_new\" class=\"o_invoice_new\" groups=\"account.group_account_invoice\">Create Manually</a>\n                            </t>\n                        </div>\n                        <div class=\"col-12 col-sm-7 o_kanban_primary_right\">\n                            <div class=\"row\" t-if=\"dashboard.number_draft\">\n                                <div class=\"col overflow-hidden text-start\">\n                                    <a type=\"object\" name=\"open_action\" context=\"{'search_default_draft': '1'}\">\n                                        <span t-if=\"journal_type == 'sale'\" title=\"Invoices to Validate\"><t t-esc=\"dashboard.number_draft\"/> Invoices to Validate</span>\n                                        <span t-if=\"journal_type == 'purchase'\" title=\"Bills to Validate\"><t t-esc=\"dashboard.number_draft\"/> Bills to Validate</span>\n                                    </a>\n                                </div>\n                                <div class=\"col-auto text-end\">\n                                    <span class=\"o_kanban_monetary\"><t t-esc=\"dashboard.sum_draft\"/></span>\n                                </div>\n                            </div>\n                            <div class=\"row\" t-if=\"dashboard.number_waiting\">\n                                <div class=\"col overflow-hidden text-start\">\n                                    <a type=\"object\" t-if=\"journal_type == 'sale'\" name=\"open_action\" context=\"{'search_default_open':1, 'search_default_posted':1, 'search_default_partial': 1}\" id=\"account_dashboard_sale_pay_link\">\n                                        <t t-esc=\"dashboard.number_waiting\"/> Unpaid Invoices\n                                    </a>\n\n                                    <a type=\"object\" t-if=\"journal_type == 'purchase'\" name=\"open_action\" context=\"{'search_default_open':1, 'search_default_posted':1, 'search_default_partial': 1}\" id=\"account_dashboard_purchase_pay_link\">\n                                        <t t-esc=\"dashboard.number_waiting\"/> Bills to Pay\n                                    </a>\n                                </div>\n                                <div class=\"col-auto text-end\">\n                                    <span class=\"o_kanban_monetary\"><t t-esc=\"dashboard.sum_waiting\"/></span>\n                                </div>\n                            </div>\n                            <div class=\"row\" t-if=\"dashboard.number_late\">\n                                <div class=\"col overflow-hidden text-start\">\n                                    <a type=\"object\" name=\"open_action\" context=\"{'search_default_late': '1'}\">\n                                        <span t-if=\"journal_type == 'sale'\" title=\"Late Invoices\"><t t-esc=\"dashboard.number_late\"/> Late Invoices</span>\n                                        <span t-if=\"journal_type == 'purchase'\" title=\"Late Bills\"><t t-esc=\"dashboard.number_late\"/> Late Bills</span>\n                                    </a>\n                                </div>\n                                <div class=\"col-auto text-end\">\n                                    <span class=\"o_kanban_monetary\"><t t-esc=\"dashboard.sum_late\"/></span>\n                                </div>\n                            </div>\n                            <t t-if=\"dashboard.number_to_check &gt; 0\">\n                                <div class=\"row\">\n                                    <div class=\"col overflow-hidden text-start\">\n                                        <a type=\"object\" name=\"open_action\" context=\"{'search_default_to_check': True}\"><t t-esc=\"dashboard.number_to_check\"/> to check</a>\n                                    </div>\n                                    <div class=\"col-auto text-end\">\n                                        <span class=\"o_kanban_monetary\"><t t-esc=\"dashboard.to_check_balance\"/></span>\n                                    </div>\n                                </div>\n                            </t>\n                        </div>\n                    </t>\n                    <t t-name=\"JournalBodyGraph\">\n                        <field name=\"kanban_dashboard_graph\" t-att-graph_type=\"['cash','bank'].includes(journal_type) ? 'line' : 'bar'\" widget=\"dashboard_graph\"/>\n                    </t>\n            </templates>\n            </kanban>", "vi_VN": "<kanban create=\"false\" class=\"oe_background_grey o_kanban_dashboard o_account_kanban\" banner_route=\"/account/account_dashboard_onboarding\" js_class=\"account_dashboard_kanban\">\n                <field name=\"id\"/>\n                <field name=\"name\"/>\n                <field name=\"type\"/>\n                <field name=\"color\"/>\n                <field name=\"show_on_dashboard\"/>\n                <field name=\"kanban_dashboard\"/>\n                <field name=\"activity_ids\"/>\n                <field name=\"activity_state\"/>\n                <field name=\"alias_domain\"/>\n                <templates>\n                    <t t-name=\"kanban-box\">\n                        <div t-attf-class=\"d-flex flex-column flex-fill\">\n                            <t t-value=\"JSON.parse(record.kanban_dashboard.raw_value)\" t-set=\"dashboard\"/>\n                            <t t-value=\"record.type.raw_value\" t-set=\"journal_type\"/>\n                            <t t-call=\"JournalTop\"/>\n                            <div t-att-class=\"'container o_kanban_card_content' + (dashboard.is_sample_data ? ' o_sample_data' : '')\">\n                                <div class=\"row\">\n                                    <t t-if=\"(journal_type == 'bank' || journal_type == 'cash')\" t-call=\"JournalBodyBankCash\"/>\n                                    <t t-if=\"journal_type == 'sale' || journal_type == 'purchase'\" t-call=\"JournalBodySalePurchase\"/>\n                                    <t t-if=\"journal_type == 'general'\" t-call=\"JournalMiscelaneous\"/>\n                                    <div class=\"col-12 col-sm-5 mb-3 mb-sm-0 o_kanban_primary_left\"/>\n                                    <div class=\"col-12 col-sm-7 o_kanban_primary_right\">\n                                        <t t-call=\"HasSequenceHoles\"/>\n                                    </div>\n                                </div>\n                                <div class=\"row mt-auto\">\n                                    <t t-if=\"['bank', 'cash', 'sale', 'purchase'].includes(journal_type)\" t-call=\"JournalBodyGraph\"/>\n                                </div>\n                            </div>\n                            <div class=\"container o_kanban_card_manage_pane dropdown-menu\" role=\"menu\">\n                                <t t-call=\"JournalManage\"/>\n                            </div>\n                        </div>\n                    </t>\n\n                    <t t-name=\"JournalTop\">\n                        <div t-attf-class=\"o_kanban_card_header\">\n                            <div class=\"o_kanban_card_header_title\">\n                                <div class=\"o_primary\">\n                                    <a type=\"object\" name=\"open_action\"><field name=\"name\"/></a>\n                                    <t t-if=\"dashboard.company_count &gt; 1\">\n                                        <span groups=\"base.group_multi_company\" class=\"small\">- <field name=\"company_id\"/></span>\n                                    </t>\n                                </div>\n                                <div class=\"o_secondary\" t-att-title=\"dashboard.title\" t-if=\"journal_type == 'purchase' &amp;&amp; record.alias_domain.raw_value\">\n                                    <field name=\"alias_id\"/>\n                                </div>\n                            </div>\n                            <div class=\"o_kanban_manage_button_section\">\n                                <a class=\"o_kanban_manage_toggle_button\" href=\"#\"><i class=\"fa fa-ellipsis-v\" aria-label=\"Selection\" role=\"img\" title=\"Selection\"/></a>\n                            </div>\n                        </div>\n                    </t>\n\n                    <t t-name=\"HasSequenceHoles\">\n                        <a t-if=\"dashboard.has_sequence_holes\" name=\"show_sequence_holes\" type=\"object\" class=\"text-warning\" title=\"Có khoảng trống do hóa đơn bị hủy, bút toán bị xóa hoặc lỗi thủ công trong kỳ còn mở.\">\n                            Có chỗ trống trong số thứ tự\n                        </a>\n                    </t>\n\n                    <t t-name=\"JournalManage\">\n\n                        <!-- For bank and cash -->\n                        <div t-if=\"journal_type == 'bank' || journal_type == 'cash'\" class=\"row\">\n                             <div class=\"col-4 o_kanban_card_manage_section o_kanban_manage_view\">\n                                <div id=\"card_action_view_menus\" class=\"o_kanban_card_manage_title\">\n                                    <span role=\"separator\">Xem</span>\n                                </div>\n                                <div id=\"action_card_statements\">\n                                    <a t-if=\"journal_type == 'bank'\" role=\"menuitem\" type=\"object\" name=\"open_action_with_context\" context=\"{'action_name': 'action_bank_statement_tree', 'search_default_journal': True}\">Sao kê</a>\n                                    <a t-if=\"journal_type == 'cash'\" role=\"menuitem\" type=\"object\" name=\"open_action_with_context\" context=\"{'action_name': 'action_view_bank_statement_tree', 'search_default_journal': True}\">Sao kê</a>\n                                </div>\n                                <div>\n                                    <a role=\"menuitem\" type=\"object\" name=\"open_collect_money\">Các thanh toán của KH</a>\n                                </div>\n                                <div>\n                                    <a role=\"menuitem\" type=\"object\" name=\"open_spend_money\">Thanh toán của NCC</a>\n                                </div>\n                                <div>\n                                    <a role=\"menuitem\" type=\"object\" name=\"open_transfer_money\">Luân chuyển nội bộ</a>\n                                </div>\n                                <div>\n                                    <a role=\"menuitem\" type=\"object\" name=\"open_action\" context=\"{'action_name': 'action_account_moves_all_a'}\">Chi tiết bút toán</a>\n                                </div>\n                            </div>\n\n                             <div class=\"col-4 o_kanban_card_manage_section o_kanban_manage_new\" groups=\"account.group_account_user\">\n                                <div class=\"o_kanban_card_manage_title\">\n                                    <span role=\"separator\">Mới</span>\n                                </div>\n                                <div name=\"bank_customer_payment\">\n                                    <a role=\"menuitem\" type=\"object\" name=\"create_customer_payment\">Thanh toán của khách hàng</a>\n                                </div>\n                                <div>\n                                    <a role=\"menuitem\" type=\"object\" name=\"create_supplier_payment\">Thanh toán mua hàng</a>\n                                </div>\n                                <div>\n                                    <a role=\"menuitem\" type=\"object\" name=\"create_internal_transfer\">Luân chuyển nội bộ</a>\n                                </div>\n                            </div>\n\n                             <div class=\"col-4 o_kanban_card_manage_section o_kanban_manage_reconciliation\">\n                                <div class=\"o_kanban_card_manage_title\">\n                                    <span role=\"separator\">Đối xoát</span>\n                                </div>\n                                <div>\n                                    <a role=\"menuitem\" type=\"object\" name=\"open_action_with_context\" context=\"{'action_name': 'action_account_reconcile_model', 'use_domain': ['|', ('match_journal_ids', '=', False), ('match_journal_ids', 'in', active_id)]}\" groups=\"account.group_account_manager\">Đối tượng đối soát</a>\n                                </div>\n                            </div>\n                        </div>\n\n                        <!-- For purchase and sale -->\n                        <div t-if=\"journal_type == 'purchase' || journal_type == 'sale'\" class=\"row\">\n                             <div class=\"col-4 o_kanban_card_manage_section o_kanban_manage_view\">\n                                <div class=\"o_kanban_card_manage_title\">\n                                    <span>Xem</span>\n                                </div>\n                                <div>\n                                    <a t-if=\"journal_type == 'sale'\" type=\"object\" name=\"open_action\" context=\"{'action_name': 'action_move_out_invoice_type'}\">Hóa đơn</a>\n                                    <a t-if=\"journal_type == 'purchase'\" type=\"object\" name=\"open_action\" context=\"{'action_name': 'action_move_in_invoice_type'}\">Hoá đơn</a>\n                                </div>\n                                <div id=\"sale_purchase_refund\">\n                                    <a t-if=\"journal_type == 'sale'\" type=\"object\" name=\"open_action\" context=\"{'action_name': 'action_move_out_refund_type'}\">Giấy báo Có</a>\n                                    <a t-if=\"journal_type == 'purchase'\" type=\"object\" name=\"open_action\" context=\"{'action_name': 'action_move_in_refund_type'}\">Hoàn tiền</a>\n                                </div>\n                                <div>\n                                    <a type=\"object\" name=\"open_action\" context=\"{'action_name': 'action_account_moves_all_a'}\" groups=\"base.group_no_one\">Chi tiết bút toán</a>\n                                </div>\n                            </div>\n\n                             <div class=\"col-4 o_kanban_card_manage_section o_kanban_manage_new\" groups=\"account.group_account_invoice\">\n                                <div class=\"o_kanban_card_manage_title\">\n                                    <span>Mới</span>\n                                </div>\n                                <div>\n                                    <a type=\"object\" name=\"action_create_new\">\n                                        <span t-if=\"journal_type == 'sale'\">Hoá đơn</span>\n                                        <span t-if=\"journal_type == 'purchase'\">Biên nhận</span>\n                                    </a>\n                                </div>\n                                <div>\n                                    <a type=\"object\" name=\"action_create_new\" context=\"{'refund':True}\">\n                                        <span t-if=\"journal_type == 'sale'\">Giấy báo Có</span>\n                                        <span t-if=\"journal_type == 'purchase'\">Hoàn tiền</span>\n                                    </a>\n                                </div>\n                                <div t-if=\"journal_type == 'sale'\">\n                                    <widget name=\"account_file_uploader\" title=\"Tải lên hoá đơn\" btnClass=\"file_upload_kanban_action_a\"/>\n                                </div>\n                            </div>\n\n                             <div class=\"col-4 o_kanban_card_manage_section o_kanban_manage_reports\">\n                                <div class=\"o_kanban_card_manage_title\">\n                                    <span>Báo cáo</span>\n                                </div>\n                                <div>\n                                    <a t-if=\"journal_type == 'sale'\" type=\"action\" name=\"267\" groups=\"account.group_account_readonly\">Phân tích hóa đơn</a>\n                                    <a t-if=\"journal_type == 'purchase'\" type=\"action\" name=\"266\" groups=\"account.group_account_readonly\">Phân tích hoá đơn</a>\n                                </div>\n                            </div>\n                        </div>\n\n                        <!-- For general and situation -->\n                        <div t-if=\"journal_type == 'general' || journal_type == 'situation'\" class=\"row\">\n                             <div class=\"col-4 o_kanban_card_manage_section o_kanban_manage_view\">\n                                <div class=\"o_kanban_card_manage_title\">\n                                    <span>Xem</span>\n                                </div>\n                                <div>\n                                    <a type=\"object\" name=\"open_action\" context=\"{'action_name': 'action_move_journal_line'}\">Bút toán phát sinh</a>\n                                </div>\n                                <div>\n                                    <a type=\"object\" name=\"open_action\" context=\"{'action_name': 'action_move_journal_line', 'search_default_unposted': 1}\">Bút toán cần xem xét</a>\n                                </div>\n                                <div>\n                                    <a type=\"object\" name=\"open_action\" context=\"{'action_name': 'action_account_moves_all_a'}\" groups=\"base.group_no_one\">Chi tiết bút toán</a>\n                                </div>\n                            </div>\n\n                             <div class=\"col-4 o_kanban_card_manage_section o_kanban_manage_new\" groups=\"account.group_account_user\">\n                                <div class=\"o_kanban_card_manage_title\">\n                                    <span>Mới</span>\n                                </div>\n                                <div>\n                                    <a type=\"object\" name=\"action_create_new\">Bút toán sổ nhật ký</a>\n                                </div>\n                            </div>\n\n                             <div class=\"col-4 o_kanban_card_manage_section o_kanban_manage_operations\">\n                                <div class=\"o_kanban_card_manage_title\">\n                                    <span>Hoạt động</span>\n                                </div>\n                                <div>\n                                    <a type=\"object\" name=\"open_action_with_context\" context=\"{'action_name': 'action_validate_account_move', 'search_default_journal': True}\" groups=\"account.group_account_user\">Vào sổ tất cả bút toán</a>\n                                </div>\n                            </div>\n                        </div>\n\n                        <div t-if=\"widget.editable\" class=\"o_kanban_card_manage_settings row\">\n                            <div class=\"col-8\">\n                                <ul class=\"oe_kanban_colorpicker\" data-field=\"color\"/>\n                            </div>\n                        </div>\n\n                        <div groups=\"account.group_account_manager\" class=\"row o_kanban_card_manage_settings\">\n                            <div class=\"col-6 position-relative\">\n                                <field name=\"show_on_dashboard\" widget=\"boolean_favorite\"/>\n                            </div>\n                            <div class=\"col-6 text-end mt-1\">\n                                <a class=\"dropdown-item\" t-if=\"widget.editable\" type=\"edit\">Cấu hình</a>\n                            </div>\n                        </div>\n                    </t>\n\n                    <t t-name=\"JournalMiscelaneous\">\n                        <div class=\"col-12 col-sm-4 mb-3 mb-sm-0 o_kanban_primary_left\">\n                            <button id=\"new_misc_entry_button\" type=\"object\" name=\"action_create_new\" class=\"btn btn-primary\" groups=\"account.group_account_invoice\">\n                                <span>Bút toán mới</span>\n                            </button>\n                        </div>\n                        <div class=\"col-12 col-sm-8 o_kanban_primary_right\">\n                            <field name=\"json_activity_data\" widget=\"kanban_vat_activity\"/>\n                            <t t-if=\"dashboard.number_to_check &gt; 0\">\n                                <div class=\"row\">\n                                    <div class=\"col overflow-hidden text-start\">\n                                        <a type=\"object\" name=\"open_action\" context=\"{'action_name': 'action_move_journal_line', 'search_default_to_check': True}\"><t t-esc=\"dashboard.number_to_check\"/> để kiểm</a>\n                                    </div>\n                                    <div class=\"col-auto text-end\">\n                                        <span class=\"o_kanban_monetary\"><t t-esc=\"dashboard.to_check_balance\"/></span>\n                                    </div>\n                                </div>\n                            </t>\n                        </div>\n                    </t>\n\n                    <t t-name=\"JournalBodyBankCash\">\n                        <!-- On the left, display :\n                            - A button corresponding to the bank_statements_source, if it wasn't configured, a button for each of them\n                            - If there are statements to reconcile, a link to reconcile them -->\n                        <div id=\"dashboard_bank_cash_left\" class=\"col-12 col-sm-5 mb-3 mb-sm-0 o_kanban_primary_left\">\n                            <t t-if=\"journal_type == 'bank'\">\n                                <t t-if=\"dashboard.bank_statements_source == 'undefined'\">\n                                    <a t-if=\"dashboard.number_to_reconcile &gt; 0\" name=\"action_configure_bank_journal\" type=\"object\" class=\"oe_inline\" groups=\"account.group_account_invoice\">Kết nối</a>\n                                    <button t-if=\"dashboard.number_to_reconcile == 0\" name=\"action_configure_bank_journal\" type=\"object\" class=\"btn btn-primary\" groups=\"account.group_account_invoice\">Kết nối</button>\n                                </t>\n                                <div name=\"bank_journal_cta\" class=\"mt-3 mt-sm-0\"/>\n                            </t>\n                            <t t-if=\"journal_type == 'cash'\">\n                                <a t-if=\"dashboard.number_to_reconcile &gt; 0\" type=\"object\" name=\"create_cash_statement\" class=\"oe_inline\" groups=\"account.group_account_invoice\">Giao dịch mới</a>\n                                <button t-if=\"dashboard.number_to_reconcile == 0\" type=\"object\" name=\"create_cash_statement\" class=\"btn btn-primary\" groups=\"account.group_account_invoice\">Giao dịch mới</button>\n                            </t>\n                        </div>\n                        <!-- On the right, show other common informations/actions -->\n                        <div id=\"dashboard_bank_cash_right\" class=\"col-12 col-sm-7 o_kanban_primary_right\">\n                            <div class=\"row\" t-if=\"dashboard.nb_lines_bank_account_balance &gt; 0\">\n                                <div id=\"dashboard_bank_cash_balance\" class=\"col overflow-hidden text-start\">\n                                    <span>Running Balance</span>\n                                </div>\n                                <div class=\"col-auto text-end\">\n                                    <span class=\"o_kanban_monetary\"><t t-esc=\"dashboard.account_balance\"/></span>\n                                </div>\n                            </div>\n                            <div class=\"row\" t-if=\"dashboard.nb_lines_outstanding_pay_account_balance &gt; 0\">\n                                <div id=\"dashboard_bank_cash_outstanding_balance\" class=\"col overflow-hidden text-start\">\n                                    <span title=\"Thanh toán trước / Biên nhận\">Khoản chi/thu chưa thanh toán</span>\n                                </div>\n                                <div class=\"col-auto text-end\">\n                                    <span class=\"o_kanban_monetary\"><t t-esc=\"dashboard.outstanding_pay_account_balance\"/></span>\n                                </div>\n                            </div>\n                            <t t-if=\"dashboard.has_at_least_one_statement and dashboard.account_balance != dashboard.last_balance\">\n                                <div class=\"row\" name=\"latest_statement\">\n                                    <div class=\"col overflow-hidden text-start\">\n                                        <span title=\"Latest Statement\">Số tiền sổ quỹ</span>\n                                    </div>\n                                    <div class=\"col-auto text-end\">\n                                        <span class=\"o_kanban_monetary\"><t t-esc=\"dashboard.last_balance\"/></span>\n                                    </div>\n                                </div>\n                            </t>\n                        </div>\n                    </t>\n                    <t t-name=\"JournalBodySalePurchase\" id=\"account.JournalBodySalePurchase\">\n                        <div class=\"col-12 col-sm-5 mb-3 mb-sm-0 o_kanban_primary_left\">\n                            <t t-if=\"journal_type == 'sale'\">\n                                <button type=\"object\" name=\"action_create_new\" class=\"btn btn-primary o_invoice_new\" groups=\"account.group_account_invoice\">\n                                    <span>Hoá đơn mới</span>\n                                </button>\n                            </t>\n                            <t t-if=\"journal_type == 'purchase'\">\n                                <t t-if=\"dashboard.entries_count &gt; 0\">\n                                    <widget name=\"account_file_uploader\" btnClass=\"btn btn-primary oe_kanban_action_button\"/>\n                                </t>\n                                <t t-else=\"\">\n                                    <button type=\"object\" name=\"action_create_vendor_bill\" class=\"btn btn-primary d-block\" journal_type=\"purchase\" groups=\"account.group_account_invoice\">\n                                        <span>Tải lên</span>\n                                    </button>\n                                </t>\n                                <a type=\"object\" name=\"action_create_new\" class=\"o_invoice_new\" groups=\"account.group_account_invoice\">Tạo thủ công</a>\n                            </t>\n                        </div>\n                        <div class=\"col-12 col-sm-7 o_kanban_primary_right\">\n                            <div class=\"row\" t-if=\"dashboard.number_draft\">\n                                <div class=\"col overflow-hidden text-start\">\n                                    <a type=\"object\" name=\"open_action\" context=\"{'search_default_draft': '1'}\">\n                                        <span t-if=\"journal_type == 'sale'\" title=\"Hóa đơn cần Xác nhận\"><t t-esc=\"dashboard.number_draft\"/> Hóa đơn cần Xác nhận</span>\n                                        <span t-if=\"journal_type == 'purchase'\" title=\"Hóa đơn cần Xác nhận\"><t t-esc=\"dashboard.number_draft\"/> Hóa đơn cần Xác nhận</span>\n                                    </a>\n                                </div>\n                                <div class=\"col-auto text-end\">\n                                    <span class=\"o_kanban_monetary\"><t t-esc=\"dashboard.sum_draft\"/></span>\n                                </div>\n                            </div>\n                            <div class=\"row\" t-if=\"dashboard.number_waiting\">\n                                <div class=\"col overflow-hidden text-start\">\n                                    <a type=\"object\" t-if=\"journal_type == 'sale'\" name=\"open_action\" context=\"{'search_default_open':1, 'search_default_posted':1, 'search_default_partial': 1}\" id=\"account_dashboard_sale_pay_link\">\n                                        <t t-esc=\"dashboard.number_waiting\"/> Các hóa đơn chưa thanh toán\n                                    </a>\n\n                                    <a type=\"object\" t-if=\"journal_type == 'purchase'\" name=\"open_action\" context=\"{'search_default_open':1, 'search_default_posted':1, 'search_default_partial': 1}\" id=\"account_dashboard_purchase_pay_link\">\n                                        <t t-esc=\"dashboard.number_waiting\"/> Hóa đơn cần Thanh toán\n                                    </a>\n                                </div>\n                                <div class=\"col-auto text-end\">\n                                    <span class=\"o_kanban_monetary\"><t t-esc=\"dashboard.sum_waiting\"/></span>\n                                </div>\n                            </div>\n                            <div class=\"row\" t-if=\"dashboard.number_late\">\n                                <div class=\"col overflow-hidden text-start\">\n                                    <a type=\"object\" name=\"open_action\" context=\"{'search_default_late': '1'}\">\n                                        <span t-if=\"journal_type == 'sale'\" title=\"Hóa đơn trễ\"><t t-esc=\"dashboard.number_late\"/> Hóa đơn trễ</span>\n                                        <span t-if=\"journal_type == 'purchase'\" title=\"Hóa đơn trễ\"><t t-esc=\"dashboard.number_late\"/> Hóa đơn trễ</span>\n                                    </a>\n                                </div>\n                                <div class=\"col-auto text-end\">\n                                    <span class=\"o_kanban_monetary\"><t t-esc=\"dashboard.sum_late\"/></span>\n                                </div>\n                            </div>\n                            <t t-if=\"dashboard.number_to_check &gt; 0\">\n                                <div class=\"row\">\n                                    <div class=\"col overflow-hidden text-start\">\n                                        <a type=\"object\" name=\"open_action\" context=\"{'search_default_to_check': True}\"><t t-esc=\"dashboard.number_to_check\"/> để kiểm</a>\n                                    </div>\n                                    <div class=\"col-auto text-end\">\n                                        <span class=\"o_kanban_monetary\"><t t-esc=\"dashboard.to_check_balance\"/></span>\n                                    </div>\n                                </div>\n                            </t>\n                        </div>\n                    </t>\n                    <t t-name=\"JournalBodyGraph\">\n                        <field name=\"kanban_dashboard_graph\" t-att-graph_type=\"['cash','bank'].includes(journal_type) ? 'line' : 'bar'\" widget=\"dashboard_graph\"/>\n                    </t>\n            </templates>\n            </kanban>"}