[REF] replace deprecated <> symbol.
bzr revid: florent.xicluna@gmail.com-20120119191838-r07oybyiqbkfehsz
This commit is contained in:
parent
e7838dfbc4
commit
efef81654b
|
@ -1303,7 +1303,7 @@ class BaseModel(object):
|
|||
if not line[i]:
|
||||
continue
|
||||
|
||||
if field[:len(prefix)] <> prefix:
|
||||
if field[:len(prefix)] != prefix:
|
||||
if line[i] and skip:
|
||||
return False
|
||||
continue
|
||||
|
@ -2666,7 +2666,7 @@ class BaseModel(object):
|
|||
# if val is a many2one, just write the ID
|
||||
if type(val) == tuple:
|
||||
val = val[0]
|
||||
if (val<>False) or (type(val)<>bool):
|
||||
if val is not False:
|
||||
cr.execute(update_query, (ss[1](val), key))
|
||||
|
||||
def _check_selection_field_value(self, cr, uid, field, value, context=None):
|
||||
|
|
Loading…
Reference in New Issue