diff --git a/pos_order_types/README.rst b/pos_order_types/README.rst new file mode 100644 index 000000000..7379caf1c --- /dev/null +++ b/pos_order_types/README.rst @@ -0,0 +1,44 @@ +.. image:: https://img.shields.io/badge/license-OPL--1-red.svg + :target: https://www.odoo.com/documentation/17.0/legal/licenses.html + :alt: License: OPL-1" + +POS Order Types +=============== +Helps the salesman to specify the type of order like parcel, delivery etc. + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +Odoo Proprietary License v1.0 (OPL-1) +(https://www.odoo.com/documentation/user/14.0/legal/licenses/licenses.html) + +Credits +------- +* Developer: + * Version 13: Nimisha Murali + * Version 14: Jibin James + * Version 15: Sachin T + * Version 16: Neenu Merlin Jose + * Version 17: Anjana P V, +Contact : odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@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 +========== +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ diff --git a/pos_order_types/__init__.py b/pos_order_types/__init__.py new file mode 100644 index 000000000..120f3276c --- /dev/null +++ b/pos_order_types/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Anjana P V (Contact : odoo@cybrosys.com) +# +# This program is under the terms of the Odoo Proprietary License v1.0 +# (OPL-1) +# It is forbidden to publish, distribute, sublicense, or sell copies of the +# Software or modified copies of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM +# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +# USE OR OTHER DEALINGS IN THE SOFTWARE. +# +############################################################################## +from . import models diff --git a/pos_order_types/__manifest__.py b/pos_order_types/__manifest__.py new file mode 100644 index 000000000..39196113f --- /dev/null +++ b/pos_order_types/__manifest__.py @@ -0,0 +1,59 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Anjana P V (Contact : odoo@cybrosys.com) +# +# This program is under the terms of the Odoo Proprietary License v1.0 +# (OPL-1) +# It is forbidden to publish, distribute, sublicense, or sell copies of the +# Software or modified copies of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM +# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +# USE OR OTHER DEALINGS IN THE SOFTWARE. +# +############################################################################## +{ + 'name': "POS Order Types", + 'version': '17.0.1.0.0', + 'category': 'Point of Sale', + 'summary': """ Helps the salesman to specify the type of order like parcel + delivery etc.""", + 'description': """This module helps to choose the order types in POS + screen. You have the option to choose different order types for multiple + Point of Sale.""", + 'author': "Cybrosys Techno Solutions", + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'http://www.cybrosys.com', + 'depends': ['pos_restaurant', 'point_of_sale'], + 'data': [ + 'security/ir.model.access.csv', + 'views/delivery_type_views.xml', + 'views/pos_order_views.xml', + 'views/res_config_settings_views.xml', + ], + 'assets': { + 'point_of_sale._assets_pos': [ + 'pos_order_types/static/src/js/models.js', + 'pos_order_types/static/src/js/deliverymethod_button.js', + 'pos_order_types/static/src/js/pos_store.js', + 'pos_order_types/static/src/xml/pos_delivery_method.xml', + 'pos_order_types/static/src/xml/**/*', + ], + }, + 'images': ['static/description/banner.png'], + 'license': 'OPL-1', + 'price': 9.99, + 'currency': 'EUR', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/pos_order_types/doc/RELEASE_NOTES.md b/pos_order_types/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..7773eb100 --- /dev/null +++ b/pos_order_types/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 03.07.2024 +#### Version 17.0.1.0.0 +##### ADD + +- Initial commit for POS Order Types diff --git a/pos_order_types/models/__init__.py b/pos_order_types/models/__init__.py new file mode 100644 index 000000000..477291df2 --- /dev/null +++ b/pos_order_types/models/__init__.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Anjana P V (Contact : odoo@cybrosys.com) +# +# This program is under the terms of the Odoo Proprietary License v1.0 +# (OPL-1) +# It is forbidden to publish, distribute, sublicense, or sell copies of the +# Software or modified copies of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM +# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +# USE OR OTHER DEALINGS IN THE SOFTWARE. +# +############################################################################## +from . import delivery_types +from . import pos_session +from . import pos_order +from . import res_config_settings diff --git a/pos_order_types/models/delivery_types.py b/pos_order_types/models/delivery_types.py new file mode 100644 index 000000000..3ca9b8e8a --- /dev/null +++ b/pos_order_types/models/delivery_types.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Anjana P V (Contact : odoo@cybrosys.com) +# +# This program is under the terms of the Odoo Proprietary License v1.0 +# (OPL-1) +# It is forbidden to publish, distribute, sublicense, or sell copies of the +# Software or modified copies of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM +# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +# USE OR OTHER DEALINGS IN THE SOFTWARE. +# +############################################################################## +from odoo import fields, models + + +class DeliveryTypes(models.Model): + """Creating delivery type.""" + _name = 'delivery.type' + + name = fields.Char(string='Order Type', help='Name of the delivery type') diff --git a/pos_order_types/models/pos_order.py b/pos_order_types/models/pos_order.py new file mode 100644 index 000000000..3a6a741bc --- /dev/null +++ b/pos_order_types/models/pos_order.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Anjana P V (Contact : odoo@cybrosys.com) +# +# This program is under the terms of the Odoo Proprietary License v1.0 +# (OPL-1) +# It is forbidden to publish, distribute, sublicense, or sell copies of the +# Software or modified copies of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM +# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +# USE OR OTHER DEALINGS IN THE SOFTWARE. +# +############################################################################## +from odoo import api, fields, models + + +class PosOrder(models.Model): + """Extends the POS Order model to include custom delivery type.""" + _inherit = 'pos.order' + + delivery_type = fields.Many2one('delivery.type', + string='Order Type', + help='Selected order type', readonly=True) + + @api.model + def _order_fields(self, ui_order): + """Extends the base method to include the delivery type field in + the order creation process.""" + order_fields = super(PosOrder, self)._order_fields(ui_order) + if ui_order['delivery_method']: + order_fields['delivery_type'] = ui_order['delivery_method']['id'] + return order_fields diff --git a/pos_order_types/models/pos_session.py b/pos_order_types/models/pos_session.py new file mode 100644 index 000000000..9bb80ff05 --- /dev/null +++ b/pos_order_types/models/pos_session.py @@ -0,0 +1,56 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Anjana P V (Contact : odoo@cybrosys.com) +# +# This program is under the terms of the Odoo Proprietary License v1.0 +# (OPL-1) +# It is forbidden to publish, distribute, sublicense, or sell copies of the +# Software or modified copies of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM +# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +# USE OR OTHER DEALINGS IN THE SOFTWARE. +# +############################################################################## +from odoo import models + + +class pos_session(models.Model): + """Extends the 'pos.session' model to customize data processing + and UI models for point of sale sessions.""" + _inherit = 'pos.session' + + def _pos_data_process(self, loaded_data): + """Process loaded data for the point of sale session, extending the + base class method.""" + super()._pos_data_process(loaded_data) + if self.config_id: + loaded_data['type_by_id'] = {order_type['id']: order_type for + order_type in + loaded_data['delivery.type']} + + def _pos_ui_models_to_load(self): + """Get the list of UI models to load for the point of sale session.""" + result = super()._pos_ui_models_to_load() + result += ['delivery.type'] + return result + + def _loader_params_delivery_type(self): + """Get the loader parameters for the 'delivery.type' model.""" + return { + 'search_params': { + 'domain': [('id', '=', self.env['res.config.settings'].search( + []).delivery_methods.ids)], + 'fields': ['name']}, } + + def _get_pos_ui_delivery_type(self, params): + """Retrieve UI data for 'delivery.type' based on provided parameters.""" + return self.env['delivery.type'].search_read(**params['search_params']) diff --git a/pos_order_types/models/res_config_settings.py b/pos_order_types/models/res_config_settings.py new file mode 100644 index 000000000..6cda14115 --- /dev/null +++ b/pos_order_types/models/res_config_settings.py @@ -0,0 +1,61 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Anjana P V (Contact : odoo@cybrosys.com) +# +# This program is under the terms of the Odoo Proprietary License v1.0 +# (OPL-1) +# It is forbidden to publish, distribute, sublicense, or sell copies of the +# Software or modified copies of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM +# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +# USE OR OTHER DEALINGS IN THE SOFTWARE. +# +############################################################################## +from ast import literal_eval +from odoo import api, fields, models + + +class ResConfigSettings(models.TransientModel): + """Extension of 'res.config.settings' for configuring delivery settings.""" + _inherit = 'res.config.settings' + + enable_delivery = fields.Boolean(string='Enable Order Types', + help='This field is used to enable to set' + 'the order types in settings') + delivery_methods = fields.Many2many('delivery.type', + string='Order Types', + help='Set the delivery methods') + + @api.model + def get_values(self): + """Get the values from settings.""" + res = super(ResConfigSettings, self).get_values() + icp_sudo = self.env['ir.config_parameter'].sudo() + partner_parameter = icp_sudo.get_param( + 'res.config.settings.enable_delivery') + partner_parameters = icp_sudo.get_param( + 'res.config.settings.delivery_methods') + res.update(enable_delivery=partner_parameter, + delivery_methods=[(6, 0, literal_eval(partner_parameters)) + ] if partner_parameters else False, ) + return res + + def set_values(self): + """Set the values.The new values are stored in the configuration + parameters.""" + res = super(ResConfigSettings, self).set_values() + self.env['ir.config_parameter'].sudo().set_param( + 'res.config.settings.enable_delivery', self.enable_delivery) + self.env['ir.config_parameter'].sudo().set_param( + 'res.config.settings.delivery_methods', + self.delivery_methods.ids) + return res diff --git a/pos_order_types/security/ir.model.access.csv b/pos_order_types/security/ir.model.access.csv new file mode 100644 index 000000000..dfcf716f8 --- /dev/null +++ b/pos_order_types/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_delivery_type_user,access.delivery.type.user,model_delivery_type,base.group_user,1,1,1,1 diff --git a/pos_order_types/static/description/assets/icons/check.png b/pos_order_types/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/pos_order_types/static/description/assets/icons/check.png differ diff --git a/pos_order_types/static/description/assets/icons/chevron.png b/pos_order_types/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/pos_order_types/static/description/assets/icons/chevron.png differ diff --git a/pos_order_types/static/description/assets/icons/cogs.png b/pos_order_types/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/pos_order_types/static/description/assets/icons/cogs.png differ diff --git a/pos_order_types/static/description/assets/icons/consultation.png b/pos_order_types/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/pos_order_types/static/description/assets/icons/consultation.png differ diff --git a/pos_order_types/static/description/assets/icons/ecom-black.png b/pos_order_types/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/pos_order_types/static/description/assets/icons/ecom-black.png differ diff --git a/pos_order_types/static/description/assets/icons/education-black.png b/pos_order_types/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/pos_order_types/static/description/assets/icons/education-black.png differ diff --git a/pos_order_types/static/description/assets/icons/hotel-black.png b/pos_order_types/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/pos_order_types/static/description/assets/icons/hotel-black.png differ diff --git a/pos_order_types/static/description/assets/icons/license.png b/pos_order_types/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/pos_order_types/static/description/assets/icons/license.png differ diff --git a/pos_order_types/static/description/assets/icons/lifebuoy.png b/pos_order_types/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/pos_order_types/static/description/assets/icons/lifebuoy.png differ diff --git a/pos_order_types/static/description/assets/icons/manufacturing-black.png b/pos_order_types/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/pos_order_types/static/description/assets/icons/manufacturing-black.png differ diff --git a/pos_order_types/static/description/assets/icons/pos-black.png b/pos_order_types/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/pos_order_types/static/description/assets/icons/pos-black.png differ diff --git a/pos_order_types/static/description/assets/icons/puzzle.png b/pos_order_types/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/pos_order_types/static/description/assets/icons/puzzle.png differ diff --git a/pos_order_types/static/description/assets/icons/restaurant-black.png b/pos_order_types/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/pos_order_types/static/description/assets/icons/restaurant-black.png differ diff --git a/pos_order_types/static/description/assets/icons/service-black.png b/pos_order_types/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/pos_order_types/static/description/assets/icons/service-black.png differ diff --git a/pos_order_types/static/description/assets/icons/trading-black.png b/pos_order_types/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/pos_order_types/static/description/assets/icons/trading-black.png differ diff --git a/pos_order_types/static/description/assets/icons/training.png b/pos_order_types/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/pos_order_types/static/description/assets/icons/training.png differ diff --git a/pos_order_types/static/description/assets/icons/update.png b/pos_order_types/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/pos_order_types/static/description/assets/icons/update.png differ diff --git a/pos_order_types/static/description/assets/icons/user.png b/pos_order_types/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/pos_order_types/static/description/assets/icons/user.png differ diff --git a/pos_order_types/static/description/assets/icons/wrench.png b/pos_order_types/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/pos_order_types/static/description/assets/icons/wrench.png differ diff --git a/pos_order_types/static/description/assets/misc/Cybrosys R.png b/pos_order_types/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/pos_order_types/static/description/assets/misc/Cybrosys R.png differ diff --git a/pos_order_types/static/description/assets/misc/categories.png b/pos_order_types/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/pos_order_types/static/description/assets/misc/categories.png differ diff --git a/pos_order_types/static/description/assets/misc/check-box.png b/pos_order_types/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/pos_order_types/static/description/assets/misc/check-box.png differ diff --git a/pos_order_types/static/description/assets/misc/compass.png b/pos_order_types/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/pos_order_types/static/description/assets/misc/compass.png differ diff --git a/pos_order_types/static/description/assets/misc/corporate.png b/pos_order_types/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/pos_order_types/static/description/assets/misc/corporate.png differ diff --git a/pos_order_types/static/description/assets/misc/customer-support.png b/pos_order_types/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/pos_order_types/static/description/assets/misc/customer-support.png differ diff --git a/pos_order_types/static/description/assets/misc/cybrosys-logo.png b/pos_order_types/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/pos_order_types/static/description/assets/misc/cybrosys-logo.png differ diff --git a/pos_order_types/static/description/assets/misc/features.png b/pos_order_types/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/pos_order_types/static/description/assets/misc/features.png differ diff --git a/pos_order_types/static/description/assets/misc/logo.png b/pos_order_types/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/pos_order_types/static/description/assets/misc/logo.png differ diff --git a/pos_order_types/static/description/assets/misc/pictures.png b/pos_order_types/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/pos_order_types/static/description/assets/misc/pictures.png differ diff --git a/pos_order_types/static/description/assets/misc/pie-chart.png b/pos_order_types/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/pos_order_types/static/description/assets/misc/pie-chart.png differ diff --git a/pos_order_types/static/description/assets/misc/right-arrow.png b/pos_order_types/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/pos_order_types/static/description/assets/misc/right-arrow.png differ diff --git a/pos_order_types/static/description/assets/misc/star.png b/pos_order_types/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/pos_order_types/static/description/assets/misc/star.png differ diff --git a/pos_order_types/static/description/assets/misc/support.png b/pos_order_types/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/pos_order_types/static/description/assets/misc/support.png differ diff --git a/pos_order_types/static/description/assets/misc/whatsapp.png b/pos_order_types/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/pos_order_types/static/description/assets/misc/whatsapp.png differ diff --git a/pos_order_types/static/description/assets/modules/1.jpg b/pos_order_types/static/description/assets/modules/1.jpg new file mode 100644 index 000000000..67c7f7062 Binary files /dev/null and b/pos_order_types/static/description/assets/modules/1.jpg differ diff --git a/pos_order_types/static/description/assets/modules/2.jpg b/pos_order_types/static/description/assets/modules/2.jpg new file mode 100644 index 000000000..87c2bb2ba Binary files /dev/null and b/pos_order_types/static/description/assets/modules/2.jpg differ diff --git a/pos_order_types/static/description/assets/modules/3.png b/pos_order_types/static/description/assets/modules/3.png new file mode 100644 index 000000000..a5299d338 Binary files /dev/null and b/pos_order_types/static/description/assets/modules/3.png differ diff --git a/pos_order_types/static/description/assets/modules/4.png b/pos_order_types/static/description/assets/modules/4.png new file mode 100644 index 000000000..a0ac2d840 Binary files /dev/null and b/pos_order_types/static/description/assets/modules/4.png differ diff --git a/pos_order_types/static/description/assets/modules/5.jpg b/pos_order_types/static/description/assets/modules/5.jpg new file mode 100644 index 000000000..6a102f103 Binary files /dev/null and b/pos_order_types/static/description/assets/modules/5.jpg differ diff --git a/pos_order_types/static/description/assets/modules/6.jpg b/pos_order_types/static/description/assets/modules/6.jpg new file mode 100644 index 000000000..eaf13fef5 Binary files /dev/null and b/pos_order_types/static/description/assets/modules/6.jpg differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/icons/check.png b/pos_order_types/static/description/assets/screenshots/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/icons/check.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/icons/chevron.png b/pos_order_types/static/description/assets/screenshots/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/icons/chevron.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/icons/cogs.png b/pos_order_types/static/description/assets/screenshots/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/icons/cogs.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/icons/consultation.png b/pos_order_types/static/description/assets/screenshots/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/icons/consultation.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/icons/ecom-black.png b/pos_order_types/static/description/assets/screenshots/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/icons/ecom-black.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/icons/education-black.png b/pos_order_types/static/description/assets/screenshots/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/icons/education-black.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/icons/hotel-black.png b/pos_order_types/static/description/assets/screenshots/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/icons/hotel-black.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/icons/license.png b/pos_order_types/static/description/assets/screenshots/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/icons/license.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/icons/lifebuoy.png b/pos_order_types/static/description/assets/screenshots/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/icons/lifebuoy.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/icons/manufacturing-black.png b/pos_order_types/static/description/assets/screenshots/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/icons/manufacturing-black.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/icons/pos-black.png b/pos_order_types/static/description/assets/screenshots/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/icons/pos-black.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/icons/puzzle.png b/pos_order_types/static/description/assets/screenshots/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/icons/puzzle.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/icons/restaurant-black.png b/pos_order_types/static/description/assets/screenshots/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/icons/restaurant-black.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/icons/service-black.png b/pos_order_types/static/description/assets/screenshots/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/icons/service-black.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/icons/trading-black.png b/pos_order_types/static/description/assets/screenshots/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/icons/trading-black.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/icons/training.png b/pos_order_types/static/description/assets/screenshots/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/icons/training.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/icons/update.png b/pos_order_types/static/description/assets/screenshots/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/icons/update.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/icons/user.png b/pos_order_types/static/description/assets/screenshots/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/icons/user.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/icons/wrench.png b/pos_order_types/static/description/assets/screenshots/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/icons/wrench.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/misc/Cybrosys R.png b/pos_order_types/static/description/assets/screenshots/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/misc/Cybrosys R.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/misc/categories.png b/pos_order_types/static/description/assets/screenshots/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/misc/categories.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/misc/check-box.png b/pos_order_types/static/description/assets/screenshots/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/misc/check-box.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/misc/compass.png b/pos_order_types/static/description/assets/screenshots/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/misc/compass.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/misc/corporate.png b/pos_order_types/static/description/assets/screenshots/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/misc/corporate.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/misc/customer-support.png b/pos_order_types/static/description/assets/screenshots/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/misc/customer-support.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/misc/cybrosys-logo.png b/pos_order_types/static/description/assets/screenshots/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/misc/cybrosys-logo.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/misc/features.png b/pos_order_types/static/description/assets/screenshots/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/misc/features.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/misc/logo.png b/pos_order_types/static/description/assets/screenshots/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/misc/logo.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/misc/pictures.png b/pos_order_types/static/description/assets/screenshots/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/misc/pictures.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/misc/pie-chart.png b/pos_order_types/static/description/assets/screenshots/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/misc/pie-chart.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/misc/right-arrow.png b/pos_order_types/static/description/assets/screenshots/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/misc/right-arrow.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/misc/star.png b/pos_order_types/static/description/assets/screenshots/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/misc/star.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/misc/support.png b/pos_order_types/static/description/assets/screenshots/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/misc/support.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/misc/whatsapp.png b/pos_order_types/static/description/assets/screenshots/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/misc/whatsapp.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/modules/1.jpg b/pos_order_types/static/description/assets/screenshots/description/assets/modules/1.jpg new file mode 100644 index 000000000..67c7f7062 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/modules/1.jpg differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/modules/2.jpg b/pos_order_types/static/description/assets/screenshots/description/assets/modules/2.jpg new file mode 100644 index 000000000..87c2bb2ba Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/modules/2.jpg differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/modules/3.png b/pos_order_types/static/description/assets/screenshots/description/assets/modules/3.png new file mode 100644 index 000000000..a5299d338 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/modules/3.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/modules/4.png b/pos_order_types/static/description/assets/screenshots/description/assets/modules/4.png new file mode 100644 index 000000000..a0ac2d840 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/modules/4.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/modules/5.jpg b/pos_order_types/static/description/assets/screenshots/description/assets/modules/5.jpg new file mode 100644 index 000000000..6a102f103 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/modules/5.jpg differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/modules/6.jpg b/pos_order_types/static/description/assets/screenshots/description/assets/modules/6.jpg new file mode 100644 index 000000000..eaf13fef5 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/modules/6.jpg differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/1.png b/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/1.png new file mode 100644 index 000000000..278ef6ed0 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/1.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/2.png b/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/2.png new file mode 100644 index 000000000..6e7f5803f Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/2.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/3.png b/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/3.png new file mode 100644 index 000000000..059eb1a8a Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/3.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/4.png b/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/4.png new file mode 100644 index 000000000..94b7ea491 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/4.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/5.png b/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/5.png new file mode 100644 index 000000000..b33b8278c Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/5.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/6.png b/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/6.png new file mode 100644 index 000000000..0e7219b75 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/6.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/7.png b/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/7.png new file mode 100644 index 000000000..352b63873 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/7.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/hero.gif b/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..20df9fdfe Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/assets/screenshots/hero.gif differ diff --git a/pos_order_types/static/description/assets/screenshots/description/banner.jpg b/pos_order_types/static/description/assets/screenshots/description/banner.jpg new file mode 100644 index 000000000..8ee3b6c4f Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/banner.jpg differ diff --git a/pos_order_types/static/description/assets/screenshots/description/icon.png b/pos_order_types/static/description/assets/screenshots/description/icon.png new file mode 100644 index 000000000..4eb880be6 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/description/icon.png differ diff --git a/pos_order_types/static/description/assets/screenshots/description/index.html b/pos_order_types/static/description/assets/screenshots/description/index.html new file mode 100644 index 000000000..105dca856 --- /dev/null +++ b/pos_order_types/static/description/assets/screenshots/description/index.html @@ -0,0 +1,737 @@ + + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Sales Team Access Controls

+

+ Provides Access Control for Sales Team Members and Leaders. +

+
+ +
+
+
+ +
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Sales team members can only access the sales orders, leads, and customers they created.

+
+
+
+
+
+
+ +
+
+

+ Sales team leaders can access both their own and their team members' sales orders, leads, and customers.

+
+
+
+ +
+
+
+ +
+
+
+
+
+ +
+
+

+ Select the Sales Team access right as Team Member.

+
+
+
+
+
+
+ + +
+
+

+ User can access only the Sale Orders created by him.

+
+
+
+
+
+
+ +
+
+

User can access only the Leads created by him.

+
+
+
+ +
+
+
+ +
+
+

+ User can access only the Customers created by him.

+
+
+
+
+
+
+ +
+
+

+ Select the Sales Team access right as Team Leader.

+
+
+
+
+
+
+ +
+
+

+ User can access only the Sale Orders created by him and his team members.

+
+
+
+
+
+
+ +
+
+

+ User can access only the Leads created by him and his team members. +

+
+
+
+ +
+ +
+
+
    +
  • + + Sales team members have restricted access to only + the sales orders, leads, and customers they have personally created. +
  • +
  • + + sales team leaders have access to sales orders, leads, + and customers they have personally created, as well as those created by team members. +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on: +
+

+ + Initial Commit for Sales Team Access Controls.

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

+ +
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire + Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo + Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

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 + 99456767686 +
+
+
+
+
+
+
+
+
+ + + + + + diff --git a/pos_order_types/static/description/assets/screenshots/hero.gif b/pos_order_types/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..3a14485ba Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/hero.gif differ diff --git a/pos_order_types/static/description/assets/screenshots/pos_order_type_01.png b/pos_order_types/static/description/assets/screenshots/pos_order_type_01.png new file mode 100644 index 000000000..a39489fb7 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/pos_order_type_01.png differ diff --git a/pos_order_types/static/description/assets/screenshots/pos_order_type_02.png b/pos_order_types/static/description/assets/screenshots/pos_order_type_02.png new file mode 100644 index 000000000..99bfdb0ee Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/pos_order_type_02.png differ diff --git a/pos_order_types/static/description/assets/screenshots/pos_order_type_03.png b/pos_order_types/static/description/assets/screenshots/pos_order_type_03.png new file mode 100644 index 000000000..04a36f5ee Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/pos_order_type_03.png differ diff --git a/pos_order_types/static/description/assets/screenshots/pos_order_type_04.png b/pos_order_types/static/description/assets/screenshots/pos_order_type_04.png new file mode 100644 index 000000000..e5a61e510 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/pos_order_type_04.png differ diff --git a/pos_order_types/static/description/assets/screenshots/pos_order_type_05.png b/pos_order_types/static/description/assets/screenshots/pos_order_type_05.png new file mode 100644 index 000000000..065aee691 Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/pos_order_type_05.png differ diff --git a/pos_order_types/static/description/assets/screenshots/pos_order_type_06.png b/pos_order_types/static/description/assets/screenshots/pos_order_type_06.png new file mode 100644 index 000000000..a8e78a8bd Binary files /dev/null and b/pos_order_types/static/description/assets/screenshots/pos_order_type_06.png differ diff --git a/pos_order_types/static/description/banner.jpg b/pos_order_types/static/description/banner.jpg new file mode 100644 index 000000000..35ad97827 Binary files /dev/null and b/pos_order_types/static/description/banner.jpg differ diff --git a/pos_order_types/static/description/icon.png b/pos_order_types/static/description/icon.png new file mode 100644 index 000000000..183dc5a57 Binary files /dev/null and b/pos_order_types/static/description/icon.png differ diff --git a/pos_order_types/static/description/index.html b/pos_order_types/static/description/index.html new file mode 100644 index 000000000..782b86767 --- /dev/null +++ b/pos_order_types/static/description/index.html @@ -0,0 +1,763 @@ + + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ POS Order Types

+

+ Helps the salesman to specify the type of order. +

+
+ +
+
+
+ +
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Order Type in POS Screen.

+
+
+
+
+
+
+ +
+
+

+ Display the order type in the receipt.

+
+
+
+
+
+
+ +
+
+

+ Choose order type for each POS.

+
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+

+ Create order types

+

+ Go to Point of Sale >> Configuration >> Order Types to create order types. +

+
+
+
+
+
+
+ + +
+
+

+ Enable order methods and choose the order types +

+

+ Go to Point of Sale >> Configuration >> Point of Sale and choose one Point of Sale. Enable order + methods and choose the order types. +

+ +
+
+
+
+
+
+ +
+
+

Order type button to choose order type +

+

+ A button named "Order Types" will appear in the POS screen to choose the order type. +

+
+
+
+ +
+
+
+ +
+
+

+ Choose an order type. +

+

+ Click the button and choose an order type. +

+
+
+
+
+
+
+ +
+
+

+ Order type is receipt +

+

+ Chosen order type is displayed in the receipt. +

+
+
+
+
+
+
+ +
+
+

+ Order type displayed in the backend POS order. +

+

+ Order type of each order will be displayed in the backend POS order. +

+
+
+
+ + +
+ +
+
+
    +
  • + + Sales team members have restricted access to only + the sales orders, leads, and customers they have personally created. +
  • +
  • + + sales team leaders have access to sales orders, leads, + and customers they have personally created, as well as those created by team members. +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on: +
+

+ + Initial Commit for Sales Team Access Controls.

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

+ +
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire + Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo + Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

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 + 99456767686 +
+
+
+
+
+
+
+
+
+ + + + + + + \ No newline at end of file diff --git a/pos_order_types/static/src/js/deliverymethod_button.js b/pos_order_types/static/src/js/deliverymethod_button.js new file mode 100644 index 000000000..63bcb1404 --- /dev/null +++ b/pos_order_types/static/src/js/deliverymethod_button.js @@ -0,0 +1,85 @@ +/** @odoo-module */ + import { Component } from "@odoo/owl"; + import { _t } from "@web/core/l10n/translation"; + import { usePos } from "@point_of_sale/app/store/pos_hook"; + import { ProductScreen } from "@point_of_sale/app/screens/product_screen/product_screen"; + import { SelectionPopup } from "@point_of_sale/app/utils/input_popups/selection_popup"; + import { useService } from "@web/core/utils/hooks"; + + const { useState, useRef } = owl; + var delivery_type = {} +class SetDeliveryMethodButton extends Component { + setup() { + super.setup(); + this.pos = usePos(); + this.popup = useService("popup") + + this.state = useState({ + name: this.get_current_delivery_method_name() + }) + } + async button_click() { + var orders = this.pos.orders; + var no_delivery_method = [{ + }]; + const currentdelivery_method = this.pos.get_order().delivery_method + const selection_list = []; + for (let del_meth of this.pos.delivery_type) { + selection_list.push({ + id: del_meth.id, + label: del_meth.name, + isSelected: currentdelivery_method + ? del_meth.id === currentdelivery_method.id + : false, + item: del_meth, + }); + } + // Selection Popup shows given delivery method + if (selection_list.length>0){ + const { confirmed, payload: selected_delivery_method } = await this.popup.add(SelectionPopup, { + title: _t("Please select a product for this reward"), + list: selection_list, + }); + if (confirmed) { + var order = this.pos.get_order(); + order.delivery_method = selected_delivery_method; + var store_type= JSON.parse(localStorage.getItem(this.pos.db.name + 'order_type_reload')) || {}; + store_type[this.pos.get_order().uid] = {'type': selected_delivery_method} + localStorage.setItem('order_type_reload',JSON.stringify(store_type)); + if (selected_delivery_method!= undefined) + { + this.state.name =order.delivery_method.name; + } + } + } + } + get_current_delivery_method_name(){ + var name = _t('Order Types'); + var item = localStorage.getItem(this.pos.db.name + 'order_type_reload') + var obj=JSON.parse(item) + var order_type = false + if (obj){ + if (this.pos.get_order().uid in obj) + order_type = obj[this.pos.get_order().uid] + if (this.pos.get_order().orderlines.length ==0) + { + name = _t('Order Types'); + }else if (order_type ){ + if ('type' in order_type){ + name = order_type.type.name; + this.pos.get_order().delivery_method= order_type.type; + } + } + return name; + } + } +} +//Added the button Order types +SetDeliveryMethodButton.template = 'SetDeliveryMethodButton'; +ProductScreen.addControlButton({ + component: SetDeliveryMethodButton, + condition: function () { + return true; + }, + position: ['before', 'SetPricelistButton'], + }); diff --git a/pos_order_types/static/src/js/models.js b/pos_order_types/static/src/js/models.js new file mode 100644 index 000000000..9001585e0 --- /dev/null +++ b/pos_order_types/static/src/js/models.js @@ -0,0 +1,23 @@ +/** @odoo-module */ + +import { Order } from "@point_of_sale/app/store/models"; +import { patch } from "@web/core/utils/patch"; + +// Loading the field delivery method into POS +patch(Order.prototype, { + setup(_defaultObj, options) { + super.setup(...arguments); + this.delivery_method = this.delivery_method || false + }, + + init_from_JSON(json) { + super.init_from_JSON(...arguments); + this.delivery_method = json.delivery_method; + }, + + export_as_JSON() { + const json = super.export_as_JSON(...arguments); + json.delivery_method = this.delivery_method; + return json; + }, +}); diff --git a/pos_order_types/static/src/js/pos_store.js b/pos_order_types/static/src/js/pos_store.js new file mode 100644 index 000000000..1839901c6 --- /dev/null +++ b/pos_order_types/static/src/js/pos_store.js @@ -0,0 +1,12 @@ +/** @odoo-module */ + +import { patch } from "@web/core/utils/patch"; +import { PosStore } from "@point_of_sale/app/store/pos_store"; + +patch(PosStore.prototype, { + async _processData(loadedData) { + await super._processData(...arguments); + this.delivery_type = loadedData['delivery.type']; + this.type_by_id = loadedData['type_by_id']; + }, +}); diff --git a/pos_order_types/static/src/xml/pos_delivery_method.xml b/pos_order_types/static/src/xml/pos_delivery_method.xml new file mode 100644 index 000000000..aa79fdde0 --- /dev/null +++ b/pos_order_types/static/src/xml/pos_delivery_method.xml @@ -0,0 +1,33 @@ + + + + + + +
+ Order Type : + +
+
+
+
+ + +
+ + + + + + + + + +Order Types + +
+
+
\ No newline at end of file diff --git a/pos_order_types/views/delivery_type_views.xml b/pos_order_types/views/delivery_type_views.xml new file mode 100644 index 000000000..78ba8fa76 --- /dev/null +++ b/pos_order_types/views/delivery_type_views.xml @@ -0,0 +1,31 @@ + + + + + delivery.type.view.tree + delivery.type + + + + + + + + + Order Type + ir.actions.act_window + delivery.type + + tree + current + +

+ Click to create a new record. +

+
+
+ + +
\ No newline at end of file diff --git a/pos_order_types/views/pos_order_views.xml b/pos_order_types/views/pos_order_views.xml new file mode 100644 index 000000000..292631949 --- /dev/null +++ b/pos_order_types/views/pos_order_views.xml @@ -0,0 +1,14 @@ + + + + + pos.order.view.form + pos.order + + + + + + + + \ No newline at end of file diff --git a/pos_order_types/views/res_config_settings_views.xml b/pos_order_types/views/res_config_settings_views.xml new file mode 100644 index 000000000..a7c5958ee --- /dev/null +++ b/pos_order_types/views/res_config_settings_views.xml @@ -0,0 +1,33 @@ + + + + + pos.config.view.form.inherit.pos.order.types + res.config.settings + + + +

Order Types

+
+
+
+ +
+
+
+
+
+
+
+
+
\ No newline at end of file