Browse Source

Merge pull request #28 from savoirfairelinux/passport_warnings

Remove the `type` field as is deprecated in the `ir.ui.view` model.
pull/32/head
Holger Brunn 10 years ago
parent
commit
1a5dd0247a
  1. 1
      base_contact/base_contact_view.xml
  2. 2
      passport/res_passport_view.xml

1
base_contact/base_contact_view.xml

@ -34,7 +34,6 @@
<field name="name">res.partner.form.contact</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="type">form</field>
<field name="arch" type="xml">
<field name="is_company" position="after">
<field name="contact_type" invisible="1"/>

2
passport/res_passport_view.xml

@ -5,7 +5,6 @@
<record model="ir.ui.view" id="passport_tree_view">
<field name="name">Passport Tree View</field>
<field name="model">res.passport</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="PassportTree" version="7.0">
<field name="country_id"/>
@ -20,7 +19,6 @@
<record model="ir.ui.view" id="passport_form_view">
<field name="name">Passport Form View</field>
<field name="model">res.passport</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="PassportForm" version="7.0" >
<group col="4">

Loading…
Cancel
Save