I still get this error without patch:
db.cursor:Programming error: syntax error at or near "sale"
LINE 1: ..._instance (res_type,res_id,uid,wkf_id) values ('E'sale.order... ^
, in query insert into wkf_instance (res_type,res_id,uid,wkf_id) values ('%s',%s,%s,%s) RETURNING id
I still get this error without patch: Programming error: syntax error at or near "sale" res_id, uid,wkf_ id) values ('E'sale.order...
^ res_id, uid,wkf_ id) values ('%s',%s,%s,%s) RETURNING id
db.cursor:
LINE 1: ..._instance (res_type,
, in query insert into wkf_instance (res_type,