web/web_widget_text_markdown
Nicolas JEUDY 648a83e90d new: update css to have better rendering in read mode. 2021-07-12 13:01:53 +05:30
..
static new: update css to have better rendering in read mode. 2021-07-12 13:01:53 +05:30
views fix: rename module to web_widget_text_markdown 2021-07-12 13:01:53 +05:30
README.rst fix: fixes small @typo, and put AGPL in __openerp__.py 2021-07-12 13:01:53 +05:30
__init__.py fix: rename module to web_widget_text_markdown 2021-07-12 13:01:53 +05:30
__openerp__.py fix: fixes small @typo, and put AGPL in __openerp__.py 2021-07-12 13:01:53 +05:30

README.rst

==============================
Add new text field form widget
==============================

Description
-----------

This modules add a new widget for text field in form view on Odoo:

- In readonly mode, it uses marked to parse and render to html markdown syntax.
- In write mode, use [bootstrap-markdown][1]

[1]: http://www.codingdrama.com/bootstrap-markdown/    "bootstrap-markdown"

Requirements
------------

Was tested on openerp trunk, 8.0 branch.

Example
-------

Your XML form view definition should contain::

    ...
    <field name="field_name" widget="bootstrap_markdown"/>
    ...

Note / Todo
-----------

- Improve user experience with Odoo specific syntax
- Improve user experience with Github specific syntax
- Add a working parsed field in tree view
- Add ir.attachment support
- Add images support (with drag'n'drop)
- ...

Thanks to
---------

- Nicolas JEUDY <nicolas@sudokeys.com>

If you have questions, please email one of them, or report issue on github