[Solved] TypeError: can’t multiply sequence by non-int of type ‘unicode’
[ad_1] You should cast your variable to type int : @api.onchange(‘length’,’width’) def _compute_size_id(self): for s in self: if (s.length and s.width): s.size_wise = int(s.length )* int(s.width) 1 [ad_2] solved TypeError: can’t multiply sequence by non-int of type ‘unicode’