On Monday, March 24, 2014 4:17:22 PM UTC-5, Fabyc wrote:
>
> On Monday, March 24, 2014 2:29:51 PM UTC-5, oscar_alvarez wrote:
>>
>>
>> El 24/03/14 12:58, Fabyc escribió:
>>
>> Instalé el módulo account_plus el cual descargué desde aquí [1]
>>
>> Lo instalé mediante consola [2]
>>
>> Se instala correctamente todo. Vi que hay un menú llamado "Vista de
>> Líneas de Factura" que tiene ícono de carpeta y que éste es creado dentro
>> de Gestion Finaciera -> Facturas. Pueden ver aquí la imagen [3].
>>
>> Cuando hago click en dicho menú sale el siguiente error:
>>
>>
>> ERROR:tryton.common.common: File
>> "/home/fabyc/programas/tryton30/tryton/gui/window/view_form/view/list.py",
>> line 735, in __sig_switch
>> if not self.screen.row_activate() and self.children_field:
>>
>> File
>> "/home/fabyc/programas/tryton30/tryton/gui/window/view_form/screen/screen.py",
>>
>> line 342, in default_row_activate
>> }, context=self.context.copy(), warning=False)
>>
>> File "/home/fabyc/programas/tryton30/tryton/action/main.py", line 167,
>> in exec_keyword
>> Action._exec_action(action, data, context=context)
>>
>> File "/home/fabyc/programas/tryton30/tryton/action/main.py", line 130,
>> in _exec_action
>> tab_domain=tab_domain)
>>
>> File "/home/fabyc/programas/tryton30/tryton/gui/window/window.py", line
>> 34, in create
>> search_value=search_value, tab_domain=tab_domain)
>>
>> File "/home/fabyc/programas/tryton30/tryton/gui/window/form.py", line
>> 114, in __init__
>> tab_domain=tab_domain)
>>
>> File
>> "/home/fabyc/programas/tryton30/tryton/gui/window/view_form/screen/screen.py",
>>
>> line 98, in __init__
>> self.switch_view()
>>
>> File
>> "/home/fabyc/programas/tryton30/tryton/gui/window/view_form/screen/screen.py",
>>
>> line 380, in switch_view
>> self.display()
>>
>> File
>> "/home/fabyc/programas/tryton30/tryton/gui/window/view_form/screen/screen.py",
>>
>> line 707, in display
>> in ('tree', 'graph', 'calendar'))
>>
>> File
>> "/home/fabyc/programas/tryton30/tryton/gui/window/view_form/screen/screen.py",
>>
>> line 133, in search_active
>> fields = odict((name, fields[name]) for name in xml_fields)
>>
>> File "/usr/lib/python2.7/collections.py", line 51, in __init__
>> self.__update(*args, **kwds)
>>
>> File "/usr/lib/python2.7/_abcoll.py", line 499, in update
>> for key, value in other:
>>
>> File
>> "/home/fabyc/programas/tryton30/tryton/gui/window/view_form/screen/screen.py",
>>
>> line 133, in <genexpr>
>> fields = odict((name, fields[name]) for name in xml_fields)
>>
>> 'analytic_accounts'
>>
>>
>>
>> [1] https://bitbucket.org/camus77/presik_account_plus
>>
>> [2] trytond -d nombrebd -u account_plus
>>
>> [3] http://postimg.org/image/vk025qi4f/
>>
>>
>>
>> No se si hay algún error en el módulo o está faltando de configurarle
>> alguna cosa una vez instalado.
>>
>>
>> Gracias
>>
>>
>> --
>> Saludos
>>
>> Fabyc
>>
>>
>> Hay un nuevo patch hoy intenta instalarlo de nuevo.
>>
>
> Ya descargué el módulo con los nuevos patchs.
>
> Ahora sale este error cuando quiero crear una nueva venta:
>
>
> ERROR:tryton.common.common: File
> "/home/fabyc/programas/tryton30/tryton/gui/window/form.py", line 302, in
> sig_new
> self.screen.new()
>
> File
> "/home/fabyc/programas/tryton30/tryton/gui/window/view_form/screen/screen.py",
>
> line 447, in new
> self.switch_view('form')
>
> File
> "/home/fabyc/programas/tryton30/tryton/gui/window/view_form/screen/screen.py",
>
> line 369, in switch_view
> self.load_view_to_load()
>
> File
> "/home/fabyc/programas/tryton30/tryton/gui/window/view_form/screen/screen.py",
>
> line 390, in load_view_to_load
> self.add_view_id(view_id, view_type)
>
> File
> "/home/fabyc/programas/tryton30/tryton/gui/window/view_form/screen/screen.py",
>
> line 403, in add_view_id
> return self.add_view(view)
>
> File
> "/home/fabyc/programas/tryton30/tryton/gui/window/view_form/screen/screen.py",
>
> line 436, in add_view
> children_field=children_field)
>
> File
> "/home/fabyc/programas/tryton30/tryton/gui/window/view_form/view/widget_parse.py",
>
> line 40, in parse
> fields)
>
> File
> "/home/fabyc/programas/tryton30/tryton/gui/window/view_form/view/form_gtk/parser.py",
>
> line 318, in parse
> notebook, tooltips=tooltips)
>
> File
> "/home/fabyc/programas/tryton30/tryton/gui/window/view_form/view/form_gtk/parser.py",
>
> line 375, in parse
> notebook, tooltips=tooltips)
>
> File
> "/home/fabyc/programas/tryton30/tryton/gui/window/view_form/view/form_gtk/parser.py",
>
> line 420, in parse
> widget_act = WIDGETS_TYPE[ftype][0](name, model_name, attrs)
>
> File
> "/home/fabyc/programas/tryton30/tryton/gui/window/view_form/view/form_gtk/many2many.py",
>
> line 91, in __init__
> row_activate=self._on_activate)
>
> File
> "/home/fabyc/programas/tryton30/tryton/gui/window/view_form/screen/screen.py",
>
> line 98, in __init__
> self.switch_view()
>
> File
> "/home/fabyc/programas/tryton30/tryton/gui/window/view_form/screen/screen.py",
>
> line 380, in switch_view
> self.display()
>
> File
> "/home/fabyc/programas/tryton30/tryton/gui/window/view_form/screen/screen.py",
>
> line 707, in display
> in ('tree', 'graph', 'calendar'))
>
> File
> "/home/fabyc/programas/tryton30/tryton/gui/window/view_form/screen/screen.py",
>
> line 133, in search_active
> fields = odict((name, fields[name]) for name in xml_fields)
>
> File "/usr/lib/python2.7/collections.py", line 51, in __init__
> self.__update(*args, **kwds)
>
> File "/usr/lib/python2.7/_abcoll.py", line 499, in update
> for key, value in other:
>
> File
> "/home/fabyc/programas/tryton30/tryton/gui/window/view_form/screen/screen.py",
>
> line 133, in <genexpr>
> fields = odict((name, fields[name]) for name in xml_fields)
>
> 'estimate_pay_date'
>
>
Reinicié el servicio Tryton y ahora si ya me deja crear una venta. No se
por qué sale ese error cuando recién se instala el módulo y no se reinicia
el servicio.
Ahora veo que ya no aparece el menú que estaba dando error al hacer clic:
"Vista de Líneas de Factura". Imagino que no tenía ninguna función
específica y por eso lo has quitado.
>
>
>> -----------------------
>> Oscar Alvarez
>>
>