[11.0] mrp_multi_level:

* fix api.depends fields fro main supplier.
 * fix ordering and missing demo file in manifest.
 * Update README.
 * fix action_view* methods.
 * readd hook to exclude in mrp initialization
 * fix computation of qty available (it was considering several times sub-locations).
 * Remove contraint for outoing and incoming moves to be moved in/outside the company, they can be internal transfers.
 * mrp.moves visible with technical settings.
 * Show product and allow to search by it in mrp.inventory.
This commit is contained in:
Lois Rilo
2018-11-20 10:10:32 +01:00
committed by joan
parent 0ba8be007f
commit e6e1af8da9
14 changed files with 184 additions and 99 deletions

View File

@@ -11,6 +11,7 @@
<group>
<group>
<field name="mrp_area_id"/>
<field name="product_id"/>
<field name="product_mrp_area_id"/>
<field name="date"/>
</group>
@@ -35,7 +36,7 @@
<field name="arch" type="xml">
<tree string="MRP Inventory" create="false">
<field name="mrp_area_id"/>
<field name="product_mrp_area_id"/>
<field name="product_id"/>
<field name="date"/>
<field name="uom_id" groups="product.group_uom"/>
<field name="initial_on_hand_qty"/>
@@ -84,7 +85,7 @@
<field name="arch" type="xml">
<search string="MRP Inventory">
<group name="select" expand="0" string="Selection...">
<field name="product_mrp_area_id"/>
<field name="product_id"/>
<field name="mrp_area_id"/>
</group>
<separator/>

View File

@@ -59,6 +59,28 @@
<field name="main_supplierinfo_id"/>
</group>
</group>
<group string="MRP moves" name="mrp_moves" groups="base.group_no_one">
<field name="mrp_move_ids" nolabel="1">
<tree>
<field name="mrp_action_date"/>
<field name="mrp_date"/>
<field name="current_date"/>
<field name="mrp_origin"/>
<field name="state"/>
<field name="mrp_order_number"/>
<field name="parent_product_id"/>
<field name="name"/>
<field name="mrp_qty"/>
<field name="current_qty"/>
<field name="running_availability"/>
<field name="mrp_minimum_stock" />
<field name="mrp_action"/>
<field name="mrp_type"/>
<field name="mrp_move_up_ids"/>
<field name="mrp_processed"/>
</tree>
</field>
</group>
</sheet>
</form>
</field>
@@ -70,10 +92,8 @@
<field name="type">search</field>
<field name="arch" type="xml">
<search string="Product MRP Area parameters">
<group expand="0" string="Selection...">
<field name="product_id" select='1'/>
<field name="mrp_area_id"/>
</group>
<field name="product_id"/>
<field name="mrp_area_id"/>
<separator/>
</search>
</field>