6e27c43c58dd323c74dfe218f6c6b5a7ee9ddce5
This commit fixes a crash that would happen on file upload in the project sharing portal chatter. This crash was caused by the file size check in the uploadFiles method of the FileInput component due to the fact that the PortalFileInput calls this method once per file instead of once for all files. The fix therefore ensures that the file size check will be correctly applied in the case of a single file parameter instead of a files array. Steps to reproduce: - Access the portal (with the /my route) - Go to Projects - Open the AGR - S00064 - Sales Order project - Open any task in the kanban view - Send an attachment in the chatter - Before the fix, a traceback occurs on file upload Crash introduced by https://github.com/odoo/odoo/pull/138203/commits/82b4395b2f12e1c86d2bd5c4acd47c321be071d8 opw-3628996 closes odoo/odoo#146214 X-original-commit: 8e2aef9ab607b06eb4667859204cfd7186b3f060 Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%