[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Health-dev] New tab window doesn't appear
From: |
Luis Falcon |
Subject: |
Re: [Health-dev] New tab window doesn't appear |
Date: |
Mon, 26 Aug 2013 15:31:34 -0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130823 Icedove/17.0.8 |
Hi Kaushik
On 23/08/13 13:11, Kaushik S wrote:
> Hi
> 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?.
Did you install your new module ? Do you see it under
Administration -> Modules -> Modules
Best,
>
> 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
> tab_domain=tab_domain)
>
> File
> "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/gui/window/window.py",
> line 34, in create
> search_value=search_value, tab_domain=tab_domain)
>
> File
> "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/gui/window/form.py",
> line 114, in __init__
> tab_domain=tab_domain)
>
> 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)
>
> Thanks
> Kaushik
>
--
GNU Health : The Free Health and Hospital Information System
http://health.gnu.org
@gnuhealth