| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/social |
| GIT | |
| GIT | https://github.com/OCA/social.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/social/tree/15.0/attachment_mimetype_restriction |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Social |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Quartile |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Quartile |
| COMMITTERS | |
| COMMITTERS | OCA-git-bot, oca-ci, Aungkokolin1997 |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/social |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:46:40 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - base - base_setup - web - bus - web_tour |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form |
res.config.settings.view.form.inherit.attachment_mimetype | res.config.settings | xpath | Inherits mail.res_config_settings_view_form |
view_model_form_inherit_attachment_mimetype |
ir.model.form.inherit.attachment.mimetype | ir.model | xpath | Inherits base.view_model_form |
No new fields.
Public methods (2)create(self, vals_list)
write(self, vals)
attachment_allowed_mimetypes
Char
help="Comma-separated list of allowed MIME types for attachments on this model. Leave empty to use company's global configuration. Example: image/png,application/pdf. This configuration applies globally to all companies."
string='Allowed Attachment Types'
No public methods.
No new fields.
Public methods (0)No public methods.
attachment_allowed_mimetypes
Char
string='Allowed Attachment Types'
No public methods.
attachment_allowed_mimetypes
Char
readonly=False
related='company_id.attachment_allowed_mimetypes'
string='Allowed Attachment Types'
No public methods.