[7.0/trunk]: Unable to create new view

Bug #1103788 reported by Jebtrix
34
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Committed
Medium
OpenERP's Framework R&D

Bug Description

v7 r8608
User Interface > Views

Unable to create new view, save always fails (silently). Required [View Type] field is inaccessible/hidden due to readonly not being unset.

Problem is ../addons/base/ir/ir_ui_view_view.xml

<!-- View -->
<record id="view_view_form" model="ir.ui.view">
 <field name="model">ir.ui.view</field>
 <field name="arch" type="xml">
  <form string="Views" version="7.0">
   <sheet>
    <group>
     <group>
      <field name="name"/>
      <field name="type"/> --fix--> <field name="type" readonly="0"/>
      <field name="model"/>
      <field name="priority"/>

Related branches

Jebtrix (jebtrix)
description: updated
description: updated
description: updated
Jebtrix (jebtrix)
summary: - unable to create new view
+ [7.0]/trunk: Unable to create new view
Jebtrix (jebtrix)
description: updated
description: updated
summary: - [7.0]/trunk: Unable to create new view
+ [7.0/trunk]: Unable to create new view
Jebtrix (jebtrix)
affects: openobject-addons → openobject-server
Revision history for this message
Jebtrix (jebtrix) wrote :

=== modified file openerp/addons/base/ir/ir_ui_view_view.xml
--- openerp/addons/base/ir/ir_ui_view_view.xml 2012-12-18 23:52:13 +0000
+++ openerp/addons/base/ir/ir_ui_view_view.xml 2013-01-24 02:58:36 +0000
@@ -10,7 +10,7 @@
                     <group>
                         <group>
                             <field name="name"/>
- <field name="type"/>
+ <field name="type" readonly="0"/>
                             <field name="model"/>
                             <field name="priority"/>
                         </group>

Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :

Hello Jebtrix,

Thanks for reporting!
I have created branch for you ,
It has been fixed on lp:~openerp-dev/openobject-server/trunk-bug-1103788-jir branch with following revision no and id.

rev no : 4787
rev id : 4787 <email address hidden>

Thanks again!

Changed in openobject-server:
status: Confirmed → Fix Committed
Revision history for this message
Jan Jurkus (jjurkus) wrote :

With current 7.0 branch, rev no 5117 this bug can still be found.

Revision history for this message
Devvyn Murphy (devvyn) wrote :

Although I *can* create & save new views, the Type field is still read-only when rendered to the form view.

This is causing confusion with users, as seen in this help question: <help.openerp.com/question/32361/why-cannot-i-create-form-view-using-the-interface/>

The fix in lp:~openerp-dev/openobject-server/trunk-bug-1103788-jir doesn't seem to have made it to a release yet.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.