I have a problem when i use domain to compare two integer fields ?
_name = 'y'
'field1': fields.integer('Field1'),
'field2': fields.integer('Field2'),
_name = 'x'
'y_id': fields.many2one('y', 'Y', domain="[('field1','>','field2')]"),
=> ValueError: invalid literal for int() with base 10: 'field2'