{"en_US": "<data name=\"Order Options\" inherit_id=\"sale.sale_order_portal_content\">\n\n        <xpath expr=\"//section[@id='details']//t[@t-set='display_discount']\" position=\"after\">\n            <t t-set=\"display_remove\" t-value=\"sale_order._can_be_edited_on_portal() and any(line._can_be_edited_on_portal() for line in sale_order.order_line)\"/>\n        </xpath>\n\n        <xpath expr=\"//section[@id='details']//table[@id='sales_order_table']/thead/tr\" position=\"inside\">\n            <!-- add blank Tr in thead for layout conciseness -->\n            <th t-if=\"display_remove\">\n            </th>\n        </xpath>\n\n        <xpath expr=\"//section[@id='details']//t[@name='product_line_row']\" position=\"inside\">\n            <td class=\"text-center\" t-if=\"display_remove\">\n                <a t-if=\"line._can_be_edited_on_portal()\" t-att-data-line-id=\"line.id\" t-att-data-unlink=\"True\" href=\"#\" class=\"mb8 js_update_line_json d-print-none\" aria-label=\"Remove\" title=\"Remove\">\n                    <span class=\"fa fa-trash-o\"/>\n                </a>\n            </td>\n        </xpath>\n\n        <xpath expr=\"//section[@id='signature']\" position=\"after\">\n            <t t-if=\"sale_order._can_be_edited_on_portal() and any((not option.is_present) for option in sale_order.sale_order_option_ids)\">\n                <section>\n                    <h3>Options</h3>\n                    <t t-set=\"display_discount\" t-value=\"True in [option.discount &gt; 0 for option in sale_order.sale_order_option_ids]\"/>\n                    <table class=\"table table-sm\" name=\"sale_order_options_table\">\n                        <thead>\n                            <tr>\n                                <th class=\"text-start\" name=\"th_option_product_name\">Product</th>\n                                <th t-if=\"display_discount\" class=\"text-end\" name=\"th_option_discount\">Disc.%\n                                </th>\n                                <th class=\"text-end\" name=\"th_option_unit_price\">Unit Price</th>\n                                <th t-if=\"sale_order._can_be_edited_on_portal() and report_type == 'html'\" name=\"th_option_add_button\"/>\n                            </tr>\n                        </thead>\n                        <tbody>\n                            <tr t-foreach=\"sale_order.sale_order_option_ids\" t-as=\"option\">\n                                <t t-if=\"not option.is_present\">\n                                    <td name=\"td_option_product_name\">\n                                        <div t-field=\"option.name\"/>\n                                    </td>\n                                    <td t-if=\"display_discount\" class=\"text-end\" name=\"td_option_discount\">\n                                        <strong t-if=\"option.discount\" class=\"text-info\">\n                                            <t t-out=\"((option.discount % 1) and '%s' or '%d') % option.discount\"/>%\n                                        </strong>\n                                    </td>\n                                    <td name=\"td_option_unit_price\">\n                                        <strong class=\"text-end\">\n                                            <div t-field=\"option.price_unit\" t-options=\"{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: sale_order.currency_id}\" t-att-style=\"option.discount and 'text-decoration: line-through' or None\" t-att-class=\"option.discount and 'text-danger' or None\"/>\n                                            <div t-if=\"option.discount\">\n                                                <t t-out=\"(1-option.discount / 100.0) * option.price_unit\" t-options=\"{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: sale_order.currency_id}\"/>\n                                            </div>\n                                        </strong>\n                                    </td>\n                                    <td class=\"text-end\" t-if=\"sale_order._can_be_edited_on_portal() and report_type == 'html'\" name=\"td_option_add_button\">\n                                        <a t-att-data-option-id=\"option.id\" href=\"#\" class=\"mb8 js_add_optional_products d-print-none\" aria-label=\"Add to cart\" title=\"Add to cart\">\n                                            <span class=\"btn btn-secondary\">Add to order</span>\n                                        </a>\n                                    </td>\n                                </t>\n                            </tr>\n                        </tbody>\n                    </table>\n                </section>\n            </t>\n        </xpath>\n\n        <xpath expr=\"//section[@id='details']//div[@id='quote_qty']\" position=\"replace\">\n            <t t-if=\"line._can_be_edited_on_portal()\">\n                <div class=\"input-group js_quantity_container pull-right\">\n\n                    <span class=\"d-print-none input-group-text d-none d-md-inline-block\">\n                        <a t-att-data-line-id=\"line.id\" t-att-data-remove=\"True\" href=\"#\" class=\"js_update_line_json\" aria-label=\"Remove one\" title=\"Remove one\">\n                            <span class=\"fa fa-minus\"/>\n                        </a>\n                    </span>\n                    <!-- TODO add uom in this case too -->\n                    <input type=\"text\" class=\"js_quantity form-control\" t-att-data-line-id=\"line.id\" t-att-value=\"line.product_uom_qty\"/>\n                    <span class=\"d-print-none input-group-text d-none d-md-inline-block\">\n                        <a t-att-data-line-id=\"line.id\" href=\"#\" class=\"js_update_line_json\" aria-label=\"Add one\" title=\"Add one\">\n                            <span class=\"fa fa-plus\"/>\n                        </a>\n                    </span>\n                </div>\n            </t>\n            <t t-else=\"\">\n                <span t-field=\"line.product_uom_qty\"/>\n                <span t-field=\"line.product_uom\"/>\n            </t>\n        </xpath>\n\n    </data>", "es_ES": "<data name=\"Order Options\" inherit_id=\"sale.sale_order_portal_content\">\n\n        <xpath expr=\"//section[@id='details']//t[@t-set='display_discount']\" position=\"after\">\n            <t t-set=\"display_remove\" t-value=\"sale_order._can_be_edited_on_portal() and any(line._can_be_edited_on_portal() for line in sale_order.order_line)\"/>\n        </xpath>\n\n        <xpath expr=\"//section[@id='details']//table[@id='sales_order_table']/thead/tr\" position=\"inside\">\n            <!-- add blank Tr in thead for layout conciseness -->\n            <th t-if=\"display_remove\">\n            </th>\n        </xpath>\n\n        <xpath expr=\"//section[@id='details']//t[@name='product_line_row']\" position=\"inside\">\n            <td class=\"text-center\" t-if=\"display_remove\">\n                <a t-if=\"line._can_be_edited_on_portal()\" t-att-data-line-id=\"line.id\" t-att-data-unlink=\"True\" href=\"#\" class=\"mb8 js_update_line_json d-print-none\" aria-label=\"Eliminar\" title=\"Eliminar\">\n                    <span class=\"fa fa-trash-o\"/>\n                </a>\n            </td>\n        </xpath>\n\n        <xpath expr=\"//section[@id='signature']\" position=\"after\">\n            <t t-if=\"sale_order._can_be_edited_on_portal() and any((not option.is_present) for option in sale_order.sale_order_option_ids)\">\n                <section>\n                    <h3>Opciones</h3>\n                    <t t-set=\"display_discount\" t-value=\"True in [option.discount &gt; 0 for option in sale_order.sale_order_option_ids]\"/>\n                    <table class=\"table table-sm\" name=\"sale_order_options_table\">\n                        <thead>\n                            <tr>\n                                <th class=\"text-start\" name=\"th_option_product_name\">Producto</th>\n                                <th t-if=\"display_discount\" class=\"text-end\" name=\"th_option_discount\">Desc.%\n                                </th>\n                                <th class=\"text-end\" name=\"th_option_unit_price\">Precio unitario</th>\n                                <th t-if=\"sale_order._can_be_edited_on_portal() and report_type == 'html'\" name=\"th_option_add_button\"/>\n                            </tr>\n                        </thead>\n                        <tbody>\n                            <tr t-foreach=\"sale_order.sale_order_option_ids\" t-as=\"option\">\n                                <t t-if=\"not option.is_present\">\n                                    <td name=\"td_option_product_name\">\n                                        <div t-field=\"option.name\"/>\n                                    </td>\n                                    <td t-if=\"display_discount\" class=\"text-end\" name=\"td_option_discount\">\n                                        <strong t-if=\"option.discount\" class=\"text-info\">\n                                            <t t-out=\"((option.discount % 1) and '%s' or '%d') % option.discount\"/>%\n                                        </strong>\n                                    </td>\n                                    <td name=\"td_option_unit_price\">\n                                        <strong class=\"text-end\">\n                                            <div t-field=\"option.price_unit\" t-options=\"{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: sale_order.currency_id}\" t-att-style=\"option.discount and 'text-decoration: line-through' or None\" t-att-class=\"option.discount and 'text-danger' or None\"/>\n                                            <div t-if=\"option.discount\">\n                                                <t t-out=\"(1-option.discount / 100.0) * option.price_unit\" t-options=\"{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: sale_order.currency_id}\"/>\n                                            </div>\n                                        </strong>\n                                    </td>\n                                    <td class=\"text-end\" t-if=\"sale_order._can_be_edited_on_portal() and report_type == 'html'\" name=\"td_option_add_button\">\n                                        <a t-att-data-option-id=\"option.id\" href=\"#\" class=\"mb8 js_add_optional_products d-print-none\" aria-label=\"Añadir a la cesta\" title=\"Añadir a la cesta\">\n                                            <span class=\"btn btn-secondary\">Añadir al pedido</span>\n                                        </a>\n                                    </td>\n                                </t>\n                            </tr>\n                        </tbody>\n                    </table>\n                </section>\n            </t>\n        </xpath>\n\n        <xpath expr=\"//section[@id='details']//div[@id='quote_qty']\" position=\"replace\">\n            <t t-if=\"line._can_be_edited_on_portal()\">\n                <div class=\"input-group js_quantity_container pull-right\">\n\n                    <span class=\"d-print-none input-group-text d-none d-md-inline-block\">\n                        <a t-att-data-line-id=\"line.id\" t-att-data-remove=\"True\" href=\"#\" class=\"js_update_line_json\" aria-label=\"Eliminar uno\" title=\"Eliminar uno\">\n                            <span class=\"fa fa-minus\"/>\n                        </a>\n                    </span>\n                    <!-- TODO add uom in this case too -->\n                    <input type=\"text\" class=\"js_quantity form-control\" t-att-data-line-id=\"line.id\" t-att-value=\"line.product_uom_qty\"/>\n                    <span class=\"d-print-none input-group-text d-none d-md-inline-block\">\n                        <a t-att-data-line-id=\"line.id\" href=\"#\" class=\"js_update_line_json\" aria-label=\"Añadir uno\" title=\"Añadir uno\">\n                            <span class=\"fa fa-plus\"/>\n                        </a>\n                    </span>\n                </div>\n            </t>\n            <t t-else=\"\">\n                <span t-field=\"line.product_uom_qty\"/>\n                <span t-field=\"line.product_uom\"/>\n            </t>\n        </xpath>\n\n    </data>", "pt_PT": "<data name=\"Order Options\" inherit_id=\"sale.sale_order_portal_content\">\n\n        <xpath expr=\"//section[@id='details']//t[@t-set='display_discount']\" position=\"after\">\n            <t t-set=\"display_remove\" t-value=\"sale_order._can_be_edited_on_portal() and any(line._can_be_edited_on_portal() for line in sale_order.order_line)\"/>\n        </xpath>\n\n        <xpath expr=\"//section[@id='details']//table[@id='sales_order_table']/thead/tr\" position=\"inside\">\n            <!-- add blank Tr in thead for layout conciseness -->\n            <th t-if=\"display_remove\">\n            </th>\n        </xpath>\n\n        <xpath expr=\"//section[@id='details']//t[@name='product_line_row']\" position=\"inside\">\n            <td class=\"text-center\" t-if=\"display_remove\">\n                <a t-if=\"line._can_be_edited_on_portal()\" t-att-data-line-id=\"line.id\" t-att-data-unlink=\"True\" href=\"#\" class=\"mb8 js_update_line_json d-print-none\" aria-label=\"Remover\" title=\"Remover\">\n                    <span class=\"fa fa-trash-o\"/>\n                </a>\n            </td>\n        </xpath>\n\n        <xpath expr=\"//section[@id='signature']\" position=\"after\">\n            <t t-if=\"sale_order._can_be_edited_on_portal() and any((not option.is_present) for option in sale_order.sale_order_option_ids)\">\n                <section>\n                    <h3>Opções</h3>\n                    <t t-set=\"display_discount\" t-value=\"True in [option.discount &gt; 0 for option in sale_order.sale_order_option_ids]\"/>\n                    <table class=\"table table-sm\" name=\"sale_order_options_table\">\n                        <thead>\n                            <tr>\n                                <th class=\"text-start\" name=\"th_option_product_name\">Artigo</th>\n                                <th t-if=\"display_discount\" class=\"text-end\" name=\"th_option_discount\">Desc.%\n                                </th>\n                                <th class=\"text-end\" name=\"th_option_unit_price\">Preço Unitário</th>\n                                <th t-if=\"sale_order._can_be_edited_on_portal() and report_type == 'html'\" name=\"th_option_add_button\"/>\n                            </tr>\n                        </thead>\n                        <tbody>\n                            <tr t-foreach=\"sale_order.sale_order_option_ids\" t-as=\"option\">\n                                <t t-if=\"not option.is_present\">\n                                    <td name=\"td_option_product_name\">\n                                        <div t-field=\"option.name\"/>\n                                    </td>\n                                    <td t-if=\"display_discount\" class=\"text-end\" name=\"td_option_discount\">\n                                        <strong t-if=\"option.discount\" class=\"text-info\">\n                                            <t t-out=\"((option.discount % 1) and '%s' or '%d') % option.discount\"/>%\n                                        </strong>\n                                    </td>\n                                    <td name=\"td_option_unit_price\">\n                                        <strong class=\"text-end\">\n                                            <div t-field=\"option.price_unit\" t-options=\"{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: sale_order.currency_id}\" t-att-style=\"option.discount and 'text-decoration: line-through' or None\" t-att-class=\"option.discount and 'text-danger' or None\"/>\n                                            <div t-if=\"option.discount\">\n                                                <t t-out=\"(1-option.discount / 100.0) * option.price_unit\" t-options=\"{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: sale_order.currency_id}\"/>\n                                            </div>\n                                        </strong>\n                                    </td>\n                                    <td class=\"text-end\" t-if=\"sale_order._can_be_edited_on_portal() and report_type == 'html'\" name=\"td_option_add_button\">\n                                        <a t-att-data-option-id=\"option.id\" href=\"#\" class=\"mb8 js_add_optional_products d-print-none\" aria-label=\"Adicionar ao carrinho\" title=\"Adicionar ao carrinho\">\n                                            <span class=\"btn btn-secondary\">Add to order</span>\n                                        </a>\n                                    </td>\n                                </t>\n                            </tr>\n                        </tbody>\n                    </table>\n                </section>\n            </t>\n        </xpath>\n\n        <xpath expr=\"//section[@id='details']//div[@id='quote_qty']\" position=\"replace\">\n            <t t-if=\"line._can_be_edited_on_portal()\">\n                <div class=\"input-group js_quantity_container pull-right\">\n\n                    <span class=\"d-print-none input-group-text d-none d-md-inline-block\">\n                        <a t-att-data-line-id=\"line.id\" t-att-data-remove=\"True\" href=\"#\" class=\"js_update_line_json\" aria-label=\"Remover um\" title=\"Remover um\">\n                            <span class=\"fa fa-minus\"/>\n                        </a>\n                    </span>\n                    <!-- TODO add uom in this case too -->\n                    <input type=\"text\" class=\"js_quantity form-control\" t-att-data-line-id=\"line.id\" t-att-value=\"line.product_uom_qty\"/>\n                    <span class=\"d-print-none input-group-text d-none d-md-inline-block\">\n                        <a t-att-data-line-id=\"line.id\" href=\"#\" class=\"js_update_line_json\" aria-label=\"Adicionar um\" title=\"Adicionar um\">\n                            <span class=\"fa fa-plus\"/>\n                        </a>\n                    </span>\n                </div>\n            </t>\n            <t t-else=\"\">\n                <span t-field=\"line.product_uom_qty\"/>\n                <span t-field=\"line.product_uom\"/>\n            </t>\n        </xpath>\n\n    </data>"}