Posts

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

How to update or reset password in odoo

How to update or reset password in odoo: Step 1:            # Goto Python terminal. Or Type ctrl+alt+t . Step 2:             # Goto postgres user.                       ⇛ sudo su postgres Step 3:             #Goto your Database(DB)                      ⇛ psql database_name Step 4:            #Enter a Query                        ⇛ select * from res_users; Step 5:            # Find Your username from the results and note it down Your  id            Result:                      id     bool     username      ...

Install Package using Python

Install Python Package using Python😀 .Py : try:      import xlsx writter except:      os.system("pip install xlsxwritter")      import xlsxwritter

Python Amount-In-Words

Amount In Words in Python Step-1:             *First You have to import inflect package. Step-2:              *Create one variable and initialise inflect.engine() Step-3:              *Get Values from User. Step-4:              *Call the number_to_words() Step-5:              *Print the value. Program: >>> import inflect >>> kd=inflect.engine() >>> value=10 >>> value=kd.number_to_words(value) >>> value 'ten'

Uninstall ODOO module using terminal

How to Uninstall Module from commend line: step-1 :        Goto Terminal>Type sudo su postgres step-2:         Type "psql database_name" step-3:               update ir_module_module set state='to remove' where name='module_name' and state='installed';

Create Sequence number

Create Sequence Number in ODOO Sequence number: In Xml: <?xml version="1.0" encoding="utf-8"?> <openerp>     <data noupdate="1">   #no change         <!-- Sequences for sale.order -->         <record id="customer_lead" model="ir.sequence.type">             <field name="name">sequence customer</field>             <field name="code">customer.sequence</field>         </record>         <record id="seq_cust_name" model="ir.sequence">             <field name="name">sequence customer</field>            ...