Skip to content

Commit

Permalink
[18.0][MIG] operating_unit: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BT-dlagin committed Dec 6, 2024
1 parent edf8975 commit 0a3e178
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion operating_unit/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"name": "Operating Unit",
"summary": "An operating unit (OU) is an organizational entity part of a "
"company",
"version": "17.0.1.0.0",
"version": "18.0.1.0.0",
"author": "ForgeFlow, "
"Serpent Consulting Services Pvt. Ltd., "
"Odoo Community Association (OCA)",
Expand Down
2 changes: 1 addition & 1 deletion operating_unit/tests/test_operating_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from odoo.exceptions import AccessError
from odoo.tests import tagged
from odoo.tests.common import Form
from odoo.tests import Form

from .common import OperatingUnitCommon

Expand Down
6 changes: 3 additions & 3 deletions operating_unit/view/operating_unit_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
<field name="name">operating.unit.tree</field>
<field name="model">operating.unit</field>
<field name="arch" type="xml">
<tree>
<list>
<field name="code" />
<field name="name" />
<field name="company_id" groups="base.group_multi_company" />
</tree>
</list>
</field>
</record>
<record id="view_operating_unit_search" model="ir.ui.view">
Expand All @@ -39,7 +39,7 @@
<record id="action_operating_unit_tree" model="ir.actions.act_window">
<field name="name">Operating Units</field>
<field name="res_model">operating.unit</field>
<field name="view_mode">tree,form</field>
<field name="view_mode">list,form</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">Click to start a new Operating Unit.</p>
</field>
Expand Down

0 comments on commit 0a3e178

Please sign in to comment.