I have a problem printing the accounting journals which just yields a traceback 
without sign what is causing this. For those curious or in the know (hi Pedro 
;-) I have copied the traceback below.

I have created a test database, and sure enough the problem does not persist.

Here is what I have done:
- Fresh install of the 4.2-stable using the Minimal profile
- Add some modules I considered important for my business
- Entered some partners and partner invoices
- Add some more modules
- No more Print Journals

My theory is that the latter module installation brought in some new fields and 
methods which do not take care of previously entered data.

My questions:
- Is there a way to check the data integrity?
- How could I find which fields are affected (so that I manually could correct 
the problem)?
- Is this intended behavior, ie. is adding modules into a productive system a 
No-No, and how should one proceed?

TIA,
Ted

Traceback (most recent call last):
  File "/home/tiny/tinyerp-client-4.2.0/bin/modules/gui/window/tree.py", 
line 200, in sig_open
    self.sig_action(widget, 'tree_but_open' )
  File "/home/tiny/tinyerp-client-4.2.0/bin/modules/gui/window/tree.py", 
line 195, in sig_action
    'ids':ids, 'report_type':report_type, 'window': 
self.window}, context=ctx)
  File "/home/tiny/tinyerp-client-4.2.0/bin/modules/action/main.py", line 
167, in exec_keyword
    self._exec_action(action, data, context=context)
  File "/home/tiny/tinyerp-client-4.2.0/bin/modules/action/main.py", line 
121, in _exec_action
    limit=datas['limit'], 
auto_refresh=datas['auto_refresh'])
  File 
"/home/tiny/tinyerp-client-4.2.0/bin/modules/gui/window/__init__.py", line 74, 
in create
    window=window, name=name)
  File "/home/tiny/tinyerp-client-4.2.0/bin/modules/gui/window/tree.py", 
line 98, in __init__
    self.sig_reload()
  File "/home/tiny/tinyerp-client-4.2.0/bin/modules/gui/window/tree.py", 
line 140, in sig_reload
    self.tree_res.reload()
  File 
"/home/tiny/tinyerp-client-4.2.0/bin/modules/gui/window/view_tree/view_tree.py",
 line 327, in reload
    self.model = view_tree_model(self.ids, self.view_info, 
self.fields_order, self.fields, context=self.context, pixbufs=self.pixbufs, 
treeview=self.view)
  File 
"/home/tiny/tinyerp-client-4.2.0/bin/modules/gui/window/view_tree/view_tree.py",
 line 72, in __init__
    self.tree = self._node_process(self.roots)
  File 
"/home/tiny/tinyerp-client-4.2.0/bin/modules/gui/window/view_tree/view_tree.py",
 line 153, in _node_process
    res = self._read(ids, self.fields)
  File 
"/home/tiny/tinyerp-client-4.2.0/bin/modules/gui/window/view_tree/view_tree.py",
 line 133, in _read
    x[field] or 0.0)
  File "/usr/lib/python2.5/locale.py", line 145, in format
    formatted = percent % value
TypeError: float argument required






_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to