HTTP Limits | Fix 413 Error
by Steven Marp https://apps.odoo.com/apps/browse?repo_maintainer_id=512936| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 130 |
| Technical Name |
sm_http_limits |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/browse?repo_maintainer_id=512936 |
| Versions | 13.0 14.0 15.0 16.0 17.0 18.0 19.0 |
HTTP Limits | Fix 413: Request Entity Too Large
Increase HTTP upload & form size limits. Fix the “413: Request Entity Too Large” error instantly. Configurable from Settings — no code changes needed.
The Problem
413: Request Entity Too LargeOdoo limits HTTP request sizes by default (128 MB content, 10 MB form data). When users try to upload large files, import big CSV/Excel datasets, or submit forms with heavy content, they hit the dreaded 413 error and their work is lost. This module eliminates that error by raising the limits to 512 MB (configurable) — just install and it works. |
413: Request Entity Too Large The default error users see |
Features
1 Install & DoneJust install the module and the 413 error is gone. Default limits are raised to 512 MB automatically. No configuration needed, no server restart required after changing settings. |
Install â Problem Solved |
|
Settings â HTTP Limits |
2 Configurable from SettingsNavigate to Settings → HTTP Limits to adjust the maximum upload size and form data limit. Set any value in megabytes — changes apply instantly without server restart. |
3 Large File UploadsUpload large images, PDFs, videos, CAD files, backups — any file type, any size up to your configured limit. No more failed uploads or lost work. |
All File Types Supported |
|
Import Large CSV/Excel Files |
4 Big Data ImportsImport large CSV and Excel files with thousands of rows without hitting size limits. Perfect for bulk product imports, contact lists, and data migrations. |
5 Survives RestartsYour custom limits are stored in the database and automatically restored after every server restart. Set it once, forget about it forever. |
Persistent Across Restarts |
|
Lightweight & Dependency-Free |
6 Zero External DependenciesNo extra Python packages, no pip install, no system libraries. Works with standard Odoo out of the box. Lightweight and safe. |
Technical Details
What It PatchesOverrides |
Default: 512 MBBoth limits default to 512 MB (up from Odoo’s 128 MB / 10 MB defaults). Adjustable via Settings to any value you need. |
Safe & ReversibleUninstall the module and Odoo’s original limits are fully restored. No permanent changes to core files or configurations. |
Instant ApplyChanges from Settings take effect immediately without requiring a server restart. Limits are applied in real-time. |
Multi-CompanySettings are global (system parameters). The limits apply to the entire Odoo instance, regardless of company context. |
Odoo Proprietary (OPL-1)Licensed under Odoo Proprietary License (OPL-1). Purchase includes full source code, free updates, and bug fixes. |
Support
We provide free bug fixes and updates for all our modules. If you need help, please submit a support request through the Odoo Apps support page. Our team is always ready to assist you.
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