Browse Source

[IMP] In 7.0 version of OpenERP it is unnecessary put the type of view when we define it, is why that I remove the tag type in the view to avoid that server shows us a warning

pull/2/head
Jose Morales 11 years ago
parent
commit
f0eb126a88
  1. 1
      email_template_template/view/email_template.xml
  2. 2
      ir_config_parameter_viewer/ir_config_parameter_view.xml
  3. 1
      mail_environment/mail_view.xml
  4. 2
      mass_editing/mass_editing_view.xml

1
email_template_template/view/email_template.xml

@ -5,7 +5,6 @@
<field name="name">email.template.form</field>
<field name="model">email.template</field>
<field name="inherit_id" ref="email_template.email_template_form" />
<field name="type">form</field>
<field name="arch" type="xml">
<data>
<field name="name" position="after">

2
ir_config_parameter_viewer/ir_config_parameter_view.xml

@ -3,7 +3,6 @@
<record model="ir.ui.view" id="view_config_list">
<field name="name">ir.config_parameter.list</field>
<field name="model">ir.config_parameter</field>
<field name="type">tree</field>
<field name="priority" eval="6"/>
<field name="arch" type="xml">
<tree string="Technical configuration parameters">
@ -15,7 +14,6 @@
<record model="ir.ui.view" id="view_config_form">
<field name="name">ir.config_parameter.form</field>
<field name="model">ir.config_parameter</field>
<field name="type">form</field>
<field name="priority" eval="6"/>
<field name="arch" type="xml">
<form string="Technical configuration parameters">

1
mail_environment/mail_view.xml

@ -8,7 +8,6 @@
<!--parent python entity -->
<field name="inherit_id" ref="fetchmail.view_email_server_form"/>
<!-- modulename.view -->
<field name="type">form</field>
<field name="arch" type="xml">
<field name="server" attrs="{'required' : [('type', '!=', 'local')]}" position="replace">
<field name="server" />

2
mass_editing/mass_editing_view.xml

@ -5,7 +5,6 @@
<record model="ir.ui.view" id="view_mass_object_form">
<field name="name">mass.object.form</field>
<field name="model">mass.object</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Object">
<field name="name"/>
@ -35,7 +34,6 @@
<record model="ir.ui.view" id="view_mass_object_tree">
<field name="name">mass.object.tree</field>
<field name="model">mass.object</field>
<field name="type">form</field>
<field name="arch" type="xml">
<tree string="Object">
<field name="name"/>

Loading…
Cancel
Save