diff --git a/fetchmail_attach_from_folder/model/fetchmail_server_folder.py b/fetchmail_attach_from_folder/model/fetchmail_server_folder.py index 570245572..2d1b2d2c3 100644 --- a/fetchmail_attach_from_folder/model/fetchmail_server_folder.py +++ b/fetchmail_attach_from_folder/model/fetchmail_server_folder.py @@ -26,6 +26,7 @@ from .. import match_algorithm class fetchmail_server_folder(models.Model): _name = 'fetchmail.server.folder' _rec_name = 'path' + _order = 'sequence' def _get_match_algorithms(self): def get_all_subclasses(cls): diff --git a/fetchmail_attach_from_folder/view/fetchmail_server.xml b/fetchmail_attach_from_folder/view/fetchmail_server.xml index 3d58421e7..c2a15fd87 100644 --- a/fetchmail_attach_from_folder/view/fetchmail_server.xml +++ b/fetchmail_attach_from_folder/view/fetchmail_server.xml @@ -17,7 +17,7 @@ nolabel="1" on_change="onchange_server_type(type, is_ssl, object_id)"> - +