{"en_US": "<t t-name=\"mrp.mo_overview_content\">\n        <t t-set=\"currency\" t-value=\"data['summary']['currency']\"/>\n        <div class=\"container bg-view\">\n            <h2><t t-out=\"data['name']\"/> - Overview</h2>\n            <table name=\"overview\" class=\"table table-borderless\">\n                <thead>\n                    <tr>\n                        <th/>\n                        <th t-if=\"data['show_replenishments']\" class=\"text-center\">Status</th>\n                        <th t-attf-class=\"{{ 'text-center' if data['show_uom'] else 'text-end' }}\" t-attf-colspan=\"{{ 2 if data['show_uom'] else 1 }}\">Quantity</th>\n                        <th t-if=\"data['show_availabilities']\" class=\"text-end\">Free to use / On Hand</th>\n                        <th t-if=\"data['show_availabilities']\" class=\"text-end\">Reserved</th>\n                        <th t-if=\"data['show_receipts']\" class=\"text-end\">Receipt</th>\n                        <th class=\"text-end\" t-if=\"data['show_unit_costs']\">Unit Cost</th>\n                        <th t-if=\"data['show_mo_costs']\" class=\"text-end\">MO Cost</th>\n                        <th t-if=\"data['show_bom_costs']\" class=\"text-end\">BoM Cost</th>\n                        <th t-if=\"data['show_real_costs']\" class=\"text-end\">Real Cost</th>\n                    </tr>\n                </thead>\n                <tbody>\n                    <t t-call=\"mrp.mo_overview_line\">\n                        <t t-set=\"line\" t-value=\"data['summary']\"/>\n                    </t>\n                    <t t-call=\"mrp.mo_overview_components\">\n                        <t t-set=\"components\" t-value=\"data['components']\"/>\n                        <t t-set=\"operations\" t-value=\"data['operations']\"/>\n                        <t t-set=\"byproducts\" t-value=\"data['byproducts']\"/>\n                    </t>\n                </tbody>\n                <t t-if=\"data['show_mo_costs'] or data['show_real_costs']\">\n                    <tr name=\"unit_cost\" class=\"border-top border-dark\">\n                        <td class=\"text-end\" t-att-colspan=\"data['footer_colspan']\">Unit Cost</td>\n                        <td t-if=\"data['show_mo_costs']\" t-attf-class=\"text-end\" t-out=\"data['extras']['unit_mo_cost']\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        <td t-if=\"data['show_bom_costs']\" class=\"text-end\" t-out=\"data['extras']['unit_bom_cost']\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        <td t-if=\"data['show_real_costs']\" t-attf-class=\"text-end\" t-out=\"data['extras']['unit_real_cost']\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                    </tr>\n                </t>\n                <t t-if=\"data['summary'].get('state') == 'done' and data.get('extras')\">\n                    <tr>\n                        <td class=\"text-end\" t-att-colspan=\"data['footer_colspan']\">Total Cost of Components</td>\n                        <td t-attf-class=\"text-end\" t-if=\"data['show_mo_costs']\">\n                            <t t-out=\"data['extras'].get('total_mo_cost_components')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                        <td class=\"text-end\" t-if=\"data['show_bom_costs']\">\n                            <t t-out=\"data['extras'].get('total_bom_cost_components')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                        <td class=\"text-end\" t-if=\"data['show_real_costs']\">\n                            <t t-out=\"data['extras'].get('total_real_cost_components')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                    </tr>\n                    <tr t-if=\"data['summary'].get('quantity') != 1\">\n                        <td class=\"text-end\" t-att-colspan=\"data['footer_colspan']\">\n                            Cost of Components per unit\n                            <t t-if=\"data['show_uom']\">(in <t t-out=\"data['summary'].get('uom_name')\"/>)</t>\n                        </td>\n                        <td t-attf-class=\"text-end {{ data['get_color'](data['extras'].get('unit_mo_cost_components_decorator')) }}\" t-if=\"data['show_mo_costs']\">\n                            <t t-out=\"data['extras'].get('unit_mo_cost_components')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                        <td class=\"text-end\" t-if=\"data['show_bom_costs']\">\n                            <t t-out=\"data['extras'].get('unit_bom_cost_components')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                        <td class=\"text-end\" t-if=\"data['show_real_costs']\">\n                            <t t-out=\"data['extras'].get('unit_real_cost_components')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                    </tr>\n                    <tr t-if=\"len(data.get('operations', {}).get('details', []))\">\n                        <td class=\"text-end\" t-att-colspan=\"data['footer_colspan']\">Total Cost of Operations</td>\n                        <td t-attf-class=\"text-end {{ data['get_color'](data['extras'].get('total_mo_cost_operations_decorator')) }}\" t-if=\"data['show_mo_costs']\">\n                            <t t-out=\"data['extras'].get('total_mo_cost_operations')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                        <td class=\"text-end\" t-if=\"data['show_bom_costs']\">\n                            <t t-out=\"data['extras'].get('total_bom_cost_operations')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                        <td class=\"text-end\" t-if=\"data['show_real_costs']\"> <!-- AJOC TODO add decorator here? more below -->\n                            <t t-out=\"data['extras'].get('total_real_cost_operations')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                    </tr>\n                    <tr t-if=\"len(data.get('operations', {}).get('details', [])) and data['summary'].get('quantity') != 1\">\n                        <td class=\"text-end\" t-att-colspan=\"data['footer_colspan']\">\n                            Cost of Operations per unit\n                            <t t-if=\"data['show_uom']\">(in <t t-out=\"data['summary'].get('uom_name')\"/>)</t>\n                        </td>\n                        <td t-attf-class=\"text-end {{ data['get_color'](data['extras'].get('unit_mo_cost_operations_decorator')) }}\" t-if=\"data['show_mo_costs']\">\n                            <t t-out=\"data['extras'].get('unit_mo_cost_operations')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                        <td class=\"text-end\" t-if=\"data['show_bom_costs']\">\n                            <t t-out=\"data['extras'].get('unit_bom_cost_operations')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                        <td class=\"text-end\" t-if=\"data['show_real_costs']\">\n                            <t t-out=\"data['extras'].get('unit_real_cost_operations')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                    </tr>\n                    <tr t-if=\"len(data.get('cost_breakdown', [])) and len(data.get('operations', {}).get('details', []))\">\n                        <td class=\"text-end\" t-att-colspan=\"data['footer_colspan']\">Total Cost of Production</td>\n                        <td t-attf-class=\"text-end\" t-if=\"data['show_mo_costs']\">\n                            <t t-out=\"data['extras'].get('total_mo_cost')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                        <td class=\"text-end\" t-if=\"data['show_bom_costs']\">\n                            <t t-out=\"data['extras'].get('total_bom_cost')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                        <td class=\"text-end\" t-if=\"data['show_real_costs']\">\n                            <t t-out=\"data['extras'].get('total_real_cost')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                    </tr>\n                </t>\n            </table>\n            <t t-if=\"len(data.get('cost_breakdown', []))\">\n                <h3>Cost Breakdown of Products</h3>\n                <table name=\"breakdown\" class=\"table table-borderless\">\n                    <thead>\n                        <tr>\n                            <th class=\"text-start\">Product</th>\n                            <th class=\"text-end\">Avg Cost of Components per Unit</th>\n                            <th t-if=\"len(data.get('operations', {}).get('details', []))\" class=\"text-end\">Avg Cost of Operations per Unit</th>\n                            <th class=\"text-end\">Avg Total Cost per Unit</th>\n                            <th t-if=\"data['show_uom']\" class=\"text-end\">Unit of Measure</th>\n                        </tr>\n                    </thead>\n                    <tbody>\n                        <tr t-foreach=\"data['cost_breakdown']\" t-as=\"line\">\n                            <td class=\"text-start\" t-out=\"line['name']\"/>\n                            <td class=\"text-end\" t-out=\"line['unit_avg_cost_component']\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                            <td t-if=\"len(data.get('operations', {}).get('details', []))\" class=\"text-end\" t-out=\"line['unit_avg_cost_operation']\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                            <td class=\"text-end\" t-out=\"line['unit_avg_total_cost']\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                            <td t-if=\"data['show_uom']\" class=\"text-end\" t-out=\"line['uom_name']\"/>\n                        </tr>\n                    </tbody>\n                </table>\n            </t>\n        </div>\n    </t>", "es_ES": "<t t-name=\"mrp.mo_overview_content\">\n        <t t-set=\"currency\" t-value=\"data['summary']['currency']\"/>\n        <div class=\"container bg-view\">\n            <h2><t t-out=\"data['name']\"/> - Vista general</h2>\n            <table name=\"overview\" class=\"table table-borderless\">\n                <thead>\n                    <tr>\n                        <th/>\n                        <th t-if=\"data['show_replenishments']\" class=\"text-center\">Estado</th>\n                        <th t-attf-class=\"{{ 'text-center' if data['show_uom'] else 'text-end' }}\" t-attf-colspan=\"{{ 2 if data['show_uom'] else 1 }}\">Cantidad</th>\n                        <th t-if=\"data['show_availabilities']\" class=\"text-end\">Disponible / Stock real</th>\n                        <th t-if=\"data['show_availabilities']\" class=\"text-end\">Reservado</th>\n                        <th t-if=\"data['show_receipts']\" class=\"text-end\">Recepción</th>\n                        <th class=\"text-end\" t-if=\"data['show_unit_costs']\">Coste unitario</th>\n                        <th t-if=\"data['show_mo_costs']\" class=\"text-end\">Coste de orden de fabricación</th>\n                        <th t-if=\"data['show_bom_costs']\" class=\"text-end\">Coste de la LdM</th>\n                        <th t-if=\"data['show_real_costs']\" class=\"text-end\">Coste real</th>\n                    </tr>\n                </thead>\n                <tbody>\n                    <t t-call=\"mrp.mo_overview_line\">\n                        <t t-set=\"line\" t-value=\"data['summary']\"/>\n                    </t>\n                    <t t-call=\"mrp.mo_overview_components\">\n                        <t t-set=\"components\" t-value=\"data['components']\"/>\n                        <t t-set=\"operations\" t-value=\"data['operations']\"/>\n                        <t t-set=\"byproducts\" t-value=\"data['byproducts']\"/>\n                    </t>\n                </tbody>\n                <t t-if=\"data['show_mo_costs'] or data['show_real_costs']\">\n                    <tr name=\"unit_cost\" class=\"border-top border-dark\">\n                        <td class=\"text-end\" t-att-colspan=\"data['footer_colspan']\">Coste unitario</td>\n                        <td t-if=\"data['show_mo_costs']\" t-attf-class=\"text-end\" t-out=\"data['extras']['unit_mo_cost']\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        <td t-if=\"data['show_bom_costs']\" class=\"text-end\" t-out=\"data['extras']['unit_bom_cost']\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        <td t-if=\"data['show_real_costs']\" t-attf-class=\"text-end\" t-out=\"data['extras']['unit_real_cost']\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                    </tr>\n                </t>\n                <t t-if=\"data['summary'].get('state') == 'done' and data.get('extras')\">\n                    <tr>\n                        <td class=\"text-end\" t-att-colspan=\"data['footer_colspan']\">Coste total de los componentes</td>\n                        <td t-attf-class=\"text-end\" t-if=\"data['show_mo_costs']\">\n                            <t t-out=\"data['extras'].get('total_mo_cost_components')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                        <td class=\"text-end\" t-if=\"data['show_bom_costs']\">\n                            <t t-out=\"data['extras'].get('total_bom_cost_components')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                        <td class=\"text-end\" t-if=\"data['show_real_costs']\">\n                            <t t-out=\"data['extras'].get('total_real_cost_components')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                    </tr>\n                    <tr t-if=\"data['summary'].get('quantity') != 1\">\n                        <td class=\"text-end\" t-att-colspan=\"data['footer_colspan']\">\n                            Coste de los componentes por unidad\n                            <t t-if=\"data['show_uom']\">(en <t t-out=\"data['summary'].get('uom_name')\"/>)</t>\n                        </td>\n                        <td t-attf-class=\"text-end {{ data['get_color'](data['extras'].get('unit_mo_cost_components_decorator')) }}\" t-if=\"data['show_mo_costs']\">\n                            <t t-out=\"data['extras'].get('unit_mo_cost_components')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                        <td class=\"text-end\" t-if=\"data['show_bom_costs']\">\n                            <t t-out=\"data['extras'].get('unit_bom_cost_components')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                        <td class=\"text-end\" t-if=\"data['show_real_costs']\">\n                            <t t-out=\"data['extras'].get('unit_real_cost_components')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                    </tr>\n                    <tr t-if=\"len(data.get('operations', {}).get('details', []))\">\n                        <td class=\"text-end\" t-att-colspan=\"data['footer_colspan']\">Coste total de las operaciones</td>\n                        <td t-attf-class=\"text-end {{ data['get_color'](data['extras'].get('total_mo_cost_operations_decorator')) }}\" t-if=\"data['show_mo_costs']\">\n                            <t t-out=\"data['extras'].get('total_mo_cost_operations')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                        <td class=\"text-end\" t-if=\"data['show_bom_costs']\">\n                            <t t-out=\"data['extras'].get('total_bom_cost_operations')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                        <td class=\"text-end\" t-if=\"data['show_real_costs']\"> <!-- AJOC TODO add decorator here? more below -->\n                            <t t-out=\"data['extras'].get('total_real_cost_operations')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                    </tr>\n                    <tr t-if=\"len(data.get('operations', {}).get('details', [])) and data['summary'].get('quantity') != 1\">\n                        <td class=\"text-end\" t-att-colspan=\"data['footer_colspan']\">\n                            Coste de las operaciones por unidad\n                            <t t-if=\"data['show_uom']\">(en <t t-out=\"data['summary'].get('uom_name')\"/>)</t>\n                        </td>\n                        <td t-attf-class=\"text-end {{ data['get_color'](data['extras'].get('unit_mo_cost_operations_decorator')) }}\" t-if=\"data['show_mo_costs']\">\n                            <t t-out=\"data['extras'].get('unit_mo_cost_operations')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                        <td class=\"text-end\" t-if=\"data['show_bom_costs']\">\n                            <t t-out=\"data['extras'].get('unit_bom_cost_operations')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                        <td class=\"text-end\" t-if=\"data['show_real_costs']\">\n                            <t t-out=\"data['extras'].get('unit_real_cost_operations')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                    </tr>\n                    <tr t-if=\"len(data.get('cost_breakdown', [])) and len(data.get('operations', {}).get('details', []))\">\n                        <td class=\"text-end\" t-att-colspan=\"data['footer_colspan']\">Coste total de la producción</td>\n                        <td t-attf-class=\"text-end\" t-if=\"data['show_mo_costs']\">\n                            <t t-out=\"data['extras'].get('total_mo_cost')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                        <td class=\"text-end\" t-if=\"data['show_bom_costs']\">\n                            <t t-out=\"data['extras'].get('total_bom_cost')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                        <td class=\"text-end\" t-if=\"data['show_real_costs']\">\n                            <t t-out=\"data['extras'].get('total_real_cost')\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                        </td>\n                    </tr>\n                </t>\n            </table>\n            <t t-if=\"len(data.get('cost_breakdown', []))\">\n                <h3>Desglose de costes de productos</h3>\n                <table name=\"breakdown\" class=\"table table-borderless\">\n                    <thead>\n                        <tr>\n                            <th class=\"text-start\">Producto</th>\n                            <th class=\"text-end\">Coste promedio de los componentes por unidad</th>\n                            <th t-if=\"len(data.get('operations', {}).get('details', []))\" class=\"text-end\">Coste promedio de las operaciones por unidad</th>\n                            <th class=\"text-end\">Coste promedio total por unidad</th>\n                            <th t-if=\"data['show_uom']\" class=\"text-end\">Unidad de medida</th>\n                        </tr>\n                    </thead>\n                    <tbody>\n                        <tr t-foreach=\"data['cost_breakdown']\" t-as=\"line\">\n                            <td class=\"text-start\" t-out=\"line['name']\"/>\n                            <td class=\"text-end\" t-out=\"line['unit_avg_cost_component']\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                            <td t-if=\"len(data.get('operations', {}).get('details', []))\" class=\"text-end\" t-out=\"line['unit_avg_cost_operation']\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                            <td class=\"text-end\" t-out=\"line['unit_avg_total_cost']\" t-options=\"{'widget': 'monetary', 'display_currency': currency}\"/>\n                            <td t-if=\"data['show_uom']\" class=\"text-end\" t-out=\"line['uom_name']\"/>\n                        </tr>\n                    </tbody>\n                </table>\n            </t>\n        </div>\n    </t>"}