Add custom view for incoming moves of supplier shipment

It may requires more customization than other views because it is an operation
that depends on the supplier.

issue7020
review42961002
This commit is contained in:
Cédric Krier committed 2017-12-26 17:34:05 +01:00
1 parent d7a09ace57
commit f9606ac73f
3 files changed
+27 -1

No files matched your search

+7
View File
@@ -22,6 +22,13 @@ this repository contains the full copyright notices and license terms. -->
<field name="name">move_tree_simple</field>
</record>
<record model="ir.ui.view" id="move_view_list_shipment_in">
<field name="model">stock.move</field>
<field name="type">tree</field>
<field name="priority" eval="20"/>
<field name="name">move_list_shipment_in</field>
</record>
<record model="ir.action.act_window" id="act_move_form">
<field name="name">Moves</field>
<field name="res_model">stock.move</field>
+18
View File
@@ -0,0 +1,18 @@
<?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. -->
<tree>
<field name="shipment"/>
<field name="product"/>
<field name="from_location"/>
<field name="to_location"/>
<field name="quantity"/>
<field name="uom"/>
<field name="planned_date"/>
<field name="effective_date"/>
<field name="state"/>
<button name="cancel" string="Cancel"/>
<button name="draft" string="Reset to Draft"/>
<button name="do" string="Do"/>
<field name="assignation_required" tree_invisible="1"/>
</tree>
+2 -1
View File
@@ -20,7 +20,8 @@ this repository contains the full copyright notices and license terms. -->
<field name="warehouse"/>
<notebook colspan="6">
<page string="Incoming Moves" id="incoming_moves">
<field name="incoming_moves" colspan="4"/>
<field name="incoming_moves" colspan="4"
view_ids="stock.move_view_list_shipment_in"/>
</page>
<page string="Inventory Moves" id="inventory_moves">
<field name="inventory_moves" colspan="4"/>