[FIX] agreement_maintenance: Fix Travis errors

This commit is contained in:
Maxime Chambreuil
2019-09-03 12:09:11 -05:00
parent fe6ec78bed
commit 52fbdf8a9a
2 changed files with 4 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
# Copyright (C) 2018 - TODAY, Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import api, fields, models
from odoo import fields, models
class AgreementServiceProfile(models.Model):

View File

@@ -3,10 +3,11 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="partner_agreement_form_view" model="ir.ui.view">
<record id="agreement_serviceprofile_equipment_form_view" model="ir.ui.view">
<field name="name">agreement.serviceprofile.form.equipment</field>
<field name="model">agreement.serviceprofile</field>
<field name="inherit_id" ref="agreement_serviceprofile.agreement_serviceprofile_form"/>
<field name="inherit_id"
ref="agreement_serviceprofile.agreement_serviceprofile_form"/>
<field name="arch" type="xml">
<field name="agreement_id" position="after">
<field name="equipment_id"/>