File "/home/inges/pro-tryton/tryton/bin/tryton", line 66, in <module>
tryton.client.TrytonClient().run()
File "/home/inges/pro-tryton/tryton/tryton/client.py", line 101, in run
main.sig_login()
File "/home/inges/pro-tryton/tryton/tryton/gui/main.py", line 906, in
sig_login
self.sig_win_menu(prefs=prefs)
File "/home/inges/pro-tryton/tryton/tryton/gui/main.py", line 1042, in
sig_win_menu
view_ids=view_ids, domain=domain, readonly=True)
File
"/home/inges/pro-tryton/tryton/tryton/gui/window/view_form/screen/screen.py"
, line 98, in __init__
self.switch_view()
File
"/home/inges/pro-tryton/tryton/tryton/gui/window/view_form/screen/screen.py"
, line 369, in switch_view
self.load_view_to_load()
File
"/home/inges/pro-tryton/tryton/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/inges/pro-tryton/tryton/tryton/gui/window/view_form/screen/screen.py"
, line 403, in add_view_id
return self.add_view(view)
File
"/home/inges/pro-tryton/tryton/tryton/gui/window/view_form/screen/screen.py"
, line 431, in add_view
from tryton.gui.window.view_form.view.widget_parse import WidgetParse
File
"/home/inges/pro-tryton/tryton/tryton/gui/window/view_form/view/widget_parse.py"
, line 9, in <module>
from list import ViewList
Error: unexpected indent (list.py, line 805)
# self.widget.set_model(self.store) could be removed if the store
# has not changed -> better ergonomy. To test
def display(self):
self.widget_tree.display_counter += 1
*current_record = self.screen.current_record ----> Line 804*
if (self.reload
or not self.widget_tree.get_model()
or (self.screen.group !=
self.widget_tree.get_model().group)):
Hello, I tried implementing this parche in Tryton 3.0.5 but it doesn't work.
I use Tryton 3.0.5 because in Argentina the modules are in 3.0 not in 3.2
or more.
And then I have this bug without correction in 3.0.
I copy the lines in my documents but doesn't work .
Can you help me with this problem?
Path: http://hg.tryton.org/tryton/rev/0c2f313bf62d
Thanks!
El miércoles, 2 de julio de 2014 14:44:42 UTC-3, Fabyc escribió:
>
> Hi everybody.
>
> When I try to load data of accounts, it is slow from level 8-9. It takes
> as 4-5 seconds in loading.
> Sometimes takes 3 seconds.
>
> For testing, I loaded the accounts of Spain.
>
> First time when I click on "Financial->Configuration->General
> Account->Account Types",
> how the tree of accounts is collapsed, the loading of the list of accounts
> is fast (like
> normally Tryton is).
>
> When I click on a level I can see from 8-9 level, it is slow. On level 10
> it is slower.
>
> When I have opened the tree of accounts until 10 level and then I close
> the window (the
> expanded state of tree is saved). When I click again on "Account Types"
> menu, the load
> of the window with the accounts is slow. I collapse the tree of account
> and I close the
> window and then I click again on "Account Types" menu and the load of the
> window with
> the accounts is very fast.
>
> It is the same problem when I have opened until level 10, if I click from
> an account in level 10
> to an account to level 1 or 2, the selection of the account delays as 3
> seconds and sometimes
> 4 or 5 seconds.
>
> This is the video [1] in where can see the problem. I saved in background
> the output of the
> Top command in the server.
>
> Is it needed tuning something in server when the accounts is more than 7
> levels?
>
> Trytond: 3.2.1
> Tryton: 3.2.1
>
> I tested it in Virtualbox 4.3.12
> Debian: 7.5
> RAM: 2048 MB
>
> [1] http://goo.gl/pzQZ2u
>
>
> Thank you very much
>