Repository
OCA/social · module folder · Try on Runboat
Module version
1.0.0
Category
Social
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/social
Last tracking update
2026-08-07 07:57:08
Authors
Odoo Community Association (OCA), Quartile
Maintainers
Odoo Community Association (OCA), Quartile
Committers
Aungkokolin1997, OCA-git-bot, oca-ci
Odoo dependencies
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit.attachment_mimetype res.config.settings form Inherits mail.res_config_settings_view_form
view_model_form_inherit_attachment_mimetype ir.model.form.inherit.attachment.mimetype ir.model form Inherits base.view_model_form
HTTP endpoints (2)
Route(s)HandlerAuthTypeMethodsFlags
(inherited route override) BinaryExtended.upload_attachment inherited http ALL
/mail/attachment/upload DiscussControllerExtended.mail_attachment_upload public http POST
Models touched (5)

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (1)
  • 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'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • attachment_allowed_mimetypes Char
    string='Allowed Attachment Types'
Public methods (0)

No public methods.

New fields (1)
  • attachment_allowed_mimetypes Char
    readonly=False related='company_id.attachment_allowed_mimetypes' string='Allowed Attachment Types'
Public methods (0)

No public methods.