2
0

[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 Rodrigo
parent 14954c5360
commit 56f432386c

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