summaryrefslogtreecommitdiff
path: root/base_accounting_kit/views/product_views.xml
diff options
context:
space:
mode:
Diffstat (limited to 'base_accounting_kit/views/product_views.xml')
-rw-r--r--base_accounting_kit/views/product_views.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/base_accounting_kit/views/product_views.xml b/base_accounting_kit/views/product_views.xml
new file mode 100644
index 0000000..d58c8ae
--- /dev/null
+++ b/base_accounting_kit/views/product_views.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+ <!-- Product Template -->
+ <record id="view_product_template_form_inherit" model="ir.ui.view">
+ <field name="name">Product Template (form)</field>
+ <field name="model">product.template</field>
+ <field name="inherit_id" ref="account.product_template_form_view"/>
+ <field name="arch" type="xml">
+ <field name="property_account_expense_id" position="after">
+ <field name="asset_category_id"
+ domain="[('type', '=', 'purchase')]"
+ context="{'default_type': 'purchase'}"
+ groups="account.group_account_user"/>
+ </field>
+ </field>
+ </record>
+</odoo> \ No newline at end of file