TIP: You can type at any time to perform a new search.
Web warning on save
web_warning_on_save · OCA/web
Security findings
Migration considerations
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. migration-openerp-manifest · 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.0
- Category
- Uncategorized
- Folder size
- 0.01 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://www.camptocamp.com
- Last tracking update
- 2026-08-07 06:56:10
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- GitHub, Stéphane Bidoul (ACSONE), Pierre Verkest, OCA Transbot, Damien Crier
- Odoo dependencies
-
odoo/odoo:- web
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module was written to extend the functionality of saving a record in the web interface. .. warning:: In no way this module stops the save of the record. You must consider this as a warning displayed to the user AFTER save completed. If you don't want OpenERP to save the record, you should use constraints. Usage ===== To use this module, you need to: * write a method called 'check_warning_on_save' which will make some checks and return a string example : def check_warning_on_save(self, cr, uid, id, context=None): ''' @param: int: record_id @return: string: message that should be displayed to the user ''' res = "" record = self.browse(cr, uid, id, context=context) # ... make some checks return res
Code Analysis
Views touched (0)
No views found for this module.
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (0)
No models found for this module.