Skip to content

Commit

Permalink
[MIG] mrp_planned_order_matrix: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JoanSForgeFlow committed Nov 29, 2022
1 parent 5483f28 commit 18c698e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 24 deletions.
2 changes: 1 addition & 1 deletion mrp_planned_order_matrix/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "MRP Planned Order Matrix",
"summary": "Allows to create fixed planned orders on a grid view.",
"version": "15.0.1.1.0",
"version": "16.0.1.0.0",
"development_status": "Production/Stable",
"author": "ForgeFlow, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/manufacture",
Expand Down
42 changes: 19 additions & 23 deletions mrp_planned_order_matrix/wizards/mrp_planned_order_wizard_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,15 @@
/>
</group>
</group>
<div />
<group name="products" string="Products">
<field name="product_mrp_area_ids" nolabel="1">
<group name="products" string="Products"/>
<field name="product_mrp_area_ids" nolabel="1">
<tree>
<field name="product_id" />
<field name="mrp_area_id" />
<field name="location_id" />
<field name="supply_method" />
</tree>
</field>
</group>
<footer>
<button
name="create_sheet"
Expand Down Expand Up @@ -67,25 +65,23 @@
/>
</group>
</group>
<div />
<group name="mps_quantity" string="MPS quantity">
<field
name="line_ids"
nolabel="1"
widget="x2many_2d_matrix"
field_x_axis="value_x"
field_y_axis="value_y"
field_value="product_qty"
x_axis_clickable="0"
y_axis_clickable="0"
>
<tree editable="bottom">
<field name="value_x" />
<field name="value_y" />
<field name="product_qty" />
</tree>
</field>
</group>
<group name="mps_quantity" string="MPS quantity"/>
<field
name="line_ids"
nolabel="1"
widget="x2many_2d_matrix"
field_x_axis="value_x"
field_y_axis="value_y"
field_value="product_qty"
x_axis_clickable="0"
y_axis_clickable="0"
>
<tree editable="bottom">
<field name="value_x" />
<field name="value_y" />
<field name="product_qty" />
</tree>
</field>
<footer>
<button
name="button_validate"
Expand Down

0 comments on commit 18c698e

Please sign in to comment.