← Back to team overview

openerp-india team mailing list archive

[Bug 1103788] Re: unable to create new view

 

** Description changed:

  User Interface > Views
  
- Unable to create new view, save always fails (silently).  Got it working
- with the following:
+ Unable to create new view, save always fails (silently).
  
  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"/>  ------------------------> Needs readonly="0"
-                             <field name="model"/>
-                             <field name="priority"/>
+ <!-- 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"/>  ------>  <field name="type" readonly="0"/>
+       <field name="model"/>
+       <field name="priority"/>

** Description changed:

+ v7 r8608
  User Interface > Views
  
  Unable to create new view, save always fails (silently).
  
  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"/>  ------>  <field name="type" readonly="0"/>
-       <field name="model"/>
-       <field name="priority"/>
+  <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"/>  ------>  <field name="type" readonly="0"/>
+       <field name="model"/>
+       <field name="priority"/>

** Description changed:

  v7 r8608
  User Interface > Views
  
  Unable to create new view, save always fails (silently).
  
  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"/>  ------>  <field name="type" readonly="0"/>
+       <field name="type"/>  --fix-->  <field name="type" readonly="0"/>
        <field name="model"/>
        <field name="priority"/>

** Summary changed:

- unable to create new view
+ [7.0]/trunk: Unable to create new view

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1103788

Title:
  [7.0]/trunk: Unable to create new view

Status in OpenERP Addons (modules):
  New

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"/>

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1103788/+subscriptions


References