To add string parameter in our report : String Parameter $P{P1}
To add list parameter : $X{IN,sql_column_name,P1}
select * from table where name = ${P} select * from table where $X{IN,column_name,list}
To add string parameter in our report : String Parameter $P{P1}
To add list parameter : $X{IN,sql_column_name,P1}
select * from table where name = ${P} select * from table where $X{IN,column_name,list}
Exemple 1 : subtract 2 dates [code lang="python"] from datetime import datetime, date, timedelta date_1 = datetime.strptime('2018-06-01', "%Y-%m-%d") date_2…
Sql query in Odoo model [code lang="python"] @api.multi def get_all_so(self, name=None): sql = "select * from sale_order where…
Use this command bellow to find a pattern in the arborescence. [code lang="bash"] grep -rnw '/path/to/somewhere/' -e 'pattern' [/code] https://stackoverflow.com/questions/16956810/how-do-i-find-all-files-containing-specific-text-on-linux
Odoo 9 community doesn't come with autoban security. Fail2ban is an alternative to secure Odoo authentication. For more information concerning…
This site uses Akismet to reduce spam. Learn how your comment data is processed.
defined parameter “vMnemonic” java.lang.String
SQL code:
WHERE $X{IN,INVDOSE.MNEMONIC,vMnemonic}
Error
Invalid type java.lang.String for parameter “vMnemonic” used in and IN clause;
can you tell me what type should I use for my parameter
Hello,
What’s your complete query ?