From a36ccb634162b5b4d9ea7b67d645ccf0de18b5df Mon Sep 17 00:00:00 2001 From: clementmbr Date: Mon, 22 Jun 2020 17:39:51 -0300 Subject: [PATCH] [IMP] Add attachment_synchronize_task views --- attachment_synchronize/models/task.py | 6 +- .../views/storage_backend_view.xml | 2 +- attachment_synchronize/views/task_view.xml | 91 ++++++++++++++----- 3 files changed, 72 insertions(+), 27 deletions(-) diff --git a/attachment_synchronize/models/task.py b/attachment_synchronize/models/task.py index b156ecb41..eff4d252f 100644 --- a/attachment_synchronize/models/task.py +++ b/attachment_synchronize/models/task.py @@ -59,7 +59,7 @@ class AttachmentSynchronizeTask(models.Model): "least contains the pattern in its name. " "Leave it empty to import all files" ) - filepath = fields.Char(help="Path to imported/exported file") + filepath = fields.Char(help="Path to imported/exported files in the Backend") backend_id = fields.Many2one( "storage.backend", string="Backend", required=True ) @@ -97,8 +97,8 @@ class AttachmentSynchronizeTask(models.Model): help="If checked, will avoid duplication file import", ) emails = fields.Char( - string="Emails", - help="list of email which should be notified in case of failure " + string="Notification Emails", + help="List of email which should be notified in case of failure " "when excuting the files linked to this task", ) diff --git a/attachment_synchronize/views/storage_backend_view.xml b/attachment_synchronize/views/storage_backend_view.xml index 71d159fdf..1eafcd7c3 100644 --- a/attachment_synchronize/views/storage_backend_view.xml +++ b/attachment_synchronize/views/storage_backend_view.xml @@ -9,7 +9,7 @@ - + diff --git a/attachment_synchronize/views/task_view.xml b/attachment_synchronize/views/task_view.xml index 6385452d9..93461cca2 100644 --- a/attachment_synchronize/views/task_view.xml +++ b/attachment_synchronize/views/task_view.xml @@ -1,51 +1,56 @@ - + attachment.synchronize.task
-
-
+
+
+ + + + + + + + + + + + + + + + + +
- - - - - - - - - - - - - - - - - + attachment.synchronize.task - + +