changeset 6e9aa4859a0d in modules/account:4.6
details: https://hg.tryton.org/modules/account?cmd=changeset;node=6e9aa4859a0d
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 29c7eeb74964 -r 6e9aa4859a0d move_template.py
--- a/move_template.py  Tue Feb 19 23:08:30 2019 +0100
+++ b/move_template.py  Mon Jun 03 15:59:23 2019 +0200
@@ -92,6 +92,7 @@
                 'name': self.name,
                 'string': self.string,
                 'required': self.required,
+                'help': '',
                 })
         return field
 
@@ -249,6 +250,7 @@
         view = {
             'model': 'account.move.template.create.keywords',
             'view_id': 0,
+            'type': 'form',
             'fields': fields,
             }
         if not hasattr(wizard.template, 'template'):

Reply via email to