Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. base
  3. 附件增强管理,Attachment Pro Limit File type and size v 18.0
  4. Sales Conditions FAQ

附件增强管理,Attachment Pro Limit File type and size

by odooai.cn https://www.odooai.cn
Odoo

$ 21.18

v 18.0 Third Party
Live Preview
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies Show
欧度智能基础功能及面板,odooAi Common Util and Tools
Lines of code 8277
Technical Name app_attachment_pro
LicenseOPL-1
Websitehttps://www.odooai.cn
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies Show
欧度智能基础功能及面板,odooAi Common Util and Tools
Lines of code 8277
Technical Name app_attachment_pro
LicenseOPL-1
Websitehttps://www.odooai.cn
  • Description
  • License
App Icon

附件增强管理 / Attachment Pro

配置附件上传类型白名单与大小限制,前端实时拦截非法文件 / Configure attachment file types and size limits with real-time frontend validation

一键配置允许上传的文件类型与最大体积,系统层面统一管控
One-click configuration of allowed file types and max upload size, system-wide attachment security control

Odoo 18 企业版与社区版 / Enterprise & Community 多公司 / Multi-Company 多语言 / Multi-Language

功能概述 / Overview

Attachment Pro 在 Odoo 系统设置中提供集中化的附件安全管理面板,管理员可一键配置允许上传的文件格式白名单和单文件最大体积限制。前端实时校验确保用户在上传时即被拦截非法文件,无需依赖服务端事后校验。配置信息通过 Session 自动注入前端,零额外 API 开销。

Attachment Pro provides a centralized attachment security panel in Odoo General Settings. Admins can configure allowed file type whitelists and maximum upload size with one click. Real-time frontend validation intercepts disallowed files before they reach the server. Configuration is auto-injected via session info with zero extra API overhead.

核心亮点 / Key Highlights

五大核心能力,全方位守护附件安全 / Five core capabilities for attachment security

1. 附件类型白名单 / File Type Whitelist

Restrict uploads by file extension

配置允许上传的文件格式白名单,仅 jpg/png/pdf/doc 等指定格式可通过,全面拦截不可信文件类型

2. 上传大小管控 / Upload Size Control

Set max file upload limit globally

系统设置界面直接配置单文件最大上传体积,默认10MB,防止超大文件占用服务器存储和带宽

3. 前端实时校验 / Real-time Validation

Intercept disallowed files instantly

Patch Odoo 原生 AttachDocumentWidget 组件,用户选择文件时即时校验类型,非法文件弹出醒目的危险提示

4. Session自动注入 / Session Auto-Injection

Zero extra API calls for config access

配置信息通过 ir.http.session_info() 自动注入浏览器会话,前端无需额外 API 请求即可读取

5. 零侵入设置面板 / Non-intrusive Settings

Integrated into General Settings

附件配置块优雅嵌入常规设置页面,仅对技术特性组成员可见,与 Odoo 原生界面风格统一

通用特性 / General Features

多语言与多公司
Multi-Language & Multi-Company

完整的多语言翻译支持,适配全球化企业部署。原生多公司架构,数据严格隔离。

全版本兼容
Full Version Support

支持 Odoo 18,17,16,15,14,13,12,EE/CE/.SH,兼容企业版、社区版及在线 SaaS。

代码完全开源
Full Open Source

基于 LGPL-3 协议开源,代码透明可审计,支持二次开发与定制。

界面截图 / Screenshots

核心功能界面一览

附件设置面板 / Attachment Settings Panel

Attachment Settings Panel

使用流程 / How It Works

配置参数

Set Parameters

Session注入

Session Injection

实时校验

Real-time Validation

安全上传

Safe Upload

支持与依赖模块 / Supported & Dependent Modules

  • 系统设置基础 / base_setup
  • OdooAi 通用基础模块 / app_common
Banner

odooai.cn

专业Odoo服务伙伴-开发实施咨询培训全套解决方案 / Professional Odoo Solutions

Website: www.odooai.cn

Demo: demo.odooapp.cn

Support: odoo@china.com

QR Code
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with