summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-08-22 15:08:41 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-08-22 15:08:41 +0700
commitb18cc1ec5c6ecb7529f0f87d359f4bb09b5a50f8 (patch)
treea8b0e1adda757f292bc391958f5fc6918ae940c1 /indoteknik_custom/views
parente04b5f23c7ad55353f15699dc1a539506b74d988 (diff)
add feature close fixed asset
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/account_asset_views.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/indoteknik_custom/views/account_asset_views.xml b/indoteknik_custom/views/account_asset_views.xml
new file mode 100644
index 00000000..90c53623
--- /dev/null
+++ b/indoteknik_custom/views/account_asset_views.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<odoo>
+ <data>
+ <record id="account_asset_form_view_inherit" model="ir.ui.view">
+ <field name="name">Account Asset</field>
+ <field name="model">account.asset.asset</field>
+ <field name="inherit_id" ref="base_accounting_kit.view_account_asset_asset_form"/>
+ <field name="arch" type="xml">
+ <button name="set_to_draft" position="after">
+ <button name="action_close_asset"
+ string="Close Asset"
+ type="object"
+ />
+ </button>
+ </field>
+ </record>
+ </data>
+</odoo> \ No newline at end of file