Unable to create move from template
On latest trunk it is not possible to create an account move from template.
When using the "Create move from template" wizard, after selecting the template the following error is raised on tryton:
File "/home/pokoli/projectes/nclone/tryton/tryton/common/common.py", line 1054, in process
self.callback(return_)
File "/home/pokoli/projectes/nclone/tryton/tryton/gui/window/wizard.py", line 108, in callback
self.update(view['fields_view'], view['buttons'])
File "/home/pokoli/projectes/nclone/tryton/tryton/gui/window/wizard.py", line 361, in update
super(WizardDialog, self).update(view, buttons)
File "/home/pokoli/projectes/nclone/tryton/tryton/gui/window/wizard.py", line 202, in update
self.screen.add_view(view)
File "/home/pokoli/projectes/nclone/tryton/tryton/gui/window/view_form/screen/screen.py", line 574, in add_view
self, view_id, view['type'], xml_dom, view.get('field_childs'))
KeyError: 'type'
On sao the following traceback is shown on the console:
jQuery.Deferred exception: this.current_view is undefined switch_view/_switch_container<@http://localhost:8000/dist/tryton-sao.js:7632:21
switch_view/_switch<@http://localhost:8000/dist/tryton-sao.js:7680:24
switch_view@http://localhost:8000/dist/tryton-sao.js:7682:20
update@http://localhost:8000/dist/tryton-sao.js:22349:25
update@http://localhost:8000/dist/tryton-sao.js:22460:45
process/<@http://localhost:8000/dist/tryton-sao.js:22261:30
l@http://localhost:8000/bower_components/jquery/dist/jquery.min.js:2:29375
a/</c<@http://localhost:8000/bower_components/jquery/dist/jquery.min.js:2:2967