← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 665663] Re: Get error when assigning a Reference in Opportunity

 

Yes its fixed, but if you click the button to check the entity that has
now be selected eg Product, Partner you still get an error ie


A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
 /usr/lib/python2.5/site-packages/CherryPy-3.1.2-py2.5.egg/cherrypy/_cprequest.py in respond(self=<cherrypy._cprequest.Request object at 0x8d6d36c>, path_info='/openerp/openm2o/edit')
  604                     if self.handler:
  605                         self.stage = 'handler'
  606                         cherrypy.response.body = self.handler()
  607                     
  608                     self.stage = 'before_finalize'
global cherrypy = <module 'cherrypy' from '/usr/lib/python2.5/site.../CherryPy-3.1.2-py2.5.egg/cherrypy/__init__.pyc'>, cherrypy.response = <cherrypy._ThreadLocalProxy object at 0x83aa22c>, cherrypy.response.body = [], self = <cherrypy._cprequest.Request object at 0x8d6d36c>, self.handler = <cherrypy._cpdispatch.LateParamPageHandler object at 0x8d25a8c>
 /usr/lib/python2.5/site-packages/CherryPy-3.1.2-py2.5.egg/cherrypy/_cpdispatch.py in __call__(self=<cherrypy._cpdispatch.LateParamPageHandler object at 0x8a88eec>)
   23     def __call__(self):
   24         try:
   25             return self.callable(*self.args, **self.kwargs)
   26         except TypeError, x:
   27             test_callable_spec(self.callable, self.args, self.kwargs)
self = <cherrypy._cpdispatch.LateParamPageHandler object at 0x8a88eec>, self.callable = <bound method Root.default of <openobject.controllers._root.Root object at 0x855d4ec>>, self.args = ('openerp', 'openm2o', 'edit'), self.kwargs = {'_terp_context': "{'section_id': False, 'default_type': 'opportuni...id': False, 'client': 'web', 'active_ids': [238]}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_id': '14', '_terp_m2o': 'ref', '_terp_model': 'res.partner'}
 /home/openerp/production/openerp-web/openobject/tools/_expose.py in func_wrapper(*args=(<openobject.controllers._root.Root object at 0x855d4ec>, 'openerp', 'openm2o', 'edit'), **kw={'_terp_context': "{'section_id': False, 'default_type': 'opportuni...id': False, 'client': 'web', 'active_ids': [238]}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_id': '14', '_terp_m2o': 'ref', '_terp_model': 'res.partner'})
  198                 raise cherrypy.HTTPError(405)
  199 
  200             res = func(*args, **kw)
  201 
  202             if format == 'json' or (allow_json and 'allow_json' in cherrypy.request.params):
global res = '/home/openerp/production/openerp-web/openobject/admin/i18n/mapping/messages.cfg', func = <function default at 0x856595c>, args = (<openobject.controllers._root.Root object at 0x855d4ec>, 'openerp', 'openm2o', 'edit'), kw = {'_terp_context': "{'section_id': False, 'default_type': 'opportuni...id': False, 'client': 'web', 'active_ids': [238]}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_id': '14', '_terp_m2o': 'ref', '_terp_model': 'res.partner'}
 /home/openerp/production/openerp-web/openobject/controllers/_root.py in default(self=<openobject.controllers._root.Root object at 0x855d4ec>, *args=('openerp', 'openm2o', 'edit'), **kw={'_terp_context': "{'section_id': False, 'default_type': 'opportuni...id': False, 'client': 'web', 'active_ids': [238]}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_id': '14', '_terp_m2o': 'ref', '_terp_model': 'res.partner'})
   76             request.handler = cherrypy.NotFound()
   77 
   78         return request.handler()
   79 
   80     def find_handler(self):
request = <cherrypy._ThreadLocalProxy object at 0x83aa1ec>, request.handler = <cherrypy._cpdispatch.LateParamPageHandler object at 0x8d25a8c>
 /usr/lib/python2.5/site-packages/CherryPy-3.1.2-py2.5.egg/cherrypy/_cpdispatch.py in __call__(self=<cherrypy._cpdispatch.LateParamPageHandler object at 0x8d25a8c>)
   23     def __call__(self):
   24         try:
   25             return self.callable(*self.args, **self.kwargs)
   26         except TypeError, x:
   27             test_callable_spec(self.callable, self.args, self.kwargs)
self = <cherrypy._cpdispatch.LateParamPageHandler object at 0x8d25a8c>, self.callable = <function edit at 0x90d387c>, self.args = (), self.kwargs = {'_terp_context': "{'section_id': False, 'default_type': 'opportuni...id': False, 'client': 'web', 'active_ids': [238]}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_id': '14', '_terp_m2o': 'ref', '_terp_model': 'res.partner'}
 /home/openerp/production/openerp-web/addons/openerp/controllers/utils.py in wrapper(*args=(), **kw={'_terp_context': "{'section_id': False, 'default_type': 'opportuni...id': False, 'client': 'web', 'active_ids': [238]}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_id': '14', '_terp_m2o': 'ref', '_terp_model': 'res.partner'})
  122             # User is logged in; allow access
  123             clear_login_fields(kw)
  124             return fn(*args, **kw)
  125         else:
  126             action = kw.get('login_action', '')
fn = <bound method OpenM2O.edit of <openerp.controllers.openm2o.OpenM2O object at 0x936484c>>, args = (), kw = {'_terp_context': "{'section_id': False, 'default_type': 'opportuni...id': False, 'client': 'web', 'active_ids': [238]}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_id': '14', '_terp_m2o': 'ref', '_terp_model': 'res.partner'}
 /home/openerp/production/openerp-web/openobject/tools/_expose.py in func_wrapper(*args=(<openerp.controllers.openm2o.OpenM2O object at 0x936484c>,), **kw={'_terp_context': "{'section_id': False, 'default_type': 'opportuni...id': False, 'client': 'web', 'active_ids': [238]}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_id': '14', '_terp_m2o': 'ref', '_terp_model': 'res.partner'})
  198                 raise cherrypy.HTTPError(405)
  199 
  200             res = func(*args, **kw)
  201 
  202             if format == 'json' or (allow_json and 'allow_json' in cherrypy.request.params):
global res = '/home/openerp/production/openerp-web/openobject/admin/i18n/mapping/messages.cfg', func = <function edit at 0x87f180c>, args = (<openerp.controllers.openm2o.OpenM2O object at 0x936484c>,), kw = {'_terp_context': "{'section_id': False, 'default_type': 'opportuni...id': False, 'client': 'web', 'active_ids': [238]}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_id': '14', '_terp_m2o': 'ref', '_terp_model': 'res.partner'}
 /home/openerp/production/openerp-web/addons/openerp/controllers/openm2o.py in edit(self=<openerp.controllers.openm2o.OpenM2O object at 0x936484c>, **kw={'_terp_context': "{'section_id': False, 'default_type': 'opportuni...id': False, 'client': 'web', 'active_ids': [238]}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_id': '14', '_terp_m2o': 'ref', '_terp_model': 'res.partner'})
  105         params.editable = params.get('_terp_editable', True)
  106 
  107         return self.create(params)
  108 
  109 # vim: ts=4 sts=4 sw=4 si et
self = <openerp.controllers.openm2o.OpenM2O object at 0x936484c>, self.create = <function create at 0x91cb3e4>, params = {'_terp_view_type': 'form', '_terp_offset': 0, '...rent': 1, 'active_ids': [238], 'active_id': 238}}
 /home/openerp/production/openerp-web/addons/openerp/controllers/utils.py in wrapper(*args=({'_terp_view_type': 'form', '_terp_offset': 0, '...rent': 1, 'active_ids': [238], 'active_id': 238}},), **kw={})
  122             # User is logged in; allow access
  123             clear_login_fields(kw)
  124             return fn(*args, **kw)
  125         else:
  126             action = kw.get('login_action', '')
fn = <bound method OpenM2O.create of <openerp.controllers.openm2o.OpenM2O object at 0x936484c>>, args = ({'_terp_view_type': 'form', '_terp_offset': 0, '...rent': 1, 'active_ids': [238], 'active_id': 238}},), kw = {}
 /home/openerp/production/openerp-web/openobject/tools/_expose.py in func_wrapper(*args=(<openerp.controllers.openm2o.OpenM2O object at 0x936484c>, {'_terp_view_type': 'form', '_terp_offset': 0, '...rent': 1, 'active_ids': [238], 'active_id': 238}}), **kw={})
  198                 raise cherrypy.HTTPError(405)
  199 
  200             res = func(*args, **kw)
  201 
  202             if format == 'json' or (allow_json and 'allow_json' in cherrypy.request.params):
global res = '/home/openerp/production/openerp-web/openobject/admin/i18n/mapping/messages.cfg', func = <function create at 0x87f1684>, args = (<openerp.controllers.openm2o.OpenM2O object at 0x936484c>, {'_terp_view_type': 'form', '_terp_offset': 0, '...rent': 1, 'active_ids': [238], 'active_id': 238}}), kw = {}
 /home/openerp/production/openerp-web/addons/openerp/controllers/openm2o.py in create(self=<openerp.controllers.openm2o.OpenM2O object at 0x936484c>, params={'_terp_view_type': 'form', '_terp_offset': 0, '...rent': 1, 'active_ids': [238], 'active_id': 238}}, tg_errors=None)
   44         params.editable = params.get('_terp_editable', True)
   45         params.hidden_fields = [Hidden(name='_terp_m2o', default=params.m2o)]
   46         form = self.create_form(params, tg_errors)
   47 
   48         return dict(form=form, params=params)
form undefined, self = <openerp.controllers.openm2o.OpenM2O object at 0x936484c>, self.create_form = <bound method OpenM2O.create_form of <openerp.controllers.openm2o.OpenM2O object at 0x936484c>>, params = {'_terp_view_type': 'form', '_terp_offset': 0, '...rent': 1, 'active_ids': [238], 'active_id': 238}}, tg_errors = None
 /home/openerp/production/openerp-web/addons/openerp/controllers/form.py in create_form(self=<openerp.controllers.openm2o.OpenM2O object at 0x936484c>, params={'_terp_view_type': 'form', '_terp_offset': 0, '...rent': 1, 'active_ids': [238], 'active_id': 238}}, tg_errors=None)
  192         params.view_type = params.view_type or params.view_mode[0]
  193 
  194         return tw.form_view.ViewForm(params, name="view_form", action="/openerp/form/save")
  195 
  196     @expose(template="/openerp/controllers/templates/form.mako")
global tw = <module 'openerp.widgets' from '/home/openerp/pr...openerp-web/addons/openerp/widgets/__init__.pyc'>, tw.form_view = <module 'openerp.widgets.form_view' from '/home/...penerp-web/addons/openerp/widgets/form_view.pyc'>, tw.form_view.ViewForm = <class 'openerp.widgets.form_view.ViewForm'>, params = {'_terp_view_type': 'form', '_terp_offset': 0, '...rent': 1, 'active_ids': [238], 'active_id': 238}}, name undefined, action undefined
 /home/openerp/production/openerp-web/openobject/widgets/_meta.py in wrapper(self=ViewForm, *args=({'_terp_view_type': 'form', '_terp_offset': 0, '...rent': 1, 'active_ids': [238], 'active_id': 238}},), **kw={'action': '/openerp/form/save', 'name': 'view_form'})
   47             self.__initstack.append(1)
   48 
   49         res = func(self, *args, **kw)
   50         try:
   51             self.__initstack.pop()
res undefined, func = <function __init__ at 0x87c395c>, self = ViewForm, args = ({'_terp_view_type': 'form', '_terp_offset': 0, '...rent': 1, 'active_ids': [238], 'active_id': 238}},), kw = {'action': '/openerp/form/save', 'name': 'view_form'}
 /home/openerp/production/openerp-web/addons/openerp/widgets/form_view.py in __init__(self=ViewForm, params={'_terp_view_type': 'form', '_terp_offset': 0, '...rent': 1, 'active_ids': [238], 'active_id': 238}}, **kw={'action': '/openerp/form/save', 'name': 'view_form'})
   91             
   92         self.screen = Screen(prefix='', hastoolbar=True, hassubmenu=True, editable=editable, readonly=readonly,
   93                              selectable=params.selectable or 2)
   94         
   95         if self.screen.widget and self.screen.view_type in ['form', 'tree']:
selectable undefined, params = {'_terp_view_type': 'form', '_terp_offset': 0, '...rent': 1, 'active_ids': [238], 'active_id': 238}}, params.selectable = None
 /home/openerp/production/openerp-web/openobject/widgets/_meta.py in wrapper(self=Screen, *args=(), **kw={'editable': True, 'hassubmenu': True, 'hastoolbar': True, 'prefix': '', 'readonly': False, 'selectable': 2})
   47             self.__initstack.append(1)
   48 
   49         res = func(self, *args, **kw)
   50         try:
   51             self.__initstack.pop()
res undefined, func = <function __init__ at 0x8890454>, self = Screen, args = (), kw = {'editable': True, 'hassubmenu': True, 'hastoolbar': True, 'prefix': '', 'readonly': False, 'selectable': 2}
 /home/openerp/production/openerp-web/addons/openerp/widgets/screen.py in __init__(self=Screen, params={'_terp_view_type': 'form', '_terp_offset': 0, '...rent': 1, 'active_ids': [238], 'active_id': 238}}, prefix='', name='', views_preloaded={}, hastoolbar=True, hassubmenu=True, editable=True, readonly=False, selectable=2, nolinks=1, **kw={})
  131 
  132         if self.view_mode:
  133             self.add_view_id(self.view_id, self.view_type)
  134 
  135     def add_view_id(self, view_id, view_type):
self = Screen, self.add_view_id = <bound method Screen.add_view_id of Screen>, self.view_id = 132, self.view_type = 'form'
 /home/openerp/production/openerp-web/addons/openerp/widgets/screen.py in add_view_id(self=Screen, view_id=False, view_type='form')
  145             view = cache.fields_view_get(self.model, view_id, view_type, ctx, self.hastoolbar, self.hassubmenu)
  146 
  147         self.add_view(view, view_type)
  148 
  149     def add_view(self, view, view_type='form'):
self = Screen, self.add_view = <bound method Screen.add_view of Screen>, view = {'arch': u'<form string="Partners" col="1">\n ... </notebook>\n </form>', 'field_parent': False, 'fields': {'active': {'selectable': True, 'string': u'Active', 'type': u'boolean', 'views': {}}, 'address': {'context': {}, 'domain': [], 'relation': u'res.partner.address', 'selectable': True, 'string': u'Contacts', 'type': u'one2many', 'views': {'form': {'arch': u'<form string="Partner Contacts">\n ... </form>\n ', 'fields': {'city': {...}, 'country_id': {...}, 'email': {...}, 'fax': {...}, 'function': {...}, 'mobile': {...}, 'name': {...}, 'phone': {...}, 'state_id': {...}, 'street': {...}, ...}}, 'tree': {'arch': u'<tree string="Partner Contacts">\n ... </tree>\n ', 'fields': {'city': {...}, 'country_id': {...}, 'email': {...}, 'name': {...}, 'phone': {...}, 'zip': {...}}}}}, 'bank_ids': {'context': {}, 'domain': [], 'relation': u'res.partner.bank', 'selectable': True, 'string': u'Banks', 'type': u'one2many', 'views': {'form': {'arch': u'<form string="Bank account">\n ... </form>\n ', 'fields': {'acc_number': {...}, 'bank': {...}, 'city': {...}, 'country_id': {...}, 'name': {...}, 'owner_name': {...}, 'sequence': {...}, 'state': {...}, 'state_id': {...}, 'street': {...}, ...}}, 'tree': {'arch': u'<tree string="Bank Details">\n ... </tree>\n ', 'fields': {'acc_number': {...}, 'bank': {...}, 'owner_name': {...}, 'state': {...}}}}}, 'category_id': {'context': {}, 'domain': [], 'related_columns': [u'partner_id', u'category_id'], 'relation': u'res.partner.category', 'selectable': True, 'string': u'Categories', 'third_table': u'res_partner_category_rel', 'type': u'many2many', 'views': {}}, 'comment': {'selectable': True, 'string': u'Notes', 'type': u'text', 'views': {}}, 'company_id': {'context': {}, 'domain': [], 'relation': u'res.company', 'select': 1, 'selectable': True, 'selection': [(1, u'Q-par Angus Ltd'), (2, u'Shop 1'), (3, u'Shop 2'), (False, u'')], 'string': u'Company', 'type': u'many2one', 'views': {}}, 'credit': {'digits': (16, 2), 'fnct_inv': False, 'fnct_inv_arg': False, 'fnct_search': u'_credit_search', 'func_method': True, 'func_obj': False, 'function': u'_credit_debit_get', 'help': u'Total amount this customer owes you.', 'readonly': 1, 'selectable': True, ...}, 'credit_limit': {'selectable': True, 'string': u'Credit Limit', 'type': u'float', 'views': {}}, 'customer': {'help': u'Check this box if the partner is a customer.', 'selectable': True, 'string': u'Customer', 'type': u'boolean', 'views': {}}, 'date': {'select': 1, 'selectable': True, 'string': u'Date', 'type': u'date', 'views': {}}, ...}, 'model': u'res.partner', 'name': u'res.partner.form', 'submenu': False, 'toolbar': {'action': [{'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 73, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 74, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 289, 'limit': 0, ...}], 'print': [{'attachment': False, 'attachment_use': False, 'auto': True, 'groups_id': [5, 5, 5], 'header': True, 'id': 54, 'model': u'res.partner', 'model_id': 57, 'multi': False, 'name': u'Labels', ...}, {'attachment': False, 'attachment_use': False, 'auto': False, 'groups_id': [], 'header': True, 'id': 198, 'model': u'res.partner', 'model_id': 57, 'multi': False, 'name': u'Overdue Payments', ...}], 'relate': [{'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u"[('partner_id', '=', 'active_id')]", 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 67, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u"[('partner_id', '=', 'active_id'), ('history', '=', True)]", 'filter': False, 'groups_id': [], 'help': False, 'id': 93, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_user': 1, 'group_by_no_leaf': 1...er_id': ['active_id'], 'search_default_month': 1}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 131, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id'], 'search_default_reconcile_id': False}", 'display_menu_tip': True, 'domain': u"[('account_id.reconcile', '=', True), ('account_id.type', 'in', ['receivable', 'payable'])]", 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 180, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id']}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 181, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id']}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 248, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id']}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 253, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'default_state': 'draft'}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 305, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id'], 'default_duration': 1.0}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 309, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id']}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 402, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u"[('partner_id', '=', 'active_id')]", 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 424, 'limit': 0, ...}]}, 'type': u'form', 'view_id': 132}, view_type = 'form'
 /home/openerp/production/openerp-web/addons/openerp/widgets/screen.py in add_view(self=Screen, view={'arch': u'<form string="Partners" col="1">\n ... </notebook>\n </form>', 'field_parent': False, 'fields': {'active': {'selectable': True, 'string': u'Active', 'type': u'boolean', 'views': {}}, 'address': {'context': {}, 'domain': [], 'relation': u'res.partner.address', 'selectable': True, 'string': u'Contacts', 'type': u'one2many', 'views': {'form': {'arch': u'<form string="Partner Contacts">\n ... </form>\n ', 'fields': {'city': {...}, 'country_id': {...}, 'email': {...}, 'fax': {...}, 'function': {...}, 'mobile': {...}, 'name': {...}, 'phone': {...}, 'state_id': {...}, 'street': {...}, ...}}, 'tree': {'arch': u'<tree string="Partner Contacts">\n ... </tree>\n ', 'fields': {'city': {...}, 'country_id': {...}, 'email': {...}, 'name': {...}, 'phone': {...}, 'zip': {...}}}}}, 'bank_ids': {'context': {}, 'domain': [], 'relation': u'res.partner.bank', 'selectable': True, 'string': u'Banks', 'type': u'one2many', 'views': {'form': {'arch': u'<form string="Bank account">\n ... </form>\n ', 'fields': {'acc_number': {...}, 'bank': {...}, 'city': {...}, 'country_id': {...}, 'name': {...}, 'owner_name': {...}, 'sequence': {...}, 'state': {...}, 'state_id': {...}, 'street': {...}, ...}}, 'tree': {'arch': u'<tree string="Bank Details">\n ... </tree>\n ', 'fields': {'acc_number': {...}, 'bank': {...}, 'owner_name': {...}, 'state': {...}}}}}, 'category_id': {'context': {}, 'domain': [], 'related_columns': [u'partner_id', u'category_id'], 'relation': u'res.partner.category', 'selectable': True, 'string': u'Categories', 'third_table': u'res_partner_category_rel', 'type': u'many2many', 'views': {}}, 'comment': {'selectable': True, 'string': u'Notes', 'type': u'text', 'views': {}}, 'company_id': {'context': {}, 'domain': [], 'relation': u'res.company', 'select': 1, 'selectable': True, 'selection': [(1, u'Q-par Angus Ltd'), (2, u'Shop 1'), (3, u'Shop 2'), (False, u'')], 'string': u'Company', 'type': u'many2one', 'views': {}}, 'credit': {'digits': (16, 2), 'fnct_inv': False, 'fnct_inv_arg': False, 'fnct_search': u'_credit_search', 'func_method': True, 'func_obj': False, 'function': u'_credit_debit_get', 'help': u'Total amount this customer owes you.', 'readonly': 1, 'selectable': True, ...}, 'credit_limit': {'selectable': True, 'string': u'Credit Limit', 'type': u'float', 'views': {}}, 'customer': {'help': u'Check this box if the partner is a customer.', 'selectable': True, 'string': u'Customer', 'type': u'boolean', 'views': {}}, 'date': {'select': 1, 'selectable': True, 'string': u'Date', 'type': u'date', 'views': {}}, ...}, 'model': u'res.partner', 'name': u'res.partner.form', 'submenu': False, 'toolbar': {'action': [{'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 73, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 74, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 289, 'limit': 0, ...}], 'print': [{'attachment': False, 'attachment_use': False, 'auto': True, 'groups_id': [5, 5, 5], 'header': True, 'id': 54, 'model': u'res.partner', 'model_id': 57, 'multi': False, 'name': u'Labels', ...}, {'attachment': False, 'attachment_use': False, 'auto': False, 'groups_id': [], 'header': True, 'id': 198, 'model': u'res.partner', 'model_id': 57, 'multi': False, 'name': u'Overdue Payments', ...}], 'relate': [{'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u"[('partner_id', '=', 'active_id')]", 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 67, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u"[('partner_id', '=', 'active_id'), ('history', '=', True)]", 'filter': False, 'groups_id': [], 'help': False, 'id': 93, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_user': 1, 'group_by_no_leaf': 1...er_id': ['active_id'], 'search_default_month': 1}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 131, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id'], 'search_default_reconcile_id': False}", 'display_menu_tip': True, 'domain': u"[('account_id.reconcile', '=', True), ('account_id.type', 'in', ['receivable', 'payable'])]", 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 180, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id']}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 181, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id']}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 248, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id']}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 253, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'default_state': 'draft'}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 305, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id'], 'default_duration': 1.0}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 309, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id']}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 402, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u"[('partner_id', '=', 'active_id')]", 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 424, 'limit': 0, ...}]}, 'type': u'form', 'view_id': 132}, view_type='form')
  153         
  154         from _views import get_view_widget
  155         self.widget = get_view_widget(view_type, self)
  156 
  157         self.string = (self.widget or '') and self.widget.string
self = Screen, self.widget = None, get_view_widget = <function get_view_widget at 0x87bccdc>, view_type = 'form'
 /home/openerp/production/openerp-web/addons/openerp/widgets/_views.py in get_view_widget(kind='form', screen=Screen)
  122         raise Exception("view '%s' not supported." % kind)
  123 
  124     return view(screen)
  125 
  126 def get_registered_views():
view = <openerp.widgets._views.FormView object at 0x914cdac>, screen = Screen
 /home/openerp/production/openerp-web/addons/openerp/widgets/_views.py in __call__(self=<openerp.widgets._views.FormView object at 0x914cdac>, screen=Screen)
   56                            editable=screen.editable,
   57                            readonly=screen.readonly,
   58                            nodefault=screen.nodefault, nolinks=screen.link)
   59 
   60         if not screen.is_wizard and screen.ids is None:
nodefault undefined, screen = Screen, screen.nodefault = False, nolinks undefined, screen.link = 1
 /home/openerp/production/openerp-web/openobject/widgets/_meta.py in wrapper(self=Form, *args=(), **kw={'context': {'_terp_view_name': u'Opportunities', 'active_id': 238, 'active_ids': [238], 'active_model': 'ir.ui.menu', 'bin_size': True, 'client': 'web', 'default_type': 'opportunity', 'lang': u'en_GB', 'search_default_current': 1, 'search_default_section_id': False, ...}, 'domain': [], 'editable': True, 'ids': [14], 'model': 'res.partner', 'nodefault': False, 'nolinks': 1, 'prefix': '', 'readonly': False, 'view': {'arch': u'<form string="Partners" col="1">\n ... </notebook>\n </form>', 'field_parent': False, 'fields': {'active': {'selectable': True, 'string': u'Active', 'type': u'boolean', 'views': {}}, 'address': {'context': {}, 'domain': [], 'relation': u'res.partner.address', 'selectable': True, 'string': u'Contacts', 'type': u'one2many', 'views': {'form': {'arch': u'<form string="Partner Contacts">\n ... </form>\n ', 'fields': {...}}, 'tree': {'arch': u'<tree string="Partner Contacts">\n ... </tree>\n ', 'fields': {...}}}}, 'bank_ids': {'context': {}, 'domain': [], 'relation': u'res.partner.bank', 'selectable': True, 'string': u'Banks', 'type': u'one2many', 'views': {'form': {'arch': u'<form string="Bank account">\n ... </form>\n ', 'fields': {...}}, 'tree': {'arch': u'<tree string="Bank Details">\n ... </tree>\n ', 'fields': {...}}}}, 'category_id': {'context': {}, 'domain': [], 'related_columns': [u'partner_id', u'category_id'], 'relation': u'res.partner.category', 'selectable': True, 'string': u'Categories', 'third_table': u'res_partner_category_rel', 'type': u'many2many', 'views': {}}, 'comment': {'selectable': True, 'string': u'Notes', 'type': u'text', 'views': {}}, 'company_id': {'context': {}, 'domain': [], 'relation': u'res.company', 'select': 1, 'selectable': True, 'selection': [(1, u'Q-par Angus Ltd'), (2, u'Shop 1'), (3, u'Shop 2'), (False, u'')], 'string': u'Company', 'type': u'many2one', 'views': {}}, 'credit': {'digits': (16, 2), 'fnct_inv': False, 'fnct_inv_arg': False, 'fnct_search': u'_credit_search', 'func_method': True, 'func_obj': False, 'function': u'_credit_debit_get', 'help': u'Total amount this customer owes you.', 'readonly': 1, 'selectable': True, ...}, 'credit_limit': {'selectable': True, 'string': u'Credit Limit', 'type': u'float', 'views': {}}, 'customer': {'help': u'Check this box if the partner is a customer.', 'selectable': True, 'string': u'Customer', 'type': u'boolean', 'views': {}}, 'date': {'select': 1, 'selectable': True, 'string': u'Date', 'type': u'date', 'views': {}}, ...}, 'model': u'res.partner', 'name': u'res.partner.form', 'submenu': False, 'toolbar': {'action': [{'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 73, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 74, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 289, 'limit': 0, ...}], 'print': [{'attachment': False, 'attachment_use': False, 'auto': True, 'groups_id': [5, 5, 5], 'header': True, 'id': 54, 'model': u'res.partner', 'model_id': 57, 'multi': False, 'name': u'Labels', ...}, {'attachment': False, 'attachment_use': False, 'auto': False, 'groups_id': [], 'header': True, 'id': 198, 'model': u'res.partner', 'model_id': 57, 'multi': False, 'name': u'Overdue Payments', ...}], 'relate': [{'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u"[('partner_id', '=', 'active_id')]", 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 67, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u"[('partner_id', '=', 'active_id'), ('history', '=', True)]", 'filter': False, 'groups_id': [], 'help': False, 'id': 93, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_user': 1, 'group_by_no_leaf': 1...er_id': ['active_id'], 'search_default_month': 1}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 131, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id'], 'search_default_reconcile_id': False}", 'display_menu_tip': True, 'domain': u"[('account_id.reconcile', '=', True), ('account_id.type', 'in', ['receivable', 'payable'])]", 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 180, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id']}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 181, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id']}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 248, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id']}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 253, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'default_state': 'draft'}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 305, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id'], 'default_duration': 1.0}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 309, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id']}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 402, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u"[('partner_id', '=', 'active_id')]", 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 424, 'limit': 0, ...}]}, 'type': u'form', 'view_id': 132}})
   47             self.__initstack.append(1)
   48 
   49         res = func(self, *args, **kw)
   50         try:
   51             self.__initstack.pop()
res undefined, func = <function __init__ at 0x88c7994>, self = Form, args = (), kw = {'context': {'_terp_view_name': u'Opportunities', 'active_id': 238, 'active_ids': [238], 'active_model': 'ir.ui.menu', 'bin_size': True, 'client': 'web', 'default_type': 'opportunity', 'lang': u'en_GB', 'search_default_current': 1, 'search_default_section_id': False, ...}, 'domain': [], 'editable': True, 'ids': [14], 'model': 'res.partner', 'nodefault': False, 'nolinks': 1, 'prefix': '', 'readonly': False, 'view': {'arch': u'<form string="Partners" col="1">\n ... </notebook>\n </form>', 'field_parent': False, 'fields': {'active': {'selectable': True, 'string': u'Active', 'type': u'boolean', 'views': {}}, 'address': {'context': {}, 'domain': [], 'relation': u'res.partner.address', 'selectable': True, 'string': u'Contacts', 'type': u'one2many', 'views': {'form': {'arch': u'<form string="Partner Contacts">\n ... </form>\n ', 'fields': {...}}, 'tree': {'arch': u'<tree string="Partner Contacts">\n ... </tree>\n ', 'fields': {...}}}}, 'bank_ids': {'context': {}, 'domain': [], 'relation': u'res.partner.bank', 'selectable': True, 'string': u'Banks', 'type': u'one2many', 'views': {'form': {'arch': u'<form string="Bank account">\n ... </form>\n ', 'fields': {...}}, 'tree': {'arch': u'<tree string="Bank Details">\n ... </tree>\n ', 'fields': {...}}}}, 'category_id': {'context': {}, 'domain': [], 'related_columns': [u'partner_id', u'category_id'], 'relation': u'res.partner.category', 'selectable': True, 'string': u'Categories', 'third_table': u'res_partner_category_rel', 'type': u'many2many', 'views': {}}, 'comment': {'selectable': True, 'string': u'Notes', 'type': u'text', 'views': {}}, 'company_id': {'context': {}, 'domain': [], 'relation': u'res.company', 'select': 1, 'selectable': True, 'selection': [(1, u'Q-par Angus Ltd'), (2, u'Shop 1'), (3, u'Shop 2'), (False, u'')], 'string': u'Company', 'type': u'many2one', 'views': {}}, 'credit': {'digits': (16, 2), 'fnct_inv': False, 'fnct_inv_arg': False, 'fnct_search': u'_credit_search', 'func_method': True, 'func_obj': False, 'function': u'_credit_debit_get', 'help': u'Total amount this customer owes you.', 'readonly': 1, 'selectable': True, ...}, 'credit_limit': {'selectable': True, 'string': u'Credit Limit', 'type': u'float', 'views': {}}, 'customer': {'help': u'Check this box if the partner is a customer.', 'selectable': True, 'string': u'Customer', 'type': u'boolean', 'views': {}}, 'date': {'select': 1, 'selectable': True, 'string': u'Date', 'type': u'date', 'views': {}}, ...}, 'model': u'res.partner', 'name': u'res.partner.form', 'submenu': False, 'toolbar': {'action': [{'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 73, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 74, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 289, 'limit': 0, ...}], 'print': [{'attachment': False, 'attachment_use': False, 'auto': True, 'groups_id': [5, 5, 5], 'header': True, 'id': 54, 'model': u'res.partner', 'model_id': 57, 'multi': False, 'name': u'Labels', ...}, {'attachment': False, 'attachment_use': False, 'auto': False, 'groups_id': [], 'header': True, 'id': 198, 'model': u'res.partner', 'model_id': 57, 'multi': False, 'name': u'Overdue Payments', ...}], 'relate': [{'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u"[('partner_id', '=', 'active_id')]", 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 67, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u"[('partner_id', '=', 'active_id'), ('history', '=', True)]", 'filter': False, 'groups_id': [], 'help': False, 'id': 93, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_user': 1, 'group_by_no_leaf': 1...er_id': ['active_id'], 'search_default_month': 1}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 131, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id'], 'search_default_reconcile_id': False}", 'display_menu_tip': True, 'domain': u"[('account_id.reconcile', '=', True), ('account_id.type', 'in', ['receivable', 'payable'])]", 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 180, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id']}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 181, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id']}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 248, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id']}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 253, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'default_state': 'draft'}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 305, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id'], 'default_duration': 1.0}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 309, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id']}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 402, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u"[('partner_id', '=', 'active_id')]", 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 424, 'limit': 0, ...}]}, 'type': u'form', 'view_id': 132}}
 /home/openerp/production/openerp-web/addons/openerp/widgets/form/_form.py in __init__(self=Form, prefix='', model='res.partner', view={'arch': u'<form string="Partners" col="1">\n ... </notebook>\n </form>', 'field_parent': False, 'fields': {'active': {'selectable': True, 'string': u'Active', 'type': u'boolean', 'views': {}}, 'address': {'context': {}, 'domain': [], 'relation': u'res.partner.address', 'selectable': True, 'string': u'Contacts', 'type': u'one2many', 'views': {'form': {'arch': u'<form string="Partner Contacts">\n ... </form>\n ', 'fields': {'city': {...}, 'country_id': {...}, 'email': {...}, 'fax': {...}, 'function': {...}, 'mobile': {...}, 'name': {...}, 'phone': {...}, 'state_id': {...}, 'street': {...}, ...}}, 'tree': {'arch': u'<tree string="Partner Contacts">\n ... </tree>\n ', 'fields': {'city': {...}, 'country_id': {...}, 'email': {...}, 'name': {...}, 'phone': {...}, 'zip': {...}}}}}, 'bank_ids': {'context': {}, 'domain': [], 'relation': u'res.partner.bank', 'selectable': True, 'string': u'Banks', 'type': u'one2many', 'views': {'form': {'arch': u'<form string="Bank account">\n ... </form>\n ', 'fields': {'acc_number': {...}, 'bank': {...}, 'city': {...}, 'country_id': {...}, 'name': {...}, 'owner_name': {...}, 'sequence': {...}, 'state': {...}, 'state_id': {...}, 'street': {...}, ...}}, 'tree': {'arch': u'<tree string="Bank Details">\n ... </tree>\n ', 'fields': {'acc_number': {...}, 'bank': {...}, 'owner_name': {...}, 'state': {...}}}}}, 'category_id': {'context': {}, 'domain': [], 'related_columns': [u'partner_id', u'category_id'], 'relation': u'res.partner.category', 'selectable': True, 'string': u'Categories', 'third_table': u'res_partner_category_rel', 'type': u'many2many', 'views': {}}, 'comment': {'selectable': True, 'string': u'Notes', 'type': u'text', 'views': {}}, 'company_id': {'context': {}, 'domain': [], 'relation': u'res.company', 'select': 1, 'selectable': True, 'selection': [(1, u'Q-par Angus Ltd'), (2, u'Shop 1'), (3, u'Shop 2'), (False, u'')], 'string': u'Company', 'type': u'many2one', 'views': {}}, 'credit': {'digits': (16, 2), 'fnct_inv': False, 'fnct_inv_arg': False, 'fnct_search': u'_credit_search', 'func_method': True, 'func_obj': False, 'function': u'_credit_debit_get', 'help': u'Total amount this customer owes you.', 'readonly': 1, 'selectable': True, ...}, 'credit_limit': {'selectable': True, 'string': u'Credit Limit', 'type': u'float', 'views': {}}, 'customer': {'help': u'Check this box if the partner is a customer.', 'selectable': True, 'string': u'Customer', 'type': u'boolean', 'views': {}}, 'date': {'select': 1, 'selectable': True, 'string': u'Date', 'type': u'date', 'views': {}}, ...}, 'model': u'res.partner', 'name': u'res.partner.form', 'submenu': False, 'toolbar': {'action': [{'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 73, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 74, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 289, 'limit': 0, ...}], 'print': [{'attachment': False, 'attachment_use': False, 'auto': True, 'groups_id': [5, 5, 5], 'header': True, 'id': 54, 'model': u'res.partner', 'model_id': 57, 'multi': False, 'name': u'Labels', ...}, {'attachment': False, 'attachment_use': False, 'auto': False, 'groups_id': [], 'header': True, 'id': 198, 'model': u'res.partner', 'model_id': 57, 'multi': False, 'name': u'Overdue Payments', ...}], 'relate': [{'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u"[('partner_id', '=', 'active_id')]", 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 67, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u"[('partner_id', '=', 'active_id'), ('history', '=', True)]", 'filter': False, 'groups_id': [], 'help': False, 'id': 93, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_user': 1, 'group_by_no_leaf': 1...er_id': ['active_id'], 'search_default_month': 1}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 131, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id'], 'search_default_reconcile_id': False}", 'display_menu_tip': True, 'domain': u"[('account_id.reconcile', '=', True), ('account_id.type', 'in', ['receivable', 'payable'])]", 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 180, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id']}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 181, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id']}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 248, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id']}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 253, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'default_state': 'draft'}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 305, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id'], 'default_duration': 1.0}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 309, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u"{'search_default_partner_id': ['active_id']}", 'display_menu_tip': True, 'domain': u'{}', 'filter': False, 'groups_id': [], 'help': False, 'id': 402, 'limit': 0, ...}, {'auto_refresh': 0, 'auto_search': True, 'context': u'{}', 'display_menu_tip': True, 'domain': u"[('partner_id', '=', 'active_id')]", 'filter': False, 'groups_id': [5, 5, 5], 'help': False, 'id': 424, 'limit': 0, ...}]}, 'type': u'form', 'view_id': 132}, ids=[14], domain=[], context={'_terp_view_name': u'Opportunities', 'active_id': 238, 'active_ids': [238], 'active_model': 'ir.ui.menu', 'bin_size': True, 'client': 'web', 'default_type': 'opportunity', 'lang': u'en_GB', 'search_default_current': 1, 'search_default_section_id': False, ...}, editable=True, readonly=False, nodefault=False, nolinks=1)
  759         self.context = dict(rpc.session.context,
  760                             bin_size=True,
  761                             **(context or {}))
  762         values = {}
  763         defaults = {}
context = {'_terp_view_name': u'Opportunities', 'active_id': 238, 'active_ids': [238], 'active_model': 'ir.ui.menu', 'bin_size': True, 'client': 'web', 'default_type': 'opportunity', 'lang': u'en_GB', 'search_default_current': 1, 'search_default_section_id': False, ...}

<type 'exceptions.TypeError'>: type object got multiple values for keyword argument 'bin_size'
      args = ("type object got multiple values for keyword argument 'bin_size'",)
      message = "type object got multiple values for keyword argument 'bin_size'" 


** Changed in: openobject-client-web
       Status: Fix Released => Confirmed

-- 
Get error when assigning a Reference in Opportunity
https://bugs.launchpad.net/bugs/665663
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Web Client: Confirmed

Bug description:
With Trunk as of Saturday 23rd Oct

EG To reproduce

Sales-> Opportunities
Opportunity-> Extra Info
Select Product then, type in three letters of a product, press enter

get error error in display::TypeError: elem is null.

You can use any of the dropdown selectors ie Event, Product, Partner and get same error





References