[IMP] account_asset_management: assets can be removed irrespective of the Time Method used
It does not make sense that you cannot remove an asset where the time method used is not based on number of years or end date. If you choose, for example, to depreciate the asset using the time method 'Number of depreciations' you will want to remove the asset when it has been fully depreciated.
This commit is contained in:
parent
8fd71e7518
commit
6d428fa582
@ -25,7 +25,7 @@
|
||||
string="Remove"
|
||||
type="object"
|
||||
groups="account.group_account_manager"
|
||||
attrs="{'invisible':['|', ('method_time', '!=', 'year'), ('state', 'not in', ['open', 'close'])]}"
|
||||
attrs="{'invisible':[('state', 'not in', ['open', 'close'])]}"
|
||||
help="Asset removal."
|
||||
/>
|
||||
<field
|
||||
|
Loading…
Reference in New Issue
Block a user