Use simplified view for moves list on shipments
issue9459 review290501002
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
* Use simplified view for moves list on shipments
|
||||
* Add a relate from product to its moves
|
||||
* Factorize the cost price of move for cost computation
|
||||
* Fill grouping values when assigning move
|
||||
|
||||
@@ -29,6 +29,13 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="name">move_list_shipment_in</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="move_view_list_shipment">
|
||||
<field name="model">stock.move</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="priority" eval="20"/>
|
||||
<field name="name">move_list_shipment</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.action.act_window" id="act_move_form">
|
||||
<field name="name">Moves</field>
|
||||
<field name="res_model">stock.move</field>
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
<?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" expand="2"/>
|
||||
<field name="from_location" expand="1"/>
|
||||
<field name="product" expand="2"/>
|
||||
<field name="quantity"/>
|
||||
<field name="uom"/>
|
||||
<field name="to_location" expand="1"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
@@ -3,15 +3,10 @@
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="shipment" expand="2"/>
|
||||
<field name="product" expand="2"/>
|
||||
<field name="from_location" expand="1"/>
|
||||
<field name="to_location" expand="1"/>
|
||||
<field name="product" expand="2"/>
|
||||
<field name="quantity"/>
|
||||
<field name="uom"/>
|
||||
<field name="planned_date"/>
|
||||
<field name="effective_date"/>
|
||||
<field name="to_location" expand="1"/>
|
||||
<field name="state"/>
|
||||
<button name="cancel" string="Cancel"/>
|
||||
<button name="draft" string="Reset to Draft"/>
|
||||
<button name="do" string="Do"/>
|
||||
</tree>
|
||||
|
||||
@@ -24,7 +24,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
view_ids="stock.move_view_list_shipment_in"/>
|
||||
</page>
|
||||
<page name="inventory_moves">
|
||||
<field name="inventory_moves" colspan="4"/>
|
||||
<field name="inventory_moves" colspan="4" view_ids="stock.move_view_list_shipment"/>
|
||||
</page>
|
||||
<page string="Other Info" id="other">
|
||||
<label name="received_by"/>
|
||||
|
||||
@@ -20,7 +20,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="effective_date"/>
|
||||
<notebook colspan="4">
|
||||
<page name="moves">
|
||||
<field name="moves" colspan="4"/>
|
||||
<field name="moves" colspan="4" view_ids="stock.move_view_list_shipment"/>
|
||||
</page>
|
||||
<page string="Other Info" id="other">
|
||||
<label name="assigned_by"/>
|
||||
|
||||
@@ -22,13 +22,13 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="company"/>
|
||||
<notebook colspan="4">
|
||||
<page name="moves">
|
||||
<field name="moves" colspan="4"/>
|
||||
<field name="moves" colspan="4" view_ids="stock.move_view_list_shipment"/>
|
||||
</page>
|
||||
<page name="outgoing_moves">
|
||||
<field name="outgoing_moves" colspan="4"/>
|
||||
<field name="outgoing_moves" colspan="4" view_ids="stock.move_view_list_shipment"/>
|
||||
</page>
|
||||
<page name="incoming_moves">
|
||||
<field name="incoming_moves" colspan="4"/>
|
||||
<field name="incoming_moves" colspan="4" view_ids="stock.move_view_list_shipment"/>
|
||||
</page>
|
||||
<page string="Other Info" id="other">
|
||||
<label name="assigned_by"/>
|
||||
|
||||
@@ -20,10 +20,10 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="warehouse"/>
|
||||
<notebook colspan="4">
|
||||
<page name="inventory_moves">
|
||||
<field name="inventory_moves" colspan="4"/>
|
||||
<field name="inventory_moves" colspan="4" view_ids="stock.move_view_list_shipment"/>
|
||||
</page>
|
||||
<page string="Outgoing Moves" id="outgoing_moves">
|
||||
<field name="outgoing_moves" colspan="4"/>
|
||||
<field name="outgoing_moves" colspan="4" view_ids="stock.move_view_list_shipment"/>
|
||||
</page>
|
||||
<page string="Other Info" id="other">
|
||||
<label name="assigned_by"/>
|
||||
|
||||
@@ -20,10 +20,10 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="warehouse"/>
|
||||
<notebook colspan="6">
|
||||
<page name="incoming_moves">
|
||||
<field name="incoming_moves" colspan="4"/>
|
||||
<field name="incoming_moves" colspan="4" view_ids="stock.move_view_list_shipment"/>
|
||||
</page>
|
||||
<page name="inventory_moves">
|
||||
<field name="inventory_moves" colspan="4"/>
|
||||
<field name="inventory_moves" colspan="4" view_ids="stock.move_view_list_shipment"/>
|
||||
</page>
|
||||
<page string="Other Info" id="other">
|
||||
<label name="received_by"/>
|
||||
|
||||
Reference in New Issue
Block a user