{"en_US": "<data inherit_id=\"sale.report_saleorder_document\">\n    <xpath expr=\"//div[@name='signature']\" position=\"after\">\n        <div t-if=\"doc.sale_order_option_ids and doc.state in ['draft', 'sent']\">\n            <t t-set=\"has_option_discount\" t-value=\"any(option.discount != 0.0 for option in doc.sale_order_option_ids)\"/>\n            <h4 name=\"h_optional_products\">\n                <span>Options</span>\n            </h4>\n            <table name=\"table_optional_products\" class=\"table table-sm\">\n                <thead>\n                    <tr>\n                        <th name=\"th_option_name\" class=\"text-start\">Description</th>\n                        <th t-if=\"has_option_discount\" name=\"th_option_discount\" groups=\"product.group_discount_per_so_line\" class=\"text-start\">Disc.%</th>\n                        <th name=\"th_option_price_unit\" class=\"text-end\">Unit Price</th>\n                    </tr>\n                </thead>\n                <tbody class=\"sale_tbody\">\n                    <tr t-foreach=\"doc.sale_order_option_ids\" t-as=\"option\">\n                        <td name=\"td_option_name\">\n                            <span t-field=\"option.name\"/>\n                        </td>\n                        <td t-if=\"has_option_discount\" name=\"td_option_discount\" groups=\"product.group_discount_per_so_line\">\n                            <strong t-if=\"option.discount != 0.0\" 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_price_unit\">\n                            <strong class=\"text-end\">\n                                <div t-field=\"option.price_unit\" t-options=\"{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: doc.pricelist_id.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;: doc.currency_id}\"/>\n                                </div>\n                            </strong>\n                        </td>\n                    </tr>\n                </tbody>\n            </table>\n        </div>\n    </xpath>\n</data>", "vi_VN": "<data inherit_id=\"sale.report_saleorder_document\">\n    <xpath expr=\"//div[@name='signature']\" position=\"after\">\n        <div t-if=\"doc.sale_order_option_ids and doc.state in ['draft', 'sent']\">\n            <t t-set=\"has_option_discount\" t-value=\"any(option.discount != 0.0 for option in doc.sale_order_option_ids)\"/>\n            <h4 name=\"h_optional_products\">\n                <span>Tùy chọn</span>\n            </h4>\n            <table name=\"table_optional_products\" class=\"table table-sm\">\n                <thead>\n                    <tr>\n                        <th name=\"th_option_name\" class=\"text-start\">Mô tả</th>\n                        <th t-if=\"has_option_discount\" name=\"th_option_discount\" groups=\"product.group_discount_per_so_line\" class=\"text-start\">% CK</th>\n                        <th name=\"th_option_price_unit\" class=\"text-end\">Đơn giá</th>\n                    </tr>\n                </thead>\n                <tbody class=\"sale_tbody\">\n                    <tr t-foreach=\"doc.sale_order_option_ids\" t-as=\"option\">\n                        <td name=\"td_option_name\">\n                            <span t-field=\"option.name\"/>\n                        </td>\n                        <td t-if=\"has_option_discount\" name=\"td_option_discount\" groups=\"product.group_discount_per_so_line\">\n                            <strong t-if=\"option.discount != 0.0\" 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_price_unit\">\n                            <strong class=\"text-end\">\n                                <div t-field=\"option.price_unit\" t-options=\"{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: doc.pricelist_id.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;: doc.currency_id}\"/>\n                                </div>\n                            </strong>\n                        </td>\n                    </tr>\n                </tbody>\n            </table>\n        </div>\n    </xpath>\n</data>"}