{"en_US": "<form>\n                <header>\n                    <button name=\"action_submit\" type=\"object\" string=\"Submit\" states=\"draft\" class=\"oe_highlight\" invisible=\"context.get('is_modal')\"/>\n                    <button name=\"action_submit\" type=\"object\" string=\"Retry\" states=\"error\" class=\"oe_highlight\" invisible=\"context.get('is_modal')\"/>\n                    <field name=\"state\" widget=\"statusbar\" statusbar_visible=\"draft,done\" invisible=\"context.get('is_modal')\"/>\n                </header>\n                <div class=\"alert alert-danger text-center my-0\" role=\"alert\" attrs=\"{'invisible': [('error_type', '=', False)]}\">\n                    <field name=\"error_type\" invisible=\"1\"/>\n                    <field name=\"lead_type\" invisible=\"1\"/>\n                    <span attrs=\"{'invisible': [('error_type', '!=', 'credits')]}\">\n                        <span>You do not have enough credits to submit this request.\n                            <button name=\"action_buy_credits\" type=\"object\" class=\"oe_inline p-0 border-0 align-top text-primary\">Buy credits.</button>\n                        </span>\n                    </span>\n                    <span attrs=\"{'invisible': [('error_type', '!=', 'no_result')]}\">Your request did not return any result (no credits were used). Try removing some filters.</span>\n                </div>\n                <sheet>\n                    <div class=\"oe_button_box\" name=\"button_box\">\n                        <button name=\"action_get_opportunity_action\" class=\"oe_stat_button\" type=\"object\" icon=\"fa-star\" attrs=\"{'invisible': ['|', ('lead_type', '!=', 'opportunity'), ('state', '!=' , 'done')]}\">\n                            <div class=\"o_stat_info\">\n                                <field name=\"lead_count\"/>\n                                <span class=\"o_stat_text\">Opportunities</span>\n                            </div>\n                        </button>\n                        <button name=\"action_get_lead_action\" class=\"oe_stat_button\" type=\"object\" icon=\"fa-star\" groups=\"crm.group_use_lead\" attrs=\"{'invisible': ['|', ('lead_type', '!=', 'lead'), ('state', '!=' , 'done')]}\">\n                            <div class=\"o_stat_info\">\n                                <field name=\"lead_count\"/>\n                                <span class=\"o_stat_text\">Leads</span>\n                            </div>\n                        </button>\n                    </div>\n                    <span invisible=\"context.get('is_modal')\">\n                        <div class=\"row\">\n                            <div class=\"col-md-6\">\n                                <div class=\"oe_title\">\n                                    <h1>\n                                        <field name=\"name\"/>\n                                    </h1>\n                                </div>\n                            </div>\n                        </div>\n                    </span>\n\n                    <h2>What do you need ?</h2>\n\n                    <group name=\"requests\">\n                        <group>\n                            <div class=\"o_row py-3\">\n                                <field name=\"lead_number\" attrs=\"{'readonly': [('state', '=', 'done')]}\" nolabel=\"1\" class=\"oe_inline pe-2 o_input_3ch\"/>\n                                <field name=\"search_type\" widget=\"selection\" attrs=\"{'readonly': [('state', '=', 'done')]}\" nolabel=\"1\" class=\"oe_inline\"/>\n                            </div>\n                        </group>\n                    </group>\n\n                    <group>\n                        <group name=\"companies\">\n                            <field name=\"country_ids\" widget=\"many2many_tags\" attrs=\"{'readonly': [('state', '=', 'done')]}\" required=\"True\" options=\"{'no_create': True, 'no_open': True}\"/>\n                            <field name=\"available_state_ids\" invisible=\"1\"/>\n                            <field name=\"state_ids\" widget=\"many2many_tags\" attrs=\"{'invisible': ['|', ('country_ids', '=', []), ('available_state_ids', '=', [])], 'readonly': [('state', '=', 'done')]}\" domain=\"[('id', 'in', available_state_ids)]\" options=\"{'no_create': True, 'no_open': True}\"/>\n                            <field name=\"industry_ids\" widget=\"many2many_tags\" attrs=\"{'readonly': [('state', '=', 'done')]}\" options=\"{'no_create': True, 'no_open': True}\" class=\"o_industry\" required=\"1\"/>\n                            <field name=\"filter_on_size\" attrs=\"{'readonly': [('state', '=', 'done')]}\"/>\n                            <label for=\"company_size_min\" attrs=\"{'invisible': [('filter_on_size', '=', False)]}\"/>\n                            <div attrs=\"{'invisible': [('filter_on_size', '=', False)]}\">\n                                From\n                                <field name=\"company_size_min\" class=\"oe_inline px-2 o_input_5ch\" attrs=\"{'required': [('filter_on_size', '=', True)], 'readonly': [('state', '=', 'done')]}\"/>\n                                to\n                                <field name=\"company_size_max\" class=\"oe_inline px-2 o_input_7ch\" attrs=\"{'required': [('filter_on_size', '=', True)], 'readonly': [('state', '=', 'done')]}\"/>\n                                employees\n                            </div>\n\n                        </group>\n                        <group name=\"lead_info\">\n                            <field name=\"lead_type\" groups=\"crm.group_use_lead\" invisible=\"context.get('is_modal')\" attrs=\"{'readonly': [('state', '=', 'done')]}\"/>\n                            <field name=\"team_id\" no_create=\"1\" no_open=\"1\" attrs=\"{'readonly': [('state', '=', 'done')]}\" kanban_view_ref=\"468\"/>\n                            <field name=\"user_id\" no_create=\"1\" no_open=\"1\" attrs=\"{'readonly': [('state', '=', 'done')]}\"/>\n                            <field name=\"tag_ids\" string=\"Default Tags\" widget=\"many2many_tags\" attrs=\"{'readonly': [('state', '=', 'done')]}\"/>\n                        </group>\n                    </group>\n\n                    <group name=\"contacts\" attrs=\"{'invisible': [('search_type', '!=', 'people')]}\">\n                        <div colspan=\"2\" class=\"py-3\">\n                             <field name=\"contact_number\" attrs=\"{'readonly': [('state', '=', 'done')], 'required': [('search_type', '=', 'people')]}\" nolabel=\"1\" class=\"oe_inline pe-2 col-md-1 o_input_2ch\"/>\n                             <span class=\"col-md-6\">Extra contacts per Company</span>\n                        </div>\n                    </group>\n                    <group attrs=\"{'invisible': [('search_type', '!=', 'people')]}\">\n                        <group>\n                            <field name=\"contact_filter_type\" widget=\"radio\" attrs=\"{'readonly': [('state', '=', 'done')]}\" options=\"{'horizontal': true}\"/>\n                            <field name=\"preferred_role_id\" options=\"{'no_create_edit': True, 'no_quick_create': True, 'no_open': True}\" attrs=\"{'invisible': [('contact_filter_type','!=', 'role')], 'required': [('search_type', '=', 'people'), ('contact_filter_type', '=', 'role')], 'readonly': [('state', '=', 'done')]}\"/>\n                            <field name=\"role_ids\" widget=\"many2many_tags\" options=\"{'color_field': 'color', 'no_create_edit': True, 'no_quick_create': True}\" attrs=\"{'invisible': ['|', ('preferred_role_id','=', False), ('contact_filter_type','!=', 'role')], 'readonly': [('state', '=', 'done')]}\"/>\n                            <field name=\"seniority_id\" options=\"{'no_create_edit': True, 'no_quick_create': True, 'no_open': True}\" attrs=\"{'invisible': [('contact_filter_type', '!=', 'seniority')], 'required': [('search_type', '=', 'people'), ('contact_filter_type', '=', 'seniority')], 'readonly': [('state', '=', 'done')]}\"/>\n                        </group>\n                    </group>\n                    <footer>\n                        <button string=\"Generate Leads\" name=\"action_submit\" type=\"object\" default_focus=\"1\" class=\"btn-primary\" invisible=\"not context.get('is_modal')\" data-hotkey=\"q\"/>\n                        <button string=\"Cancel\" class=\"btn-secondary\" special=\"cancel\" data-hotkey=\"z\" invisible=\"not context.get('is_modal')\"/>\n                    </footer>\n                </sheet>\n            </form>", "vi_VN": "<form>\n                <header>\n                    <button name=\"action_submit\" type=\"object\" string=\"Gửi\" states=\"draft\" class=\"oe_highlight\" invisible=\"context.get('is_modal')\"/>\n                    <button name=\"action_submit\" type=\"object\" string=\"Thử lại\" states=\"error\" class=\"oe_highlight\" invisible=\"context.get('is_modal')\"/>\n                    <field name=\"state\" widget=\"statusbar\" statusbar_visible=\"draft,done\" invisible=\"context.get('is_modal')\"/>\n                </header>\n                <div class=\"alert alert-danger text-center my-0\" role=\"alert\" attrs=\"{'invisible': [('error_type', '=', False)]}\">\n                    <field name=\"error_type\" invisible=\"1\"/>\n                    <field name=\"lead_type\" invisible=\"1\"/>\n                    <span attrs=\"{'invisible': [('error_type', '!=', 'credits')]}\">\n                        <span>Bạn không có đủ tín dụng để gửi yêu cầu này. \n                            <button name=\"action_buy_credits\" type=\"object\" class=\"oe_inline p-0 border-0 align-top text-primary\">Mua tín dụng. </button>\n                        </span>\n                    </span>\n                    <span attrs=\"{'invisible': [('error_type', '!=', 'no_result')]}\">Yêu cầu của bạn không trả lại kết quả nào (không có tín dụng đã sử dụng). Hãy thử xóa một số bộ lọc.</span>\n                </div>\n                <sheet>\n                    <div class=\"oe_button_box\" name=\"button_box\">\n                        <button name=\"action_get_opportunity_action\" class=\"oe_stat_button\" type=\"object\" icon=\"fa-star\" attrs=\"{'invisible': ['|', ('lead_type', '!=', 'opportunity'), ('state', '!=' , 'done')]}\">\n                            <div class=\"o_stat_info\">\n                                <field name=\"lead_count\"/>\n                                <span class=\"o_stat_text\">Cơ hội</span>\n                            </div>\n                        </button>\n                        <button name=\"action_get_lead_action\" class=\"oe_stat_button\" type=\"object\" icon=\"fa-star\" groups=\"crm.group_use_lead\" attrs=\"{'invisible': ['|', ('lead_type', '!=', 'lead'), ('state', '!=' , 'done')]}\">\n                            <div class=\"o_stat_info\">\n                                <field name=\"lead_count\"/>\n                                <span class=\"o_stat_text\">Lead</span>\n                            </div>\n                        </button>\n                    </div>\n                    <span invisible=\"context.get('is_modal')\">\n                        <div class=\"row\">\n                            <div class=\"col-md-6\">\n                                <div class=\"oe_title\">\n                                    <h1>\n                                        <field name=\"name\"/>\n                                    </h1>\n                                </div>\n                            </div>\n                        </div>\n                    </span>\n\n                    <h2>Bạn cần thực hiện việc gì? </h2>\n\n                    <group name=\"requests\">\n                        <group>\n                            <div class=\"o_row py-3\">\n                                <field name=\"lead_number\" attrs=\"{'readonly': [('state', '=', 'done')]}\" nolabel=\"1\" class=\"oe_inline pe-2 o_input_3ch\"/>\n                                <field name=\"search_type\" widget=\"selection\" attrs=\"{'readonly': [('state', '=', 'done')]}\" nolabel=\"1\" class=\"oe_inline\"/>\n                            </div>\n                        </group>\n                    </group>\n\n                    <group>\n                        <group name=\"companies\">\n                            <field name=\"country_ids\" widget=\"many2many_tags\" attrs=\"{'readonly': [('state', '=', 'done')]}\" required=\"True\" options=\"{'no_create': True, 'no_open': True}\"/>\n                            <field name=\"available_state_ids\" invisible=\"1\"/>\n                            <field name=\"state_ids\" widget=\"many2many_tags\" attrs=\"{'invisible': ['|', ('country_ids', '=', []), ('available_state_ids', '=', [])], 'readonly': [('state', '=', 'done')]}\" domain=\"[('id', 'in', available_state_ids)]\" options=\"{'no_create': True, 'no_open': True}\"/>\n                            <field name=\"industry_ids\" widget=\"many2many_tags\" attrs=\"{'readonly': [('state', '=', 'done')]}\" options=\"{'no_create': True, 'no_open': True}\" class=\"o_industry\" required=\"1\"/>\n                            <field name=\"filter_on_size\" attrs=\"{'readonly': [('state', '=', 'done')]}\"/>\n                            <label for=\"company_size_min\" attrs=\"{'invisible': [('filter_on_size', '=', False)]}\"/>\n                            <div attrs=\"{'invisible': [('filter_on_size', '=', False)]}\">\n                                Từ\n                                <field name=\"company_size_min\" class=\"oe_inline px-2 o_input_5ch\" attrs=\"{'required': [('filter_on_size', '=', True)], 'readonly': [('state', '=', 'done')]}\"/>\n                                tới\n                                <field name=\"company_size_max\" class=\"oe_inline px-2 o_input_7ch\" attrs=\"{'required': [('filter_on_size', '=', True)], 'readonly': [('state', '=', 'done')]}\"/>\n                                nhân viên\n                            </div>\n\n                        </group>\n                        <group name=\"lead_info\">\n                            <field name=\"lead_type\" groups=\"crm.group_use_lead\" invisible=\"context.get('is_modal')\" attrs=\"{'readonly': [('state', '=', 'done')]}\"/>\n                            <field name=\"team_id\" no_create=\"1\" no_open=\"1\" attrs=\"{'readonly': [('state', '=', 'done')]}\" kanban_view_ref=\"468\"/>\n                            <field name=\"user_id\" no_create=\"1\" no_open=\"1\" attrs=\"{'readonly': [('state', '=', 'done')]}\"/>\n                            <field name=\"tag_ids\" string=\"Thẻ mặc định\" widget=\"many2many_tags\" attrs=\"{'readonly': [('state', '=', 'done')]}\"/>\n                        </group>\n                    </group>\n\n                    <group name=\"contacts\" attrs=\"{'invisible': [('search_type', '!=', 'people')]}\">\n                        <div colspan=\"2\" class=\"py-3\">\n                             <field name=\"contact_number\" attrs=\"{'readonly': [('state', '=', 'done')], 'required': [('search_type', '=', 'people')]}\" nolabel=\"1\" class=\"oe_inline pe-2 col-md-1 o_input_2ch\"/>\n                             <span class=\"col-md-6\">Liên hệ thêm của từng công ty</span>\n                        </div>\n                    </group>\n                    <group attrs=\"{'invisible': [('search_type', '!=', 'people')]}\">\n                        <group>\n                            <field name=\"contact_filter_type\" widget=\"radio\" attrs=\"{'readonly': [('state', '=', 'done')]}\" options=\"{'horizontal': true}\"/>\n                            <field name=\"preferred_role_id\" options=\"{'no_create_edit': True, 'no_quick_create': True, 'no_open': True}\" attrs=\"{'invisible': [('contact_filter_type','!=', 'role')], 'required': [('search_type', '=', 'people'), ('contact_filter_type', '=', 'role')], 'readonly': [('state', '=', 'done')]}\"/>\n                            <field name=\"role_ids\" widget=\"many2many_tags\" options=\"{'color_field': 'color', 'no_create_edit': True, 'no_quick_create': True}\" attrs=\"{'invisible': ['|', ('preferred_role_id','=', False), ('contact_filter_type','!=', 'role')], 'readonly': [('state', '=', 'done')]}\"/>\n                            <field name=\"seniority_id\" options=\"{'no_create_edit': True, 'no_quick_create': True, 'no_open': True}\" attrs=\"{'invisible': [('contact_filter_type', '!=', 'seniority')], 'required': [('search_type', '=', 'people'), ('contact_filter_type', '=', 'seniority')], 'readonly': [('state', '=', 'done')]}\"/>\n                        </group>\n                    </group>\n                    <footer>\n                        <button string=\"Tạo lead\" name=\"action_submit\" type=\"object\" default_focus=\"1\" class=\"btn-primary\" invisible=\"not context.get('is_modal')\" data-hotkey=\"q\"/>\n                        <button string=\"Hủy\" class=\"btn-secondary\" special=\"cancel\" data-hotkey=\"z\" invisible=\"not context.get('is_modal')\"/>\n                    </footer>\n                </sheet>\n            </form>"}