[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 sbiosca-s73
parent e6a3741839
commit 77652ccc92

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