duration_percent field is a stored integer. In postgresql, integer are 4 Bytes long, which create a range of -2147483648 to +2147483647. With a small duration_expected, and a big duration, we can easily break these limits. OPW-3253333 closes odoo/odoo#117744 X-original-commit: 97892d04341a2cbbe07e4db6442a451b0cf0b164 Signed-off-by: William Henrotin (whe) <whe@odoo.com> Signed-off-by: David <dafr@odoo.com>