← Back to team overview

openerp-india team mailing list archive

[Bug 1102362] [NEW] [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.

 

Public bug reported:

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.

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups

References