[IMP] sale_product_matrix: correct name for views file

Part-of: odoo/odoo#85001
This commit is contained in:
Victor Feyens
2022-02-25 11:40:20 +00:00
parent d6131fb4d5
commit 267e5d694c
3 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
'depends': ['sale', 'product_matrix', 'sale_product_configurator'],
'data': [
'views/product_template_views.xml',
'views/sale_views.xml',
'views/sale_order_views.xml',
'report/sale_report_templates.xml',
],
'demo': [
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record id="view_order_form_with_variant_grid" model="ir.ui.view">
<field name="name">sale.order.line.variant.grid</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<field name="partner_id" position="after">
<!-- Technical non stored fields for Order Grid Entry -->
<field name="grid" invisible="1"/>
<field name="grid_product_tmpl_id" invisible="1"/>
<field name="grid_update" invisible="1"/>
</field>
<xpath expr="//notebook//group[@name='sales_person']" position="inside">
<field name="report_grids" groups="base.group_no_one"/>
</xpath>
</field>
</record>
</odoo>
@@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record id="view_order_form_with_variant_grid" model="ir.ui.view">
<field name="name">sale.order.line.variant.grid</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<field name="partner_id" position="after">
<!-- Technical non stored fields for Order Grid Entry -->
<field name="grid" invisible="1"/>
<field name="grid_product_tmpl_id" invisible="1"/>
<field name="grid_update" invisible="1"/>
</field>
<xpath expr="//notebook//group[@name='sales_person']" position="inside">
<field name="report_grids" groups="base.group_no_one"/>
</xpath>
</field>
</record>
</odoo>