Skip to content

Commit

Permalink
[MIG] fieldservice_size: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EdgarRetes committed Nov 15, 2024
1 parent 57f996e commit 0150ba4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion fieldservice_size/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "Field Service Sizes",
"summary": "Manage Sizes for Field Service Locations and Orders",
"version": "17.0.1.0.0",
"version": "18.0.1.0.0",
"category": "Field Service",
"author": "Brian McMaster, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/field-service",
Expand Down
4 changes: 2 additions & 2 deletions fieldservice_size/views/fsm_location.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
<page id="others-page" position="before">
<page string="Sizes">
<field name="location_size_ids" nolabel="1">
<tree editable="bottom">
<list editable="bottom">
<field name="size_id" />
<field name="quantity" />
<field name="uom_id" />
<field name="type_id" />
</tree>
</list>
</field>
</page>
</page>
Expand Down
10 changes: 5 additions & 5 deletions fieldservice_size/views/fsm_size.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<odoo>

<!-- Field Service Size -->
<record id="fsm_size_tree_view" model="ir.ui.view">
<field name="name">fsm.size.tree</field>
<record id="fsm_size_list_view" model="ir.ui.view">
<field name="name">fsm.size.list</field>
<field name="model">fsm.size</field>
<field name="arch" type="xml">
<tree>
<list>
<field name="name" />
<field name="type_id" />
<field name="parent_id" />
</tree>
</list>
</field>
</record>

Expand Down Expand Up @@ -42,7 +42,7 @@
<record id="action_fsm_size" model="ir.actions.act_window">
<field name="name">Field Service Sizes</field>
<field name="res_model">fsm.size</field>
<field name="view_mode">tree,form</field>
<field name="view_mode">list,form</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
Configure a Field Service Size here.
Expand Down

0 comments on commit 0150ba4

Please sign in to comment.