Cosmetic changes

This commit is contained in:
Akim Juillerat
2018-10-01 15:50:21 +02:00
parent d8d7778c80
commit 763b0720b0
3 changed files with 8 additions and 11 deletions

View File

@@ -17,8 +17,8 @@
attrs="{'invisible': [('type', '=', 'view')]}"/>
</header>
<sheet>
<div class="oe_button_box oe_right">
<button name="open_entries" string="Journal Entries" type="object" class="oe_inline"
<div class="oe_button_box">
<button name="open_entries" string="Journal Entries" type="object" class="oe_stat_button" icon="fa-bars"
attrs="{'invisible': [('type', '=', 'view')]}"/>
</div>
<div class="oe_title">
@@ -84,13 +84,13 @@
</group>
</page>
<page string="Depreciation Board">
<header>
<div>
<button type="object" name="compute_depreciation_board"
string="Compute" icon="fa-gears" colspan="2"
string=" Compute" icon="fa-gears"
attrs="{'invisible': [('state', 'in', ['close', 'removed'])]}"/>
</header>
</div>
<field name="depreciation_line_ids" mode="tree" options="{'reload_on_button': true}">
<tree string="Asset Lines" colors="blue:(move_check == False) and (init_entry == False)" create="false">
<tree string="Asset Lines" decoration-info="(move_check == False) and (init_entry == False)" create="false">
<field name="type"/>
<field name="line_date"/>
<field name="depreciated_value" readonly="1"/>
@@ -172,7 +172,7 @@
<field name="name">account.asset.tree</field>
<field name="model">account.asset</field>
<field name="arch" type="xml">
<tree string="Assets" colors="blue:(type == 'view')">
<tree string="Assets" decoration-info="type == 'view'">
<field name="name"/>
<field name="type" invisible="1"/>
<field name="code"/>
@@ -224,7 +224,7 @@
<field name="model">account.asset</field>
<field name="field_parent">child_ids</field>
<field name="arch" type="xml">
<tree string="Assets" colors="blue:(type == 'view')">
<tree string="Assets" decoration-info="type == 'view'">
<field name="name"/>
<field name="type" invisible="1"/>
<field name="code"/>

View File

@@ -11,7 +11,6 @@
</group>
<footer>
<button string="Compute" name="asset_compute" type="object" class="oe_highlight"/>
or
<button string="Cancel" class="oe_link" special="cancel"/>
</footer>
</form>
@@ -28,7 +27,6 @@
<field name="note" colspan="4" nolabel="1" width="850" height="400"/>
<footer>
<button string="View Asset Moves" name="view_asset_moves" type="object" class="oe_highlight"/>
or
<button string="Cancel" class="oe_link" special="cancel"/>
</footer>
</form>

View File

@@ -24,7 +24,6 @@
<separator colspan="4"/>
<footer>
<button string="Generate Removal entries" name="remove" type="object" class="oe_highlight"/>
or
<button string="Cancel" class="oe_link" special="cancel"/>
</footer>
</form>