** Changed in: openobject-client-web
       Status: New => Triaged

** Changed in: openobject-client-web
     Assignee: (unassigned) => OpenERP SA's Web Client R&D (openerp-dev-web)

-- 
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/704012

Title:
  one2many problem

Status in OpenObject Web Client:
  Triaged

Bug description:
  This problem is connected with the field current. ITis TinyDict but
  when ids is a list of tuple the field current is tranformed in a tuple
  so then we have the following error

  openerp-web/addons/openerp/widgets/form/_o2m.py in __init__(self=O2M, 
**attrs={'context': {'bin_size': True, 'client': 'web', 'lang': u'it_IT', 'tz': 
False}, 'editable': True, 'link': 1, 'model': 'wizard.account.asset.compute', 
'name': u'move_ids', 'nolabel': u'1', 'prefix': '', 'readonly': u'1', 
'relation': u'account.move', 'required': False, ...})
    136         
    137                
    138         current.model = self.model
    139         current.id = id
    140         current.ids = ids
  current = (1, 40L, {}), current.model undefined, self = O2M, self.model = 
u'account.move'

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



_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to