Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
2c7c6983 by Cédric Krier at 2024-04-13T14:20:21+02:00
Test if queue batch is boolean

In Python bool type is a subtype of integer so it must be tested first.
Also by converting other types to int, we catch any other wrong types.

Closes #13133
- - - - -


1 changed file:

- trytond/trytond/ir/queue_.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/2c7c6983eecc716cddc3dcfce7c417e902257df0

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/2c7c6983eecc716cddc3dcfce7c417e902257df0
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to