When iam running code iam getting error like this 'SQL query parameters should be a tuple, list or dict'
This is my code
@api.multi
def issue_material(self):
jobsheet_no = self.jobsheet_no
self.ensure_one()
result = []
self.env.cr.execute("""SELECT move.name as product,move.product_uom_qty as quantity,pick.name as delivered from stock_move move,stock_picking pick where move.picking_id = pick.id and move.state = 'done' and move.location_id!=9 and pick.jobsheet_no=%s""",(jobsheet_no.id))