[IMP] Extend expression field to use multiple condition with context

bzr revid: christophe.chauvet@syleam.fr-20091223135003-mr81x59n00vmdbas
This commit is contained in:
Christophe Chauvet 2009-12-23 14:50:03 +01:00
parent f0d67e8369
commit 9b00c7f52e
1 changed files with 2 additions and 2 deletions

View File

@ -43,8 +43,8 @@ class multi_company_default(osv.osv):
help='Company to store the current record'),
'object_id': fields.many2one('ir.model', 'Object', required=True,
help='Object affect by this rules'),
'expression': fields.char('Expression', size=32, required=True,
help='Expression, must be True to match'),
'expression': fields.char('Expression', size=256, required=True,
help='Expression, must be True to match\nuse context.get or user (browse)'),
'field_id': fields.many2one('ir.model.fields', 'Field', help='Select field property'),
}