Share wizard gives a error

Bug #1159769 reported by BrowseInfo
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Medium
OpenERP R&D Addons Team 1

Bug Description

Point of Sales -> Configuration -> Point of Sales -> Try to share the record

got this error

  File "/home/odoo/runbot/static/openerp-dev-trunk-5352/server/openerp/service/model.py", line 135, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-5352/server/openerp/addons/share/wizard/share_wizard.py", line 717, in go_step_2
    obj0, obj1, obj2, obj3 = self._get_relationship_classes(cr, uid, model, context=context)
  File "/home/odoo/runbot/static/openerp-dev-trunk-5352/server/openerp/addons/share/wizard/share_wizard.py", line 468, in _get_relationship_classes
    obj1 = self._get_recursive_relations(cr, uid, model, ['one2many'], relation_fields=obj0, context=context)
  File "/home/odoo/runbot/static/openerp-dev-trunk-5352/server/openerp/addons/share/wizard/share_wizard.py", line 438, in _get_recursive_relations
    [coltype], relation_fields + local_rel_fields, suffix=relation_field, context=context)
  File "/home/odoo/runbot/static/openerp-dev-trunk-5352/server/openerp/addons/share/wizard/share_wizard.py", line 419, in _get_recursive_relations
    reverse_rel = coldef._fields_id
AttributeError: 'related' object has no attribute '_fields_id'

Related branches

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Rifakat Husen (OpenERP) (rha-openerp) wrote :
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

For stable 7 a fix was integrated at 9142.2.1 <email address hidden>

Thanks,

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3) → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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