跳至内容
菜单
此问题已终结
2 回复
10067 查看

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).

最佳答案

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. :)

最佳答案

@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. :)