{"en_US": "<form string=\"Partners\">\n                <div class=\"alert alert-warning oe_edit_only\" role=\"alert\" name=\"warning_tax\" invisible=\"not same_vat_partner_id\">\n                  A partner with the same <span><field name=\"vat_label\"/></span> already exists (<field name=\"same_vat_partner_id\" context=\"{'show_address': False, 'show_vat': False}\"/>), are you sure you want to create a new one?\n                </div>\n                <div class=\"alert alert-warning oe_edit_only\" role=\"alert\" name=\"warning_company\" invisible=\"not same_company_registry_partner_id\">\n                  A partner with the same <span><field name=\"company_registry_label\"/></span> already exists (<field name=\"same_company_registry_partner_id\" context=\"{'show_address': False, 'show_vat': False}\"/>), are you sure you want to create a new one?\n                </div>\n                <sheet>\n                    <div class=\"oe_button_box\" name=\"button_box\"/>\n                    <widget name=\"web_ribbon\" title=\"Archived\" bg_color=\"text-bg-danger\" invisible=\"active\"/>\n                    <field name=\"image_1920\" widget=\"image\" class=\"oe_avatar\" options=\"{&quot;preview_image&quot;: &quot;avatar_128&quot;}\"/>\n                    <div class=\"oe_title mb24\">\n                        <field name=\"company_type\" widget=\"radio\" options=\"{'horizontal': true}\"/>\n                        <h1>\n                            <field id=\"company\" options=\"{'line_breaks': False}\" widget=\"text\" class=\"text-break\" name=\"name\" default_focus=\"1\" placeholder=\"e.g. Lumber Inc\" invisible=\"not is_company\" required=\"type == 'contact'\"/>\n                            <field id=\"individual\" options=\"{'line_breaks': False}\" widget=\"text\" class=\"text-break\" name=\"name\" default_focus=\"1\" placeholder=\"e.g. Brandon Freeman\" invisible=\"is_company\" required=\"type == 'contact'\"/>\n                        </h1>\n                        <div class=\"o_row\">\n                            <field name=\"parent_id\" widget=\"res_partner_many2one\" placeholder=\"Company Name...\" domain=\"[('is_company', '=', True)]\" context=\"{'default_is_company': True, 'show_vat': True, 'default_user_id': user_id}\" invisible=\"((is_company and not parent_id) or company_name) and company_name != ''\"/>\n                                <field name=\"company_name\" invisible=\"not company_name or company_name == '' or is_company\"/>\n                                <button name=\"create_company\" icon=\"fa-plus-square\" string=\"Create company\" type=\"object\" class=\"oe_edit_only btn-link\" invisible=\"is_company or company_name == '' or not company_name\"/>\n                        </div>\n                    </div>\n\n                    <group>\n                        <group>\n                            <span class=\"o_form_label o_td_label o_address_type\" name=\"address_name\">\n                                <field name=\"type\" invisible=\"is_company\" readonly=\"user_ids\" required=\"not is_company\" class=\"fw-bold\"/>\n                                <span invisible=\"not is_company\">Address</span>\n                            </span>\n                            <div class=\"o_address_format\">\n                                <field name=\"street\" placeholder=\"Street...\" class=\"o_address_street\" readonly=\"type == 'contact' and parent_id\"/>\n                                <field name=\"street2\" placeholder=\"Street 2...\" class=\"o_address_street\" readonly=\"type == 'contact' and parent_id\"/>\n                                <field name=\"city\" placeholder=\"City\" class=\"o_address_city\" readonly=\"type == 'contact' and parent_id\"/>\n                                <field name=\"state_id\" class=\"o_address_state\" placeholder=\"State\" options=\"{'no_open': True, 'no_quick_create': True}\" readonly=\"type == 'contact' and parent_id\" context=\"{'country_id': country_id, 'default_country_id': country_id, 'zip': zip}\"/>\n                                <field name=\"zip\" placeholder=\"ZIP\" class=\"o_address_zip\" readonly=\"type == 'contact' and parent_id\"/>\n                                <div name=\"partner_address_country\" class=\"d-flex justify-content-between\">\n                                    <field name=\"country_id\" placeholder=\"Country\" class=\"o_address_country\" options=\"{&quot;no_open&quot;: True, &quot;no_create&quot;: True}\" readonly=\"type == 'contact' and parent_id\"/>\n                                </div>\n                            </div>\n                            <field name=\"vat\" placeholder=\"e.g. BE0477472701\" readonly=\"parent_id\"/>\n                        </group>\n                        <group>\n                            <field name=\"function\" placeholder=\"e.g. Sales Director\" invisible=\"is_company\"/>\n                            <field name=\"phone\" widget=\"phone\"/>\n                            <field name=\"mobile\" widget=\"phone\"/>\n                            <field name=\"email\" widget=\"email\" context=\"{'gravatar_image': True}\" required=\"user_ids\"/>\n                            <field name=\"website\" string=\"Website\" widget=\"url\" placeholder=\"e.g. https://www.odoo.com\"/>\n                            <field name=\"title\" options=\"{&quot;no_open&quot;: True}\" placeholder=\"e.g. Mister\" invisible=\"is_company\"/>\n                            <field name=\"lang\" invisible=\"active_lang_count &lt;= 1\"/>\n                            <field name=\"category_id\" widget=\"many2many_tags\" options=\"{'color_field': 'color'}\" placeholder=\"e.g. &quot;B2B&quot;, &quot;VIP&quot;, &quot;Consulting&quot;, ...\"/>\n                        </group>\n                    </group>\n\n                    <notebook colspan=\"4\">\n                        <page string=\"Contacts &amp; Addresses\" name=\"contact_addresses\" autofocus=\"autofocus\">\n                            <field name=\"child_ids\" mode=\"kanban\" context=\"{'default_parent_id': id, 'default_street': street, 'default_street2': street2, 'default_city': city, 'default_state_id': state_id, 'default_zip': zip, 'default_country_id': country_id, 'default_lang': lang, 'default_user_id': user_id, 'default_type': 'other'}\">\n                                <kanban color=\"color\">\n                                    <field name=\"color\"/>\n                                    <field name=\"type\"/>\n                                    <field name=\"is_company\"/>\n                                    <templates>\n                                        <t t-name=\"card\" class=\"flex-row\">\n                                            <aside class=\"o_kanban_aside_full\">\n                                                <field name=\"avatar_128\" class=\"o_kanban_image_fill w-100\" widget=\"image\" options=\"{'img_class': 'object-fit-cover'}\" alt=\"Contact image\"/>\n                                            </aside>\n                                            <main class=\"ps-2 ps-md-0\">\n                                                <field name=\"name\" class=\"fw-bold\"/>\n                                                <field name=\"function\"/>\n                                                <field name=\"email\" widget=\"email\"/>\n                                                <div t-if=\"record.type.raw_value != 'contact'\">\n                                                    <div>\n                                                        <field class=\"me-1\" name=\"zip\"/>\n                                                        <field name=\"city\"/>\n                                                    </div>\n                                                    <field class=\"me-1\" name=\"state_id\"/>\n                                                    <field name=\"country_id\"/>\n                                                </div>\n                                                <div t-if=\"record.phone.raw_value\">Phone: <field name=\"phone\"/></div>\n                                                <div t-if=\"record.mobile.raw_value\">Mobile: <field name=\"mobile\"/></div>\n                                            </main>\n                                        </t>\n                                    </templates>\n                                </kanban>\n                                <form string=\"Contact / Address\">\n                                    <sheet>\n                                        <field name=\"type\" required=\"1\" widget=\"radio\" options=\"{'horizontal': true}\"/>\n                                        <div class=\"text-muted oe_edit_only\">\n                                            <p class=\"mb-0\" invisible=\"type != 'contact'\">\n                                                <span>Use this to organize the contact details of employees of a given company (e.g. CEO, CFO, ...).</span>\n                                            </p>\n                                            <p class=\"mb-0\" invisible=\"type != 'invoice'\">\n                                                <span>Preferred address for all invoices. Selected by default when you invoice an order that belongs to this company.</span>\n                                            </p>\n                                            <p class=\"mb-0\" invisible=\"type != 'delivery'\">\n                                                <span>Preferred address for all deliveries. Selected by default when you deliver an order that belongs to this company.</span>\n                                            </p>\n                                            <p class=\"mb-0\" invisible=\"type != 'other'\">\n                                                <span>Other address for the company (e.g. subsidiary, ...)</span>\n                                            </p>\n                                        </div>\n                                        <hr/>\n                                        <group>\n                                            <group>\n                                                <field name=\"name\" string=\"Contact Name\" required=\"type == 'contact'\" placeholder=\"e.g. New Address\"/>\n                                                <field name=\"title\" options=\"{'no_open': True}\" placeholder=\"e.g. Mr.\" invisible=\"type != 'contact'\"/>\n                                                <field name=\"function\" placeholder=\"e.g. Sales Director\" invisible=\"type != 'contact'\"/>\n                                                <label for=\"street\" string=\"Address\" invisible=\"type == 'contact'\"/>\n                                                <div invisible=\"type == 'contact'\">\n                                                    <div class=\"o_address_format\" name=\"div_address\">\n                                                        <field name=\"street\" placeholder=\"Street...\" class=\"o_address_street\"/>\n                                                        <field name=\"street2\" placeholder=\"Street 2...\" class=\"o_address_street\"/>\n                                                        <field name=\"city\" placeholder=\"City\" class=\"o_address_city\"/>\n                                                        <field name=\"state_id\" class=\"o_address_state\" placeholder=\"State\" options=\"{'no_open': True, 'no_quick_create': True}\" context=\"{'country_id': country_id, 'default_country_id': country_id, 'zip': zip}\"/>\n                                                        <field name=\"zip\" placeholder=\"ZIP\" class=\"o_address_zip\"/>\n                                                        <field name=\"country_id\" placeholder=\"Country\" class=\"o_address_country\" options=\"{&quot;no_open&quot;: True, &quot;no_create&quot;: True}\"/>\n                                                    </div>\n                                                </div>\n                                            </group>\n                                            <group>\n                                                <field name=\"email\" widget=\"email\"/>\n                                                <field name=\"phone\" widget=\"phone\"/>\n                                                <field name=\"mobile\" widget=\"phone\"/>\n                                                <field name=\"company_id\" invisible=\"1\"/>    <!-- Need to save value from parented record, cf onchange -->\n                                            </group>\n                                        </group>\n                                        <group>\n                                            <field name=\"comment\" placeholder=\"Internal notes...\" nolabel=\"1\"/>\n                                        </group>\n                                        <field name=\"lang\" invisible=\"True\"/>  <!-- Need to add lang to save default value from parented record -->\n                                    </sheet>\n                                </form>\n                            </field>\n                        </page>\n                        <page name=\"sales_purchases\" string=\"Sales &amp; Purchase\">\n                            <group name=\"container_row_2\">\n                                <group string=\"Sales\" name=\"sale\" priority=\"1\">\n                                    <field name=\"user_id\" widget=\"many2one_avatar_user\" domain=\"[('share', '=', False)]\"/>\n                                </group>\n                                <group string=\"Purchase\" name=\"purchase\" priority=\"2\">\n                                </group>\n                                <group name=\"misc\" string=\"Misc\">\n                                    <field name=\"company_registry\" invisible=\"parent_id\"/>\n                                    <field name=\"ref\" string=\"Reference\"/>\n                                    <field name=\"company_id\" groups=\"base.group_multi_company\" options=\"{'no_create': True}\" readonly=\"parent_id\" force_save=\"1\"/>\n                                    <field name=\"company_id\" invisible=\"1\"/> <!-- need to be able to to compute based on the company even without multi company groups -->\n                                    <field name=\"industry_id\" invisible=\"not is_company\" options=\"{'no_create': True}\"/>\n                                </group>\n                            </group>\n                        </page>\n                        <page name=\"internal_notes\" string=\"Internal Notes\">\n                            <field name=\"comment\" placeholder=\"Internal notes...\"/>\n                        </page>\n                    </notebook>\n                </sheet>\n                </form>", "es_ES": "<form string=\"Contactos\">\n                <div class=\"alert alert-warning oe_edit_only\" role=\"alert\" name=\"warning_tax\" invisible=\"not same_vat_partner_id\">\n                  Un contacto con el/la mismo/a <span><field name=\"vat_label\"/></span> ya existe (<field name=\"same_vat_partner_id\" context=\"{'show_address': False, 'show_vat': False}\"/>), ¿está seguro de que quiere crear uno nuevo?\n                </div>\n                <div class=\"alert alert-warning oe_edit_only\" role=\"alert\" name=\"warning_company\" invisible=\"not same_company_registry_partner_id\">\n                  Un contacto con el/la mismo/a <span><field name=\"company_registry_label\"/></span> ya existe (<field name=\"same_company_registry_partner_id\" context=\"{'show_address': False, 'show_vat': False}\"/>), ¿está seguro de que quiere crear uno nuevo?\n                </div>\n                <sheet>\n                    <div class=\"oe_button_box\" name=\"button_box\"/>\n                    <widget name=\"web_ribbon\" title=\"Archivado\" bg_color=\"text-bg-danger\" invisible=\"active\"/>\n                    <field name=\"image_1920\" widget=\"image\" class=\"oe_avatar\" options=\"{&quot;preview_image&quot;: &quot;avatar_128&quot;}\"/>\n                    <div class=\"oe_title mb24\">\n                        <field name=\"company_type\" widget=\"radio\" options=\"{'horizontal': true}\"/>\n                        <h1>\n                            <field id=\"company\" options=\"{'line_breaks': False}\" widget=\"text\" class=\"text-break\" name=\"name\" default_focus=\"1\" placeholder=\"p. ej. Lumber Inc\" invisible=\"not is_company\" required=\"type == 'contact'\"/>\n                            <field id=\"individual\" options=\"{'line_breaks': False}\" widget=\"text\" class=\"text-break\" name=\"name\" default_focus=\"1\" placeholder=\"p. ej. Brandon Freeman\" invisible=\"is_company\" required=\"type == 'contact'\"/>\n                        </h1>\n                        <div class=\"o_row\">\n                            <field name=\"parent_id\" widget=\"res_partner_many2one\" placeholder=\"Nombre de la empresa...\" domain=\"[('is_company', '=', True)]\" context=\"{'default_is_company': True, 'show_vat': True, 'default_user_id': user_id}\" invisible=\"((is_company and not parent_id) or company_name) and company_name != ''\"/>\n                                <field name=\"company_name\" invisible=\"not company_name or company_name == '' or is_company\"/>\n                                <button name=\"create_company\" icon=\"fa-plus-square\" string=\"Crear compañía\" type=\"object\" class=\"oe_edit_only btn-link\" invisible=\"is_company or company_name == '' or not company_name\"/>\n                        </div>\n                    </div>\n\n                    <group>\n                        <group>\n                            <span class=\"o_form_label o_td_label o_address_type\" name=\"address_name\">\n                                <field name=\"type\" invisible=\"is_company\" readonly=\"user_ids\" required=\"not is_company\" class=\"fw-bold\"/>\n                                <span invisible=\"not is_company\">Dirección</span>\n                            </span>\n                            <div class=\"o_address_format\">\n                                <field name=\"street\" placeholder=\"Calle...\" class=\"o_address_street\" readonly=\"type == 'contact' and parent_id\"/>\n                                <field name=\"street2\" placeholder=\"Calle 2...\" class=\"o_address_street\" readonly=\"type == 'contact' and parent_id\"/>\n                                <field name=\"city\" placeholder=\"Ciudad\" class=\"o_address_city\" readonly=\"type == 'contact' and parent_id\"/>\n                                <field name=\"state_id\" class=\"o_address_state\" placeholder=\"Provincia\" options=\"{'no_open': True, 'no_quick_create': True}\" readonly=\"type == 'contact' and parent_id\" context=\"{'country_id': country_id, 'default_country_id': country_id, 'zip': zip}\"/>\n                                <field name=\"zip\" placeholder=\"C.P.\" class=\"o_address_zip\" readonly=\"type == 'contact' and parent_id\"/>\n                                <div name=\"partner_address_country\" class=\"d-flex justify-content-between\">\n                                    <field name=\"country_id\" placeholder=\"País\" class=\"o_address_country\" options=\"{&quot;no_open&quot;: True, &quot;no_create&quot;: True}\" readonly=\"type == 'contact' and parent_id\"/>\n                                </div>\n                            </div>\n                            <field name=\"vat\" placeholder=\"p. ej., ESA00000000\" readonly=\"parent_id\"/>\n                        </group>\n                        <group>\n                            <field name=\"function\" placeholder=\"p. ej. director de ventas\" invisible=\"is_company\"/>\n                            <field name=\"phone\" widget=\"phone\"/>\n                            <field name=\"mobile\" widget=\"phone\"/>\n                            <field name=\"email\" widget=\"email\" context=\"{'gravatar_image': True}\" required=\"user_ids\"/>\n                            <field name=\"website\" string=\"Sitio web\" widget=\"url\" placeholder=\"p. ej. https://www.odoo.com\"/>\n                            <field name=\"title\" options=\"{&quot;no_open&quot;: True}\" placeholder=\"p. ej. Señor\" invisible=\"is_company\"/>\n                            <field name=\"lang\" invisible=\"active_lang_count &lt;= 1\"/>\n                            <field name=\"category_id\" widget=\"many2many_tags\" options=\"{'color_field': 'color'}\" placeholder=\"p. ej., &quot;B2B&quot;, &quot;VIP&quot;, &quot;consultoría&quot;, ...\"/>\n                        </group>\n                    </group>\n\n                    <notebook colspan=\"4\">\n                        <page string=\"Contactos y direcciones\" name=\"contact_addresses\" autofocus=\"autofocus\">\n                            <field name=\"child_ids\" mode=\"kanban\" context=\"{'default_parent_id': id, 'default_street': street, 'default_street2': street2, 'default_city': city, 'default_state_id': state_id, 'default_zip': zip, 'default_country_id': country_id, 'default_lang': lang, 'default_user_id': user_id, 'default_type': 'other'}\">\n                                <kanban color=\"color\">\n                                    <field name=\"color\"/>\n                                    <field name=\"type\"/>\n                                    <field name=\"is_company\"/>\n                                    <templates>\n                                        <t t-name=\"card\" class=\"flex-row\">\n                                            <aside class=\"o_kanban_aside_full\">\n                                                <field name=\"avatar_128\" class=\"o_kanban_image_fill w-100\" widget=\"image\" options=\"{'img_class': 'object-fit-cover'}\" alt=\"Imagen del contacto\"/>\n                                            </aside>\n                                            <main class=\"ps-2 ps-md-0\">\n                                                <field name=\"name\" class=\"fw-bold\"/>\n                                                <field name=\"function\"/>\n                                                <field name=\"email\" widget=\"email\"/>\n                                                <div t-if=\"record.type.raw_value != 'contact'\">\n                                                    <div>\n                                                        <field class=\"me-1\" name=\"zip\"/>\n                                                        <field name=\"city\"/>\n                                                    </div>\n                                                    <field class=\"me-1\" name=\"state_id\"/>\n                                                    <field name=\"country_id\"/>\n                                                </div>\n                                                <div t-if=\"record.phone.raw_value\">Teléfono: <field name=\"phone\"/></div>\n                                                <div t-if=\"record.mobile.raw_value\">Móvil: <field name=\"mobile\"/></div>\n                                            </main>\n                                        </t>\n                                    </templates>\n                                </kanban>\n                                <form string=\"Contacto/dirección\">\n                                    <sheet>\n                                        <field name=\"type\" required=\"1\" widget=\"radio\" options=\"{'horizontal': true}\"/>\n                                        <div class=\"text-muted oe_edit_only\">\n                                            <p class=\"mb-0\" invisible=\"type != 'contact'\">\n                                                <span>Use esto para organizar los detalles de contacto de los empleados de una empresa específica (Por ejemplo, director ejecutivo, director financiero, etc.).</span>\n                                            </p>\n                                            <p class=\"mb-0\" invisible=\"type != 'invoice'\">\n                                                <span>La dirección preferida para todas las facturas. Se selecciona por defecto cuando se emite una factura para un pedido que pertenece a esta empresa.</span>\n                                            </p>\n                                            <p class=\"mb-0\" invisible=\"type != 'delivery'\">\n                                                <span>La dirección preferida para todas las entregas. Se selecciona por defecto cuando entrega un pedido que pertenece a esta empresa.</span>\n                                            </p>\n                                            <p class=\"mb-0\" invisible=\"type != 'other'\">\n                                                <span>Otras direcciones para la empresa (p. ej. subsidiaria ...)</span>\n                                            </p>\n                                        </div>\n                                        <hr/>\n                                        <group>\n                                            <group>\n                                                <field name=\"name\" string=\"Nombre del contacto\" required=\"type == 'contact'\" placeholder=\"p. ej. Nueva dirección\"/>\n                                                <field name=\"title\" options=\"{'no_open': True}\" placeholder=\"p. ej. Sr.\" invisible=\"type != 'contact'\"/>\n                                                <field name=\"function\" placeholder=\"p. ej. director de ventas\" invisible=\"type != 'contact'\"/>\n                                                <label for=\"street\" string=\"Dirección\" invisible=\"type == 'contact'\"/>\n                                                <div invisible=\"type == 'contact'\">\n                                                    <div class=\"o_address_format\" name=\"div_address\">\n                                                        <field name=\"street\" placeholder=\"Calle...\" class=\"o_address_street\"/>\n                                                        <field name=\"street2\" placeholder=\"Calle 2...\" class=\"o_address_street\"/>\n                                                        <field name=\"city\" placeholder=\"Ciudad\" class=\"o_address_city\"/>\n                                                        <field name=\"state_id\" class=\"o_address_state\" placeholder=\"Provincia\" options=\"{'no_open': True, 'no_quick_create': True}\" context=\"{'country_id': country_id, 'default_country_id': country_id, 'zip': zip}\"/>\n                                                        <field name=\"zip\" placeholder=\"C.P.\" class=\"o_address_zip\"/>\n                                                        <field name=\"country_id\" placeholder=\"País\" class=\"o_address_country\" options=\"{&quot;no_open&quot;: True, &quot;no_create&quot;: True}\"/>\n                                                    </div>\n                                                </div>\n                                            </group>\n                                            <group>\n                                                <field name=\"email\" widget=\"email\"/>\n                                                <field name=\"phone\" widget=\"phone\"/>\n                                                <field name=\"mobile\" widget=\"phone\"/>\n                                                <field name=\"company_id\" invisible=\"1\"/>    <!-- Need to save value from parented record, cf onchange -->\n                                            </group>\n                                        </group>\n                                        <group>\n                                            <field name=\"comment\" placeholder=\"Notas internas...\" nolabel=\"1\"/>\n                                        </group>\n                                        <field name=\"lang\" invisible=\"True\"/>  <!-- Need to add lang to save default value from parented record -->\n                                    </sheet>\n                                </form>\n                            </field>\n                        </page>\n                        <page name=\"sales_purchases\" string=\"Ventas y compras\">\n                            <group name=\"container_row_2\">\n                                <group string=\"Ventas\" name=\"sale\" priority=\"1\">\n                                    <field name=\"user_id\" widget=\"many2one_avatar_user\" domain=\"[('share', '=', False)]\"/>\n                                </group>\n                                <group string=\"Compra\" name=\"purchase\" priority=\"2\">\n                                </group>\n                                <group name=\"misc\" string=\"Varios\">\n                                    <field name=\"company_registry\" invisible=\"parent_id\"/>\n                                    <field name=\"ref\" string=\"Referencia\"/>\n                                    <field name=\"company_id\" groups=\"base.group_multi_company\" options=\"{'no_create': True}\" readonly=\"parent_id\" force_save=\"1\"/>\n                                    <field name=\"company_id\" invisible=\"1\"/> <!-- need to be able to to compute based on the company even without multi company groups -->\n                                    <field name=\"industry_id\" invisible=\"not is_company\" options=\"{'no_create': True}\"/>\n                                </group>\n                            </group>\n                        </page>\n                        <page name=\"internal_notes\" string=\"Notas internas\">\n                            <field name=\"comment\" placeholder=\"Notas internas...\"/>\n                        </page>\n                    </notebook>\n                </sheet>\n                </form>", "pt_PT": "<form string=\"Parceiros\">\n                <div class=\"alert alert-warning oe_edit_only\" role=\"alert\" name=\"warning_tax\" invisible=\"not same_vat_partner_id\">\n                  A partner with the same <span><field name=\"vat_label\"/></span> already exists (<field name=\"same_vat_partner_id\" context=\"{'show_address': False, 'show_vat': False}\"/>), are you sure you want to create a new one?\n                </div>\n                <div class=\"alert alert-warning oe_edit_only\" role=\"alert\" name=\"warning_company\" invisible=\"not same_company_registry_partner_id\">\n                  A partner with the same <span><field name=\"company_registry_label\"/></span> already exists (<field name=\"same_company_registry_partner_id\" context=\"{'show_address': False, 'show_vat': False}\"/>), are you sure you want to create a new one?\n                </div>\n                <sheet>\n                    <div class=\"oe_button_box\" name=\"button_box\"/>\n                    <widget name=\"web_ribbon\" title=\"Arquivados\" bg_color=\"text-bg-danger\" invisible=\"active\"/>\n                    <field name=\"image_1920\" widget=\"image\" class=\"oe_avatar\" options=\"{&quot;preview_image&quot;: &quot;avatar_128&quot;}\"/>\n                    <div class=\"oe_title mb24\">\n                        <field name=\"company_type\" widget=\"radio\" options=\"{'horizontal': true}\"/>\n                        <h1>\n                            <field id=\"company\" options=\"{'line_breaks': False}\" widget=\"text\" class=\"text-break\" name=\"name\" default_focus=\"1\" placeholder=\"p. ex. Lumber Inc.\" invisible=\"not is_company\" required=\"type == 'contact'\"/>\n                            <field id=\"individual\" options=\"{'line_breaks': False}\" widget=\"text\" class=\"text-break\" name=\"name\" default_focus=\"1\" placeholder=\"e.g. Brandon Freeman\" invisible=\"is_company\" required=\"type == 'contact'\"/>\n                        </h1>\n                        <div class=\"o_row\">\n                            <field name=\"parent_id\" widget=\"res_partner_many2one\" placeholder=\"Nome da Empresa...\" domain=\"[('is_company', '=', True)]\" context=\"{'default_is_company': True, 'show_vat': True, 'default_user_id': user_id}\" invisible=\"((is_company and not parent_id) or company_name) and company_name != ''\"/>\n                                <field name=\"company_name\" invisible=\"not company_name or company_name == '' or is_company\"/>\n                                <button name=\"create_company\" icon=\"fa-plus-square\" string=\"Criar empresa\" type=\"object\" class=\"oe_edit_only btn-link\" invisible=\"is_company or company_name == '' or not company_name\"/>\n                        </div>\n                    </div>\n\n                    <group>\n                        <group>\n                            <span class=\"o_form_label o_td_label o_address_type\" name=\"address_name\">\n                                <field name=\"type\" invisible=\"is_company\" readonly=\"user_ids\" required=\"not is_company\" class=\"fw-bold\"/>\n                                <span invisible=\"not is_company\">Endereço</span>\n                            </span>\n                            <div class=\"o_address_format\">\n                                <field name=\"street\" placeholder=\"Rua...\" class=\"o_address_street\" readonly=\"type == 'contact' and parent_id\"/>\n                                <field name=\"street2\" placeholder=\"Rua 2...\" class=\"o_address_street\" readonly=\"type == 'contact' and parent_id\"/>\n                                <field name=\"city\" placeholder=\"Cidade\" class=\"o_address_city\" readonly=\"type == 'contact' and parent_id\"/>\n                                <field name=\"state_id\" class=\"o_address_state\" placeholder=\"Estado\" options=\"{'no_open': True, 'no_quick_create': True}\" readonly=\"type == 'contact' and parent_id\" context=\"{'country_id': country_id, 'default_country_id': country_id, 'zip': zip}\"/>\n                                <field name=\"zip\" placeholder=\"Código Postal\" class=\"o_address_zip\" readonly=\"type == 'contact' and parent_id\"/>\n                                <div name=\"partner_address_country\" class=\"d-flex justify-content-between\">\n                                    <field name=\"country_id\" placeholder=\"País\" class=\"o_address_country\" options=\"{&quot;no_open&quot;: True, &quot;no_create&quot;: True}\" readonly=\"type == 'contact' and parent_id\"/>\n                                </div>\n                            </div>\n                            <field name=\"vat\" placeholder=\"por exemplo, BE0477472701\" readonly=\"parent_id\"/>\n                        </group>\n                        <group>\n                            <field name=\"function\" placeholder=\"p. ex. Diretor de vendas\" invisible=\"is_company\"/>\n                            <field name=\"phone\" widget=\"phone\"/>\n                            <field name=\"mobile\" widget=\"phone\"/>\n                            <field name=\"email\" widget=\"email\" context=\"{'gravatar_image': True}\" required=\"user_ids\"/>\n                            <field name=\"website\" string=\"Website\" widget=\"url\" placeholder=\"p. ex. https://www.odoo.com\"/>\n                            <field name=\"title\" options=\"{&quot;no_open&quot;: True}\" placeholder=\"p. ex., Senhor\" invisible=\"is_company\"/>\n                            <field name=\"lang\" invisible=\"active_lang_count &lt;= 1\"/>\n                            <field name=\"category_id\" widget=\"many2many_tags\" options=\"{'color_field': 'color'}\" placeholder=\"p. ex. &quot;B2B&quot;, &quot;VIP&quot;, &quot;Consultoria&quot;, ...\"/>\n                        </group>\n                    </group>\n\n                    <notebook colspan=\"4\">\n                        <page string=\"Endereços e contactos\" name=\"contact_addresses\" autofocus=\"autofocus\">\n                            <field name=\"child_ids\" mode=\"kanban\" context=\"{'default_parent_id': id, 'default_street': street, 'default_street2': street2, 'default_city': city, 'default_state_id': state_id, 'default_zip': zip, 'default_country_id': country_id, 'default_lang': lang, 'default_user_id': user_id, 'default_type': 'other'}\">\n                                <kanban color=\"color\">\n                                    <field name=\"color\"/>\n                                    <field name=\"type\"/>\n                                    <field name=\"is_company\"/>\n                                    <templates>\n                                        <t t-name=\"card\" class=\"flex-row\">\n                                            <aside class=\"o_kanban_aside_full\">\n                                                <field name=\"avatar_128\" class=\"o_kanban_image_fill w-100\" widget=\"image\" options=\"{'img_class': 'object-fit-cover'}\" alt=\"Imagem do contacto\"/>\n                                            </aside>\n                                            <main class=\"ps-2 ps-md-0\">\n                                                <field name=\"name\" class=\"fw-bold\"/>\n                                                <field name=\"function\"/>\n                                                <field name=\"email\" widget=\"email\"/>\n                                                <div t-if=\"record.type.raw_value != 'contact'\">\n                                                    <div>\n                                                        <field class=\"me-1\" name=\"zip\"/>\n                                                        <field name=\"city\"/>\n                                                    </div>\n                                                    <field class=\"me-1\" name=\"state_id\"/>\n                                                    <field name=\"country_id\"/>\n                                                </div>\n                                                <div t-if=\"record.phone.raw_value\">Telefone: <field name=\"phone\"/></div>\n                                                <div t-if=\"record.mobile.raw_value\">Telemóvel: <field name=\"mobile\"/></div>\n                                            </main>\n                                        </t>\n                                    </templates>\n                                </kanban>\n                                <form string=\"Contacto / Endereço\">\n                                    <sheet>\n                                        <field name=\"type\" required=\"1\" widget=\"radio\" options=\"{'horizontal': true}\"/>\n                                        <div class=\"text-muted oe_edit_only\">\n                                            <p class=\"mb-0\" invisible=\"type != 'contact'\">\n                                                <span>Use this to organize the contact details of employees of a given company (e.g. CEO, CFO, ...).</span>\n                                            </p>\n                                            <p class=\"mb-0\" invisible=\"type != 'invoice'\">\n                                                <span>Preferred address for all invoices. Selected by default when you invoice an order that belongs to this company.</span>\n                                            </p>\n                                            <p class=\"mb-0\" invisible=\"type != 'delivery'\">\n                                                <span>Preferred address for all deliveries. Selected by default when you deliver an order that belongs to this company.</span>\n                                            </p>\n                                            <p class=\"mb-0\" invisible=\"type != 'other'\">\n                                                <span>Outro endereço da empresa (p. ex., filial, ...)</span>\n                                            </p>\n                                        </div>\n                                        <hr/>\n                                        <group>\n                                            <group>\n                                                <field name=\"name\" string=\"Nome do Contacto\" required=\"type == 'contact'\" placeholder=\"e.g. New Address\"/>\n                                                <field name=\"title\" options=\"{'no_open': True}\" placeholder=\"exemplo, Sr.\" invisible=\"type != 'contact'\"/>\n                                                <field name=\"function\" placeholder=\"p. ex. Diretor de vendas\" invisible=\"type != 'contact'\"/>\n                                                <label for=\"street\" string=\"Endereço\" invisible=\"type == 'contact'\"/>\n                                                <div invisible=\"type == 'contact'\">\n                                                    <div class=\"o_address_format\" name=\"div_address\">\n                                                        <field name=\"street\" placeholder=\"Rua...\" class=\"o_address_street\"/>\n                                                        <field name=\"street2\" placeholder=\"Rua 2...\" class=\"o_address_street\"/>\n                                                        <field name=\"city\" placeholder=\"Cidade\" class=\"o_address_city\"/>\n                                                        <field name=\"state_id\" class=\"o_address_state\" placeholder=\"Estado\" options=\"{'no_open': True, 'no_quick_create': True}\" context=\"{'country_id': country_id, 'default_country_id': country_id, 'zip': zip}\"/>\n                                                        <field name=\"zip\" placeholder=\"Código Postal\" class=\"o_address_zip\"/>\n                                                        <field name=\"country_id\" placeholder=\"País\" class=\"o_address_country\" options=\"{&quot;no_open&quot;: True, &quot;no_create&quot;: True}\"/>\n                                                    </div>\n                                                </div>\n                                            </group>\n                                            <group>\n                                                <field name=\"email\" widget=\"email\"/>\n                                                <field name=\"phone\" widget=\"phone\"/>\n                                                <field name=\"mobile\" widget=\"phone\"/>\n                                                <field name=\"company_id\" invisible=\"1\"/>    <!-- Need to save value from parented record, cf onchange -->\n                                            </group>\n                                        </group>\n                                        <group>\n                                            <field name=\"comment\" placeholder=\"Notas internas...\" nolabel=\"1\"/>\n                                        </group>\n                                        <field name=\"lang\" invisible=\"True\"/>  <!-- Need to add lang to save default value from parented record -->\n                                    </sheet>\n                                </form>\n                            </field>\n                        </page>\n                        <page name=\"sales_purchases\" string=\"Vendas e Compras\">\n                            <group name=\"container_row_2\">\n                                <group string=\"Vendas\" name=\"sale\" priority=\"1\">\n                                    <field name=\"user_id\" widget=\"many2one_avatar_user\" domain=\"[('share', '=', False)]\"/>\n                                </group>\n                                <group string=\"Compras\" name=\"purchase\" priority=\"2\">\n                                </group>\n                                <group name=\"misc\" string=\"Diversos\">\n                                    <field name=\"company_registry\" invisible=\"parent_id\"/>\n                                    <field name=\"ref\" string=\"Referência\"/>\n                                    <field name=\"company_id\" groups=\"base.group_multi_company\" options=\"{'no_create': True}\" readonly=\"parent_id\" force_save=\"1\"/>\n                                    <field name=\"company_id\" invisible=\"1\"/> <!-- need to be able to to compute based on the company even without multi company groups -->\n                                    <field name=\"industry_id\" invisible=\"not is_company\" options=\"{'no_create': True}\"/>\n                                </group>\n                            </group>\n                        </page>\n                        <page name=\"internal_notes\" string=\"Notas Internas\">\n                            <field name=\"comment\" placeholder=\"Notas internas...\"/>\n                        </page>\n                    </notebook>\n                </sheet>\n                </form>"}