Se ha denunciado esta presentación.
Se está descargando tu SlideShare. ×

What are Wizards - Defining and Launching in Odoo 15Wizards - Defining and Launching in Odoo 15 .pptx

Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Cargando en…3
×

Eche un vistazo a continuación

1 de 12 Anuncio

What are Wizards - Defining and Launching in Odoo 15Wizards - Defining and Launching in Odoo 15 .pptx

Descargar para leer sin conexión

This slide explains the Wizards: Defining and Launching in Odoo. Wizards describe interactive sessions with the user (or dialog boxes) through dynamic forms. A wizard is simply a model that extends the class Transient Model instead of Model. Wizard records are not meant to be persistent; they are automatically deleted from the database after a certain time. This is why they are called transientWizard models do not require explicit access rights: users have all permissions on wizard records. Wizard records may refer to regular records or wizard records through many2one fields, but regular records cannot refer to wizard records through a many2one field.

This slide explains the Wizards: Defining and Launching in Odoo. Wizards describe interactive sessions with the user (or dialog boxes) through dynamic forms. A wizard is simply a model that extends the class Transient Model instead of Model. Wizard records are not meant to be persistent; they are automatically deleted from the database after a certain time. This is why they are called transientWizard models do not require explicit access rights: users have all permissions on wizard records. Wizard records may refer to regular records or wizard records through many2one fields, but regular records cannot refer to wizard records through a many2one field.

Anuncio
Anuncio

Más Contenido Relacionado

Similares a What are Wizards - Defining and Launching in Odoo 15Wizards - Defining and Launching in Odoo 15 .pptx (20)

Más de Celine George (20)

Anuncio

Más reciente (20)

What are Wizards - Defining and Launching in Odoo 15Wizards - Defining and Launching in Odoo 15 .pptx

  1. 1. Wizards - Defining and Launching in Odoo 15 www.cybrosys.com
  2. 2. INTRODUCTION  This slide explains about the Wizards: Defining and Launching in Odoo. Wizards describe interactive sessions with the user (or dialog boxes) through dynamic forms.  A wizard is simply a model that extends the class Transient Model instead of Model. Wizard records are not meant to be persistent; they are automatically deleted from the database after a certain time. This is why they are called transient.  Wizard models do not require explicit access rights: users have all permissions on wizard records.  Wizard records may refer to regular records or wizard records through many2one fields, but regular records cannot refer to wizard records through a many2one field.
  3. 3. Transient models:  It’s based on models. TransientModel class. Data stored in the database is temporary in this class. It periodically clears the data from the database table.  Data in the wizard requires only temporary storage so Odoo uses a transient model, where data is stored temporarily.
  4. 4. Characteristics of the transient model:  Records in the wizard require only temporary storage, so they are deleted after some time from the database.  Users have all permissions on wizard records, they don’t require explicit access rights.  Records in the wizard can refer through many2one fields or to regular records, but regular records cannot refer through many2one fields or to wizard records.
  5. 5. Define a wizard
  6. 6. Define the View
  7. 7. Define an Action
  8. 8.  res_model: Model of the wizard that has to appear.  view_id: xml view of the wizard.  view_mode: wizard appears in the form view so it is form.
  9. 9. UI View of the wizard
  10. 10. For More Details Check our company website for related blogs and Odoo book. Odoo Book V15 Check our YouTube channel for functional and technical videos in Odoo. Wizards - Defining and Launching in Odoo 15
  11. 11. Thank You

×