No backend menu in odoo 9 - odoo

When working with Optimize SEO for the website I have constructed in Odoo 9, I declared a keyword that seems to be too long, or something is wrong with it because I don't have the option to removed it (delete it) from the list of keywords.
All Odoo got blocked after declaring that keyword, and now I cannot see my menu in odoo, only the website.
I tried to backup the data base, but the command is not executed, it just returns to the same page, without doing anything.
The errors I've got can find out enclosed picture.
Hope someone came across this kind of issue and can help me with some tips.
Thank you in advance!
enter image description here

As par my opinion menu will not display because of all CSS will not Loaded properly. You can may be solved it by delete all attachments if is has not that much important.
First of restore database in new database and perform following query in database.
delete from ir_attachment;
I hope this will work for you.
Thanks.

Related

odoo Missing dependencies qweb (After DB restore)

So after restoring a database dump the frontend resources appear to be corrupted on my Odoo installation.
I do not see what I would consider to be critical errors in the server logs and all the resources appear to load correctly (No 404 errors).
I have heard people having similar issues after an database restore if they do not backup the filestore as well. So I am leaning towards this being a filestore <--> DB issue (ie. the db is referencing items in the filestore that have been moved, although I have seen no error indicating this).
Does anyone have any advice on how to best debug this issue?
Also... full disclosure, I have posted this on Odoo's forum as well (go ahead and hate me for that if you will). Here is the posting
odoo Missing dependencies qweb
Maybe if you can delete the references from the db, Odoo will re-create them and that will remove the error.
Sorry Sudhanshu, I am going to post the answer for this. And thanks again for all your help last night. That was epic!
This answer will likely not help anyone. The solution to the problem was rather unique and unexpected. The Main Layout template for the front end was overridden. The new layout was missing critical components which included the csrf_token. Without this Qweb could not properly load and as a result many other modules failed which had Qweb as a dependency or referenced the csrf_token.
I have no explanation for the overridden template, except "It wasn't me".

Toad: Table Autocomplete Functionality Not Working

I've been using Toad for more than a year now without problems. All of a sudden the table autocomplete feature has ceased working. No settings have been changed, and I've clean installed a new TOAD version, yet the problem persists.
The image below shows autocomplete defaulting into view IN_INSTRUMENT in schema MCDM. Normal behaviour should result in a table/view list.
It is notable that the above does not happen with all schemas. For some schemas I will still see a table list. In the beginning this error happened only with a single schema. Now it is slowly progressing to other schemas as well, which is exceptionally frustrtating when you're dealing with dozens of schemas that contain hundreds of tables each. It slows down development when you must open Schema Browser and look for the exact table/view/procedure/package each time instead of letting autocomplete give suggestions.
This same issue has been described in this thread and and this thread with less detail, yet no accepted answer has been given.
As can be seen from Code Assist settings, these should be in order.
How to reset autocomplete behaviour into what is its original state?
Under View > Toad Options > Editor > Code Assist > Toad Insight Objects, checking Synonyms (in addition to Public Synonyms) worked for me.
I've found the solution to this problem. The issue was a corrupt configuration file. For anyone else with the same problem, this is how I fixed mine:
Backup your appdata folder - you can find its location in options -> general -> application data.
Create a new set of user files using Utilities -> Copy User Settings -> Create clean set of user files. Make sure you are running Toad with administrator rights.
Note that the above will delete all your saved connection details (schema names, passwords, connection strings), so take a note of these.
Hope this helps someone in the future.
Try to check "Public synonyms" in the "Toad insight objects".
Go to Toad Options, and then Editor > Code Assist and uncheck "Cache Code Insight results". This made it immediately start working for me using Toad for Oracle version 9.7. I could then go back and check the box and it would still work.
I faced the same problem even though I set up everything mentioned above.
So basically Toad does not suggest column names if I don't define the scheme name.
X(schema).TABLE_NAME.(then lists all columns)
Worked for me..

IronSpeed Error: Invalid Parameter in KeyValue.ColumnValueByName()

I am developing a website with IronSpeed. A colleague made changes to the database. On getting to the code, I get the error: IronSpee Error: Invalid Parameter in KeyValue.ColumnValueByName() when I attempt to edit a record.
How can I sort this out?
Thanking you,
Simon.
You could have saved yourself a lot of time by just resyncing the database schema. Iron Speed would have picked up on the added or missing fields and no rework would have been necessary.
We had to delete the entire module(aka Show, Edit and Add pages), then recreated them with the help of the Application Wizard. This wizard can be accessed through Tools>Application Wizard menu.
References: http://sjc.ironspeed.com/post/IronSpeed-Error-Invalid-Parameter-in-KeyValue.ColumnValueByName%28-%29-6265041
Hope this will be helpful to someone in future.

Modify prestashops search algorithm

I've added some database tables to prestashop 1.5.3 which contain additional product data. Now I'd like to modify the search-alorithm from prestashop to include those tables.
I had guessed that the corresponding code would be found in classes/search.php, but modifing this code does not change anything. I even deleted the whole file and the search function kept working.
Can anybody please point me in the right direction and tell me where I can find prestashops search-code.
Searching code is really in /classes/Search.php. I cannot see why search is still working with this file empty...
Please don't modify core files, you'd rather add your logic in the overriden one :
/override/classes/Search.php

[eclipse plugin]saving and loading information of a wizard on an XML file

I work on an eclipse plugin and I've created wizards with SWT / JFace.
In these wizards I need to record some information that has been specified by the users for future use. I saw an example that speaks about this part, I tried to do the same thing but I'm lost !
Behold the link
http://java-gui.info/Wiley-Professional.Java.Interfaces.with.SWT.JFace/12093/BBL0095.html
Is there anyone who can help me on this . What are the main steps that I must follow
thank you in advance
The link is right. Before exiting the wizard, save the data in dialog settings (got using getDialogSettings()) and on next launch restore getDialogSettings().get
May be you want to be more specific in the problem being faced.