diff --git a/pos_stock_transfer/README.rst b/pos_stock_transfer/README.rst deleted file mode 100644 index 9a42e13b3..000000000 --- a/pos_stock_transfer/README.rst +++ /dev/null @@ -1,42 +0,0 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - -Point of Sale Stock Transfer -==================== -This module helps to transfer stock from POS session. - -Configuration -============= -No additional configuration required - -Company -------- -* `Cybrosys Techno Solutions `__ - -Credits -------- -Developer: Raneesha M K @cybrosys, Contact: odoo@cybrosys.com - -Contacts --------- -* Mail Contact : odoo@cybrosys.com -* Website : https://cybrosys.com - -Bug Tracker ------------ -Bugs are tracked on GitHub Issues. In case of trouble, please check there if -your issue has already been reported. - -Maintainer -========== -.. image:: https://cybrosys.com/images/logo.png - :target: https://cybrosys.com - -This module is maintained by Cybrosys Technologies. - -For support and more information, please visit `Our Website `__ - -Further information -=================== -HTML Description: ``__ \ No newline at end of file diff --git a/pos_stock_transfer/__init__.py b/pos_stock_transfer/__init__.py deleted file mode 100644 index 084f44af0..000000000 --- a/pos_stock_transfer/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################### -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Raneesha M K (odoo@cybrosys.com) -# -# You can modify it under the terms of the GNU AFFERO -# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. -# -# 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 (AGPL v3) for more details. -# -# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE -# (AGPL v3) along with this program. -# If not, see . -# -############################################################################### -from . import models diff --git a/pos_stock_transfer/__manifest__.py b/pos_stock_transfer/__manifest__.py deleted file mode 100644 index c62f4689a..000000000 --- a/pos_stock_transfer/__manifest__.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################### -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Raneesha M K (odoo@cybrosys.com) -# -# You can modify it under the terms of the GNU AFFERO -# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. -# -# 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 (AGPL v3) for more details. -# -# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE -# (AGPL v3) along with this program. -# If not, see . -# -############################################################################### -{ - 'name': 'Point of Sale Stock Transfer', - 'version': '16.0.1.0.0', - 'category': 'Point of Sale', - 'author': 'Cybrosys Techno Solutions', - 'company': 'Cybrosys Techno Solutions', - 'maintainer': 'Cybrosys Techno Solutions', - 'images': ['static/description/banner.jpg'], - 'website': 'https://www.cybrosys.com', - 'depends': ['base', 'point_of_sale'], - 'summary': "Allows to directly transfer the " - "stock from the current POS session", - 'description': "This module allows to transfer stock(incoming order, " - "delivery order, internal transfer & POS orders) " - "from the POS session.", - 'data': ['views/res_config_settings_views.xml'], - 'assets': { - 'point_of_sale.assets': [ - '/pos_stock_transfer/static/src/xml/stock_transfer_button.xml', - '/pos_stock_transfer/static/src/xml/transfer_ref_popup.xml', - '/pos_stock_transfer/static/src/xml/transfer_create_popup.xml', - '/pos_stock_transfer/static/src/js/stock_transfer.js', - '/pos_stock_transfer/static/src/js/transfer_create_popup.js', - '/pos_stock_transfer/static/src/js/transfer_ref_popup.js', - ], - }, - 'license': 'AGPL-3', - 'installable': True, - 'auto_install': False, - 'application': False, -} diff --git a/pos_stock_transfer/doc/RELEASE_NOTES.md b/pos_stock_transfer/doc/RELEASE_NOTES.md deleted file mode 100644 index 47d441d3f..000000000 --- a/pos_stock_transfer/doc/RELEASE_NOTES.md +++ /dev/null @@ -1,6 +0,0 @@ -## Module - -#### 15.03.2023 -#### Version 16.0.1.0.0 -#### ADD -Initial Commit Point of Sale Stock Transfer \ No newline at end of file diff --git a/pos_stock_transfer/models/__init__.py b/pos_stock_transfer/models/__init__.py deleted file mode 100644 index b61209691..000000000 --- a/pos_stock_transfer/models/__init__.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################### -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Raneesha M K (odoo@cybrosys.com) -# -# You can modify it under the terms of the GNU AFFERO -# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. -# -# 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 (AGPL v3) for more details. -# -# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE -# (AGPL v3) along with this program. -# If not, see . -# -############################################################################### -from . import pos_config -from . import res_config_settings diff --git a/pos_stock_transfer/models/pos_config.py b/pos_stock_transfer/models/pos_config.py deleted file mode 100644 index 5f6b6583a..000000000 --- a/pos_stock_transfer/models/pos_config.py +++ /dev/null @@ -1,81 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################### -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Raneesha M K (odoo@cybrosys.com) -# -# You can modify it under the terms of the GNU AFFERO -# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. -# -# 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 (AGPL v3) for more details. -# -# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE -# (AGPL v3) along with this program. -# If not, see . -# -############################################################################### -from odoo import api, fields, models -from odoo.fields import Command - - -class PosConfig(models.Model): - """Inherited model for adding new field to configuration settings - that allows to transfer stock from pos session""" - _inherit = 'pos.config' - - stock_transfer = fields.Boolean(string="Enable Stock Transfer", - help="Enable if you want to transfer " - "stock from PoS session") - - @api.model - def get_stock_transfer_list(self): - """To get selection field values of stock transfer popup - - :return dict: returns list of dictionary with stock picking types, - stock location, and stock warehouse. - """ - main = {} - main['picking_type'] = self.env['stock.picking.type'].search_read( - [('company_id', '=', self.env.user.company_id.id)], - ['display_name', 'code']) - main['location'] = self.env['stock.location'].search_read([], [ - 'display_name']) - main['wh_stock'] = self.env['stock.warehouse'].search( - [('company_id', '=', self.env.user.company_id.id)]).lot_stock_id.id - return main - - @api.model - def create_transfer(self, pick_id, source_id, dest_id, state, line): - """ Create a stock transfer based on the popup value - - :param pick_id(string): id of stock picking type - :param source_id(string): id of source stock location - :param dest_id(string): id of destination stock location - :param state(string): state of stock picking - :param line(dictionary): dictionary values with product ids and quantity - - :return dict: returns dictionary of values with created stock transfer - id and name - """ - transfer = self.env['stock.picking'].create({ - 'picking_type_id': int(pick_id), - 'location_id': int(source_id), - 'location_dest_id': int(dest_id), - 'move_ids': [Command.create({ - 'product_id': line['pro_id'][rec], - 'product_uom_qty': line['qty'][rec], - 'location_id': int(source_id), - 'location_dest_id': int(dest_id), - 'name': "Product" - }) for rec in range(len(line['pro_id']))], - }) - transfer.write({'state': state}) - return { - 'id': transfer.id, - 'name': transfer.name - } diff --git a/pos_stock_transfer/models/res_config_settings.py b/pos_stock_transfer/models/res_config_settings.py deleted file mode 100644 index d2c9a70d3..000000000 --- a/pos_stock_transfer/models/res_config_settings.py +++ /dev/null @@ -1,33 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################### -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Raneesha M K (odoo@cybrosys.com) -# -# You can modify it under the terms of the GNU AFFERO -# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. -# -# 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 (AGPL v3) for more details. -# -# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE -# (AGPL v3) along with this program. -# If not, see . -# -############################################################################### -from odoo import fields, models - - -class ResConfigSettings(models.TransientModel): - """Inheriting model for adding a field to settings that allow to - transfer stock from pos session """ - _inherit = 'res.config.settings' - - is_stock_transfer = fields.Boolean(related="pos_config_id.stock_transfer", - string="Enable Stock Transfer", - help="Enable if you want to transfer " - "stock from PoS session", readonly=False) diff --git a/pos_stock_transfer/static/description/assets/icons/check.png b/pos_stock_transfer/static/description/assets/icons/check.png deleted file mode 100644 index c8e85f51d..000000000 Binary files a/pos_stock_transfer/static/description/assets/icons/check.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/icons/chevron.png b/pos_stock_transfer/static/description/assets/icons/chevron.png deleted file mode 100644 index 2089293d6..000000000 Binary files a/pos_stock_transfer/static/description/assets/icons/chevron.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/icons/cogs.png b/pos_stock_transfer/static/description/assets/icons/cogs.png deleted file mode 100644 index 95d0bad62..000000000 Binary files a/pos_stock_transfer/static/description/assets/icons/cogs.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/icons/consultation.png b/pos_stock_transfer/static/description/assets/icons/consultation.png deleted file mode 100644 index 8319d4baa..000000000 Binary files a/pos_stock_transfer/static/description/assets/icons/consultation.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/icons/ecom-black.png b/pos_stock_transfer/static/description/assets/icons/ecom-black.png deleted file mode 100644 index a9385ff13..000000000 Binary files a/pos_stock_transfer/static/description/assets/icons/ecom-black.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/icons/education-black.png b/pos_stock_transfer/static/description/assets/icons/education-black.png deleted file mode 100644 index 3eb09b27b..000000000 Binary files a/pos_stock_transfer/static/description/assets/icons/education-black.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/icons/hotel-black.png b/pos_stock_transfer/static/description/assets/icons/hotel-black.png deleted file mode 100644 index 130f613be..000000000 Binary files a/pos_stock_transfer/static/description/assets/icons/hotel-black.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/icons/license.png b/pos_stock_transfer/static/description/assets/icons/license.png deleted file mode 100644 index a5869797e..000000000 Binary files a/pos_stock_transfer/static/description/assets/icons/license.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/icons/lifebuoy.png b/pos_stock_transfer/static/description/assets/icons/lifebuoy.png deleted file mode 100644 index 658d56ccc..000000000 Binary files a/pos_stock_transfer/static/description/assets/icons/lifebuoy.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/icons/manufacturing-black.png b/pos_stock_transfer/static/description/assets/icons/manufacturing-black.png deleted file mode 100644 index 697eb0e9f..000000000 Binary files a/pos_stock_transfer/static/description/assets/icons/manufacturing-black.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/icons/pos-black.png b/pos_stock_transfer/static/description/assets/icons/pos-black.png deleted file mode 100644 index 97c0f90c1..000000000 Binary files a/pos_stock_transfer/static/description/assets/icons/pos-black.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/icons/puzzle.png b/pos_stock_transfer/static/description/assets/icons/puzzle.png deleted file mode 100644 index 65cf854e7..000000000 Binary files a/pos_stock_transfer/static/description/assets/icons/puzzle.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/icons/restaurant-black.png b/pos_stock_transfer/static/description/assets/icons/restaurant-black.png deleted file mode 100644 index 4a35eb939..000000000 Binary files a/pos_stock_transfer/static/description/assets/icons/restaurant-black.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/icons/service-black.png b/pos_stock_transfer/static/description/assets/icons/service-black.png deleted file mode 100644 index 301ab51cb..000000000 Binary files a/pos_stock_transfer/static/description/assets/icons/service-black.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/icons/trading-black.png b/pos_stock_transfer/static/description/assets/icons/trading-black.png deleted file mode 100644 index 9398ba2f1..000000000 Binary files a/pos_stock_transfer/static/description/assets/icons/trading-black.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/icons/training.png b/pos_stock_transfer/static/description/assets/icons/training.png deleted file mode 100644 index 884ca024d..000000000 Binary files a/pos_stock_transfer/static/description/assets/icons/training.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/icons/update.png b/pos_stock_transfer/static/description/assets/icons/update.png deleted file mode 100644 index ecbc5a01a..000000000 Binary files a/pos_stock_transfer/static/description/assets/icons/update.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/icons/user.png b/pos_stock_transfer/static/description/assets/icons/user.png deleted file mode 100644 index 6ffb23d9f..000000000 Binary files a/pos_stock_transfer/static/description/assets/icons/user.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/icons/wrench.png b/pos_stock_transfer/static/description/assets/icons/wrench.png deleted file mode 100644 index 6c04dea0f..000000000 Binary files a/pos_stock_transfer/static/description/assets/icons/wrench.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/misc/categories.png b/pos_stock_transfer/static/description/assets/misc/categories.png deleted file mode 100644 index bedf1e0b1..000000000 Binary files a/pos_stock_transfer/static/description/assets/misc/categories.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/misc/check-box.png b/pos_stock_transfer/static/description/assets/misc/check-box.png deleted file mode 100644 index 42caf24b9..000000000 Binary files a/pos_stock_transfer/static/description/assets/misc/check-box.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/misc/compass.png b/pos_stock_transfer/static/description/assets/misc/compass.png deleted file mode 100644 index d5fed8faa..000000000 Binary files a/pos_stock_transfer/static/description/assets/misc/compass.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/misc/corporate.png b/pos_stock_transfer/static/description/assets/misc/corporate.png deleted file mode 100644 index 2eb13edbf..000000000 Binary files a/pos_stock_transfer/static/description/assets/misc/corporate.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/misc/customer-support.png b/pos_stock_transfer/static/description/assets/misc/customer-support.png deleted file mode 100644 index 79efc72ed..000000000 Binary files a/pos_stock_transfer/static/description/assets/misc/customer-support.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/misc/cybrosys-logo.png b/pos_stock_transfer/static/description/assets/misc/cybrosys-logo.png deleted file mode 100644 index cc3cc0ccf..000000000 Binary files a/pos_stock_transfer/static/description/assets/misc/cybrosys-logo.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/misc/features.png b/pos_stock_transfer/static/description/assets/misc/features.png deleted file mode 100644 index b41769f77..000000000 Binary files a/pos_stock_transfer/static/description/assets/misc/features.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/misc/logo.png b/pos_stock_transfer/static/description/assets/misc/logo.png deleted file mode 100644 index 478462d3e..000000000 Binary files a/pos_stock_transfer/static/description/assets/misc/logo.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/misc/pictures.png b/pos_stock_transfer/static/description/assets/misc/pictures.png deleted file mode 100644 index 56d255fe9..000000000 Binary files a/pos_stock_transfer/static/description/assets/misc/pictures.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/misc/pie-chart.png b/pos_stock_transfer/static/description/assets/misc/pie-chart.png deleted file mode 100644 index 426e05244..000000000 Binary files a/pos_stock_transfer/static/description/assets/misc/pie-chart.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/misc/right-arrow.png b/pos_stock_transfer/static/description/assets/misc/right-arrow.png deleted file mode 100644 index 730984a06..000000000 Binary files a/pos_stock_transfer/static/description/assets/misc/right-arrow.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/misc/star.png b/pos_stock_transfer/static/description/assets/misc/star.png deleted file mode 100644 index 2eb9ab29f..000000000 Binary files a/pos_stock_transfer/static/description/assets/misc/star.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/misc/support.png b/pos_stock_transfer/static/description/assets/misc/support.png deleted file mode 100644 index 4f18b8b82..000000000 Binary files a/pos_stock_transfer/static/description/assets/misc/support.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/misc/whatsapp.png b/pos_stock_transfer/static/description/assets/misc/whatsapp.png deleted file mode 100644 index d513a5356..000000000 Binary files a/pos_stock_transfer/static/description/assets/misc/whatsapp.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/modules/m1.png b/pos_stock_transfer/static/description/assets/modules/m1.png deleted file mode 100644 index 5ecc4d883..000000000 Binary files a/pos_stock_transfer/static/description/assets/modules/m1.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/modules/m2.png b/pos_stock_transfer/static/description/assets/modules/m2.png deleted file mode 100644 index 89ff6c635..000000000 Binary files a/pos_stock_transfer/static/description/assets/modules/m2.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/modules/m3.png b/pos_stock_transfer/static/description/assets/modules/m3.png deleted file mode 100644 index fd1f87699..000000000 Binary files a/pos_stock_transfer/static/description/assets/modules/m3.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/modules/m4.png b/pos_stock_transfer/static/description/assets/modules/m4.png deleted file mode 100644 index 5514bb8d4..000000000 Binary files a/pos_stock_transfer/static/description/assets/modules/m4.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/modules/m5.png b/pos_stock_transfer/static/description/assets/modules/m5.png deleted file mode 100644 index 38ea1f663..000000000 Binary files a/pos_stock_transfer/static/description/assets/modules/m5.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/modules/m6.png b/pos_stock_transfer/static/description/assets/modules/m6.png deleted file mode 100644 index f52b99646..000000000 Binary files a/pos_stock_transfer/static/description/assets/modules/m6.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/screenshots/1.png b/pos_stock_transfer/static/description/assets/screenshots/1.png deleted file mode 100644 index 0de09b272..000000000 Binary files a/pos_stock_transfer/static/description/assets/screenshots/1.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/screenshots/2.png b/pos_stock_transfer/static/description/assets/screenshots/2.png deleted file mode 100644 index 781074ac1..000000000 Binary files a/pos_stock_transfer/static/description/assets/screenshots/2.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/screenshots/3.png b/pos_stock_transfer/static/description/assets/screenshots/3.png deleted file mode 100644 index 9a691c8db..000000000 Binary files a/pos_stock_transfer/static/description/assets/screenshots/3.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/screenshots/4.png b/pos_stock_transfer/static/description/assets/screenshots/4.png deleted file mode 100644 index a1e10cb30..000000000 Binary files a/pos_stock_transfer/static/description/assets/screenshots/4.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/screenshots/5.png b/pos_stock_transfer/static/description/assets/screenshots/5.png deleted file mode 100644 index 52513a467..000000000 Binary files a/pos_stock_transfer/static/description/assets/screenshots/5.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/assets/screenshots/v16-hero.gif b/pos_stock_transfer/static/description/assets/screenshots/v16-hero.gif deleted file mode 100644 index fa76ea2d7..000000000 Binary files a/pos_stock_transfer/static/description/assets/screenshots/v16-hero.gif and /dev/null differ diff --git a/pos_stock_transfer/static/description/banner.jpg b/pos_stock_transfer/static/description/banner.jpg deleted file mode 100644 index 69bcb5eaf..000000000 Binary files a/pos_stock_transfer/static/description/banner.jpg and /dev/null differ diff --git a/pos_stock_transfer/static/description/cybro_logo.png b/pos_stock_transfer/static/description/cybro_logo.png deleted file mode 100644 index bb309114c..000000000 Binary files a/pos_stock_transfer/static/description/cybro_logo.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/icon.png b/pos_stock_transfer/static/description/icon.png deleted file mode 100644 index 1bc4dba7f..000000000 Binary files a/pos_stock_transfer/static/description/icon.png and /dev/null differ diff --git a/pos_stock_transfer/static/description/index.html b/pos_stock_transfer/static/description/index.html deleted file mode 100644 index 2104de89d..000000000 --- a/pos_stock_transfer/static/description/index.html +++ /dev/null @@ -1,556 +0,0 @@ -
- -
- -
-
- Community -
-
- Enterprise -
-
- Odoo.sh -
-
-
- - - -

Point of - Sale Stock Transfer

-

Allows to directly transfer the stock from the current POS session

- - - -
- - -
-
- -
-

Explore This - Module

-
- - - - -
-
- -
-

Overview -

-
-
-
- This module allows to transfer stock(incoming order, delivery order, internal transfer & POS orders) from the POS session. A fast option to transfer stock right from the POS session has been implemented. -
-
- - - -
-
- -
-

Features -

-
-
-
-
- - Makes stock transfer from POS session. -
-
- - Do all type of transfers on just one click. -
-
-
- - - -
-
- -
-

Screenshots -

-
-
-
- -
-

Enable Stock Transfer - from the POS settings

-

Go to PoS Settings -> - Enable Stock Transfer. After enabling this, the transfer option will be visible in POS session.

- -
- -
-

Select Products and - click the button

-

Select the products to - transfer and click the button Stock Transfer, it opens a popup.

- - - -
-

You have to - choose - type of transfer, source location, destination location and state

- -
- -
-

The Stock is - transferred

-

Now the transfer is - created based on the values selected in popup. When you click on the transfer number it opens the - backend view.

- -
- -
-

The backend view - of the transfer

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

Related - 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

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

Support -

-
-
-
-
-
-
- -
-
-

Need Help?

-

Got questions or need help? Get in touch.

- -

- odoo@cybrosys.com

-
-
-
-
-
-
-
- -
-
-

WhatsApp

-

Say hi to us on WhatsApp!

- -

+91 86068 - 27707

-
-
-
-
-
-
-
- -
-
-
-
- \ No newline at end of file diff --git a/pos_stock_transfer/static/src/js/stock_transfer.js b/pos_stock_transfer/static/src/js/stock_transfer.js deleted file mode 100644 index 7d7b40b67..000000000 --- a/pos_stock_transfer/static/src/js/stock_transfer.js +++ /dev/null @@ -1,40 +0,0 @@ -/** @odoo-module **/ -/** - * This file is used to register the a new button for stock transfer -*/ -import PosComponent from 'point_of_sale.PosComponent'; -import Registries from 'point_of_sale.Registries'; -import ProductScreen from 'point_of_sale.ProductScreen'; -const { useListener } = require("@web/core/utils/hooks"); -const rpc = require('web.rpc'); - - class StockTransferButton extends PosComponent { - async onClick(){ - // This will show a popup to transfer stock with selected products and customer - var self = this - if((this.env.pos.get_order().orderlines) == 0){ - this.showPopup('ErrorPopup',{ - 'title': this.env._t('Select Products'), - 'body': "Please Select at least one product for transferring", - }); - } - else{ - await rpc.query({ - model:'pos.config', - method:'get_stock_transfer_list', - }).then(function(result){ - self.showPopup("CreateTransferPopup", { - data : result, - }); - }); - } - } - } -StockTransferButton.template = 'StockTransferButton'; - ProductScreen.addControlButton({ - component: StockTransferButton, - condition: function() { - return true; - }, - }); -Registries.Component.add(StockTransferButton); \ No newline at end of file diff --git a/pos_stock_transfer/static/src/js/transfer_create_popup.js b/pos_stock_transfer/static/src/js/transfer_create_popup.js deleted file mode 100644 index 08ace3f2e..000000000 --- a/pos_stock_transfer/static/src/js/transfer_create_popup.js +++ /dev/null @@ -1,50 +0,0 @@ -/** @odoo-module **/ -/** - * This file is used register a popup for transferring the stock of selected products - */ - import AbstractAwaitablePopup from 'point_of_sale.AbstractAwaitablePopup'; - import Registries from 'point_of_sale.Registries'; - const rpc = require('web.rpc'); - - class CreateTransferPopup extends AbstractAwaitablePopup { - - _clickPicking(ev){ - // This hide and show destination and source location based on the picking type selected - var type = ev.target.selectedOptions[0].dataset.type - this.el.querySelector('#dest_tr').show(); - this.el.querySelector('#source_tr').show(); - if (type == 'incoming') { - this.el.querySelector('#source_tr').hide() - } - else if (type == 'outgoing') { - this.el.querySelector('#dest_tr').hide() - } - } - async Create(){ - // This get all the values you selected in the popup and transfer the stock by passing data backend. - var pick_id = this.el.querySelector('#picking' ).value; - var source_id = this.el.querySelector('#source_loc' ).value; - var dest_id = this.el.querySelector('#dest_loc' ).value; - var state = this.el.querySelector('#state' ).value; - var line = this.env.pos.get_order().orderlines; - var product = {'pro_id':[],'qty':[]} - for(var i=0; i - - - - -
- Stock Transfer -
-
-
-
diff --git a/pos_stock_transfer/static/src/xml/transfer_create_popup.xml b/pos_stock_transfer/static/src/xml/transfer_create_popup.xml deleted file mode 100644 index e67f8aa16..000000000 --- a/pos_stock_transfer/static/src/xml/transfer_create_popup.xml +++ /dev/null @@ -1,93 +0,0 @@ - - - diff --git a/pos_stock_transfer/static/src/xml/transfer_ref_popup.xml b/pos_stock_transfer/static/src/xml/transfer_ref_popup.xml deleted file mode 100644 index 92274436b..000000000 --- a/pos_stock_transfer/static/src/xml/transfer_ref_popup.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - diff --git a/pos_stock_transfer/views/res_config_settings_views.xml b/pos_stock_transfer/views/res_config_settings_views.xml deleted file mode 100644 index 8939b4f52..000000000 --- a/pos_stock_transfer/views/res_config_settings_views.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - res.config.settings.view.form.inherit.pos.stock.transfer - - res.config.settings - - - -
-

Stock Transfer

-
-
- -
-
-
-
-
-
-
-
-
\ No newline at end of file