Browse Source

fix: fixes small @typo, and put AGPL in __openerp__.py

pull/71/head
Nicolas JEUDY 10 years ago
parent
commit
c58efe6af2
  1. 8
      web_widget_text_markdown/README.rst
  2. 24
      web_widget_text_markdown/__openerp__.py

8
web_widget_text_markdown/README.rst

@ -7,7 +7,7 @@ Description
This modules add a new widget for text field in form view on Odoo:
- In readonly mode, it use marked to parse and render to html markdown syntaxe.
- 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"
@ -23,14 +23,14 @@ Example
Your XML form view definition should contain::
...
<field name="description" widget="bootstrap_markdown"/>
<field name="field_name" widget="bootstrap_markdown"/>
...
Note / Todo
-----------
- Improve user experience with Odoo specific syntaxe
- Improve user experience with Github specific syntaxe
- 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)

24
web_widget_text_markdown/__openerp__.py

@ -1,3 +1,23 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2014 Sudokeys (<http://www.sudokeys.com>)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
'name': 'web_widget_text_markdown',
'version': '1.0',
@ -5,9 +25,9 @@
'maintainer': 'Sudokeys',
'category': '',
'license': 'AGPL-3',
'depends': ['base','web'],
'depends': ['base', 'web'],
'website': 'http://www.sudokey.com',
'data': ['views/main.xml',],
'data': ['views/main.xml', ],
"qweb": ["static/src/xml/bootstrap_markdown.xml",
],
'demo': [],

Loading…
Cancel
Save