when user does not have rights to access m2m object

Bug #527585 reported by yya (Axelor)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
Undecided
Unassigned

Bug Description

When tried to create sale order line from Sale Order object with user do not have rights for some specific object.
Instead of giving access-right error eTiny displays the following error

 /home/axelor/trunk/OOCRM/oocrm_etiny/openerp/widgets/many2many.py in set_value(self=M2M, value=None)
  182
  183 self.ids = ids
  184 self.screen.ids = ids
  185
  186 def get_value(self):
self = M2M, self.screen = None, self.screen.ids undefined, ids = None

<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'ids'
      args = ("'NoneType' object has no attribute 'ids'",)
      message = "'NoneType' object has no attribute 'ids'"

Thanks in Advance

Related branches

Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

Hello,

Its fixed in stable. Please update your code and notify us.

Revision Info:
2821 <email address hidden>

Thanks.

Changed in openobject-client-web:
status: New → Fix Committed
Changed in openobject-client-web:
milestone: none → 5.0.11
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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