c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #09694
[Bug 694694] [NEW] [6.0RC1] problem with inherit in view
Public bug reported:
trying to use trunk version in place of 6.0RC1 Official with own module.
Error in osv/orm.py line 1684.
It seems to receive in view_id two types of values : integer or tuple.
When it's integer, no problem, but don't work with tuple.
Add two print line in function to show parameters :
type view_id : <type 'tuple'>
view_is : (920, u'res.partner.contact.search')
type view_id : <type 'int'>
type view_id : <type 'tuple'>
view_is : (920, u'res.partner.contact.search')
type view_id : <type 'int'>
type view_id : <type 'tuple'>
view_is : (642, u'purchase.order.list.select')
type view_id : <type 'tuple'>
view_is : (920, u'res.partner.contact.search')
type view_id : <type 'int'>
modify bloc to make version run by testing type of view_id, but it is
not the good way.
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/694694
Title:
[6.0RC1] problem with inherit in view
Status in OpenObject Addons Modules:
New
Bug description:
trying to use trunk version in place of 6.0RC1 Official with own module.
Error in osv/orm.py line 1684.
It seems to receive in view_id two types of values : integer or tuple.
When it's integer, no problem, but don't work with tuple.
Add two print line in function to show parameters :
type view_id : <type 'tuple'>
view_is : (920, u'res.partner.contact.search')
type view_id : <type 'int'>
type view_id : <type 'tuple'>
view_is : (920, u'res.partner.contact.search')
type view_id : <type 'int'>
type view_id : <type 'tuple'>
view_is : (642, u'purchase.order.list.select')
type view_id : <type 'tuple'>
view_is : (920, u'res.partner.contact.search')
type view_id : <type 'int'>
modify bloc to make version run by testing type of view_id, but it is not the good way.
Follow ups
-
[Bug 694694] Re: [6.0RC1] problem with inherit in view
From: AMP(OpenERP), 2011-01-03
-
[Bug 694694] Re: [6.0RC1] problem with inherit in view
From: Bruno Hostalery, 2010-12-31
-
[Bug 694694] Re: [6.0RC1] problem with inherit in view
From: Bruno Hostalery, 2010-12-31
-
[Bug 694694] Re: [6.0RC1] problem with inherit in view
From: AMP(OpenERP), 2010-12-31
-
[Bug 694694] Re: [6.0RC1] problem with inherit in view
From: Bruno Hostalery, 2010-12-31
-
[Bug 694694] Re: [6.0RC1] problem with inherit in view
From: AMP(OpenERP), 2010-12-31
-
[Bug 694694] Re: [6.0RC1] problem with inherit in view
From: Bruno Hostalery, 2010-12-31
-
[Bug 694694] Re: [6.0RC1] problem with inherit in view
From: Bruno Hostalery, 2010-12-31
-
[Bug 694694] Re: [6.0RC1] problem with inherit in view
From: vra (openerp), 2010-12-27
-
[Bug 694694] [NEW] [6.0RC1] problem with inherit in view
From: Bruno Hostalery, 2010-12-27
References