[FIX] agreement_maintenance: Element cannot be located in parent view

This commit is contained in:
Maxime Chambreuil
2019-11-22 08:51:19 -06:00
committed by Murtaza Mithaiwala
parent 16f9cc5b49
commit 1351f55810
2 changed files with 83 additions and 2 deletions

View File

@@ -0,0 +1,81 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * agreement_maintenance
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-02-12 05:03+0000\n"
"Last-Translator: Marcel Savegnago <marcel.savegnago@gmail.com>\n"
"Language-Team: none\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 3.10\n"
#. module: agreement_maintenance
#: model:ir.model.fields,field_description:agreement_maintenance.field_agreement__mr_count
msgid "# Maintenance Requests"
msgstr "# Solicitações de Manutenção"
#. module: agreement_maintenance
#: model_terms:ir.ui.view,arch_db:agreement_maintenance.partner_agreement_form_view
msgid "<span class=\"o_stat_text\">Maintenance Requests</span>"
msgstr "<span class=“o_stat_text>Solicitações de Manutenção</span>"
#. module: agreement_maintenance
#: model:ir.model,name:agreement_maintenance.model_agreement
#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_equipment__agreement_id
#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_request__agreement_id
#: model_terms:ir.ui.view,arch_db:agreement_maintenance.view_maintenance_equipment_filter_agreement
msgid "Agreement"
msgstr "Acordo"
#. module: agreement_maintenance
#: model:ir.model,name:agreement_maintenance.model_agreement_serviceprofile
msgid "Agreement Service Profiles"
msgstr "Perfis de Serviços de Acordo"
#. module: agreement_maintenance
#: model_terms:ir.actions.act_window,help:agreement_maintenance.action_maintenance_request_agreement_specific
msgid "Create Maintenance Requests"
msgstr "Criar Solicitações de Manutenção"
#. module: agreement_maintenance
#: model:ir.model.fields,field_description:agreement_maintenance.field_agreement_serviceprofile__equipment_id
msgid "Equipment"
msgstr "Equipamento"
#. module: agreement_maintenance
#: model:ir.model,name:agreement_maintenance.model_maintenance_equipment
msgid "Maintenance Equipment"
msgstr "Equipamentos de Manutenção"
#. module: agreement_maintenance
#: model:ir.model,name:agreement_maintenance.model_maintenance_request
msgid "Maintenance Request"
msgstr "Solicitação de Manutenção"
#. module: agreement_maintenance
#: model:ir.actions.act_window,name:agreement_maintenance.action_maintenance_request_agreement_specific
msgid "Maintenance Requests"
msgstr "Solicitações de Manutenção"
#. module: agreement_maintenance
#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_request__serviceprofile_id
#: model_terms:ir.ui.view,arch_db:agreement_maintenance.view_maintenance_request_filter_agreement
msgid "Service Profile"
msgstr "Perfil de Serviço"
#. module: agreement_maintenance
#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_equipment__serviceprofile_ids
msgid "Service Profiles"
msgstr "Perfis de Serviço"
#. module: agreement_maintenance
#: model_terms:ir.ui.view,arch_db:agreement_maintenance.maintenance_equipment_form_view_agreement
msgid "Services"
msgstr "Serviços"

View File

@@ -9,9 +9,9 @@
<field name="inherit_id" <field name="inherit_id"
ref="maintenance.hr_equipment_view_form"/> ref="maintenance.hr_equipment_view_form"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name="owner_user_id" position="after"> <xpath expr="//group/group[1]" position="inside">
<field name="agreement_id"/> <field name="agreement_id"/>
</field> </xpath>
<xpath expr="//notebook" position="inside"> <xpath expr="//notebook" position="inside">
<page string="Services" id="services"> <page string="Services" id="services">
<field name="serviceprofile_ids" <field name="serviceprofile_ids"