You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Guewen Baconnier a1d30516b8 Merge pull request #71 from njeudy/web_bootstrap_markdown_80 10 years ago
..
static new: update css to have better rendering in read mode. 10 years ago
views fix: rename module to web_widget_text_markdown 10 years ago
README.rst fix: fixes small @typo, and put AGPL in __openerp__.py 10 years ago
__init__.py fix: rename module to web_widget_text_markdown 10 years ago
__openerp__.py fix: fixes small @typo, and put AGPL in __openerp__.py 10 years ago

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