mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[FIX] account_asset_management: bad domain for account_analytic_id
This commit is contained in:
committed by
Luc De Meyer
parent
5070229bbc
commit
fc09774f7b
@@ -194,9 +194,7 @@ class AccountAsset(models.Model):
|
||||
store=True, readonly=True)
|
||||
account_analytic_id = fields.Many2one(
|
||||
comodel_name='account.analytic.account',
|
||||
string='Analytic account',
|
||||
domain=[('type', '!=', 'view'),
|
||||
('state', 'not in', ('close', 'cancelled'))])
|
||||
string='Analytic account')
|
||||
|
||||
@api.model
|
||||
def _default_company_id(self):
|
||||
|
||||
Reference in New Issue
Block a user