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.

1

Debugging in odoo on browser

By
abin c ibrahim
on 12/12/14, 4:50 AM 779 views

Dear Master,

How to debug in "Odoo" special in browses like Chrome and Firefox???

Would anybody provide information, it will be great.

Thanks in advance

Aside from answers similar to open Developer's Tools, choose Script tab and start debugging, it would help if you have a specific scenario. I presume you know that you can only debug the javascript part using browser. To ease debugging you want to turn on the Developer's Mode (from Odoo UI, click on your name at the left top corner, choose About OpenERP and click on the Activate the developer mode).

Ivan
on 12/12/14, 5:43 AM
2

Akhil P Sivan

--Akhil P Sivan--
3423
| 5 3 6
Kochi, India
--Akhil P Sivan--

Interested in exploring Odoo both technically & functionality wise.

email-id : akhilpsivan01@gmail.com

Akhil P Sivan
On 12/18/14, 7:41 AM

Debugging is better to do with the command prompt, you can see the executions after starting odoo server. You can track almost all the errors. Use a developer tool like eclipse, so that you can track errors easily and debug.

@Akhil Agree to you for debuggin the python code from server side, But for dubugging the view, we need to enable the developer mode, which will help you to view the current attributes of the fields and view. Because if the view is inherited and have many changes, and binded with specific action which user can veiw only if he has acces rights. So that would be too difficult to debug from command line. :)

Devang Pipaliya
on 7/30/15, 4:55 AM
1
Devang Pipaliya
On 12/18/14, 7:36 AM

@abin you can ty one more thing is as given below.

http://localhost:8069/?debug=& 

Andyou can add 'debug&' or 'debug=&' just after ?  whatever your other parameters are there, let them be as it is. SO the final URL can be as :

http://localhost:8069/?debug=&db=meditec_dev_local&ts=1417240092106#id=3470&view_type=form&model=res.partner&action=497

 

@Akhil Agree to you for debuggin the python code from server side, But for dubugging the view, we need to enable the developer mode, which will help you to view the current attributes of the fields and view. Because if the view is inherited and have many changes, and binded with specific action which user can veiw only if he has acces rights. So that would be too difficult to debug from command line. :)

Devang Pipaliya
on 12/19/14, 9:51 PM

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

3 follower(s)

Stats

Asked: 12/12/14, 4:50 AM
Seen: 779 times
Last updated: 7/30/15, 4:54 AM