Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How can I restore products view?

By
Zy Wu
on 11/27/13, 3:29 AM 1,095 views

Hi I am new to OpenERP. Thank you in advance for the help.

I was in debug mode and I wanted to change the fields in products listview, but accidentally deleted the entire views, or that's what i think i did wrong. Now i am getting this error:

OpenERP Server Error Client Traceback (most recent call last): File "C:\Program Files\OpenERP 7.0-20131115-002449\Server\server\openerp\addons\web\http.py", line 204, in dispatch File "C:\Program Files\OpenERP 7.0-20131115-002449\Server\server\openerp\addons\web\controllers\main.py", line 1040, in load_needaction File "C:\Program Files\OpenERP 7.0-20131115-002449\Server\server\openerp\addons\web\session.py", line 42, in proxy File "C:\Program Files\OpenERP 7.0-20131115-002449\Server\server\openerp\addons\web\session.py", line 30, in proxy_method File "C:\Program Files\OpenERP 7.0-20131115-002449\Server\server\openerp\addons\web\session.py", line 103, in send

Server Traceback (most recent call last): File "C:\Program Files\OpenERP 7.0-20131115-002449\Server\server\openerp\addons\web\session.py", line 89, in send File "C:\Program Files\OpenERP 7.0-20131115-002449\Server\server.\openerp\netsvc.py", line 292, in dispatch_rpc File "C:\Program Files\OpenERP 7.0-20131115-002449\Server\server.\openerp\service\web_services.py", line 626, in dispatch File "C:\Program Files\OpenERP 7.0-20131115-002449\Server\server.\openerp\osv\osv.py", line 188, in execute_kw File "C:\Program Files\OpenERP 7.0-20131115-002449\Server\server.\openerp\osv\osv.py", line 131, in wrapper File "C:\Program Files\OpenERP 7.0-20131115-002449\Server\server.\openerp\osv\osv.py", line 197, in execute File "C:\Program Files\OpenERP 7.0-20131115-002449\Server\server.\openerp\osv\osv.py", line 185, in execute_cr File "C:\Program Files\OpenERP 7.0-20131115-002449\Server\server\openerp\addons\base\ir\ir_ui_menu.py", line 308, in get_needaction_data File "C:\Program Files\OpenERP 7.0-20131115-002449\Server\server.\openerp\osv\orm.py", line 488, in __getattr__ AttributeError: 'Field type not found in browse_record(ir.actions.act_window, 167)'


Is there anyway that i can restore the view?

Thank you

Zy

0
peterm
On 11/27/13, 4:26 AM

Download openerp source to a temporary folder and look for the view xml to restore. Then run openerp with update option $ openerp-server.py -u all.

http://nightly.openerp.com/7.0/nightly/src/openerp-7.0-20131115-002449.tar.gz

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 11/27/13, 3:29 AM
Seen: 1095 times
Last updated: 3/16/15, 8:10 AM