asset mgt - early removal asset_id filter

This commit is contained in:
luc-demeyer
2014-12-21 19:49:55 +01:00
parent 8584db5df2
commit 92e166de53

View File

@@ -88,6 +88,8 @@ class account_invoice_line(orm.Model):
'account.asset.category', 'Asset Category'),
'asset_id': fields.many2one(
'account.asset.asset', 'Asset',
domain=[('type', '=', 'normal'),
('state', 'in', ['open', 'close'])],
help="Complete this field when selling an asset "
"in order to facilitate the creation of the "
"asset removal accounting entries via the "