Tryton - Issues

 

Message20150

Author 2cadz
Recipients
Date 2015-02-10.17:56:11
Content
In tryton 3.0 (I've not tested in 3.2 or 3.4) when I try to add an account move (Financial -> Entries -> Account Moves) without set the origin field (this field is not required), I have the following error message :

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/view/list.py", line 740, in __sig_switch
    if not self.screen.row_activate() and self.children_field:

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/screen/screen.py", line 344, in default_row_activate
    self.switch_view(view_type='form')

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/screen/screen.py", line 380, in switch_view
    self.display()

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/screen/screen.py", line 719, in display
    self.current_record = self.current_record

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/screen/screen.py", line 305, in __set_current_record
    self.search_count, record and record.id))

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/signal_event.py", line 14, in signal
    fnct(self, signal_data, *data)

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/form.py", line 439, in _record_message
    self.activate_save()

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/form.py", line 486, in activate_save
    self.buttons['save'].props.sensitive = self.screen.modified()

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/screen/screen.py", line 544, in modified
    if self.current_view.modified:

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/view/form.py", line 102, in modified
    return any(w.modified for widgets in self.widgets.itervalues()

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/view/form.py", line 103, in <genexpr>
    for w in widgets)

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/view/form_gtk/reference.py", line 60, in modified
    model, name = self.get_empty_value()

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/view/form_gtk/reference.py", line 40, in get_empty_value
    for name, model in self.widget_combo.get_model():
History
Date User Action Args
2015-02-10 17:56:132cadzsetmessageid: <1423587373.44.0.608215568806.issue4549@tryton.org>
2015-02-10 17:56:132cadzlinkissue4549 messages
2015-02-10 17:56:112cadzcreate

Showing 10 items. Show all history (warning: this could be VERY long)