[trunk] Several problems in V7.0 to install, Error with field Notes

Bug #1082230 reported by Nhomar - Vauxoo
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Hotel Management System
New
Undecided
Nhomar - Vauxoo
Ubuntu
Confirmed
Undecided
Unassigned

Bug Description

Intalling hotel.

2012-11-23 02:18:17,062 18452 INFO hotel_test_to_escuela openerp.modules.loading: module hotel: loading hotel_view.xml
2012-11-23 02:18:17,107 18452 WARNING hotel_test_to_escuela openerp.addons.base.ir.ir_ui_view: Setting the `type` field is deprecated in the `ir.ui.view` model.
2012-11-23 02:18:17,120 18452 WARNING hotel_test_to_escuela openerp.addons.base.ir.ir_ui_view: Setting the `type` field is deprecated in the `ir.ui.view` model.
2012-11-23 02:18:17,164 18452 WARNING hotel_test_to_escuela openerp.addons.base.ir.ir_ui_view: Setting the `type` field is deprecated in the `ir.ui.view` model.
2012-11-23 02:18:17,180 18452 WARNING hotel_test_to_escuela openerp.addons.base.ir.ir_ui_view: Setting the `type` field is deprecated in the `ir.ui.view` model.
2012-11-23 02:18:17,227 18452 WARNING hotel_test_to_escuela openerp.addons.base.ir.ir_ui_view: Setting the `type` field is deprecated in the `ir.ui.view` model.
2012-11-23 02:18:17,236 18452 ERROR hotel_test_to_escuela openerp.osv.orm: Can't find field 'supply_method' in the following view parts composing the view of object model 'hotel.room_amenities':
 * hotel.room_amenities_form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2012-11-23 02:18:17,237 18452 ERROR hotel_test_to_escuela openerp.addons.base.ir.ir_ui_view: Can't render view for model: hotel.room_amenities
Traceback (most recent call last):
  File "/home/nhomar/instancias/7.0/server/openerp/addons/base/ir/ir_ui_view.py", line 124, in _check_render_view
    fvg = self.pool.get(view.model).fields_view_get(cr, uid, view_id=view.id, view_type=view.type, context=context)
  File "/home/nhomar/instancias/7.0/server/openerp/osv/orm.py", line 2251, in fields_view_get
    xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx)
  File "/home/nhomar/instancias/7.0/server/openerp/osv/orm.py", line 1928, in __view_look_dom_arch
    raise except_orm('View error', msg)
except_orm: ('View error', u"Can't find field 'supply_method' in the following view parts composing the view of object model 'hotel.room_amenities':\n * hotel.room_amenities_form\n\nEither you wrongly customized this view, or some modules bringing those views are not compatible with your current data model")
2012-11-23 02:18:17,239 18452 ERROR hotel_test_to_escuela openerp.tools.convert: Parse error in /home/nhomar/instancias/7.0/hotel-management-system/hotel/hotel_view.xml:93:
<record model="ir.ui.view" id="view_hotel_room_amenities_form">
   <field name="name">hotel.room_amenities_form</field>
   <field name="model">hotel.room_amenities</field>
   <field name="type">form</field>
   <field name="arch" type="xml">
    <form string="Hotel Room Amenities">
     <notebook>
      <page string="Information">
       <field name="name" select="1"/>
       <field name="default_code" select="1"/>
       <newline/>
       <field name="categ_id" select="1" domain="[('isamenitype','=',True)]"/>
       <field name="type" select="2"/>
       <newline/>
       <field name="procure_method"/>
       <field name="state" select="2"/>
       <field name="uom_id"/>
       <field name="uom_po_id"/>
       <field name="product_manager" select="2"/>
       <newline/>
       <separator colspan="4" string="Supplier Taxes"/>
       <field name="supplier_taxes_id" colspan="4" nolabel="1"/>
       <newline/>
       <separator colspan="4" string="Customer Taxes"/>
       <field name="taxes_id" colspan="4" nolabel="1"/>
      </page>

      <page string="Procurement">
       <field name="supply_method"/>
       <field name="active" select="2"/>
       <newline/>
       <field name="list_price"/>
       <field name="sale_ok" select="2"/>
       <field name="standard_price"/>
       <field name="purchase_ok" select="2"/>
       <field name="cost_method"/>
       <field name="rental" select="2"/>
       <newline/>
       <field name="uos_id"/>
       <field name="uos_coeff"/>
       <newline/>
       <field name="seller_ids" colspan="4" nolabel="1" widget="one2many_list"/>

      </page>
      <page string="Descriptions">
       <separator string="Description"/>
       <field name="description" colspan="4" nolabel="1"/>
       <separator string="Sale Description"/>
       <field name="description_sale" colspan="4" nolabel="1"/>
       <separator string="Purchase Description"/>
       <field name="description_purchase" colspan="4" nolabel="1"/>
      </page>

     </notebook>
    </form>
   </field>
  </record>
Traceback (most recent call last):
  File "/home/nhomar/instancias/7.0/server/openerp/tools/convert.py", line 848, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/home/nhomar/instancias/7.0/server/openerp/tools/convert.py", line 815, in _tag_record
    id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
  File "/home/nhomar/instancias/7.0/server/openerp/addons/base/ir/ir_model.py", line 952, in _update
    res_id = model_obj.create(cr, uid, values, context=context)
  File "/home/nhomar/instancias/7.0/server/openerp/addons/base/ir/ir_ui_view.py", line 101, in create
    return super(osv.osv, self).create(cr, uid, values, context)
  File "/home/nhomar/instancias/7.0/server/openerp/osv/orm.py", line 4418, in create
    self._validate(cr, user, [id_new], context)
  File "/home/nhomar/instancias/7.0/server/openerp/osv/orm.py", line 1535, in _validate
    raise except_orm('ValidateError', '\n'.join(error_msgs))
except_orm: ('ValidateError', u'Error occurred while validating the field(s) arch: Invalid XML for View Architecture!')
2012-11-23 02:18:17,242 18452 ERROR hotel_test_to_escuela openerp.netsvc: ValidateError
Error occurred while validating the field(s) arch: Invalid XML for View Architecture!
Traceback (most recent call last):
  File "/home/nhomar/instancias/7.0/server/openerp/netsvc.py", line 361, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/nhomar/instancias/7.0/server/openerp/service/web_services.py", line 596, in dispatch
    res = fn(db, uid, *params)
  File "/home/nhomar/instancias/7.0/server/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/nhomar/instancias/7.0/server/openerp/osv/osv.py", line 123, in wrapper
    raise except_osv(inst.name, inst.value)
except_osv: ('ValidateError', u'Error occurred while validating the field(s) arch: Invalid XML for View Architecture!')

Related branches

Nhomar - Vauxoo (nhomar)
Changed in hotel-management-system:
assignee: nobody → Nhomar Hernandez (Vauxoo) (nhomar)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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