← Back to team overview

openerp-india team mailing list archive

[Bug 1102362] Re: [7.0] unhelpful warning in logs: openerp.addons.base.ir.ir_ui_view: Setting the `type` field is deprecated in the `ir.ui.view` model.

 

Hello Alexandre,

This warning has been already removed from the 7.0 in above linked
branches from the both server and addons sides. And It has been landed
on revno: 4329 in server and revno: 7247 in addons. So, Kindly check it
again and try with latest code.

Thank you..

** Changed in: openobject-server
       Status: New => Won't Fix

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

Title:
  [7.0] unhelpful warning in logs: openerp.addons.base.ir.ir_ui_view:
  Setting the `type` field is deprecated in the `ir.ui.view` model.

Status in OpenERP Server:
  Won't Fix

Bug description:
  I'm working on porting modules from 6.1 to 7.0. At startup, I get the
  following Warning lines in the logs:

  2013-01-21 11:24:31,613 12205 WARNING openerp_test openerp.addons.base.ir.ir_ui_view: Setting the `type` field is deprecated in the `ir.ui.view` model.
  2013-01-21 11:24:31,644 12205 WARNING openerp_test openerp.addons.base.ir.ir_ui_view: Setting the `type` field is deprecated in the `ir.ui.view` model.
  2013-01-21 11:24:31,659 12205 WARNING openerp_test openerp.addons.base.ir.ir_ui_view: Setting the `type` field is deprecated in the `ir.ui.view` model.
  2013-01-21 11:24:31,672 12205 WARNING openerp_test openerp.addons.base.ir.ir_ui_view: Setting the `type` field is deprecated in the `ir.ui.view` model.
  2013-01-21 11:24:31,688 12205 WARNING openerp_test openerp.addons.base.ir.ir_ui_view: Setting the `type` field is deprecated in the `ir.ui.view` model.
  2013-01-21 11:24:31,760 12205 WARNING openerp_test openerp.addons.base.ir.ir_ui_view: Setting the `type` field is deprecated in the `ir.ui.view` model.
  2013-01-21 11:24:31,774 12205 WARNING openerp_test openerp.addons.base.ir.ir_ui_view: Setting the `type` field is deprecated in the `ir.ui.view` model.
  2013-01-21 11:24:31,792 12205 WARNING openerp_test openerp.addons.base.ir.ir_ui_view: Setting the `type` field is deprecated in the `ir.ui.view` model.
  2013-01-21 11:24:31,809 12205 WARNING openerp_test openerp.addons.base.ir.ir_ui_view: Setting the `type` field is deprecated in the `ir.ui.view` model.

  While it is nice to get information about the deprecated feature, it
  would be much nicer to get a file name and a line number. Or failing
  that, at least the xml id of the view in the log message.

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


References