mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[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:
@@ -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/>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user