OdooWise

Home Blog

  • 07 Nov, 2025 *

Define the Wizard Model

Create a new model for your wizard in a Python file:

from odoo import models, fields, api

class YourWizard(models.TransientModel):
_name = 'your.module.wizard'
_description = 'Your Custom Wizard'

# Add your wizard fields here
name = fields.Char(string="Name", required=True)

Create the Wizard View

Define the XML view for your wizard in a view file:

<record id="view_your_wizard_form" model="ir.ui.view">
<field name="name">your.module.wizard.form</field>
<field name="model">your.module.wizard</field>
<field name="arch" type="xml">
<form>
<sheet>
<group>
<field name="name"/>
</group>
</sheet>
<foot...

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help