TIP: You can type at any time to perform a new search.
Confirm/Alert pop-up before saving
web_create_write_confirm · OCA/web
Security findings
Migration considerations
view_popup_message_form— For a target of Odoo 17.0+: view 'view_popup_message_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · sourceview_popup_message_tree— View 'view_popup_message_tree' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/web · module folder · Try on Runboat
- Module version
- 1.2.0
- Category
- Tools
- Folder size
- 0.05 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/web
- Last tracking update
- 2026-08-07 07:47:28
- Authors
- Odoo Community Association (OCA), Smile
- Maintainers
- Odoo Community Association (OCA), Smile
- Committers
- Weblate, OCA-git-bot, oca-ci, Alessandro Uffreduzzi, Ilyas
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Code Analysis
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
assets_backend_extension |
assets_backend_extension | ir.ui.view | qweb | Inherits web.assets_backend |
view_popup_message_form |
view.popup.message.form | popup.message | form | New |
view_popup_message_tree |
view.popup.message.tree | popup.message | tree | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (0)
No new fields.
Public methods (2)-
get_popup_message_info(self, values=False)Retrieve popup messages' data. - In create self is empty - In write self is not empty contains current ID :param values: - In create dictionary contains all recording information self is False - In write we find only values changed :type values: dict :return: return dict object popup.message (self.env['popup.message'].read()) -
process_popup_message(self, values=False)This function gives us the possibility to execute a specific treatment after the confirmation of the message - In create self is empty - In write self is not empty contains current ID :param values : a list of dictionaries: {'name': field, 'value': value of field} :type dictionary list :return boolean
New fields (8)
-
activeBooleandefault=Truestring='Active' -
field_idsMany2many → ir.model.fieldscomodel_name='ir.model.fields'required=Truestring='Fields' -
field_nameCharcompute='_compute_field_name' -
messageTextrequired=Truestring='Message'translate=True -
modelCharrelated='model_id.model' -
model_idMany2one → ir.modelcomodel_name='ir.model'ondelete='cascade'required=Truestring='Model' -
popup_typeSelectiondefault='confirm'required=Trueselection=[('confirm', 'Confirmation'), ('alert', 'Alert')]string='Type' -
titleCharstring='Title'translate=True
No public methods.