Add missing view_type on TemplateKeyWord StateAction

Also add help attribute for fields
issue8388

review279451002
This commit is contained in:
Sergi Almacellas Abellana
2019-06-03 15:59:23 +02:00
parent a6f7412201
commit 3b5ba0eb26
+2
View File
@@ -88,6 +88,7 @@ class MoveTemplateKeyword(sequence_ordered(), ModelSQL, ModelView):
'name': self.name,
'string': self.string,
'required': self.required,
'help': '',
})
return field
@@ -255,6 +256,7 @@ class KeywordStateView(StateView):
view = {
'model': 'account.move.template.create.keywords',
'view_id': 0,
'type': 'form',
'fields': fields,
}
if not hasattr(wizard.template, 'template'):