diff --git a/account_asset_management/wizard/wizard_asset_compute.py b/account_asset_management/wizard/wizard_asset_compute.py index f7e51244..c599d2db 100644 --- a/account_asset_management/wizard/wizard_asset_compute.py +++ b/account_asset_management/wizard/wizard_asset_compute.py @@ -31,6 +31,7 @@ class asset_depreciation_confirmation_wizard(orm.TransientModel): _columns = { 'period_id': fields.many2one( 'account.period', 'Period', + domain="[('special', '=', False), ('state', '=', 'draft')]", required=True, help="Choose the period for which you want to automatically " "post the depreciation lines of running assets"),