changeset 278d87a40a0f in modules/stock_inventory_location:default
details: 
https://hg.tryton.org/modules/stock_inventory_location?cmd=changeset;node=278d87a40a0f
description:
        Add complete and confirm button to inventory list

        issue9563
        review290881002
diffstat:

 inventory.xml           |  6 ++++++
 view/inventory_list.xml |  9 +++++++++
 2 files changed, 15 insertions(+), 0 deletions(-)

diffs (28 lines):

diff -r 074b8f774486 -r 278d87a40a0f inventory.xml
--- a/inventory.xml     Wed Sep 09 23:28:22 2020 +0200
+++ b/inventory.xml     Sat Oct 03 23:49:35 2020 +0200
@@ -26,5 +26,11 @@
             <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>
diff -r 074b8f774486 -r 278d87a40a0f view/inventory_list.xml
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/view/inventory_list.xml   Sat Oct 03 23:49:35 2020 +0200
@@ -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>

Reply via email to