mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
asset mgt - early removal asset_id filter
This commit is contained in:
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user