[FIX] honor sequence

pull/205/head
Holger Brunn 2015-07-16 11:21:42 +02:00
parent ad90c2478f
commit a8954c2114
2 changed files with 2 additions and 1 deletions

View File

@ -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):

View File

@ -17,7 +17,7 @@
nolabel="1"
on_change="onchange_server_type(type, is_ssl, object_id)">
<tree>
<field name="sequence" invisible="1" />
<field name="sequence" widget="handle" />
<field name="path" />
<field name="model_id" />
<field name="model_field" />