← Back to team overview

openerp-india team mailing list archive

[Bug 1159769] Re: Share wizard gives a error

 

** Changed in: openobject-addons
     Assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3) => OpenERP R&D Addons Team 1 (openerp-dev-addons1)

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

Title:
  Share wizard gives a error

Status in OpenERP Addons (modules):
  Confirmed

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'

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