Number of digits after comma QWEB PDF Odoo
This code bellow will display on the QWEB PDF 4 digits after comma of qty field, for 2 digits just replace by ‘%.2f’%
Hacking : man-in-the-middle attack
Interesting video (in French) explaining man-in-the-middle attack. for more information concerning the attack, click here Tools used during this demo. Nmap : network scanner. Ettercap : man in the middle utility. Wireshark : network packet reader. Metasploit : hacking framework. This video and all information from this post are only for educative purpose, it’s totally illegal to use it in public or corporate network.
JasperSoft Studio 6.0.1 Parameters SQL syntax
To add string parameter in our report : String Parameter $P{P1} To add list parameter : $X{IN,sql_column_name,P1}
Cannot connect SMB shared folder from Mac OS
After a samba upgrade on a debian server, i couldn’t connect anymore my SMB shared folder from Mac OS X. I just replaced the protocol used smb by cifs on the link. instead of
How to use datetime in Python
Exemple 1 : subtract 2 dates run the command. Exemple 2 : add or subtract days to a date run the command. Exemple 3 : today date Exemple 4 : convert string to datetime Exemple 5 : convert datetime to string
