KeyError on forms with link buttons
When opening a form with link_buttons (sale, purchase, ...), got this errror:
File "/home/mrichez/Workspace/tryton/tryton_dev/tryton/tryton/gui/window/form.py", line 361, in sig_new
self.screen.new()
File "/home/mrichez/Workspace/tryton/tryton_dev/tryton/tryton/gui/window/view_form/screen/screen.py", line 609, in new
group.add(record, self.new_position)
File "/home/mrichez/Workspace/tryton/tryton_dev/tryton/tryton/gui/window/view_form/model/group.py", line 332, in add
self.signal('group-changed', record)
File "/home/mrichez/Workspace/tryton/tryton_dev/tryton/tryton/signal_event.py", line 15, in signal
fnct(self, signal_data, *data)
File "/home/mrichez/Workspace/tryton/tryton_dev/tryton/tryton/gui/window/view_form/screen/screen.py", line 433, in _group_changed
self.display()
File "/home/mrichez/Workspace/tryton/tryton_dev/tryton/tryton/gui/window/view_form/screen/screen.py", line 924, in display
view.display()
File "/home/mrichez/Workspace/tryton/tryton_dev/tryton/tryton/gui/window/view_form/view/form.py", line 533, in display
widget.state_set(record)
File "/home/mrichez/Workspace/tryton/tryton_dev/tryton/tryton/gui/window/view_form/view/form_gtk/state_widget.py", line 165, in state_set
self.set_label(action['rec_name'])
KeyError: 'rec_name'