Skip to content
Snippets Groups Projects
user avatar
MerlinGuillaume authored
Entering a value greater than that allowed by a 32-bit integer raises an
error

Steps to reproduce:
1. Install eCommerce
2. Open the website and go to the 'Shop' page
3. Open the editor and click on any product in the grid
4. Set the value of the 'Number Of Products' to an integer greater than
   2147483647
5. An error is raised

Solution:
Limit the number of product per page to 10000. This will have the effect
of avoiding the `NumericValueOutOfRange` error but will also prevent the
user to load too much products at once to avoid a timeout.

opw-3226154

closes odoo/odoo#123124

Signed-off-by: default avatarGuillaume Merlin (megu) <megu@odoo.com>
9f33d670
History
Name Last commit Last update
..