{"en_US": "<form string=\"Repair Order\">\n                <field name=\"has_uncomplete_moves\" invisible=\"1\"/>\n                <field name=\"unreserve_visible\" invisible=\"1\"/>\n                <field name=\"reserve_visible\" invisible=\"1\"/>\n               <header>\n                   <button name=\"action_validate\" invisible=\"state != 'draft'\" type=\"object\" string=\"Confirm Repair\" class=\"oe_highlight\" data-hotkey=\"v\"/>\n                   <button name=\"action_repair_start\" invisible=\"state != 'confirmed'\" type=\"object\" string=\"Start Repair\" class=\"oe_highlight\" data-hotkey=\"q\"/>\n                   <button name=\"action_repair_end\" invisible=\"state != 'under_repair' or not has_uncomplete_moves\" type=\"object\" string=\"End Repair\" class=\"oe_highlight\" data-hotkey=\"x\" confirm=\"For some of the parts, there is a difference between the initial demand and the actual quantity that was used. Are you sure you want to confirm ?\"/>\n                   <button name=\"action_repair_end\" invisible=\"state != 'under_repair' or has_uncomplete_moves\" type=\"object\" string=\"End Repair\" class=\"oe_highlight\" data-hotkey=\"x\"/>\n                   <button name=\"action_assign\" invisible=\"not reserve_visible\" string=\"Check availability\" type=\"object\"/>\n                   <button name=\"action_unreserve\" type=\"object\" string=\"Unreserve\" invisible=\"not unreserve_visible\" data-hotkey=\"w\"/>\n                   <button name=\"action_create_sale_order\" type=\"object\" string=\"Create Quotation\" invisible=\"state == 'cancel' or sale_order_id\"/>\n                   <button name=\"action_repair_cancel\" string=\"Cancel Repair\" type=\"object\" invisible=\"state in ('done', 'cancel')\" data-hotkey=\"l\"/>\n                   <button name=\"action_repair_cancel_draft\" invisible=\"state != 'cancel'\" string=\"Set to Draft\" type=\"object\" data-hotkey=\"z\"/>\n                   <field name=\"state\" widget=\"statusbar\" statusbar_visible=\"draft,confirmed,under_repair,done\"/>\n               </header>\n               <sheet string=\"Repairs order\">\n                    <div class=\"oe_button_box\" name=\"button_box\">\n                        <!-- No groups attribute on the next button as \"stock.group_stock_user\" is needed for Repair, and as this group is granted 'sale.order' read/write accesses in sale_stock module (forcefully loaded as transitive dependency) -->\n                        <button name=\"action_view_sale_order\" type=\"object\" string=\"Sale Order\" icon=\"fa-dollar\" class=\"oe_stat_button\" invisible=\"not sale_order_id\">\n                            <div class=\"o_field_widget o_stat_info\">\n                                <span class=\"o_stat_value\">\n                                    <field name=\"sale_order_id\" widget=\"statinfo\" nolabel=\"1\" class=\"mr4\"/>\n                                </span>\n                                <span class=\"o_stat_text\">Sale Order</span>\n                            </div>\n                        </button>\n                        <button name=\"660\" type=\"action\" string=\"Product Moves\" class=\"oe_stat_button\" icon=\"fa-exchange\" invisible=\"state not in ['done', 'cancel']\"/>\n                    </div>\n                    <div class=\"oe_title\">\n                        <label class=\"o_form_label\" for=\"name\"/>\n                        <h1 class=\"d-flex\">\n                            <field name=\"priority\" widget=\"priority\" class=\"me-3\"/>\n                            <field name=\"name\"/>\n                        </h1>\n                    </div>\n                    <group>\n                        <group>\n                            <field name=\"allowed_lot_ids\" invisible=\"1\"/>\n                            <field name=\"repair_request\" invisible=\"not sale_order_line_id\"/>\n                            <field name=\"partner_id\" widget=\"res_partner_many2one\" context=\"{'res_partner_search_mode': 'customer', 'show_vat': True}\" readonly=\"sale_order_id\"/>\n                            <field name=\"product_id\" readonly=\"state in ['cancel', 'done']\"/>\n                            <field name=\"lot_id\" context=\"{'default_product_id': product_id}\" groups=\"stock.group_production_lot\" options=\"{'no_create': True, 'no_create_edit': True}\" invisible=\"tracking not in ['serial', 'lot']\" readonly=\"state == 'done'\" required=\"tracking in ['serial', 'lot']\"/>\n                            <field name=\"product_uom_category_id\" invisible=\"1\"/>\n                            <label for=\"product_qty\" invisible=\"not product_id\"/>\n                            <div class=\"o_row\" invisible=\"not product_id\">\n                                <field name=\"product_qty\" readonly=\"tracking == 'serial' or state in ('done', 'cancel')\"/>\n                                <field name=\"product_uom\" groups=\"uom.group_uom\" readonly=\"state != 'draft'\"/>\n                            </div>\n                            <field name=\"picking_id\" options=\"{'no_create': True}\"/>\n                            <field name=\"under_warranty\" readonly=\"state in ['cancel', 'done']\"/>\n                        </group>\n                        <group>\n                            <field name=\"schedule_date\" readonly=\"state in ['done', 'cancel']\"/>\n                            <field name=\"user_id\" domain=\"[('share', '=', False)]\"/>\n                            <field name=\"company_id\" groups=\"base.group_multi_company\" options=\"{'no_create': True}\"/>\n                            <field name=\"tag_ids\" widget=\"many2many_tags\" options=\"{'color_field': 'color', 'no_create_edit': True}\"/>\n                            <field name=\"parts_availability_state\" invisible=\"True\"/>\n                            <field name=\"parts_availability\" invisible=\"state not in ['confirmed', 'under_repair']\" decoration-success=\"parts_availability_state == 'available'\" decoration-warning=\"parts_availability_state == 'expected'\" decoration-danger=\"parts_availability_state == 'late'\"/>\n                        </group>\n                        <field name=\"repair_properties\" nolabel=\"1\" columns=\"2\" hideAddButton=\"1\"/>\n                    </group>\n                <notebook>\n                    <page string=\"Parts\" name=\"parts\">\n                        <field name=\"move_ids\" readonly=\"state == 'cancel' or state == 'done'\" context=\"{'default_repair_id': id, 'default_product_uom_qty': 1, 'default_company_id': company_id, 'default_date': schedule_date, 'default_repair_line_type': 'add'}\">\n                            <list string=\"Operations\" editable=\"bottom\">\n                                <control>\n                                    <create string=\"Add a line\"/>\n                                    <button name=\"action_add_from_catalog_repair\" string=\"Catalog\" type=\"object\" class=\"px-4 btn-link\" context=\"{'order_id': parent.id}\"/>\n                                </control>\n                                <field name=\"company_id\" column_invisible=\"True\"/>\n                                <field name=\"name\" column_invisible=\"True\"/>\n                                <field name=\"state\" column_invisible=\"True\"/>\n                                <field name=\"repair_line_type\" required=\"1\"/>\n                                <field name=\"picking_type_id\" column_invisible=\"True\"/>\n                                <field name=\"location_id\" column_invisible=\"True\"/>\n                                <field name=\"location_dest_id\" column_invisible=\"True\"/>\n                                <field name=\"partner_id\" column_invisible=\"True\" readonly=\"state == 'done'\"/>\n                                <field name=\"scrapped\" column_invisible=\"True\"/>\n                                <field name=\"picking_code\" column_invisible=\"True\"/>\n                                <field name=\"show_details_visible\" column_invisible=\"True\"/>\n                                <field name=\"additional\" column_invisible=\"True\"/>\n                                <field name=\"move_lines_count\" column_invisible=\"True\"/>\n                                <field name=\"is_locked\" column_invisible=\"True\"/>\n                                <field name=\"product_uom_category_id\" column_invisible=\"True\"/>\n                                <field name=\"is_storable\" column_invisible=\"True\"/>\n                                <field name=\"has_tracking\" column_invisible=\"True\"/>\n                                <field name=\"display_assign_serial\" column_invisible=\"True\"/>\n                                <field name=\"product_id\" context=\"{'default_is_storable': True}\" required=\"1\" readonly=\"(state != 'draft' and not additional) or move_lines_count &gt; 0\"/>\n                                <field name=\"description_picking\" string=\"Description\" optional=\"hide\"/>\n                                <field name=\"date\" optional=\"hide\"/>\n                                <field name=\"date_deadline\" optional=\"hide\"/>\n                                <field name=\"product_packaging_id\" groups=\"product.group_stock_packaging\"/>\n                                <field name=\"product_uom_qty\" string=\"Demand\" readonly=\"state in ('done', 'cancel')\"/>\n                                <field name=\"forecast_expected_date\" column_invisible=\"True\"/>\n                                <button type=\"object\" name=\"action_product_forecast_report\" title=\"Forecast Report\" icon=\"fa-area-chart\" column_invisible=\"parent.state != 'draft'\" invisible=\"forecast_availability &lt; 0 and repair_line_type == 'add'\"/>\n                                <button type=\"object\" name=\"action_product_forecast_report\" title=\"Forecast Report\" icon=\"fa-area-chart text-danger\" column_invisible=\"parent.state != 'draft'\" invisible=\"forecast_availability &gt;= 0 or repair_line_type != 'add'\"/>\n                                <field name=\"forecast_availability\" string=\"Forecasted\" column_invisible=\"parent.state in ('draft', 'done')\" widget=\"forecast_widget\"/>\n                                <field name=\"product_qty\" readonly=\"1\" column_invisible=\"True\"/>\n                                <field name=\"quantity\" string=\"Done\" readonly=\"not product_id\"/>\n                                <field name=\"product_uom\" readonly=\"state != 'draft' and not additional\" options=\"{'no_open': True, 'no_create': True}\" string=\"Unit of Measure\" groups=\"uom.group_uom\"/>\n                                <field name=\"picked\" string=\"Used\"/>\n                                <field name=\"lot_ids\" widget=\"many2many_tags\" groups=\"stock.group_production_lot\" invisible=\"not show_details_visible or has_tracking != 'serial'\" optional=\"hide\" context=\"{'default_product_id': product_id}\" domain=\"[('product_id','=',product_id)]\" readonly=\"not id\"/>\n                                <button name=\"action_show_details\" type=\"object\" icon=\"fa-list\" width=\"0.1\" title=\"Details\" invisible=\"not show_details_visible\" options=\"{&quot;warn&quot;: true}\" context=\"{'default_location_dest_id': location_dest_id}\"/>\n                            </list>\n                        </field>\n                        <div class=\"clearfix\"/>\n                    </page>\n                    <page string=\"Repair Notes\" name=\"repair_notes\">\n                        <field name=\"internal_notes\" placeholder=\"Add internal notes.\"/>\n                    </page>\n                    <page string=\"Miscellaneous\" name=\"page_miscellaneous\">\n                        <group>\n                            <field name=\"picking_type_id\" options=\"{'no_create': True}\" readonly=\"state in ('done', 'cancel')\"/>\n                        </group>\n                        <group string=\"Locations\" groups=\"stock.group_stock_multi_locations\" name=\"locations\">\n                            <field name=\"product_location_src_id\" readonly=\"state != 'draft'\" options=\"{'no_create': True}\"/>\n                            <field name=\"location_id\" readonly=\"state != 'draft'\" options=\"{'no_create': True}\"/>\n                        </group>\n                    </page>\n                </notebook>\n                </sheet>\n                <chatter/>\n            </form>", "es_ES": "<form string=\"Orden de reparación\">\n                <field name=\"has_uncomplete_moves\" invisible=\"1\"/>\n                <field name=\"unreserve_visible\" invisible=\"1\"/>\n                <field name=\"reserve_visible\" invisible=\"1\"/>\n               <header>\n                   <button name=\"action_validate\" invisible=\"state != 'draft'\" type=\"object\" string=\"Confirmar reparación\" class=\"oe_highlight\" data-hotkey=\"v\"/>\n                   <button name=\"action_repair_start\" invisible=\"state != 'confirmed'\" type=\"object\" string=\"Iniciar reparación\" class=\"oe_highlight\" data-hotkey=\"q\"/>\n                   <button name=\"action_repair_end\" invisible=\"state != 'under_repair' or not has_uncomplete_moves\" type=\"object\" string=\"Finalizar reparación\" class=\"oe_highlight\" data-hotkey=\"x\" confirm=\"Para algunas piezas, hay una diferencia entre la demanda inicial y la cantidad que se usó al final. ¿Está seguro de que desea confirmar?\"/>\n                   <button name=\"action_repair_end\" invisible=\"state != 'under_repair' or has_uncomplete_moves\" type=\"object\" string=\"Finalizar reparación\" class=\"oe_highlight\" data-hotkey=\"x\"/>\n                   <button name=\"action_assign\" invisible=\"not reserve_visible\" string=\"Comprobar la disponibilidad\" type=\"object\"/>\n                   <button name=\"action_unreserve\" type=\"object\" string=\"Anular reserva\" invisible=\"not unreserve_visible\" data-hotkey=\"w\"/>\n                   <button name=\"action_create_sale_order\" type=\"object\" string=\"Crear presupuesto\" invisible=\"state == 'cancel' or sale_order_id\"/>\n                   <button name=\"action_repair_cancel\" string=\"Cancelar reparación\" type=\"object\" invisible=\"state in ('done', 'cancel')\" data-hotkey=\"l\"/>\n                   <button name=\"action_repair_cancel_draft\" invisible=\"state != 'cancel'\" string=\"Establecer a borrador\" type=\"object\" data-hotkey=\"z\"/>\n                   <field name=\"state\" widget=\"statusbar\" statusbar_visible=\"draft,confirmed,under_repair,done\"/>\n               </header>\n               <sheet string=\"Órdenes de reparación\">\n                    <div class=\"oe_button_box\" name=\"button_box\">\n                        <!-- No groups attribute on the next button as \"stock.group_stock_user\" is needed for Repair, and as this group is granted 'sale.order' read/write accesses in sale_stock module (forcefully loaded as transitive dependency) -->\n                        <button name=\"action_view_sale_order\" type=\"object\" string=\"Pedido de venta\" icon=\"fa-dollar\" class=\"oe_stat_button\" invisible=\"not sale_order_id\">\n                            <div class=\"o_field_widget o_stat_info\">\n                                <span class=\"o_stat_value\">\n                                    <field name=\"sale_order_id\" widget=\"statinfo\" nolabel=\"1\" class=\"mr4\"/>\n                                </span>\n                                <span class=\"o_stat_text\">Pedido de venta</span>\n                            </div>\n                        </button>\n                        <button name=\"660\" type=\"action\" string=\"Movimientos de producto\" class=\"oe_stat_button\" icon=\"fa-exchange\" invisible=\"state not in ['done', 'cancel']\"/>\n                    </div>\n                    <div class=\"oe_title\">\n                        <label class=\"o_form_label\" for=\"name\"/>\n                        <h1 class=\"d-flex\">\n                            <field name=\"priority\" widget=\"priority\" class=\"me-3\"/>\n                            <field name=\"name\"/>\n                        </h1>\n                    </div>\n                    <group>\n                        <group>\n                            <field name=\"allowed_lot_ids\" invisible=\"1\"/>\n                            <field name=\"repair_request\" invisible=\"not sale_order_line_id\"/>\n                            <field name=\"partner_id\" widget=\"res_partner_many2one\" context=\"{'res_partner_search_mode': 'customer', 'show_vat': True}\" readonly=\"sale_order_id\"/>\n                            <field name=\"product_id\" readonly=\"state in ['cancel', 'done']\"/>\n                            <field name=\"lot_id\" context=\"{'default_product_id': product_id}\" groups=\"stock.group_production_lot\" options=\"{'no_create': True, 'no_create_edit': True}\" invisible=\"tracking not in ['serial', 'lot']\" readonly=\"state == 'done'\" required=\"tracking in ['serial', 'lot']\"/>\n                            <field name=\"product_uom_category_id\" invisible=\"1\"/>\n                            <label for=\"product_qty\" invisible=\"not product_id\"/>\n                            <div class=\"o_row\" invisible=\"not product_id\">\n                                <field name=\"product_qty\" readonly=\"tracking == 'serial' or state in ('done', 'cancel')\"/>\n                                <field name=\"product_uom\" groups=\"uom.group_uom\" readonly=\"state != 'draft'\"/>\n                            </div>\n                            <field name=\"picking_id\" options=\"{'no_create': True}\"/>\n                            <field name=\"under_warranty\" readonly=\"state in ['cancel', 'done']\"/>\n                        </group>\n                        <group>\n                            <field name=\"schedule_date\" readonly=\"state in ['done', 'cancel']\"/>\n                            <field name=\"user_id\" domain=\"[('share', '=', False)]\"/>\n                            <field name=\"company_id\" groups=\"base.group_multi_company\" options=\"{'no_create': True}\"/>\n                            <field name=\"tag_ids\" widget=\"many2many_tags\" options=\"{'color_field': 'color', 'no_create_edit': True}\"/>\n                            <field name=\"parts_availability_state\" invisible=\"True\"/>\n                            <field name=\"parts_availability\" invisible=\"state not in ['confirmed', 'under_repair']\" decoration-success=\"parts_availability_state == 'available'\" decoration-warning=\"parts_availability_state == 'expected'\" decoration-danger=\"parts_availability_state == 'late'\"/>\n                        </group>\n                        <field name=\"repair_properties\" nolabel=\"1\" columns=\"2\" hideAddButton=\"1\"/>\n                    </group>\n                <notebook>\n                    <page string=\"Piezas\" name=\"parts\">\n                        <field name=\"move_ids\" readonly=\"state == 'cancel' or state == 'done'\" context=\"{'default_repair_id': id, 'default_product_uom_qty': 1, 'default_company_id': company_id, 'default_date': schedule_date, 'default_repair_line_type': 'add'}\">\n                            <list string=\"Operaciones\" editable=\"bottom\">\n                                <control>\n                                    <create string=\"Añadir una línea\"/>\n                                    <button name=\"action_add_from_catalog_repair\" string=\"Catálogo\" type=\"object\" class=\"px-4 btn-link\" context=\"{'order_id': parent.id}\"/>\n                                </control>\n                                <field name=\"company_id\" column_invisible=\"True\"/>\n                                <field name=\"name\" column_invisible=\"True\"/>\n                                <field name=\"state\" column_invisible=\"True\"/>\n                                <field name=\"repair_line_type\" required=\"1\"/>\n                                <field name=\"picking_type_id\" column_invisible=\"True\"/>\n                                <field name=\"location_id\" column_invisible=\"True\"/>\n                                <field name=\"location_dest_id\" column_invisible=\"True\"/>\n                                <field name=\"partner_id\" column_invisible=\"True\" readonly=\"state == 'done'\"/>\n                                <field name=\"scrapped\" column_invisible=\"True\"/>\n                                <field name=\"picking_code\" column_invisible=\"True\"/>\n                                <field name=\"show_details_visible\" column_invisible=\"True\"/>\n                                <field name=\"additional\" column_invisible=\"True\"/>\n                                <field name=\"move_lines_count\" column_invisible=\"True\"/>\n                                <field name=\"is_locked\" column_invisible=\"True\"/>\n                                <field name=\"product_uom_category_id\" column_invisible=\"True\"/>\n                                <field name=\"is_storable\" column_invisible=\"True\"/>\n                                <field name=\"has_tracking\" column_invisible=\"True\"/>\n                                <field name=\"display_assign_serial\" column_invisible=\"True\"/>\n                                <field name=\"product_id\" context=\"{'default_is_storable': True}\" required=\"1\" readonly=\"(state != 'draft' and not additional) or move_lines_count &gt; 0\"/>\n                                <field name=\"description_picking\" string=\"Descripción\" optional=\"hide\"/>\n                                <field name=\"date\" optional=\"hide\"/>\n                                <field name=\"date_deadline\" optional=\"hide\"/>\n                                <field name=\"product_packaging_id\" groups=\"product.group_stock_packaging\"/>\n                                <field name=\"product_uom_qty\" string=\"Demanda\" readonly=\"state in ('done', 'cancel')\"/>\n                                <field name=\"forecast_expected_date\" column_invisible=\"True\"/>\n                                <button type=\"object\" name=\"action_product_forecast_report\" title=\"Informe de pronóstico\" icon=\"fa-area-chart\" column_invisible=\"parent.state != 'draft'\" invisible=\"forecast_availability &lt; 0 and repair_line_type == 'add'\"/>\n                                <button type=\"object\" name=\"action_product_forecast_report\" title=\"Informe de pronóstico\" icon=\"fa-area-chart text-danger\" column_invisible=\"parent.state != 'draft'\" invisible=\"forecast_availability &gt;= 0 or repair_line_type != 'add'\"/>\n                                <field name=\"forecast_availability\" string=\"Pronosticado\" column_invisible=\"parent.state in ('draft', 'done')\" widget=\"forecast_widget\"/>\n                                <field name=\"product_qty\" readonly=\"1\" column_invisible=\"True\"/>\n                                <field name=\"quantity\" string=\"Hecho\" readonly=\"not product_id\"/>\n                                <field name=\"product_uom\" readonly=\"state != 'draft' and not additional\" options=\"{'no_open': True, 'no_create': True}\" string=\"Unidad de medida\" groups=\"uom.group_uom\"/>\n                                <field name=\"picked\" string=\"Usado\"/>\n                                <field name=\"lot_ids\" widget=\"many2many_tags\" groups=\"stock.group_production_lot\" invisible=\"not show_details_visible or has_tracking != 'serial'\" optional=\"hide\" context=\"{'default_product_id': product_id}\" domain=\"[('product_id','=',product_id)]\" readonly=\"not id\"/>\n                                <button name=\"action_show_details\" type=\"object\" icon=\"fa-list\" width=\"0.1\" title=\"Detalles\" invisible=\"not show_details_visible\" options=\"{&quot;warn&quot;: true}\" context=\"{'default_location_dest_id': location_dest_id}\"/>\n                            </list>\n                        </field>\n                        <div class=\"clearfix\"/>\n                    </page>\n                    <page string=\"Notas de reparación\" name=\"repair_notes\">\n                        <field name=\"internal_notes\" placeholder=\"Añada notas internas.\"/>\n                    </page>\n                    <page string=\"Varios\" name=\"page_miscellaneous\">\n                        <group>\n                            <field name=\"picking_type_id\" options=\"{'no_create': True}\" readonly=\"state in ('done', 'cancel')\"/>\n                        </group>\n                        <group string=\"Ubicaciones\" groups=\"stock.group_stock_multi_locations\" name=\"locations\">\n                            <field name=\"product_location_src_id\" readonly=\"state != 'draft'\" options=\"{'no_create': True}\"/>\n                            <field name=\"location_id\" readonly=\"state != 'draft'\" options=\"{'no_create': True}\"/>\n                        </group>\n                    </page>\n                </notebook>\n                </sheet>\n                <chatter/>\n            </form>", "pt_PT": "<form string=\"Ordem de Reparação\">\n                <field name=\"has_uncomplete_moves\" invisible=\"1\"/>\n                <field name=\"unreserve_visible\" invisible=\"1\"/>\n                <field name=\"reserve_visible\" invisible=\"1\"/>\n               <header>\n                   <button name=\"action_validate\" invisible=\"state != 'draft'\" type=\"object\" string=\"Confirmar Reparação\" class=\"oe_highlight\" data-hotkey=\"v\"/>\n                   <button name=\"action_repair_start\" invisible=\"state != 'confirmed'\" type=\"object\" string=\"Iniciar Reparação\" class=\"oe_highlight\" data-hotkey=\"q\"/>\n                   <button name=\"action_repair_end\" invisible=\"state != 'under_repair' or not has_uncomplete_moves\" type=\"object\" string=\"Terminar Reparação\" class=\"oe_highlight\" data-hotkey=\"x\" confirm=\"For some of the parts, there is a difference between the initial demand and the actual quantity that was used. Are you sure you want to confirm ?\"/>\n                   <button name=\"action_repair_end\" invisible=\"state != 'under_repair' or has_uncomplete_moves\" type=\"object\" string=\"Terminar Reparação\" class=\"oe_highlight\" data-hotkey=\"x\"/>\n                   <button name=\"action_assign\" invisible=\"not reserve_visible\" string=\"Verificar disponibilidade\" type=\"object\"/>\n                   <button name=\"action_unreserve\" type=\"object\" string=\"Não Reservado\" invisible=\"not unreserve_visible\" data-hotkey=\"w\"/>\n                   <button name=\"action_create_sale_order\" type=\"object\" string=\"Criar Orçamento\" invisible=\"state == 'cancel' or sale_order_id\"/>\n                   <button name=\"action_repair_cancel\" string=\"Cancelar Reparação\" type=\"object\" invisible=\"state in ('done', 'cancel')\" data-hotkey=\"l\"/>\n                   <button name=\"action_repair_cancel_draft\" invisible=\"state != 'cancel'\" string=\"Definir como Rascunho\" type=\"object\" data-hotkey=\"z\"/>\n                   <field name=\"state\" widget=\"statusbar\" statusbar_visible=\"draft,confirmed,under_repair,done\"/>\n               </header>\n               <sheet string=\"Ordens de reparação\">\n                    <div class=\"oe_button_box\" name=\"button_box\">\n                        <!-- No groups attribute on the next button as \"stock.group_stock_user\" is needed for Repair, and as this group is granted 'sale.order' read/write accesses in sale_stock module (forcefully loaded as transitive dependency) -->\n                        <button name=\"action_view_sale_order\" type=\"object\" string=\"Ordem de Venda\" icon=\"fa-dollar\" class=\"oe_stat_button\" invisible=\"not sale_order_id\">\n                            <div class=\"o_field_widget o_stat_info\">\n                                <span class=\"o_stat_value\">\n                                    <field name=\"sale_order_id\" widget=\"statinfo\" nolabel=\"1\" class=\"mr4\"/>\n                                </span>\n                                <span class=\"o_stat_text\">Encomenda de Compra</span>\n                            </div>\n                        </button>\n                        <button name=\"660\" type=\"action\" string=\"Movimentos de Artigo\" class=\"oe_stat_button\" icon=\"fa-exchange\" invisible=\"state not in ['done', 'cancel']\"/>\n                    </div>\n                    <div class=\"oe_title\">\n                        <label class=\"o_form_label\" for=\"name\"/>\n                        <h1 class=\"d-flex\">\n                            <field name=\"priority\" widget=\"priority\" class=\"me-3\"/>\n                            <field name=\"name\"/>\n                        </h1>\n                    </div>\n                    <group>\n                        <group>\n                            <field name=\"allowed_lot_ids\" invisible=\"1\"/>\n                            <field name=\"repair_request\" invisible=\"not sale_order_line_id\"/>\n                            <field name=\"partner_id\" widget=\"res_partner_many2one\" context=\"{'res_partner_search_mode': 'customer', 'show_vat': True}\" readonly=\"sale_order_id\"/>\n                            <field name=\"product_id\" readonly=\"state in ['cancel', 'done']\"/>\n                            <field name=\"lot_id\" context=\"{'default_product_id': product_id}\" groups=\"stock.group_production_lot\" options=\"{'no_create': True, 'no_create_edit': True}\" invisible=\"tracking not in ['serial', 'lot']\" readonly=\"state == 'done'\" required=\"tracking in ['serial', 'lot']\"/>\n                            <field name=\"product_uom_category_id\" invisible=\"1\"/>\n                            <label for=\"product_qty\" invisible=\"not product_id\"/>\n                            <div class=\"o_row\" invisible=\"not product_id\">\n                                <field name=\"product_qty\" readonly=\"tracking == 'serial' or state in ('done', 'cancel')\"/>\n                                <field name=\"product_uom\" groups=\"uom.group_uom\" readonly=\"state != 'draft'\"/>\n                            </div>\n                            <field name=\"picking_id\" options=\"{'no_create': True}\"/>\n                            <field name=\"under_warranty\" readonly=\"state in ['cancel', 'done']\"/>\n                        </group>\n                        <group>\n                            <field name=\"schedule_date\" readonly=\"state in ['done', 'cancel']\"/>\n                            <field name=\"user_id\" domain=\"[('share', '=', False)]\"/>\n                            <field name=\"company_id\" groups=\"base.group_multi_company\" options=\"{'no_create': True}\"/>\n                            <field name=\"tag_ids\" widget=\"many2many_tags\" options=\"{'color_field': 'color', 'no_create_edit': True}\"/>\n                            <field name=\"parts_availability_state\" invisible=\"True\"/>\n                            <field name=\"parts_availability\" invisible=\"state not in ['confirmed', 'under_repair']\" decoration-success=\"parts_availability_state == 'available'\" decoration-warning=\"parts_availability_state == 'expected'\" decoration-danger=\"parts_availability_state == 'late'\"/>\n                        </group>\n                        <field name=\"repair_properties\" nolabel=\"1\" columns=\"2\" hideAddButton=\"1\"/>\n                    </group>\n                <notebook>\n                    <page string=\"Peças\" name=\"parts\">\n                        <field name=\"move_ids\" readonly=\"state == 'cancel' or state == 'done'\" context=\"{'default_repair_id': id, 'default_product_uom_qty': 1, 'default_company_id': company_id, 'default_date': schedule_date, 'default_repair_line_type': 'add'}\">\n                            <list string=\"Operações\" editable=\"bottom\">\n                                <control>\n                                    <create string=\"Adicionar uma linha\"/>\n                                    <button name=\"action_add_from_catalog_repair\" string=\"Catálogo\" type=\"object\" class=\"px-4 btn-link\" context=\"{'order_id': parent.id}\"/>\n                                </control>\n                                <field name=\"company_id\" column_invisible=\"True\"/>\n                                <field name=\"name\" column_invisible=\"True\"/>\n                                <field name=\"state\" column_invisible=\"True\"/>\n                                <field name=\"repair_line_type\" required=\"1\"/>\n                                <field name=\"picking_type_id\" column_invisible=\"True\"/>\n                                <field name=\"location_id\" column_invisible=\"True\"/>\n                                <field name=\"location_dest_id\" column_invisible=\"True\"/>\n                                <field name=\"partner_id\" column_invisible=\"True\" readonly=\"state == 'done'\"/>\n                                <field name=\"scrapped\" column_invisible=\"True\"/>\n                                <field name=\"picking_code\" column_invisible=\"True\"/>\n                                <field name=\"show_details_visible\" column_invisible=\"True\"/>\n                                <field name=\"additional\" column_invisible=\"True\"/>\n                                <field name=\"move_lines_count\" column_invisible=\"True\"/>\n                                <field name=\"is_locked\" column_invisible=\"True\"/>\n                                <field name=\"product_uom_category_id\" column_invisible=\"True\"/>\n                                <field name=\"is_storable\" column_invisible=\"True\"/>\n                                <field name=\"has_tracking\" column_invisible=\"True\"/>\n                                <field name=\"display_assign_serial\" column_invisible=\"True\"/>\n                                <field name=\"product_id\" context=\"{'default_is_storable': True}\" required=\"1\" readonly=\"(state != 'draft' and not additional) or move_lines_count &gt; 0\"/>\n                                <field name=\"description_picking\" string=\"Descrição\" optional=\"hide\"/>\n                                <field name=\"date\" optional=\"hide\"/>\n                                <field name=\"date_deadline\" optional=\"hide\"/>\n                                <field name=\"product_packaging_id\" groups=\"product.group_stock_packaging\"/>\n                                <field name=\"product_uom_qty\" string=\"Demanda\" readonly=\"state in ('done', 'cancel')\"/>\n                                <field name=\"forecast_expected_date\" column_invisible=\"True\"/>\n                                <button type=\"object\" name=\"action_product_forecast_report\" title=\"Relatório de Previsão\" icon=\"fa-area-chart\" column_invisible=\"parent.state != 'draft'\" invisible=\"forecast_availability &lt; 0 and repair_line_type == 'add'\"/>\n                                <button type=\"object\" name=\"action_product_forecast_report\" title=\"Relatório de Previsão\" icon=\"fa-area-chart text-danger\" column_invisible=\"parent.state != 'draft'\" invisible=\"forecast_availability &gt;= 0 or repair_line_type != 'add'\"/>\n                                <field name=\"forecast_availability\" string=\"Previsto\" column_invisible=\"parent.state in ('draft', 'done')\" widget=\"forecast_widget\"/>\n                                <field name=\"product_qty\" readonly=\"1\" column_invisible=\"True\"/>\n                                <field name=\"quantity\" string=\"Concluído\" readonly=\"not product_id\"/>\n                                <field name=\"product_uom\" readonly=\"state != 'draft' and not additional\" options=\"{'no_open': True, 'no_create': True}\" string=\"Unidade de Medida\" groups=\"uom.group_uom\"/>\n                                <field name=\"picked\" string=\"Usado\"/>\n                                <field name=\"lot_ids\" widget=\"many2many_tags\" groups=\"stock.group_production_lot\" invisible=\"not show_details_visible or has_tracking != 'serial'\" optional=\"hide\" context=\"{'default_product_id': product_id}\" domain=\"[('product_id','=',product_id)]\" readonly=\"not id\"/>\n                                <button name=\"action_show_details\" type=\"object\" icon=\"fa-list\" width=\"0.1\" title=\"Detalhes\" invisible=\"not show_details_visible\" options=\"{&quot;warn&quot;: true}\" context=\"{'default_location_dest_id': location_dest_id}\"/>\n                            </list>\n                        </field>\n                        <div class=\"clearfix\"/>\n                    </page>\n                    <page string=\"Notas da Reparação\" name=\"repair_notes\">\n                        <field name=\"internal_notes\" placeholder=\"Adicione notas internas.\"/>\n                    </page>\n                    <page string=\"Diversos\" name=\"page_miscellaneous\">\n                        <group>\n                            <field name=\"picking_type_id\" options=\"{'no_create': True}\" readonly=\"state in ('done', 'cancel')\"/>\n                        </group>\n                        <group string=\"Localizações\" groups=\"stock.group_stock_multi_locations\" name=\"locations\">\n                            <field name=\"product_location_src_id\" readonly=\"state != 'draft'\" options=\"{'no_create': True}\"/>\n                            <field name=\"location_id\" readonly=\"state != 'draft'\" options=\"{'no_create': True}\"/>\n                        </group>\n                    </page>\n                </notebook>\n                </sheet>\n                <chatter/>\n            </form>"}