Skip to content

Commit

Permalink
[MIG] fieldservice_stock_request: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EdgarRetes committed Oct 21, 2024
1 parent 31b5089 commit 1e4ef23
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion fieldservice_stock_request/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "Field Service - Stock Request",
"summary": "Integrate Stock Requests with Field Service Orders",
"version": "17.0.1.0.0",
"version": "18.0.1.0.0",
"category": "Field Service",
"author": "Open Source Integrators, "
"Brian McMaster, "
Expand Down
4 changes: 2 additions & 2 deletions fieldservice_stock_request/views/fsm_order.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</xpath>
<field name="move_ids" position="before">
<field name="stock_request_ids" nolabel="1">
<tree editable="bottom">
<list editable="bottom">
<field name="name" readonly="1" />
<field name="product_id" />
<field name="order_id" force_save="1" />
Expand Down Expand Up @@ -63,7 +63,7 @@
<field name="procurement_group_id" column_invisible="1" />
<field name="company_id" column_invisible="1" />
<field name="state" />
</tree>
</list>
</field>
</field>
</field>
Expand Down
4 changes: 2 additions & 2 deletions fieldservice_stock_request/views/stock_request.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
</field>
</field>
</record>
<record id="stock_request_fsm_order_tree" model="ir.ui.view">
<record id="stock_request_fsm_order_list" model="ir.ui.view">
<field name="model">stock.request</field>
<field name="inherit_id" ref="stock_request.view_stock_request_tree" />
<field name="inherit_id" ref="stock_request.view_stock_request_list" />
<field name="arch" type="xml">
<field name="product_id" position="after">
<field name="fsm_order_id" />
Expand Down
6 changes: 3 additions & 3 deletions fieldservice_stock_request/views/stock_request_order.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
'default_state': state}</attribute>
</field>
<xpath
expr="//field[@name='stock_request_ids']/tree/field[@name='product_id']"
expr="//field[@name='stock_request_ids']/list/field[@name='product_id']"
position="after"
>
<field name="fsm_order_id" column_invisible="1" />
</xpath>
</field>
</record>
<record id="stock_request_order_fsm_order_tree" model="ir.ui.view">
<record id="stock_request_order_fsm_order_list" model="ir.ui.view">
<field name="model">stock.request.order</field>
<field name="inherit_id" ref="stock_request.stock_request_order_tree" />
<field name="inherit_id" ref="stock_request.stock_request_order_list" />
<field name="arch" type="xml">
<field name="name" position="after">
<field name="fsm_order_id" />
Expand Down

0 comments on commit 1e4ef23

Please sign in to comment.