|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 : Mymodule.foo not in list
File "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/gui/window/view_form/view/list.py", 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/screen.py", line 322, in default_row_activate
}, context=self.context.copy(), warning=False)
File "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/action/main.py", line 178, in exec_keyword
Action._exec_action(action, data, context=context)
File "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/action/main.py", line 141, in _exec_action
File "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/gui/window/window.py", line 34, in create
File "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/gui/window/form.py", line 114, in __init__
File "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/gui/window/view_form/screen/screen.py", line 56, in __init__
if not MODELACCESS[model_name]['write']:
File "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/common/common.py", line 159, in __getitem__
idx = self._models.index(model)
|[Prev in Thread]||Current Thread||[Next in Thread]|