Posts

Showing posts from October, 2017

Find System IP Using Python

⤷Find IP Address Using Python Open Terminal Goto pyton console Enter Following Codes. Source Code: Python 2.7.6 (default, Oct 26 2016, 20:30:19) [GCC 4.8.4] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import socket >>> socket.gethostbyname(socket.gethostname()) '127.0.1.1' * For find you ip u need socket package import that *  socket. gethostbyname ( hostname ) Translate a host name to IPv4 address format. The IPv4 address is returned as a string, such as  '127.0.1.1' . If the host name is an IPv4 address itself it is returned unchanged.  gethostbyname()  does not support IPv6 name resolution.

Google Drive Integration

Image
Google Drive Integration in ODOO Install Google Drive Module from apps. Goto settings and select General Settings. At the Bottom you can see Google Integrations. click Generate Google Authorization Code and it will navigate to gmail account and login your account . click allow to give access copy the following code and pase inside of odoo>general settings>google drive> After that u have to configure template For that create one Document file or PPT or Google sheet in Google Drive Save the file .Right click one the file u can see Share option click that and copy the link in Odoo click Configure u r template or goto settings>google drive>templates>add Enter Template name and choose module name like sale.order or crm.lead paste the link in template url.Save it and Goto that model Click Action(On the Top-Middle Form) You can see your google drive template name. Click That At first Time You w...

Learn Python

Websites for learn Python 1) https://supportuae.wordpress.com/ 2) http://www.wikihow.com/Open-Ports-in-Linux-Server-Firewall 3) http://www.nevprobusinesssolutions.com/odoo-how-to-overide-orm-method-name_get/ 4) https://stackoverflow.com/questions/36729200/hide-some-lines-in-odoo- treeview 5)http://databit-odoo-technical.readthedocs.io/en/latest/howtos/themes.html