Add complete and confirm button to inventory list

issue9563
review290881002
This commit is contained in:
Cédric Krier
2020-10-03 23:49:35 +02:00
parent 22512c21ab
commit 75ee4d034c
2 changed files with 15 additions and 0 deletions
+6
View File
@@ -26,5 +26,11 @@ this repository contains the full copyright notices and license terms. -->
<field name="type">form</field>
<field name="name">inventory_create_start_form</field>
</record>
<record model="ir.ui.view" id="inventory_view_list">
<field name="model">stock.inventory</field>
<field name="inherit" ref="stock.inventory_view_tree"/>
<field name="name">inventory_list</field>
</record>
</data>
</tryton>
+9
View File
@@ -0,0 +1,9 @@
<?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="//field[@name='company']" position="after">
<button name="complete_lines" tree_invisible="1"/>
<button name="confirm" tree_invisible="1"/>
</xpath>
</data>