Hello,
Not sure how odoo thinks the following is 4 arguments when clearly only 3 are there. Note the vals['customer_code'] currently = "BBF".
rec_count = self.env['res.partner'].search_count('customer_code', '=', vals['customer_code']) TypeError: BaseModel.search_count() takes from 2 to 3 positional arguments but 4 were given
Anyone know what is going on here?
Thank you.