Skip to content
Snippets Groups Projects
Commit 7f05692c authored by Goffin Simon's avatar Goffin Simon
Browse files

[FIX] account_asset: compute depreciation board

From af614946
Allow to compute the depreciation when the asset is in state: draft
parent db699e86
No related branches found
No related tags found
No related merge requests found
......@@ -161,7 +161,7 @@
</group>
</form>
</field>
<button type="object" name="compute_depreciation_board" string="Compute" icon="terp-stock_format-scientific" colspan="2" invisible="1"/>
<button type="object" name="compute_depreciation_board" string="Compute" icon="terp-stock_format-scientific" colspan="2" attrs="{'invisible':[('state','in',('close','open'))]}"/>
</page>
<page string="History">
<field name="account_move_line_ids" readonly="1"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment