Hello I'm trying to compute a boolean field, I've tried many attemps like:
for record in self:
if record.x_studio_photo_quant ==2:
record[("x_studio_photo_check")]==bool(True)
or
for record in self:
if record.x_studio_photo_quant ==2:
a ==True
record[("x_studio_photo_check")]=a
But they don't work, how can I fix this?