[FIX] account_asset_management: do not propose special and closed periods for asset posting
This commit is contained in:
parent
14954c5360
commit
56f432386c
@ -31,6 +31,7 @@ class asset_depreciation_confirmation_wizard(orm.TransientModel):
|
|||||||
_columns = {
|
_columns = {
|
||||||
'period_id': fields.many2one(
|
'period_id': fields.many2one(
|
||||||
'account.period', 'Period',
|
'account.period', 'Period',
|
||||||
|
domain="[('special', '=', False), ('state', '=', 'draft')]",
|
||||||
required=True,
|
required=True,
|
||||||
help="Choose the period for which you want to automatically "
|
help="Choose the period for which you want to automatically "
|
||||||
"post the depreciation lines of running assets"),
|
"post the depreciation lines of running assets"),
|
||||||
|
Loading…
Reference in New Issue
Block a user