diff --git a/web_widget_many2one_simple/README.rst b/web_widget_many2one_simple/README.rst index 6c2f0ad54..0975a5044 100644 --- a/web_widget_many2one_simple/README.rst +++ b/web_widget_many2one_simple/README.rst @@ -23,7 +23,7 @@ Simple many2one widget :target: https://runbot.odoo-community.org/runbot/162/14.0 :alt: Try me on Runbot -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| This module adds a new widget to many2one fields that allows to link records without any extra features (no autocomplete and no partial search). @@ -99,6 +99,7 @@ Contributors * Alexandre D. Díaz * Foram Shah +* Thanakrit Pintana Maintainers ~~~~~~~~~~~ @@ -119,7 +120,7 @@ promote its widespread use. Current `maintainer `__: -|maintainer-Tardo| +|maintainer-Tardo| This module is part of the `OCA/web `_ project on GitHub. diff --git a/web_widget_many2one_simple/__manifest__.py b/web_widget_many2one_simple/__manifest__.py index a43bb8d96..d9aca41b2 100644 --- a/web_widget_many2one_simple/__manifest__.py +++ b/web_widget_many2one_simple/__manifest__.py @@ -3,13 +3,20 @@ { "name": "Simple many2one widget", - "version": "14.0.1.0.0", + "version": "15.0.1.0.0", "license": "AGPL-3", "author": "Tecnativa, Odoo Community Association (OCA)", "website": "https://github.com/OCA/web", "depends": ["web"], - "data": ["views/assets.xml"], - "qweb": ["static/src/xml/many2one_simple.xml"], "installable": True, "maintainers": ["Tardo"], + "assets": { + "web.assets_backend": [ + "web_widget_many2one_simple/static/src/css/many2one_simple.scss", + "web_widget_many2one_simple/static/src/js/many2one_simple_field.js", + ], + "web.assets_qweb": [ + "web_widget_many2one_simple/static/src/xml/many2one_simple.xml", + ], + }, } diff --git a/web_widget_many2one_simple/readme/CONTRIBUTORS.rst b/web_widget_many2one_simple/readme/CONTRIBUTORS.rst index 7a202a2c4..c0ba96468 100644 --- a/web_widget_many2one_simple/readme/CONTRIBUTORS.rst +++ b/web_widget_many2one_simple/readme/CONTRIBUTORS.rst @@ -3,3 +3,4 @@ * Alexandre D. Díaz * Foram Shah +* Thanakrit Pintana diff --git a/web_widget_many2one_simple/views/assets.xml b/web_widget_many2one_simple/views/assets.xml deleted file mode 100644 index e0d1243d0..000000000 --- a/web_widget_many2one_simple/views/assets.xml +++ /dev/null @@ -1,19 +0,0 @@ - - -