changeset 0d10dd7a1206 in modules/stock:default
details: https://hg.tryton.org/modules/stock?cmd=changeset&node=0d10dd7a1206
description:
        Add icons to inventory buttons and improve quantity label

        issue11011
        review379731002
diffstat:

 inventory.py            |  2 +-
 view/inventory_form.xml |  4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r bea701b3cac5 -r 0d10dd7a1206 inventory.py
--- a/inventory.py      Wed Dec 29 12:25:33 2021 +0100
+++ b/inventory.py      Wed Dec 29 12:42:04 2021 +0100
@@ -343,7 +343,7 @@
         },
         help="The quantity the system calculated should be in the location.")
     quantity = fields.Float(
-        "Quantity", digits='uom', states=_states, depends=_depends,
+        "Actual Quantity", digits='uom', states=_states, depends=_depends,
         help="The actual quantity found in the location.")
     moves = fields.One2Many('stock.move', 'origin', 'Moves', readonly=True)
     inventory = fields.Many2One('stock.inventory', 'Inventory', required=True,
diff -r bea701b3cac5 -r 0d10dd7a1206 view/inventory_form.xml
--- a/view/inventory_form.xml   Wed Dec 29 12:25:33 2021 +0100
+++ b/view/inventory_form.xml   Wed Dec 29 12:42:04 2021 +0100
@@ -21,8 +21,8 @@
     <field name="state"/>
     <group colspan="2" col="-1" id="buttons">
         <button name="cancel" icon="tryton-cancel"/>
-        <button name="complete_lines"/>
-        <button name="count"/>
+        <button name="complete_lines" icon="tryton-add"/>
+        <button name="count" icon="tryton-launch"/>
         <button name="confirm" icon="tryton-ok"/>
     </group>
 </form>

Reply via email to