{"en_US": "<t t-name=\"portal.portal_my_details_fields\">\n        <input type=\"hidden\" name=\"csrf_token\" t-att-value=\"request.csrf_token()\"/>\n        <div t-if=\"error_message\" class=\"alert alert-danger\" role=\"alert\">\n            <div class=\"col-lg-12\">\n                <t t-foreach=\"error_message\" t-as=\"err\"><t t-esc=\"err\"/><br/></t>\n            </div>\n        </div>\n        <div t-attf-class=\"mb-3 #{error.get('name') and 'o_has_error' or ''} col-xl-6\">\n            <label class=\"col-form-label\" for=\"name\">Name</label>\n            <input type=\"text\" name=\"name\" t-attf-class=\"form-control #{error.get('name') and 'is-invalid' or ''}\" t-att-value=\"name or partner.name\"/>\n        </div>\n        <div t-attf-class=\"mb-3 #{error.get('email') and 'o_has_error' or ''} col-xl-6\">\n            <label class=\"col-form-label\" for=\"email\">Email</label>\n            <input type=\"email\" name=\"email\" t-attf-class=\"form-control #{error.get('email') and 'is-invalid' or ''}\" t-att-value=\"email or partner.email\"/>\n        </div>\n\n        <div class=\"clearfix\"/>\n        <div t-attf-class=\"mb-1 #{error.get('company_name') and 'o_has_error' or ''} col-xl-6\">\n            <label class=\"col-form-label label-optional\" for=\"company_name\">Company Name</label>\n            <!-- The <input> use \"disabled\" attribute to avoid sending an unauthorized value on form submit.\n                 The user might not have rights to change company_name but should still be able to see it.\n            -->\n            <input type=\"text\" name=\"company_name\" t-attf-class=\"form-control #{error.get('company_name') and 'is-invalid' or ''}\" t-att-value=\"company_name or partner.commercial_company_name\" t-att-disabled=\"None if partner_can_edit_vat else '1'\"/>\n            <small t-if=\"not partner_can_edit_vat\" class=\"form-text text-muted d-block d-xl-none\">\n                Changing company name is not allowed once document(s) have been issued for your account. Please contact us directly for this operation.\n            </small>\n        </div>\n        <div t-attf-class=\"mb-1 #{error.get('vat') and 'o_has_error' or ''} col-xl-6\">\n            <label class=\"col-form-label label-optional\" for=\"vat\">VAT Number</label>\n            <!-- The <input> use \"disabled\" attribute to avoid sending an unauthorized value on form submit.\n                 The user might not have rights to change company_name but should still be able to see it.\n            -->\n            <input type=\"text\" name=\"vat\" t-attf-class=\"form-control #{error.get('vat') and 'is-invalid' or ''}\" t-att-value=\"vat or partner.vat\" t-att-disabled=\"None if partner_can_edit_vat else '1'\"/>\n            <small t-if=\"not partner_can_edit_vat\" class=\"form-text text-muted d-block d-xl-none\">Changing VAT number is not allowed once document(s) have been issued for your account. Please contact us directly for this operation.</small>\n        </div>\n        <div t-if=\"not partner_can_edit_vat\" class=\"col-12 d-none d-xl-block\">\n            <small class=\"form-text text-muted\">Changing company name or VAT number is not allowed once document(s) have been issued for your account. <br/>Please contact us directly for this operation.</small>\n        </div>\n        <div t-attf-class=\"mb-3 #{error.get('phone') and 'o_has_error' or ''} col-xl-6\">\n            <label class=\"col-form-label\" for=\"phone\">Phone</label>\n            <input type=\"tel\" name=\"phone\" t-attf-class=\"form-control #{error.get('phone') and 'is-invalid' or ''}\" t-att-value=\"phone or partner.phone\"/>\n        </div>\n\n        <div class=\"clearfix\"/>\n        <div t-attf-class=\"mb-3 #{error.get('street') and 'o_has_error' or ''} col-xl-6\">\n            <label class=\"col-form-label\" for=\"street\">Street</label>\n            <input type=\"text\" name=\"street\" t-attf-class=\"form-control #{error.get('street') and 'is-invalid' or ''}\" t-att-value=\"street or partner.street\"/>\n        </div>\n        <div t-attf-class=\"mb-3 #{error.get('city') and 'o_has_error' or ''} col-xl-6\">\n            <label class=\"col-form-label\" for=\"city\">City</label>\n            <input type=\"text\" name=\"city\" t-attf-class=\"form-control #{error.get('city') and 'is-invalid' or ''}\" t-att-value=\"city or partner.city\"/>\n        </div>\n        <div t-attf-class=\"mb-3 #{error.get('zip') and 'o_has_error' or ''} col-xl-6\">\n            <label class=\"col-form-label label-optional\" for=\"zipcode\">Zip / Postal Code</label>\n            <input type=\"text\" name=\"zipcode\" t-attf-class=\"form-control #{error.get('zip') and 'is-invalid' or ''}\" t-att-value=\"zipcode or partner.zip\"/>\n        </div>\n        <div t-attf-class=\"mb-3 #{error.get('country_id') and 'o_has_error' or ''} col-xl-6\">\n            <label class=\"col-form-label\" for=\"country_id\">Country</label>\n            <select name=\"country_id\" t-attf-class=\"form-select #{error.get('country_id') and 'is-invalid' or ''}\">\n                <option value=\"\">Country...</option>\n                <t t-foreach=\"countries or []\" t-as=\"country\">\n                    <option t-att-value=\"country.id\" t-att-selected=\"country.id == int(country_id) if country_id else country.id == partner.country_id.id\">\n                        <t t-esc=\"country.name\"/>\n                    </option>\n                </t>\n            </select>\n        </div>\n        <div t-attf-class=\"mb-3 #{error.get('state_id') and 'o_has_error' or ''} col-xl-6\">\n            <label class=\"col-form-label label-optional\" for=\"state_id\">State / Province</label>\n            <select name=\"state_id\" t-attf-class=\"form-select #{error.get('state_id') and 'is-invalid' or ''}\">\n                <option value=\"\">select...</option>\n                <t t-foreach=\"states or []\" t-as=\"state\">\n                    <option t-att-value=\"state.id\" style=\"display:none;\" t-att-data-country_id=\"state.country_id.id\" t-att-selected=\"state.id == int(state_id) if state_id else state.id == partner.state_id.id\">\n                        <t t-esc=\"state.name\"/>\n                    </option>\n                </t>\n            </select>\n        </div>\n    </t>", "vi_VN": "<t t-name=\"portal.portal_my_details_fields\">\n        <input type=\"hidden\" name=\"csrf_token\" t-att-value=\"request.csrf_token()\"/>\n        <div t-if=\"error_message\" class=\"alert alert-danger\" role=\"alert\">\n            <div class=\"col-lg-12\">\n                <t t-foreach=\"error_message\" t-as=\"err\"><t t-esc=\"err\"/><br/></t>\n            </div>\n        </div>\n        <div t-attf-class=\"mb-3 #{error.get('name') and 'o_has_error' or ''} col-xl-6\">\n            <label class=\"col-form-label\" for=\"name\">Tên</label>\n            <input type=\"text\" name=\"name\" t-attf-class=\"form-control #{error.get('name') and 'is-invalid' or ''}\" t-att-value=\"name or partner.name\"/>\n        </div>\n        <div t-attf-class=\"mb-3 #{error.get('email') and 'o_has_error' or ''} col-xl-6\">\n            <label class=\"col-form-label\" for=\"email\">Email</label>\n            <input type=\"email\" name=\"email\" t-attf-class=\"form-control #{error.get('email') and 'is-invalid' or ''}\" t-att-value=\"email or partner.email\"/>\n        </div>\n\n        <div class=\"clearfix\"/>\n        <div t-attf-class=\"mb-1 #{error.get('company_name') and 'o_has_error' or ''} col-xl-6\">\n            <label class=\"col-form-label label-optional\" for=\"company_name\">Tên Công ty</label>\n            <!-- The <input> use \"disabled\" attribute to avoid sending an unauthorized value on form submit.\n                 The user might not have rights to change company_name but should still be able to see it.\n            -->\n            <input type=\"text\" name=\"company_name\" t-attf-class=\"form-control #{error.get('company_name') and 'is-invalid' or ''}\" t-att-value=\"company_name or partner.commercial_company_name\" t-att-disabled=\"None if partner_can_edit_vat else '1'\"/>\n            <small t-if=\"not partner_can_edit_vat\" class=\"form-text text-muted d-block d-xl-none\">\n                Changing company name is not allowed once document(s) have been issued for your account. Please contact us directly for this operation.\n            </small>\n        </div>\n        <div t-attf-class=\"mb-1 #{error.get('vat') and 'o_has_error' or ''} col-xl-6\">\n            <label class=\"col-form-label label-optional\" for=\"vat\">Số VAT</label>\n            <!-- The <input> use \"disabled\" attribute to avoid sending an unauthorized value on form submit.\n                 The user might not have rights to change company_name but should still be able to see it.\n            -->\n            <input type=\"text\" name=\"vat\" t-attf-class=\"form-control #{error.get('vat') and 'is-invalid' or ''}\" t-att-value=\"vat or partner.vat\" t-att-disabled=\"None if partner_can_edit_vat else '1'\"/>\n            <small t-if=\"not partner_can_edit_vat\" class=\"form-text text-muted d-block d-xl-none\">Changing VAT number is not allowed once document(s) have been issued for your account. Please contact us directly for this operation.</small>\n        </div>\n        <div t-if=\"not partner_can_edit_vat\" class=\"col-12 d-none d-xl-block\">\n            <small class=\"form-text text-muted\">Changing company name or VAT number is not allowed once document(s) have been issued for your account. <br/>Please contact us directly for this operation.</small>\n        </div>\n        <div t-attf-class=\"mb-3 #{error.get('phone') and 'o_has_error' or ''} col-xl-6\">\n            <label class=\"col-form-label\" for=\"phone\">Điện thoại</label>\n            <input type=\"tel\" name=\"phone\" t-attf-class=\"form-control #{error.get('phone') and 'is-invalid' or ''}\" t-att-value=\"phone or partner.phone\"/>\n        </div>\n\n        <div class=\"clearfix\"/>\n        <div t-attf-class=\"mb-3 #{error.get('street') and 'o_has_error' or ''} col-xl-6\">\n            <label class=\"col-form-label\" for=\"street\">Địa chỉ</label>\n            <input type=\"text\" name=\"street\" t-attf-class=\"form-control #{error.get('street') and 'is-invalid' or ''}\" t-att-value=\"street or partner.street\"/>\n        </div>\n        <div t-attf-class=\"mb-3 #{error.get('city') and 'o_has_error' or ''} col-xl-6\">\n            <label class=\"col-form-label\" for=\"city\">Thành phố</label>\n            <input type=\"text\" name=\"city\" t-attf-class=\"form-control #{error.get('city') and 'is-invalid' or ''}\" t-att-value=\"city or partner.city\"/>\n        </div>\n        <div t-attf-class=\"mb-3 #{error.get('zip') and 'o_has_error' or ''} col-xl-6\">\n            <label class=\"col-form-label label-optional\" for=\"zipcode\">Mã Zip / Postal</label>\n            <input type=\"text\" name=\"zipcode\" t-attf-class=\"form-control #{error.get('zip') and 'is-invalid' or ''}\" t-att-value=\"zipcode or partner.zip\"/>\n        </div>\n        <div t-attf-class=\"mb-3 #{error.get('country_id') and 'o_has_error' or ''} col-xl-6\">\n            <label class=\"col-form-label\" for=\"country_id\">Quốc gia</label>\n            <select name=\"country_id\" t-attf-class=\"form-select #{error.get('country_id') and 'is-invalid' or ''}\">\n                <option value=\"\">Quốc gia...</option>\n                <t t-foreach=\"countries or []\" t-as=\"country\">\n                    <option t-att-value=\"country.id\" t-att-selected=\"country.id == int(country_id) if country_id else country.id == partner.country_id.id\">\n                        <t t-esc=\"country.name\"/>\n                    </option>\n                </t>\n            </select>\n        </div>\n        <div t-attf-class=\"mb-3 #{error.get('state_id') and 'o_has_error' or ''} col-xl-6\">\n            <label class=\"col-form-label label-optional\" for=\"state_id\">Tỉnh/TP</label>\n            <select name=\"state_id\" t-attf-class=\"form-select #{error.get('state_id') and 'is-invalid' or ''}\">\n                <option value=\"\">chọn...</option>\n                <t t-foreach=\"states or []\" t-as=\"state\">\n                    <option t-att-value=\"state.id\" style=\"display:none;\" t-att-data-country_id=\"state.country_id.id\" t-att-selected=\"state.id == int(state_id) if state_id else state.id == partner.state_id.id\">\n                        <t t-esc=\"state.name\"/>\n                    </option>\n                </t>\n            </select>\n        </div>\n    </t>"}