changeset 9008047009bf in modules/account:4.8
details: https://hg.tryton.org/modules/account?cmd=changeset;node=9008047009bf
description:
Add missing view_type on TemplateKeyWord StateAction
Also add help attribute for fields
issue8388
review279451002
(grafted from d010b58cc69a0a1bd880341a8368f95e103c8a96)
diffstat:
move_template.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (19 lines):
diff -r e28bed691571 -r 9008047009bf move_template.py
--- a/move_template.py Mon Jun 10 19:17:12 2019 +0200
+++ b/move_template.py Mon Jun 03 15:59:23 2019 +0200
@@ -89,6 +89,7 @@
'name': self.name,
'string': self.string,
'required': self.required,
+ 'help': '',
})
return field
@@ -257,6 +258,7 @@
view = {
'model': 'account.move.template.create.keywords',
'view_id': 0,
+ 'type': 'form',
'fields': fields,
}
if not hasattr(wizard.template, 'template'):