[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:
Goffin Simon 2016-03-17 14:38:42 +01:00
parent 21beef4b19
commit af61494667
1 changed files with 1 additions and 1 deletions

View File

@ -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"/>