Run OpenERP 7 unittests in PyCharm

You can debug using cmd in windows enter with cmd into odoo.exe folder C:\Program Files (x86)\Odoo 8.0-20150719\server and execute this command odoo –log-level=debug or terminal in Linux enter with terminal into odoo.py file (/usr/bin/) and execute this command python odoo.py –log-level=debug tape ctrl+z or ctrl+c to desactivate a log . You will find a file … Read more

No usable temporary directory found

This kind of error occured in two case permission(should be drwxrwxrwt and owened by root) space To check space(disk usage)just run the command on terminal df -h Will list the disk usage on unix and get the output like Filesystem Size Used Avail Use% Mounted on /dev/sda5 28G 15G 12G 58% / If the root(mounted … Read more

dictionary update sequence element #0 has length 3; 2 is required

This error raised up because you trying to update dict object by using a wrong sequence (list or tuple) structure. cash_id.create(cr, uid, lines,context=None) trying to convert lines into dict object: (0, 0, { ‘name’: l.name, ‘date’: l.date, ‘amount’: l.amount, ‘type’: l.type, ‘statement_id’: exp.statement_id.id, ‘account_id’: l.account_id.id, ‘account_analytic_id’: l.analytic_account_id.id, ‘ref’: l.ref, ‘note’: l.note, ‘company_id’: l.company_id.id }) Remove … Read more

setup script exited with error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1

I encountered the same problem in college having installed Linux Mint for the main project of my final year, the third solution below worked for me. When encountering this error please note before the error it may say you are missing a package or header file — you should find those and install them and … Read more