← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 694694] Re: [6.0RC1] problem with inherit in view

 

second module

** Attachment added: "istf_base_contact_user.zip"
   https://bugs.launchpad.net/openobject-addons/+bug/694694/+attachment/1780346/+files/istf_base_contact_user.zip

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

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.





References