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
committed by Guewen Baconnier
parent
commit
ff66ef74c2
  1. 1
      email_template_template/view/email_template.xml
  2. 4
      ir_config_parameter_viewer/ir_config_parameter_view.xml
  3. 3
      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">

4
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">
@ -35,4 +33,4 @@
<menuitem name="Technical config parameters" id="technical_config_parameters"
parent="base.next_id_15" action="view_config_action" groups="base.group_extended"/>
</data>
</openerp>
</openerp>

3
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" />
@ -25,4 +24,4 @@
</field>
</record>
</data>
</openerp>
</openerp>

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