Probably this was based on some outdated version, since the calculation already changed on: nexedi/erp5@6ded2571