server-tools icon indicating copy to clipboard operation
server-tools copied to clipboard

sql_request_abstract use of PROHIBITED_WORDS in value

Open tfossoul opened this issue 3 years ago • 1 comments

I am using the module sql_request_abstract to do sql view with odoo. I need to use the "create" word as a value on a sql condition. select ... WHEN type = 'create'

Someone know a workaround to the PROHIBITED_WORDS for this specific needs ?

edit: i found this solution: "WHEN type like 'crea%'"

Thanks in advance

tfossoul avatar Feb 09 '22 13:02 tfossoul

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

github-actions[bot] avatar Apr 20 '25 12:04 github-actions[bot]