Add changes to "sale_line_tree_no_editable" view.

Task #156769
This commit is contained in:
Juanjo Garcia 2023-05-05 10:27:49 +02:00
parent 118d06d057
commit 1237210fa4
2 changed files with 13 additions and 0 deletions

View File

@ -8,5 +8,10 @@ The COPYRIGHT file at the top level of this repository contains the full copyrig
<field name="inherit" ref="sale_pos.sale_pos_view_form"/>
<field name="name">sale_pos_form</field>
</record>
<record model="ir.ui.view" id="sale_line_view_tree_no_editable">
<field name="model">sale.line</field>
<field name="inherit" ref="sale_pos.sale_line_view_tree_no_editable"/>
<field name="name">sale_line_tree_no_editable</field>
</record>
</data>
</tryton>

View File

@ -0,0 +1,8 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<data>
<xpath expr="/tree/field[@name='product']" position="replace_attributes">
<field name="product" view_ids="sale.product_view_list_sale_line" expand="3"/>
</xpath>
</data>