Added new move tree view.

This commit refs #26864


(cherry picked from commit a913cd1247)
This commit is contained in:
jm.pardo 2023-05-16 13:46:27 +02:00 committed by Sergio Morillo
parent ae245c9b23
commit e7594afaa9
3 changed files with 29 additions and 1 deletions

View File

@ -950,4 +950,12 @@ msgstr "Unidad de carga"
msgctxt "view:stock.unit_load:"
msgid "Available today"
msgstr "Disponible hoy"
msgstr "Disponible hoy"
msgctxt "view:stock.move:"
msgid "Start Time"
msgstr "Hora inicio"
msgctxt "view:stock.move:"
msgid "End Time"
msgstr "Hora fin"

View File

@ -13,6 +13,11 @@
<field name="inherit" ref="stock.move_view_tree"/>
<field name="name">move_tree</field>
</record>
<record model="ir.ui.view" id="move_qty_view_tree">
<field name="model">stock.move</field>
<field name="type">tree</field>
<field name="name">move_tree_qty</field>
</record>
<!-- ULs by location -->
<record model="ir.action.act_window" id="act_uls_by_locations">

15
view/move_tree_qty.xml Normal file
View File

@ -0,0 +1,15 @@
<?xml version="1.0"?>
<!-- The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. -->
<tree>
<field name="unit_load"/>
<field name="state"/>
<field name="start_date" widget="date"/>
<field name="start_date" widget="time" string="Start Time" />
<field name="end_date" widget="date"/>
<field name="end_date" widget="time" string="End Time" />
<field name="from_location"/>
<field name="to_location"/>
<field name="product"/>
<field name="quantity" sum="Quantity" symbol="uom"/>
</tree>