[trunk] graph labels are cut off at the beginning

Bug #623188 reported by Ferdinand
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP sa GTK client R&D

Bug Description

many projects are long names - cutting off labels makes the graph unusable

Related branches

Revision history for this message
Ferdinand (office-chricar) wrote :
Revision history for this message
Ferdinand (office-chricar) wrote :

the problem is equally found on screens larges with 1920*1200 as well as laptop 1366*768 resolution

Revision history for this message
Ferdinand (office-chricar) wrote :

BTW the web client shows nice graphs :-)

Revision history for this message
Ferdinand (office-chricar) wrote :

just a little remark
the y-scale should be scaled more user friendly rounded
10,20,30,40...
100,150,200,250,...
not like for sales
0.526,1052,1578, ....

Revision history for this message
Ferdinand (office-chricar) wrote :
Revision history for this message
Ferdinand (office-chricar) wrote :

I just want to point out that the sales dashboard on web ist the first what a user sees of OpenERP

tfr (Openerp) (tfr)
Changed in openobject-client:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → OpenERP sa GTK client R&D (openerp-dev-gtk)
tfr (Openerp) (tfr)
Changed in openobject-client:
milestone: none → 6.0-rc2
Changed in openobject-client:
importance: Low → Wishlist
Changed in openobject-client:
status: Confirmed → New
milestone: 6.0-rc2 → none
Changed in openobject-client:
status: New → Confirmed
Revision history for this message
Ferdinand (office-chricar) wrote :

please, will this be fixed soon ?
it's horrible during demos to show cut of legend/labels

Revision history for this message
Ferdinand (office-chricar) wrote :

it is problematic to show this layout to a prospect ....
all labels are cut off

sales by customer is obviously "wrong" - all values are 0, only one customer (in Web client 2 customers)

Revision history for this message
Ferdinand (office-chricar) wrote :

please !!!!

Revision history for this message
Ravi Gadhia (OpenERP) (rga-openerp) wrote :

Hello Ferdinand

          Did you tried the mp lp:~openerp-dev/openobject-client/trunk-Navigationtoolbar_graph_view-rga ?
waiting for reply

Revision history for this message
Ferdinand (office-chricar) wrote :
Download full text (3.3 KiB)

starting
comes up with
********
The versions of the server (6.1dev) and the client (6.1-dev) missmatch. The client may not work properly. Use it at your own risks.
********

and then crashes

gass@cc-gf3:~/OpenERP/trunk/trunk-Navigationtoolbar_graph_view-rga/bin> ./openerp-client.py
WARNING:common.options:Unable to read config file /home/gass/.openerprc !
Traceback (most recent call last):
  File "./openerp-client.py", line 135, in <module>
    win.sig_login()
  File "/home/gass/OpenERP/trunk/trunk-Navigationtoolbar_graph_view-rga/bin/modules/gui/main.py", line 1035, in sig_login
    self.sig_home_new(quiet=True, except_id=id)
  File "/home/gass/OpenERP/trunk/trunk-Navigationtoolbar_graph_view-rga/bin/modules/gui/main.py", line 1184, in sig_home_new
    except_id=except_id)
  File "/home/gass/OpenERP/trunk/trunk-Navigationtoolbar_graph_view-rga/bin/modules/gui/main.py", line 1172, in sig_win_new
    obj.execute(act_id, {'window':self.window})
  File "/home/gass/OpenERP/trunk/trunk-Navigationtoolbar_graph_view-rga/bin/modules/action/main.py", line 82, in execute
    self._exec_action(res,datas,context)
  File "/home/gass/OpenERP/trunk/trunk-Navigationtoolbar_graph_view-rga/bin/modules/action/main.py", line 143, in _exec_action
    limit=datas['limit'], auto_refresh=datas['auto_refresh'], auto_search = datas['auto_search'], search_view = datas['search_view'])
  File "/home/gass/OpenERP/trunk/trunk-Navigationtoolbar_graph_view-rga/bin/modules/gui/window/__init__.py", line 48, in create
    auto_refresh=auto_refresh, auto_search=auto_search, search_view=search_view)
  File "/home/gass/OpenERP/trunk/trunk-Navigationtoolbar_graph_view-rga/bin/modules/gui/window/form.py", line 75, in __init__
    show_search=True, window=self.window, limit=limit, readonly=bool(auto_refresh), auto_search=auto_search, search_view=search_view)
  File "/home/gass/OpenERP/trunk/trunk-Navigationtoolbar_graph_view-rga/bin/widget/screen/screen.py", line 128, in __init__
    view = self.add_view_id(view_id, view_type[0], help=help)
  File "/home/gass/OpenERP/trunk/trunk-Navigationtoolbar_graph_view-rga/bin/widget/screen/screen.py", line 580, in add_view_id
    toolbar=view.get('toolbar', False), submenu=view.get('submenu', False), context=context)
  File "/home/gass/OpenERP/trunk/trunk-Navigationtoolbar_graph_view-rga/bin/widget/screen/screen.py", line 622, in add_view
    view = parser.parse(self, root_node, self.fields, toolbar=toolbar, submenu=submenu, help=help)
  File "/home/gass/OpenERP/trunk/trunk-Navigationtoolbar_graph_view-rga/bin/widget/view/widget_parse.py", line 57, in parse
    wid, child, buttons, on_write = widget.parse(screen.resource, node, fields)
  File "/home/gass/OpenERP/trunk/trunk-Navigationtoolbar_graph_view-rga/bin/widget/view/form_gtk/parser.py", line 537, in parse
    _, widgets, saws, on_write = self.parse(model, node, fields, paned=hp)
  File "/home/gass/OpenERP/trunk/trunk-Navigationtoolbar_graph_view-rga/bin/widget/view/form_gtk/parser.py", line 551, in parse
    widget, widgets, saws, on_write = self.parse(model, node, fields, paned=paned)
  File "/home/gass/OpenERP/trunk/trunk-Navigationtoolbar_graph_view-rga/bin/widget/view/form_gtk/parser...

Read more...

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

well, try it out on trunk the MP is compatible with trunk.

still a workaround for stable is to remove the home action from your user :)

Thanks

Revision history for this message
Ferdinand (office-chricar) wrote :

I used trunk

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

yes , but in a way other then what I expected. What you did is downloaded the proposed branch and started testing but may be the branch is old and not merged with recent trunk changes. What I expected and should be the idle way to test is that merge the changes with your latest trunk client branch and test which should give you the proper way.

Any way we have updated the MP with the trunk client changes you can either update the same MP or start with the way proposed.

Give your valuable views regarding the MP.

Regards,

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.