Skip to content

Commit

Permalink
[MIG] maintenance_stock: Migration to 14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Reyes4711-S73 committed Jul 6, 2023
1 parent d9982de commit f20543b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion maintenance_stock/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"summary": "Links maintenance requests to stock",
"author": "Odoo Community Association (OCA), Solvos",
"license": "AGPL-3",
"version": "13.0.1.0.0",
"version": "14.0.1.0.0",
"category": "Warehouse",
"website": "https://github.com/OCA/maintenance",
"depends": ["base_maintenance", "stock"],
Expand Down
2 changes: 1 addition & 1 deletion maintenance_stock/views/maintenance_request_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<field name="inherit_id" ref="maintenance.hr_equipment_request_view_search" />
<field name="groups_id" eval="[(4, ref('stock.group_stock_user'))]" />
<field name="arch" type="xml">
<xpath expr="//filter[@name='top_priority']" position="after">
<xpath expr="//filter[@name='high_priority']" position="after">
<separator />
<filter
string="Allow Consumptions"
Expand Down
1 change: 0 additions & 1 deletion maintenance_stock/views/stock_move_line_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
<field name="name">Product Moves</field>
<field name="res_model">stock.move.line</field>
<field name="type">ir.actions.act_window</field>
<field name="view_type">form</field>
<field name="view_mode">tree,kanban,pivot,form</field>
<field name="view_id" ref="stock.view_move_line_tree" />
<field name="domain">[('maintenance_request_id', '!=', False)]</field>
Expand Down
3 changes: 1 addition & 2 deletions maintenance_stock/views/stock_move_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,11 @@
</xpath>
</field>
</record>

<record id="stock_move_action" model="ir.actions.act_window">
<field name="name">Stock Moves</field>
<field name="res_model">stock.move</field>
<field name="type">ir.actions.act_window</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="view_id" ref="stock.view_move_tree" />
<field name="search_view_id" ref="stock.view_move_search" />
<field name="domain">[('maintenance_request_id', '!=', False)]</field>
Expand Down
2 changes: 1 addition & 1 deletion maintenance_stock/views/stock_picking_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.view_picking_internal_search" />
<field name="arch" type="xml">
<xpath expr="//field[@name='group_id']" position="after">
<xpath expr="//field[@name='picking_type_id']" position="after">
<field name="maintenance_equipment_id" />
<field name="maintenance_request_id" />
</xpath>
Expand Down

0 comments on commit f20543b

Please sign in to comment.