[FIX] account_asset_management: do not propose special and closed periods for asset posting

This commit is contained in:
Stéphane Bidoul
2015-06-26 16:39:20 +02:00
committed by Pedro M. Baeza
parent e5a7abcd0f
commit 1f61dc2dbc

View File

@@ -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"),