diff --git a/auto_fill/README.rst b/auto_fill/README.rst deleted file mode 100755 index 2956b8ff0..000000000 --- a/auto_fill/README.rst +++ /dev/null @@ -1,13 +0,0 @@ -Auto Fill Widget -================ -* Widget that suggests field value in existing records -* Widget = **auto_fill** - -Developer -========= -* Developer: - odoo v11 Avinash Nk (odoo@cybrosys.com) - odoo v12 Akshay Babu -Contacts -======== -* Cybrosys Technologies diff --git a/auto_fill/__init__.py b/auto_fill/__init__.py deleted file mode 100755 index a7d50eeee..000000000 --- a/auto_fill/__init__.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf-8 -*- -################################################################################### -# -# Cybrosys Technologies Pvt. Ltd. -# Copyright (C) 2018-TODAY Cybrosys Technologies (). -# Author: Avinash Nk() -# -# This program is free software: you can modify -# it under the terms of the GNU Affero General Public License (AGPL) 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 . -# -################################################################################### - -from . import controllers diff --git a/auto_fill/__manifest__.py b/auto_fill/__manifest__.py deleted file mode 100755 index b6f53815a..000000000 --- a/auto_fill/__manifest__.py +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- -################################################################################### -# -# Cybrosys Technologies Pvt. Ltd. -# Copyright (C) 2018-TODAY Cybrosys Technologies (). -# Author: Avinash Nk() -# -# This program is free software: you can modify -# it under the terms of the GNU Affero General Public License (AGPL) 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 . -# -################################################################################### -{ - 'name': 'Auto Fill Widget', - 'version': '12.0.1.0.0', - 'summary': """Widget that suggests field value from existing records""", - 'description': 'Widget for auto completing a character field according to its existing record values', - 'category': 'Extra Tools', - 'author': 'Cybrosys Techno Solutions', - 'company': 'Cybrosys Techno Solutions', - 'website': "https://www.cybrosys.com", - 'depends': ['base'], - 'qweb': ['static/src/xml/auto_fill.xml'], - 'data': ['views/auto_fill_templates.xml'], - 'images': ['static/description/banner.jpg'], - 'license': 'AGPL-3', - 'installable': True, - 'auto_install': False, - 'application': False, -} diff --git a/auto_fill/controllers/__init__.py b/auto_fill/controllers/__init__.py deleted file mode 100755 index e56d9d4e0..000000000 --- a/auto_fill/controllers/__init__.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf-8 -*- -################################################################################### -# -# Cybrosys Technologies Pvt. Ltd. -# Copyright (C) 2018-TODAY Cybrosys Technologies (). -# Author: Avinash Nk() -# -# This program is free software: you can modify -# it under the terms of the GNU Affero General Public License (AGPL) 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 . -# -################################################################################### - -from . import main diff --git a/auto_fill/controllers/main.py b/auto_fill/controllers/main.py deleted file mode 100755 index a98f1d8a9..000000000 --- a/auto_fill/controllers/main.py +++ /dev/null @@ -1,42 +0,0 @@ -# -*- coding: utf-8 -*- -################################################################################### -# -# Cybrosys Technologies Pvt. Ltd. -# Copyright (C) 2018-TODAY Cybrosys Technologies (). -# Author: Avinash Nk() -# -# This program is free software: you can modify -# it under the terms of the GNU Affero General Public License (AGPL) 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 . -# -################################################################################### - -from odoo.http import request -from odoo import http - - -class GetMatchingRecords(http.Controller): - - @http.route(['/matching/records'], type='json', auth="none") - def get_matching_records(self, **kwargs): - model = str(kwargs['model']) - field = str(kwargs['field']) - value = str(kwargs['value']) - model = model.replace(".", "_") - cr = request.cr - if len(value) > 0: - query = """SELECT %s FROM %s WHERE %s ~* '%s' GROUP BY %s""" % (field, model, field, value, field) - cr.execute(query) - res = cr.fetchall() - else: - res = [] - return res diff --git a/auto_fill/doc/RELEASE_NOTES.md b/auto_fill/doc/RELEASE_NOTES.md deleted file mode 100644 index 6be164058..000000000 --- a/auto_fill/doc/RELEASE_NOTES.md +++ /dev/null @@ -1,6 +0,0 @@ -## Module - -#### 30.04.2019 -#### Version 12.0.1.0.0 -##### ADD -- Initial Commit diff --git a/auto_fill/static/description/assets/icons/check.png b/auto_fill/static/description/assets/icons/check.png deleted file mode 100644 index c8e85f51d..000000000 Binary files a/auto_fill/static/description/assets/icons/check.png and /dev/null differ diff --git a/auto_fill/static/description/assets/icons/chevron.png b/auto_fill/static/description/assets/icons/chevron.png deleted file mode 100644 index 2089293d6..000000000 Binary files a/auto_fill/static/description/assets/icons/chevron.png and /dev/null differ diff --git a/auto_fill/static/description/assets/icons/cogs.png b/auto_fill/static/description/assets/icons/cogs.png deleted file mode 100644 index 95d0bad62..000000000 Binary files a/auto_fill/static/description/assets/icons/cogs.png and /dev/null differ diff --git a/auto_fill/static/description/assets/icons/consultation.png b/auto_fill/static/description/assets/icons/consultation.png deleted file mode 100644 index 8319d4baa..000000000 Binary files a/auto_fill/static/description/assets/icons/consultation.png and /dev/null differ diff --git a/auto_fill/static/description/assets/icons/ecom-black.png b/auto_fill/static/description/assets/icons/ecom-black.png deleted file mode 100644 index a9385ff13..000000000 Binary files a/auto_fill/static/description/assets/icons/ecom-black.png and /dev/null differ diff --git a/auto_fill/static/description/assets/icons/education-black.png b/auto_fill/static/description/assets/icons/education-black.png deleted file mode 100644 index 3eb09b27b..000000000 Binary files a/auto_fill/static/description/assets/icons/education-black.png and /dev/null differ diff --git a/auto_fill/static/description/assets/icons/hotel-black.png b/auto_fill/static/description/assets/icons/hotel-black.png deleted file mode 100644 index 130f613be..000000000 Binary files a/auto_fill/static/description/assets/icons/hotel-black.png and /dev/null differ diff --git a/auto_fill/static/description/assets/icons/license.png b/auto_fill/static/description/assets/icons/license.png deleted file mode 100644 index a5869797e..000000000 Binary files a/auto_fill/static/description/assets/icons/license.png and /dev/null differ diff --git a/auto_fill/static/description/assets/icons/lifebuoy.png b/auto_fill/static/description/assets/icons/lifebuoy.png deleted file mode 100644 index 658d56ccc..000000000 Binary files a/auto_fill/static/description/assets/icons/lifebuoy.png and /dev/null differ diff --git a/auto_fill/static/description/assets/icons/logo.png b/auto_fill/static/description/assets/icons/logo.png deleted file mode 100644 index 478462d3e..000000000 Binary files a/auto_fill/static/description/assets/icons/logo.png and /dev/null differ diff --git a/auto_fill/static/description/assets/icons/manufacturing-black.png b/auto_fill/static/description/assets/icons/manufacturing-black.png deleted file mode 100644 index 697eb0e9f..000000000 Binary files a/auto_fill/static/description/assets/icons/manufacturing-black.png and /dev/null differ diff --git a/auto_fill/static/description/assets/icons/pos-black.png b/auto_fill/static/description/assets/icons/pos-black.png deleted file mode 100644 index 97c0f90c1..000000000 Binary files a/auto_fill/static/description/assets/icons/pos-black.png and /dev/null differ diff --git a/auto_fill/static/description/assets/icons/puzzle.png b/auto_fill/static/description/assets/icons/puzzle.png deleted file mode 100644 index 65cf854e7..000000000 Binary files a/auto_fill/static/description/assets/icons/puzzle.png and /dev/null differ diff --git a/auto_fill/static/description/assets/icons/restaurant-black.png b/auto_fill/static/description/assets/icons/restaurant-black.png deleted file mode 100644 index 4a35eb939..000000000 Binary files a/auto_fill/static/description/assets/icons/restaurant-black.png and /dev/null differ diff --git a/auto_fill/static/description/assets/icons/service-black.png b/auto_fill/static/description/assets/icons/service-black.png deleted file mode 100644 index 301ab51cb..000000000 Binary files a/auto_fill/static/description/assets/icons/service-black.png and /dev/null differ diff --git a/auto_fill/static/description/assets/icons/trading-black.png b/auto_fill/static/description/assets/icons/trading-black.png deleted file mode 100644 index 9398ba2f1..000000000 Binary files a/auto_fill/static/description/assets/icons/trading-black.png and /dev/null differ diff --git a/auto_fill/static/description/assets/icons/training.png b/auto_fill/static/description/assets/icons/training.png deleted file mode 100644 index 884ca024d..000000000 Binary files a/auto_fill/static/description/assets/icons/training.png and /dev/null differ diff --git a/auto_fill/static/description/assets/icons/update.png b/auto_fill/static/description/assets/icons/update.png deleted file mode 100644 index ecbc5a01a..000000000 Binary files a/auto_fill/static/description/assets/icons/update.png and /dev/null differ diff --git a/auto_fill/static/description/assets/icons/user.png b/auto_fill/static/description/assets/icons/user.png deleted file mode 100644 index 6ffb23d9f..000000000 Binary files a/auto_fill/static/description/assets/icons/user.png and /dev/null differ diff --git a/auto_fill/static/description/assets/icons/wrench.png b/auto_fill/static/description/assets/icons/wrench.png deleted file mode 100644 index 6c04dea0f..000000000 Binary files a/auto_fill/static/description/assets/icons/wrench.png and /dev/null differ diff --git a/auto_fill/static/description/assets/modules/approval_image.png b/auto_fill/static/description/assets/modules/approval_image.png deleted file mode 100644 index 84fe94e80..000000000 Binary files a/auto_fill/static/description/assets/modules/approval_image.png and /dev/null differ diff --git a/auto_fill/static/description/assets/modules/budget_image.png b/auto_fill/static/description/assets/modules/budget_image.png deleted file mode 100644 index fe6aa6fe4..000000000 Binary files a/auto_fill/static/description/assets/modules/budget_image.png and /dev/null differ diff --git a/auto_fill/static/description/assets/modules/export_image.png b/auto_fill/static/description/assets/modules/export_image.png deleted file mode 100644 index 4e4ea0e51..000000000 Binary files a/auto_fill/static/description/assets/modules/export_image.png and /dev/null differ diff --git a/auto_fill/static/description/assets/modules/magento_image.png b/auto_fill/static/description/assets/modules/magento_image.png deleted file mode 100644 index 39de0820f..000000000 Binary files a/auto_fill/static/description/assets/modules/magento_image.png and /dev/null differ diff --git a/auto_fill/static/description/assets/modules/pos_image.png b/auto_fill/static/description/assets/modules/pos_image.png deleted file mode 100644 index c5932894b..000000000 Binary files a/auto_fill/static/description/assets/modules/pos_image.png and /dev/null differ diff --git a/auto_fill/static/description/assets/modules/shopify_image.png b/auto_fill/static/description/assets/modules/shopify_image.png deleted file mode 100644 index c6d92c16d..000000000 Binary files a/auto_fill/static/description/assets/modules/shopify_image.png and /dev/null differ diff --git a/auto_fill/static/description/assets/screenshots/auto_fill.gif b/auto_fill/static/description/assets/screenshots/auto_fill.gif deleted file mode 100644 index 396f67f53..000000000 Binary files a/auto_fill/static/description/assets/screenshots/auto_fill.gif and /dev/null differ diff --git a/auto_fill/static/description/assets/screenshots/hero.png b/auto_fill/static/description/assets/screenshots/hero.png deleted file mode 100644 index df0ac9ab5..000000000 Binary files a/auto_fill/static/description/assets/screenshots/hero.png and /dev/null differ diff --git a/auto_fill/static/description/auto_fill.gif b/auto_fill/static/description/auto_fill.gif deleted file mode 100644 index d8c354343..000000000 Binary files a/auto_fill/static/description/auto_fill.gif and /dev/null differ diff --git a/auto_fill/static/description/banner.jpg b/auto_fill/static/description/banner.jpg deleted file mode 100755 index 434e8bfe3..000000000 Binary files a/auto_fill/static/description/banner.jpg and /dev/null differ diff --git a/auto_fill/static/description/cybro_logo.png b/auto_fill/static/description/cybro_logo.png deleted file mode 100755 index bb309114c..000000000 Binary files a/auto_fill/static/description/cybro_logo.png and /dev/null differ diff --git a/auto_fill/static/description/icon.png b/auto_fill/static/description/icon.png deleted file mode 100755 index 538cbf146..000000000 Binary files a/auto_fill/static/description/icon.png and /dev/null differ diff --git a/auto_fill/static/description/index.html b/auto_fill/static/description/index.html deleted file mode 100644 index e60b09e4f..000000000 --- a/auto_fill/static/description/index.html +++ /dev/null @@ -1,589 +0,0 @@ -
-
-
-
- -
-
-
- Community -
-
- Enterprise -
- -
-
-
-
- -
-
-
-

- Auto Fill Widget

-

- Widget that suggests field value from existing records -

- -
-
- - - - -
-
-

- Overview -

-
- -
-

- Widget for auto completing a character field according to its existing record values.

- -
-
-
-
-

- Configuration -

-
- -
-

- After installing the module, you can put the tag widget="auto_fill" in your form view.

- -
-
- - -
-
-

- Features -

-
- -
-
- -
-
-

- Can insert any character or text fields

- -
-
-
-
- -
-
-

- Fast Result

- -
-
- -
-
- -
-
-

- Attractive Design

- -
-
- -
-
- -
-
-

- Widget = auto_fill

- -
-
- - -
- -
-
-

- Screenshots -

-
-
-

- Drill-down

- - -
- - - -
- - - -
-
-

Suggested Products

-
- - -
-
- - - -
-
-
-

Our Services

-
-
- -
-
- -
-
- Odoo - Customization
-
- -
-
- -
-
- Odoo - Implementation
-
- -
-
- -
-
- Odoo - Support
-
- - -
-
- -
-
- Hire - Odoo - Developer
-
- -
-
- -
-
- Odoo - Integration
-
- -
-
- -
-
- Odoo - Migration
-
- - -
-
- -
-
- Odoo - Consultancy
-
- -
-
- -
-
- Odoo - Implementation
-
- -
-
- -
-
- Odoo - Licensing Consultancy
-
-
-
- - - -
-
-
-

Our Industries

-
-
- -
-
- -
- Trading -
-

- Easily procure - and - sell your products

-
-
- -
-
- -
- POS -
-

- Easy - configuration - and convivial experience

-
-
- -
-
- -
- Education -
-

- A platform for - educational management

-
-
- -
-
- -
- Manufacturing -
-

- Plan, track and - schedule your operations

-
-
- -
-
- -
- E-commerce & Website -
-

- Mobile - friendly, - awe-inspiring product pages

-
-
- -
-
- -
- Service Management -
-

- Keep track of - services and invoice

-
-
- -
-
- -
- Restaurant -
-

- Run your bar or - restaurant methodically

-
-
- -
-
- -
- Hotel Management -
-

- An - all-inclusive - hotel management application

-
-
- -
-
- - - - - -
-
-
-

Need Help?

-
-
-
- - -
- -
- -
- -
- WhatsApp -
-
-
- -
- -
- -
-
- -
- -
- -
-
- -
-
-
- - -
\ No newline at end of file diff --git a/auto_fill/static/src/css/auto_fill.css b/auto_fill/static/src/css/auto_fill.css deleted file mode 100755 index 62b1e0e4d..000000000 --- a/auto_fill/static/src/css/auto_fill.css +++ /dev/null @@ -1,32 +0,0 @@ -.auto-fill-scrollbar { - z-index: 1051; - position: absolute; - background: #ffffff; - overflow-y: scroll; - height: auto; - display:none; - width:auto !important; - border: 1px solid #E5E5E5; - font-size: 13px; - padding: 5px 0px; - box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.176); -} -.auto-fill-scrollbar td { - padding-left: 7px !important; - padding-right: 7px !important; -} -.auto-fill-scrollbar td:hover{ - background: #2d6cb3; - color: #fff; - width: 5px; -} -.list_matches{ - width: 100%; - cursor: pointer; -} -.input_field_auto_fill { - border: 1px solid #D2D2FF; -} -.text_field_auto_fill { - border: 1px solid #D2D2FF; -} diff --git a/auto_fill/static/src/js/auto_fill.js b/auto_fill/static/src/js/auto_fill.js deleted file mode 100755 index 6073b3965..000000000 --- a/auto_fill/static/src/js/auto_fill.js +++ /dev/null @@ -1,53 +0,0 @@ -odoo.define('auto_fill.AutoFill', function (require) { - "use strict"; - - var ajax = require('web.ajax'); - var basic_fields = require('web.basic_fields'); - var registry = require('web.field_registry'); - var CharField = registry.get('char'); - - var FieldAutoFill = CharField.extend({ - template: 'FieldAutoFill', - events: _.extend({}, CharField.prototype.events, { - 'keyup': '_onKeyup', - 'click #list_matches': '_onTableRowClicked', - }), - - _onKeyup: function () { - var value = document.getElementsByClassName('input_field_auto_fill')[0].value; - ajax.jsonRpc('/matching/records', 'call', { - model: this.model, - field: this.name, - value: value, - }).then(function (result){ - if (result.length > 0){ - $('.auto-fill-scrollbar').css('display', 'block'); - var table = document.getElementById("list_matches"); - $("#list_matches tr").remove(); - var i; - for (i = 0; i < result.length; i++) { - var row = table.insertRow(i); - var cell = row.insertCell(0); - cell.innerHTML = result[i]; - } - } - else { - $('.auto-fill-scrollbar').css('display', 'none'); - } - }) ; - }, - - _onTableRowClicked: function (ev) { - document.getElementsByClassName('input_field_auto_fill')[0].value = ev.target.textContent; - $('.auto-fill-scrollbar').css('display', 'none'); - }, - - }); - - registry.add('auto_fill', FieldAutoFill); - - return { - FieldAutoFill: FieldAutoFill, - }; - -}); diff --git a/auto_fill/static/src/xml/auto_fill.xml b/auto_fill/static/src/xml/auto_fill.xml deleted file mode 100755 index f34bdc2d6..000000000 --- a/auto_fill/static/src/xml/auto_fill.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - -