Browse Source

[FIX] agreement_maintenance: Fix Travis errors

pull/367/head
Maxime Chambreuil 5 years ago
parent
commit
52fbdf8a9a
  1. 2
      agreement_maintenance/models/agreement_serviceprofile.py
  2. 5
      agreement_maintenance/views/agreement_serviceprofile_view.xml

2
agreement_maintenance/models/agreement_serviceprofile.py

@ -1,7 +1,7 @@
# Copyright (C) 2018 - TODAY, Open Source Integrators # Copyright (C) 2018 - TODAY, Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). # 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): class AgreementServiceProfile(models.Model):

5
agreement_maintenance/views/agreement_serviceprofile_view.xml

@ -3,10 +3,11 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo> <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="name">agreement.serviceprofile.form.equipment</field>
<field name="model">agreement.serviceprofile</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="arch" type="xml">
<field name="agreement_id" position="after"> <field name="agreement_id" position="after">
<field name="equipment_id"/> <field name="equipment_id"/>

Loading…
Cancel
Save