[FIX] mrp_attachment_mgmt: Change to the correct inherit view

TT43261
This commit is contained in:
Víctor Martínez
2023-05-11 08:37:14 +02:00
parent 9d46476671
commit 8604c84c4e

View File

@@ -3,7 +3,7 @@
<record id="mrp_bom_see_attachments_product_template_form_view" model="ir.ui.view"> <record id="mrp_bom_see_attachments_product_template_form_view" model="ir.ui.view">
<field name="name">mrp.bom.attachments.product.template.form.view</field> <field name="name">mrp.bom.attachments.product.template.form.view</field>
<field name="model">product.template</field> <field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_only_form_view" /> <field name="inherit_id" ref="mrp.product_template_form_view_bom_button" />
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath expr="///button[@name='action_used_in_bom']" position="after"> <xpath expr="///button[@name='action_used_in_bom']" position="after">
<button <button
@@ -20,7 +20,7 @@
<record id="mrp_bom_see_attachments_product_product_form_view" model="ir.ui.view"> <record id="mrp_bom_see_attachments_product_product_form_view" model="ir.ui.view">
<field name="name">mrp.bom.attachments.product.product.form.view</field> <field name="name">mrp.bom.attachments.product.product.form.view</field>
<field name="model">product.product</field> <field name="model">product.product</field>
<field name="inherit_id" ref="product.product_normal_form_view" /> <field name="inherit_id" ref="mrp.product_product_form_view_bom_button" />
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath expr="///button[@name='action_used_in_bom']" position="after"> <xpath expr="///button[@name='action_used_in_bom']" position="after">
<button <button