Odoo Help


[meta] Code formatting in Odoo forum?

Dhinesh - Technical Consultant, Sodexis Inc
on 5/21/14, 8:42 AM 4,708 views

In future, code formatting will be available for forum Question/Answers??

Hi Leonardo i tried your way, not working. How i can paste my code here?

on 2/23/15, 11:08 AM

Hi Leonardo, how did you do "intercepting post request" to inject HTML

 tag?, answer field always force me to 


ATEL S.A, Daniel Stolovich
on 2/23/15, 9:07 AM

I believe this isn't supported in the current forums anymore. A lot has been rewritten and I believe they removed the pre tag options.

on 2/23/15, 11:09 AM

Leonardo Donelli

--Leonardo Donelli--
| 5 4 8
Roma, Italy
--Leonardo Donelli--

Physics student and part-time developer.

Leonardo Donelli
On 6/17/14, 5:22 AM

I don't understand why this platform doesn't use Markdown. It's easy, universal, standard.


EDIT: By the way at the moment you can force code formatting by intercepting the post request and inject an HTML <pre> tag

Here is an example, it really works!


can you explain how to do that a little more specific?

on 2/23/15, 8:16 PM

Thierry Godin

--Thierry Godin--
| 8 7 8
Collegien, France
--Thierry Godin--


Thierry Godin
On 5/21/14, 8:50 AM

It would be nice. Same goes for the preview.

And I not managed to post a comment here.


Fabien Pinckaers (fp)

--Fabien Pinckaers (fp)--
| 6 8 8
fsdsdfsdf, Belgium
--Fabien Pinckaers (fp)--

Odoo Founder & CEO

Fabien Pinckaers (fp)
On 5/22/14, 1:11 AM

Would be great if someone do a pull request to add this feature, then send an email to tde @ openerp . com so that he can review it.

On 10/14/14, 1:17 AM

It would be nice to have this feature.

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

4 follower(s)


Asked: 5/21/14, 8:42 AM
Seen: 4708 times
Last updated: 3/19/15, 8:59 PM