diff --git a/README.md b/README.md index 21e9285..70f795e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,14 @@ # nuxly-odoo-addons Our own addons Odoo + +[//]: # (addons) + +Available addons +---------------- +addon | version | summary +--- | --- | --- +[home_menu_background](home_menu_background/) | 14.0.0.0 | Background customization +[isacompta_export](isacompta_export/) | 14.0.0.0 | ASCII Export for ISACOMPTA +[timesheet_reminder_mail](timesheet_reminder_mail/) | 14.0.0.0 | Timesheet reminder + +[//]: # (end addons) diff --git a/home_menu_background/README.md b/home_menu_background/README.md new file mode 100644 index 0000000..68f4771 --- /dev/null +++ b/home_menu_background/README.md @@ -0,0 +1,7 @@ +# Background customization + +This module aims to customize odoo background (overlayed image, colors). + +## Usage + +This version is a beta version. You must manually edit the SCSS (`/home_menu_background/static/scss/ui.scss`) file to customize the background. \ No newline at end of file diff --git a/home_menu_background/__init__.py b/home_menu_background/__init__.py new file mode 100755 index 0000000..40a96af --- /dev/null +++ b/home_menu_background/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/home_menu_background/__manifest__.py b/home_menu_background/__manifest__.py new file mode 100755 index 0000000..4f69808 --- /dev/null +++ b/home_menu_background/__manifest__.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +{ + 'name': "Background customization", + + 'summary': """ + Background customization for web client and login screen""", + + 'description': """ + Customize odoo background (overlayed image, colors) for web client and login screen. + """, + + 'author': "Nuxly", + 'website': "https://www.nuxly.com", + + # Categories can be used to filter modules in modules listing + # Check https://github.com/odoo/odoo/blob/master/odoo/addons/base/module/module_data.xml + # for the full list + 'category': 'Technical', + 'version': '14.0.0.0', + + # any module necessary for this one to work correctly + 'depends': ['base', 'web_enterprise'], + + # always loaded + 'data': [ + 'views/templates.xml', + ], +} diff --git a/home_menu_background/static/scss/ui.scss b/home_menu_background/static/scss/ui.scss new file mode 100644 index 0000000..84e8a65 --- /dev/null +++ b/home_menu_background/static/scss/ui.scss @@ -0,0 +1,6 @@ +// Shared with web client and login screen +.o_home_menu_background { + background: url(/web_enterprise/static/src/img/home-menu-bg-overlay.svg), + linear-gradient(to right bottom, #A7C5D0, #A7C5D0); + background-size: cover; +} \ No newline at end of file diff --git a/home_menu_background/views/templates.xml b/home_menu_background/views/templates.xml new file mode 100755 index 0000000..c3d65c5 --- /dev/null +++ b/home_menu_background/views/templates.xml @@ -0,0 +1,8 @@ + + + +