[FIX] account_asset: compute depreciation board
From af61494
Allow to compute the depreciation when the asset is in state: draft
This commit is contained in:
parent
db699e86b4
commit
7f05692cb9
|
@ -161,7 +161,7 @@
|
||||||
</group>
|
</group>
|
||||||
</form>
|
</form>
|
||||||
</field>
|
</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>
|
||||||
<page string="History">
|
<page string="History">
|
||||||
<field name="account_move_line_ids" readonly="1"/>
|
<field name="account_move_line_ids" readonly="1"/>
|
||||||
|
|
Loading…
Reference in New Issue