{"en_US": "<form string=\"Register Payment\">\n                    <header>\n                        <button name=\"action_post\" string=\"Confirm\" type=\"object\" class=\"oe_highlight\" attrs=\"{'invisible': [('state', '!=', 'draft')]}\" data-hotkey=\"v\"/>\n                        <button name=\"action_draft\" string=\"Reset To Draft\" type=\"object\" class=\"btn btn-secondary\" attrs=\"{'invisible': [('state', 'not in', ('posted', 'cancel'))]}\" groups=\"account.group_account_invoice\" data-hotkey=\"w\"/>\n                        <button name=\"action_cancel\" string=\"Cancel\" type=\"object\" attrs=\"{'invisible': [('state', '!=', 'draft')]}\" data-hotkey=\"z\"/>\n                        <button name=\"mark_as_sent\" string=\"Mark as Sent\" type=\"object\" data-hotkey=\"q\" attrs=\"{'invisible': ['|', '|', ('state', '!=', 'posted'), ('is_move_sent', '=', True), ('payment_method_code', '!=', 'manual')]}\"/>\n                        <button name=\"unmark_as_sent\" string=\"Unmark as Sent\" type=\"object\" data-hotkey=\"k\" attrs=\"{'invisible': ['|', '|', ('state', '!=', 'posted'), ('is_move_sent', '=', False), ('payment_method_code', '!=', 'manual')]}\"/>\n                        <field name=\"state\" widget=\"statusbar\" statusbar_visible=\"draft,posted\"/>\n                    </header>\n                    <div class=\"alert alert-info text-center\" role=\"alert\" attrs=\"{'invisible': ['|','|',('paired_internal_transfer_payment_id','!=',False),('is_internal_transfer','=',False),('state','!=','draft')]}\">\n                        A second payment will be created automatically in the destination journal.\n                    </div>\n                    <div class=\"alert alert-warning text-center\" role=\"alert\" attrs=\"{                             'invisible': ['|', '|', ('is_internal_transfer','=',False), ('require_partner_bank_account', '=', False), ('partner_bank_id', '!=', False)]}\">\n                        The selected payment method requires a bank account but none is set on\n                        <button class=\"oe_link alert-link\" type=\"object\" name=\"action_open_destination_journal\" style=\"padding: 0; vertical-align: baseline;\">the destination journal</button>.\n                    </div>\n                    <sheet>\n                        <!-- Invisible fields -->\n                        <field name=\"id\" invisible=\"1\"/>\n                        <field name=\"is_move_sent\" invisible=\"1\"/>\n                        <field name=\"is_reconciled\" invisible=\"1\"/>\n                        <field name=\"is_matched\" invisible=\"1\"/>\n                        <field name=\"payment_method_code\" invisible=\"1\"/>\n                        <field name=\"show_partner_bank_account\" invisible=\"1\"/>\n                        <field name=\"require_partner_bank_account\" invisible=\"1\"/>\n                        <field name=\"available_payment_method_line_ids\" invisible=\"1\"/>\n                        <field name=\"available_partner_bank_ids\" invisible=\"1\"/>\n                        <field name=\"suitable_journal_ids\" invisible=\"1\"/>\n                        <field name=\"country_code\" invisible=\"1\"/>\n                        <field name=\"partner_type\" invisible=\"1\"/>\n                        <field name=\"posted_before\" invisible=\"1\"/>\n                        <field name=\"reconciled_invoices_type\" invisible=\"1\"/>\n                        <field name=\"company_id\" invisible=\"1\"/>\n                        <field name=\"paired_internal_transfer_payment_id\" invisible=\"1\"/>\n                        <field name=\"available_journal_ids\" invisible=\"1\"/>\n\n                        <div class=\"oe_button_box\" name=\"button_box\">\n                            <!-- Invoice stat button -->\n                            <button name=\"button_open_invoices\" type=\"object\" class=\"oe_stat_button\" icon=\"fa-bars\" attrs=\"{'invisible': [('reconciled_invoices_count','=', 0)]}\">\n                                <div class=\"o_form_field o_stat_info\">\n                                    <span class=\"o_stat_text\">\n                                        <field name=\"reconciled_invoices_count\"/>\n                                        <span attrs=\"{'invisible': [('reconciled_invoices_type', '!=', 'invoice')]}\"> Invoice</span>\n                                        <span attrs=\"{'invisible': [('reconciled_invoices_type', '=', 'invoice')]}\"> Credit Note</span>\n                                    </span>\n                                </div>\n                            </button>\n\n                            <!-- Bill stat button -->\n                            <button name=\"button_open_bills\" type=\"object\" class=\"oe_stat_button\" icon=\"fa-bars\" attrs=\"{'invisible': [('reconciled_bills_count','=', 0)]}\">\n                                <div class=\"o_form_field o_stat_info\">\n                                    <span class=\"o_stat_text\">\n                                        <field name=\"reconciled_bills_count\"/>\n                                        <span> Bill</span>\n                                    </span>\n                                </div>\n                            </button>\n\n                            <!-- Statement stat button -->\n                            <button name=\"button_open_statement_lines\" type=\"object\" class=\"oe_stat_button\" icon=\"fa-bars\" attrs=\"{'invisible': [('reconciled_statement_lines_count','=', 0)]}\">\n                                <div class=\"o_form_field o_stat_info\">\n                                    <field name=\"reconciled_statement_lines_count\"/>\n                                    <span> Transaction</span>\n                                </div>\n                            </button>\n\n                            <!-- Journal Entry  button -->\n                            <button name=\"button_open_journal_entry\" type=\"object\" class=\"oe_stat_button\" icon=\"fa-bars\" groups=\"account.group_account_user,account.group_account_readonly\">\n                                <div class=\"o_stat_info\">\n                                    <span class=\"o_stat_text\">Journal Entry</span>\n                                </div>\n                            </button>\n                        </div>\n\n                        <widget name=\"web_ribbon\" text=\"Invoicing App Legacy\" bg_color=\"bg-info\" attrs=\"{'invisible': [('state', '!=', 'invoicing_legacy')]}\" tooltip=\"This payment has been generated through the Invoicing app, before installing Accounting. It has been disabled by the 'Invoicing Switch Threshold Date' setting so that it does not impact your accounting.\"/>\n\n                        <div class=\"oe_title\">\n                            <h1 attrs=\"{'invisible': [('state', '!=', 'draft')]}\"><span>Draft</span></h1>\n                            <h1 attrs=\"{'invisible': [('state', '=', 'draft')]}\"><field name=\"name\" readonly=\"1\"/></h1>\n                        </div>\n\n                        <group>\n                            <group name=\"group1\">\n                                <field name=\"is_internal_transfer\" attrs=\"{'readonly': [('state', '!=', 'draft')]}\"/>\n                                <field name=\"payment_type\" widget=\"radio\" options=\"{'horizontal': True}\" attrs=\"{'readonly': [('state', '!=', 'draft')]}\"/>\n                                <field name=\"partner_id\" context=\"{'default_is_company': True}\" string=\"Customer\" options=\"{'no_quick_create': True}\" attrs=\"{'readonly':[('state', '!=', 'draft')],                                              'invisible':['|', ('partner_type','!=','customer'), ('is_internal_transfer', '=', True)]}\"/>\n                                <field name=\"partner_id\" context=\"{'default_is_company': True}\" string=\"Vendor\" options=\"{'no_quick_create': True}\" attrs=\"{'readonly':[('state', '!=', 'draft')],                                                'invisible':['|', ('partner_type','!=','supplier'), ('is_internal_transfer', '=', True)]}\"/>\n                                <label for=\"amount\"/>\n                                <div name=\"amount_div\" class=\"o_row\">\n                                    <field name=\"amount\" attrs=\"{'readonly': [('state', '!=', 'draft')]}\"/>\n                                    <field name=\"currency_id\" options=\"{'no_create': True, 'no_open': True}\" required=\"1\" attrs=\"{'readonly': [('state', '!=', 'draft')]}\" groups=\"base.group_multi_currency\"/>\n                                </div>\n                                <field name=\"date\" attrs=\"{'readonly': [('state', '!=', 'draft')]}\"/>\n                                <field name=\"ref\" string=\"Memo\"/>\n                            </group>\n                            <group name=\"group2\">\n                                <field name=\"journal_id\" domain=\"[('id', 'in', available_journal_ids)]\" attrs=\"{'readonly': [('state', '!=', 'draft')]}\"/>\n                                <field name=\"payment_method_line_id\" required=\"1\" options=\"{'no_create': True, 'no_open': True}\" attrs=\"{'readonly': [('state', '!=', 'draft')]}\"/>\n\n                                <field name=\"partner_bank_id\" string=\"Customer Bank Account\" context=\"{'default_partner_id': partner_id, 'default_allow_out_payment': True}\" attrs=\"{                                             'invisible': ['|', '|', '|', ('show_partner_bank_account', '=', False), ('partner_type','!=','customer'), ('is_internal_transfer', '=', True), ('payment_type', '=', 'inbound')],                                             'required': [('require_partner_bank_account', '=', True), ('is_internal_transfer', '=', False)],                                         }\"/>\n\n                                <field name=\"partner_bank_id\" string=\"Vendor Bank Account\" context=\"{'default_partner_id': partner_id, 'default_allow_out_payment': True}\" attrs=\"{                                             'invisible': ['|', '|', '|', ('show_partner_bank_account', '=', False), ('partner_type','!=','supplier'), ('is_internal_transfer', '=', True), ('payment_type', '=', 'inbound')],                                             'required': [('require_partner_bank_account', '=', True), ('is_internal_transfer', '=', False)],                                         }\"/>\n\n                                <!-- This field should always be readonly but using readonly=\"1\" overrides the other partner_bank_id\n                                fields readonly condition in the framework, preventing the modification of these fields -->\n                                <field name=\"partner_bank_id\" string=\"Company Bank Account\" context=\"{'default_partner_id': partner_id, 'default_allow_out_payment': True}\" attrs=\"{                                             'invisible': ['|', '|', ('show_partner_bank_account', '=', False), ('is_internal_transfer', '=', True), ('payment_type', '=', 'outbound')],                                             'required': [('require_partner_bank_account', '=', True), ('is_internal_transfer', '=', False)],                                         }\"/>\n\n                                <field name=\"destination_journal_id\" context=\"{'default_partner_id': partner_id}\" attrs=\"{'invisible': [('is_internal_transfer', '=', False)],                                        'readonly': [('state', '!=', 'draft')], 'required': [('is_internal_transfer', '=', True),('state', '=', 'draft')]}\"/>\n                            </group>\n                            <group>\n                                <field name=\"qr_code\" invisible=\"1\"/>\n                                <div attrs=\"{'invisible': [('qr_code', '=', False)]}\" colspan=\"2\" class=\"text-center\">\n                                    <field name=\"qr_code\" widget=\"html\"/>\n                                </div>\n                            </group>\n                        </group>\n                    </sheet>\n                    <div class=\"o_attachment_preview\"/>\n                    <div class=\"oe_chatter\">\n                        <field name=\"message_follower_ids\" groups=\"base.group_user\"/>\n                        <field name=\"activity_ids\"/>\n                        <field name=\"message_ids\"/>\n                    </div>\n                </form>", "vi_VN": "<form string=\"Ghi nhận thanh toán\">\n                    <header>\n                        <button name=\"action_post\" string=\"Xác nhận\" type=\"object\" class=\"oe_highlight\" attrs=\"{'invisible': [('state', '!=', 'draft')]}\" data-hotkey=\"v\"/>\n                        <button name=\"action_draft\" string=\"Đặt lại dự thảo\" type=\"object\" class=\"btn btn-secondary\" attrs=\"{'invisible': [('state', 'not in', ('posted', 'cancel'))]}\" groups=\"account.group_account_invoice\" data-hotkey=\"w\"/>\n                        <button name=\"action_cancel\" string=\"Hủy\" type=\"object\" attrs=\"{'invisible': [('state', '!=', 'draft')]}\" data-hotkey=\"z\"/>\n                        <button name=\"mark_as_sent\" string=\"Đánh dấu đã gửi\" type=\"object\" data-hotkey=\"q\" attrs=\"{'invisible': ['|', '|', ('state', '!=', 'posted'), ('is_move_sent', '=', True), ('payment_method_code', '!=', 'manual')]}\"/>\n                        <button name=\"unmark_as_sent\" string=\"Bỏ đánh dấu là đã gửi\" type=\"object\" data-hotkey=\"k\" attrs=\"{'invisible': ['|', '|', ('state', '!=', 'posted'), ('is_move_sent', '=', False), ('payment_method_code', '!=', 'manual')]}\"/>\n                        <field name=\"state\" widget=\"statusbar\" statusbar_visible=\"draft,posted\"/>\n                    </header>\n                    <div class=\"alert alert-info text-center\" role=\"alert\" attrs=\"{'invisible': ['|','|',('paired_internal_transfer_payment_id','!=',False),('is_internal_transfer','=',False),('state','!=','draft')]}\">\n                        Khoản thanh toán thứ hai sẽ được tạo tự động trong sổ nhật ký đích.\n                    </div>\n                    <div class=\"alert alert-warning text-center\" role=\"alert\" attrs=\"{                             'invisible': ['|', '|', ('is_internal_transfer','=',False), ('require_partner_bank_account', '=', False), ('partner_bank_id', '!=', False)]}\">\n                        Phương thức thanh toán đã chọn yêu cầu tài khoản ngân hàng nhưng không có tài khoản nào được đặt trên\n                        <button class=\"oe_link alert-link\" type=\"object\" name=\"action_open_destination_journal\" style=\"padding: 0; vertical-align: baseline;\">sổ nhật ký đích</button>.\n                    </div>\n                    <sheet>\n                        <!-- Invisible fields -->\n                        <field name=\"id\" invisible=\"1\"/>\n                        <field name=\"is_move_sent\" invisible=\"1\"/>\n                        <field name=\"is_reconciled\" invisible=\"1\"/>\n                        <field name=\"is_matched\" invisible=\"1\"/>\n                        <field name=\"payment_method_code\" invisible=\"1\"/>\n                        <field name=\"show_partner_bank_account\" invisible=\"1\"/>\n                        <field name=\"require_partner_bank_account\" invisible=\"1\"/>\n                        <field name=\"available_payment_method_line_ids\" invisible=\"1\"/>\n                        <field name=\"available_partner_bank_ids\" invisible=\"1\"/>\n                        <field name=\"suitable_journal_ids\" invisible=\"1\"/>\n                        <field name=\"country_code\" invisible=\"1\"/>\n                        <field name=\"partner_type\" invisible=\"1\"/>\n                        <field name=\"posted_before\" invisible=\"1\"/>\n                        <field name=\"reconciled_invoices_type\" invisible=\"1\"/>\n                        <field name=\"company_id\" invisible=\"1\"/>\n                        <field name=\"paired_internal_transfer_payment_id\" invisible=\"1\"/>\n                        <field name=\"available_journal_ids\" invisible=\"1\"/>\n\n                        <div class=\"oe_button_box\" name=\"button_box\">\n                            <!-- Invoice stat button -->\n                            <button name=\"button_open_invoices\" type=\"object\" class=\"oe_stat_button\" icon=\"fa-bars\" attrs=\"{'invisible': [('reconciled_invoices_count','=', 0)]}\">\n                                <div class=\"o_form_field o_stat_info\">\n                                    <span class=\"o_stat_text\">\n                                        <field name=\"reconciled_invoices_count\"/>\n                                        <span attrs=\"{'invisible': [('reconciled_invoices_type', '!=', 'invoice')]}\"> Hóa đơn</span>\n                                        <span attrs=\"{'invisible': [('reconciled_invoices_type', '=', 'invoice')]}\"> Giấy báo có</span>\n                                    </span>\n                                </div>\n                            </button>\n\n                            <!-- Bill stat button -->\n                            <button name=\"button_open_bills\" type=\"object\" class=\"oe_stat_button\" icon=\"fa-bars\" attrs=\"{'invisible': [('reconciled_bills_count','=', 0)]}\">\n                                <div class=\"o_form_field o_stat_info\">\n                                    <span class=\"o_stat_text\">\n                                        <field name=\"reconciled_bills_count\"/>\n                                        <span> Hóa đơn</span>\n                                    </span>\n                                </div>\n                            </button>\n\n                            <!-- Statement stat button -->\n                            <button name=\"button_open_statement_lines\" type=\"object\" class=\"oe_stat_button\" icon=\"fa-bars\" attrs=\"{'invisible': [('reconciled_statement_lines_count','=', 0)]}\">\n                                <div class=\"o_form_field o_stat_info\">\n                                    <field name=\"reconciled_statement_lines_count\"/>\n                                    <span> Giao dịch</span>\n                                </div>\n                            </button>\n\n                            <!-- Journal Entry  button -->\n                            <button name=\"button_open_journal_entry\" type=\"object\" class=\"oe_stat_button\" icon=\"fa-bars\" groups=\"account.group_account_user,account.group_account_readonly\">\n                                <div class=\"o_stat_info\">\n                                    <span class=\"o_stat_text\">Bút toán</span>\n                                </div>\n                            </button>\n                        </div>\n\n                        <widget name=\"web_ribbon\" text=\"Invoicing App Legacy\" bg_color=\"bg-info\" attrs=\"{'invisible': [('state', '!=', 'invoicing_legacy')]}\" tooltip=\"This payment has been generated through the Invoicing app, before installing Accounting. It has been disabled by the 'Invoicing Switch Threshold Date' setting so that it does not impact your accounting.\"/>\n\n                        <div class=\"oe_title\">\n                            <h1 attrs=\"{'invisible': [('state', '!=', 'draft')]}\"><span>Nháp</span></h1>\n                            <h1 attrs=\"{'invisible': [('state', '=', 'draft')]}\"><field name=\"name\" readonly=\"1\"/></h1>\n                        </div>\n\n                        <group>\n                            <group name=\"group1\">\n                                <field name=\"is_internal_transfer\" attrs=\"{'readonly': [('state', '!=', 'draft')]}\"/>\n                                <field name=\"payment_type\" widget=\"radio\" options=\"{'horizontal': True}\" attrs=\"{'readonly': [('state', '!=', 'draft')]}\"/>\n                                <field name=\"partner_id\" context=\"{'default_is_company': True}\" string=\"Khách hàng\" options=\"{'no_quick_create': True}\" attrs=\"{'readonly':[('state', '!=', 'draft')],                                              'invisible':['|', ('partner_type','!=','customer'), ('is_internal_transfer', '=', True)]}\"/>\n                                <field name=\"partner_id\" context=\"{'default_is_company': True}\" string=\"Nhà cung cấp\" options=\"{'no_quick_create': True}\" attrs=\"{'readonly':[('state', '!=', 'draft')],                                                'invisible':['|', ('partner_type','!=','supplier'), ('is_internal_transfer', '=', True)]}\"/>\n                                <label for=\"amount\"/>\n                                <div name=\"amount_div\" class=\"o_row\">\n                                    <field name=\"amount\" attrs=\"{'readonly': [('state', '!=', 'draft')]}\"/>\n                                    <field name=\"currency_id\" options=\"{'no_create': True, 'no_open': True}\" required=\"1\" attrs=\"{'readonly': [('state', '!=', 'draft')]}\" groups=\"base.group_multi_currency\"/>\n                                </div>\n                                <field name=\"date\" attrs=\"{'readonly': [('state', '!=', 'draft')]}\"/>\n                                <field name=\"ref\" string=\"Nội dung giao dịch\"/>\n                            </group>\n                            <group name=\"group2\">\n                                <field name=\"journal_id\" domain=\"[('id', 'in', available_journal_ids)]\" attrs=\"{'readonly': [('state', '!=', 'draft')]}\"/>\n                                <field name=\"payment_method_line_id\" required=\"1\" options=\"{'no_create': True, 'no_open': True}\" attrs=\"{'readonly': [('state', '!=', 'draft')]}\"/>\n\n                                <field name=\"partner_bank_id\" string=\"Tài khoản ngân hàng của khách hàng\" context=\"{'default_partner_id': partner_id, 'default_allow_out_payment': True}\" attrs=\"{                                             'invisible': ['|', '|', '|', ('show_partner_bank_account', '=', False), ('partner_type','!=','customer'), ('is_internal_transfer', '=', True), ('payment_type', '=', 'inbound')],                                             'required': [('require_partner_bank_account', '=', True), ('is_internal_transfer', '=', False)],                                         }\"/>\n\n                                <field name=\"partner_bank_id\" string=\"Tài khoản ngân hàng của nhà cung cấp\" context=\"{'default_partner_id': partner_id, 'default_allow_out_payment': True}\" attrs=\"{                                             'invisible': ['|', '|', '|', ('show_partner_bank_account', '=', False), ('partner_type','!=','supplier'), ('is_internal_transfer', '=', True), ('payment_type', '=', 'inbound')],                                             'required': [('require_partner_bank_account', '=', True), ('is_internal_transfer', '=', False)],                                         }\"/>\n\n                                <!-- This field should always be readonly but using readonly=\"1\" overrides the other partner_bank_id\n                                fields readonly condition in the framework, preventing the modification of these fields -->\n                                <field name=\"partner_bank_id\" string=\"Tài khoản ngân hàng công ty\" context=\"{'default_partner_id': partner_id, 'default_allow_out_payment': True}\" attrs=\"{                                             'invisible': ['|', '|', ('show_partner_bank_account', '=', False), ('is_internal_transfer', '=', True), ('payment_type', '=', 'outbound')],                                             'required': [('require_partner_bank_account', '=', True), ('is_internal_transfer', '=', False)],                                         }\"/>\n\n                                <field name=\"destination_journal_id\" context=\"{'default_partner_id': partner_id}\" attrs=\"{'invisible': [('is_internal_transfer', '=', False)],                                        'readonly': [('state', '!=', 'draft')], 'required': [('is_internal_transfer', '=', True),('state', '=', 'draft')]}\"/>\n                            </group>\n                            <group>\n                                <field name=\"qr_code\" invisible=\"1\"/>\n                                <div attrs=\"{'invisible': [('qr_code', '=', False)]}\" colspan=\"2\" class=\"text-center\">\n                                    <field name=\"qr_code\" widget=\"html\"/>\n                                </div>\n                            </group>\n                        </group>\n                    </sheet>\n                    <div class=\"o_attachment_preview\"/>\n                    <div class=\"oe_chatter\">\n                        <field name=\"message_follower_ids\" groups=\"base.group_user\"/>\n                        <field name=\"activity_ids\"/>\n                        <field name=\"message_ids\"/>\n                    </div>\n                </form>"}