Files
Odoo-18.0-20251222/account_asset_management/wizard/account_asset_remove.xml
tocmo0nlord adbe430761
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
tests / Detect unreleased dependencies (push) Has been cancelled
tests / test with OCB (push) Has been cancelled
tests / test with Odoo (push) Has been cancelled
Initial commit: Odoo 18.0-20251222 extra-addons
2026-03-13 20:43:25 +00:00

59 lines
2.5 KiB
XML
Executable File

<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="account_asset_remove_view_form" model="ir.ui.view">
<field name="name">account.asset.remove.form</field>
<field name="model">account.asset.remove</field>
<field name="arch" type="xml">
<form>
<group>
<group>
<field name="company_id" invisible="1" />
<field name="company_id" groups="base.group_multi_company" />
<field name="date_remove" />
<field name="force_date" />
<field name="sale_value" />
<field
name="account_sale_id"
invisible="sale_value == 0.0"
required="sale_value > 0.0"
/>
</group>
<group>
<field
name="account_plus_value_id"
invisible="posting_regime == 'residual_value'"
required="posting_regime != 'residual_value'"
/>
<field
name="account_min_value_id"
invisible="posting_regime == 'residual_value'"
required="posting_regime != 'residual_value'"
/>
<field
name="account_residual_value_id"
invisible="posting_regime != 'residual_value'"
required="posting_regime == 'residual_value'"
/>
</group>
<group>
<field name="posting_regime" />
</group>
<separator string="Notes" colspan="4" />
<field name="note" nolabel="1" colspan="4" />
</group>
<newline />
<separator colspan="4" />
<footer>
<button
string="Generate Removal entries"
name="remove"
type="object"
class="oe_highlight"
/>
<button string="Cancel" class="oe_link" special="cancel" />
</footer>
</form>
</field>
</record>
</odoo>