mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[12.0][FIX] account_asset_management: date_range -> account_fiscal_year, account_analytic_id without domain
This commit is contained in:
@@ -193,9 +193,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