From 3b5ba0eb2607cccd6ea433ba6016cc7a6e2ef2c9 Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Mon, 3 Jun 2019 15:59:23 +0200 Subject: [PATCH] Add missing view_type on TemplateKeyWord StateAction Also add help attribute for fields issue8388 review279451002 --- move_template.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/move_template.py b/move_template.py index 7a3d00145c..61c3a91012 100644 --- a/move_template.py +++ b/move_template.py @@ -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'):