Skip to content

Commit

Permalink
[MIG] base_sequence_option: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericgrall committed Feb 21, 2025
1 parent 87a4f7d commit 877aa25
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion base_sequence_option/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "Base Sequence Option",
"summary": "Alternative sequence options for specific models",
"version": "16.0.1.0.1",
"version": "18.0.1.0.0",
"author": "Ecosoft, Odoo Community Association (OCA)",
"maintainers": ["kittiu"],
"development_status": "Alpha",
Expand Down
18 changes: 9 additions & 9 deletions base_sequence_option/views/sequence_option_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). -->
<odoo>
<record id="view_ir_sequence_option_tree" model="ir.ui.view">
<field name="name">view.ir.sequence.option.tree</field>
<field name="name">view.ir.sequence.option.list</field>
<field name="model">ir.sequence.option</field>
<field name="arch" type="xml">
<tree create="1" delete="1">
<list create="1" delete="1">
<field name="name" />
<field name="model" />
<field name="use_sequence_option" />
<field name="company_id" groups="base.group_multi_company" />
</tree>
</list>
</field>
</record>

<record id="view_ir_sequence_option_line_tree" model="ir.ui.view">
<field name="name">view.ir.sequence.option.line.tree</field>
<field name="name">view.ir.sequence.option.line.list</field>
<field name="model">ir.sequence.option.line</field>
<field name="arch" type="xml">
<tree>
<list>
<field name="name" />
<field name="sequence_id" />
<field name="prefix" />
<field name="suffix" />
<field name="implementation" />
</tree>
</list>
</field>
</record>

Expand All @@ -47,7 +47,7 @@
</group>
</group>
<field name="option_ids">
<tree>
<list>
<field name="name" />
<field name="model" invisible="1" />
<field name="filter_domain" string="Matching Domain" />
Expand All @@ -56,7 +56,7 @@
<field name="suffix" />
<field name="implementation" />
<field name="company_id" invisible="1" />
</tree>
</list>
<form>
<group>
<group>
Expand All @@ -82,7 +82,7 @@
<record id="action_ir_sequence_option" model="ir.actions.act_window">
<field name="name">Manage Sequence Options</field>
<field name="res_model">ir.sequence.option</field>
<field name="view_mode">tree,form</field>
<field name="view_mode">list,form</field>
<field name="view_id" ref="view_ir_sequence_option_tree" />
</record>

Expand Down

0 comments on commit 877aa25

Please sign in to comment.