Add missing view_type on TemplateKeyWord StateAction
Also add help attribute for fields issue8388 review279451002
This commit is contained in:
@@ -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'):
|
||||
|
||||
Reference in New Issue
Block a user