[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Health-dev] New tab window doesn't appear

From: Kaushik S
Subject: [Health-dev] New tab window doesn't appear
Date: Fri, 23 Aug 2013 21:41:04 +0530

   I have written my own module based on hello world. I click on the action item under a parent menu item, I expect a new tab/window to appear with my tree view (or form view).  However, I get an error saying the my module is not in the list.
I am just trying to understand the initialisation.

I am posting the error below. I am guessing my module hasn't been registered or it didnt go into one of the core lists.  How can I troubleshoot this? Any debugging tips?. 

Error : not in list
  File "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/gui/window/view_form/view/", line 733, in __sig_switch
    if not self.screen.row_activate() and self.children_field:

  File "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/gui/window/view_form/screen/", line 322, in default_row_activate
    }, context=self.context.copy(), warning=False)

  File "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/action/", line 178, in exec_keyword
    Action._exec_action(action, data, context=context)

  File "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/action/", line 141, in _exec_action

  File "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/gui/window/", line 34, in create
    search_value=search_value, tab_domain=tab_domain)

  File "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/gui/window/", line 114, in __init__

  File "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/gui/window/view_form/screen/", line 56, in __init__
    if not MODELACCESS[model_name]['write']:

  File "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/common/", line 159, in __getitem__
    idx = self._models.index(model)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]