[FIX] account_asset: compute depreciation button
It is not allowed to recompute the depreciations when the asset is confirmed. opw:672203
This commit is contained in:
parent
21beef4b19
commit
af61494667
|
@ -161,7 +161,7 @@
|
|||
</group>
|
||||
</form>
|
||||
</field>
|
||||
<button type="object" name="compute_depreciation_board" string="Compute" icon="terp-stock_format-scientific" colspan="2" attrs="{'invisible':[('state','=','close')]}"/>
|
||||
<button type="object" name="compute_depreciation_board" string="Compute" icon="terp-stock_format-scientific" colspan="2" invisible="1"/>
|
||||
</page>
|
||||
<page string="History">
|
||||
<field name="account_move_line_ids" readonly="1"/>
|
||||
|
|
Loading…
Reference in New Issue