Files
odoo_source/addons
MerlinGuillaume de2bdc87a7 [FIX] web: mark integer fields as invalid if the value exceeds 32 bits
When we enter an integer in a field and the value cannot be encoded in
32 bits, an error is thrown but the field is not marked as invalid

Steps to reproduce:
1. Install Employee Referral
2. Go to Referrals > Configuration > Levels and create a new level
3. Add a name and an image and set the requirements to 9,999,999,999
   points
4. Try to save the level, an error is thrown (in v15, a notification
   would inform the user the field is invalid)

Solution:
Throw an error in parseInteger when the value exceeds the 32 bits
encoding limit

Problem:
PostgreSQL uses 32 bits for integers

opw-3300851

closes odoo/odoo#123401

X-original-commit: c662a54606799cf3348aed84584e75d2ab6f20e5
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2023-06-02 12:04:21 +02:00
..
2023-05-11 18:25:38 +02:00
2023-05-10 19:16:47 +02:00
2023-05-10 18:16:24 +02:00
2023-05-10 18:16:21 +02:00
2023-05-10 20:15:02 +02:00
2023-05-10 20:14:59 +02:00
2023-05-11 18:24:53 +02:00
2023-05-10 20:15:12 +02:00
2023-05-11 10:40:53 +02:00
2023-05-11 10:40:55 +02:00
2023-05-10 18:16:19 +02:00
2023-05-31 09:23:27 +02:00
2023-05-17 16:48:30 +02:00
2023-05-12 09:21:49 +02:00