On 24/01/13 02:07 -0800, [email protected] wrote:
> ERROR:tryton.common.common:  File 
> "/usr/local/lib/python2.6/dist-packages/tryton-2.6.1-py2.6.egg/tryton/gui/window/view_form/view/list.py",
>  
> line 732, in __sig_switch
>     if not self.screen.row_activate() and self.children_field:
> 
>   File 
> "/usr/local/lib/python2.6/dist-packages/tryton-2.6.1-py2.6.egg/tryton/gui/window/view_form/screen/screen.py",
>  
> line 306, in default_row_activate
>     }, context=self.context.copy(), warning=False)
> 
>   File 
> "/usr/local/lib/python2.6/dist-packages/tryton-2.6.1-py2.6.egg/tryton/action/main.py",
>  
> line 172, in exec_keyword
>     Action._exec_action(action, data, context=context)
> 
>   File 
> "/usr/local/lib/python2.6/dist-packages/tryton-2.6.1-py2.6.egg/tryton/action/main.py",
>  
> line 134, in _exec_action
>     icon=(action.get('icon.rec_name') or ''))
> 
>   File 
> "/usr/local/lib/python2.6/dist-packages/tryton-2.6.1-py2.6.egg/tryton/gui/window/window.py",
>  
> line 34, in create
>     search_value=search_value)
> 
>   File 
> "/usr/local/lib/python2.6/dist-packages/tryton-2.6.1-py2.6.egg/tryton/gui/window/form.py",
>  
> line 115, in __init__
>     readonly=bool(auto_refresh), search_value=search_value)
> 
>   File 
> "/usr/local/lib/python2.6/dist-packages/tryton-2.6.1-py2.6.egg/tryton/gui/window/view_form/screen/screen.py",
>  
> line 52, in __init__
>     if not MODELACCESS[model_name]['write']:
> 
>   File 
> "/usr/local/lib/python2.6/dist-packages/tryton-2.6.1-py2.6.egg/tryton/common/common.py",
>  
> line 159, in __getitem__
>     idx = self._models.index(model)
> 
> list.index(x): x not in list

It looks like a typo in the model name of the act_window.

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpM8IW2iiSNF.pgp
Description: PGP signature

Reply via email to