diff --git a/pos_order_question/README.rst b/pos_order_question/README.rst new file mode 100755 index 000000000..2bf8749df --- /dev/null +++ b/pos_order_question/README.rst @@ -0,0 +1,51 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +POS Order Questions +======================= +This module will help you to add questions related to the product in the +session at time of ordering. + +Configuration +============= + - www.odoo.com/documentation/17.0/setup/install.html + - Install our custom addon + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (AGPL v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +Developers: (V18) Nivedhya T, + (V17) Nihala MK @ 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 +========== +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com + +.. image:: https://cybrosys.com/images/logo.png + :target: https://www.cybrosys.com" + +Further information +=================== +HTML Description: ``__ diff --git a/pos_order_question/__init__.py b/pos_order_question/__init__.py new file mode 100644 index 000000000..485b18cbd --- /dev/null +++ b/pos_order_question/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import models \ No newline at end of file diff --git a/pos_order_question/__manifest__.py b/pos_order_question/__manifest__.py new file mode 100644 index 000000000..8c85330dd --- /dev/null +++ b/pos_order_question/__manifest__.py @@ -0,0 +1,56 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': 'POS Order Questions', + 'version': '18.0.1.0.0', + 'category': 'Point of Sale', + 'summary': 'Add questions related to the product in the session.', + 'description': "This provides an option to add questions related to the " + "product in the session at time of ordering.It will help " + "you to customize ordering in POS.", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['point_of_sale','product'], + 'data': [ + 'security/ir.model.access.csv', + 'views/product_template_view.xml', + 'views/pos_orderline_views.xml', + ], + 'assets': { + 'point_of_sale._assets_pos': [ + 'pos_order_question/static/src/js/PosSession.js', + 'pos_order_question/static/src/js/Popups/OrderQuestionPopup.js', + 'pos_order_question/static/src/xml/Popups/OrderQuestionPopup.xml', + 'pos_order_question/static/src/js/Screens/ProductScreen/Orderline.js', + 'pos_order_question/static/src/xml/Screens/ProductScreen/Orderline.xml', + 'pos_order_question/static/src/css/Popups/OrderQuestionPopup.css', + 'pos_order_question/static/src/js/Screens/ProductScreen/pos_orderline.js', + 'pos_order_question/static/src/js/pos_order.js', + ]}, + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/pos_order_question/doc/RELEASE_NOTES.md b/pos_order_question/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..496bed712 --- /dev/null +++ b/pos_order_question/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 17.01.2025 +#### Version 18.0.1.0.0 +#### ADD +- Initial commit for POS Order Questions diff --git a/pos_order_question/models/__init__.py b/pos_order_question/models/__init__.py new file mode 100644 index 000000000..c373ce65f --- /dev/null +++ b/pos_order_question/models/__init__.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import pos_order_line +from . import pos_order_question +from . import pos_session +from . import product_template + + diff --git a/pos_order_question/models/pos_order_line.py b/pos_order_question/models/pos_order_line.py new file mode 100644 index 000000000..eec4381d0 --- /dev/null +++ b/pos_order_question/models/pos_order_line.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import models, fields, api + + +class PosOrderLine(models.Model): + """Inherited model pos_order_line to add a new field""" + _inherit = "pos.order.line" + + question_list = fields.Text(string="Question List", help="Stores the list of questions related to this order line") + + @api.model + def _load_pos_data_fields(self, config_id): + """The list of field to be loaded for POS data.""" + fields = super()._load_pos_data_fields(config_id) + fields += ['question_list'] + return fields \ No newline at end of file diff --git a/pos_order_question/models/pos_order_question.py b/pos_order_question/models/pos_order_question.py new file mode 100644 index 000000000..44f929a2b --- /dev/null +++ b/pos_order_question/models/pos_order_question.py @@ -0,0 +1,42 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import api, fields, models, _ +from odoo.exceptions import ValidationError + + +class PosOrderQuestion(models.Model): + """Class for the model pos_order_question.""" + _name = "pos.order.question" + _inherit = ['pos.load.mixin'] + _description = "PosOrder Question" + + name = fields.Char(string="Question", help='Questions for the products.') + product_tmpl_id = fields.Many2one('product.template', string='Product', + help='product template of the question.') + + @api.constrains('name') + def _check_name(self): + """Function to prevent saving empty questions.""" + for rec in self: + if not rec.name: + raise ValidationError( + _('Question cannot be empty.')) \ No newline at end of file diff --git a/pos_order_question/models/pos_session.py b/pos_order_question/models/pos_session.py new file mode 100644 index 000000000..63ad3c42b --- /dev/null +++ b/pos_order_question/models/pos_session.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import models, api + + +class PosSession(models.Model): + """Inherited model pos_session to load pos data models""" + _inherit = 'pos.session' + + @api.model + def _load_pos_data_models(self, config_id): + """The list of models to be loaded for POS data.""" + data = super()._load_pos_data_models(config_id) + data += ['pos.order.question','product.template'] + return data diff --git a/pos_order_question/models/product_template.py b/pos_order_question/models/product_template.py new file mode 100644 index 000000000..23ee6df17 --- /dev/null +++ b/pos_order_question/models/product_template.py @@ -0,0 +1,39 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, models, api + + +class ProductTemplate(models.Model): + """Inherited model product_template to add a new field""" + _name = 'product.template' + _inherit = ['product.template','pos.load.mixin'] + + order_question_ids = fields.One2many('pos.order.question', 'product_tmpl_id', + string='Order Questions', + help="Questions of the template") + + @api.model + def _load_pos_data_fields(self, config_id): + """Returns the list of fields to be loaded for POS data.""" + return [ + 'order_question_ids' + ] diff --git a/pos_order_question/security/ir.model.access.csv b/pos_order_question/security/ir.model.access.csv new file mode 100644 index 000000000..52d6b4b14 --- /dev/null +++ b/pos_order_question/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_pos_order_question_user,access.pos.order.question.user,model_pos_order_question,base.group_user,1,1,1,1 diff --git a/pos_order_question/static/description/assets/cybro-icon.png b/pos_order_question/static/description/assets/cybro-icon.png new file mode 100644 index 000000000..06e73e11d Binary files /dev/null and b/pos_order_question/static/description/assets/cybro-icon.png differ diff --git a/pos_order_question/static/description/assets/cybro-odoo.png b/pos_order_question/static/description/assets/cybro-odoo.png new file mode 100644 index 000000000..ed02e07a4 Binary files /dev/null and b/pos_order_question/static/description/assets/cybro-odoo.png differ diff --git a/pos_order_question/static/description/assets/icons/arrows-repeat.svg b/pos_order_question/static/description/assets/icons/arrows-repeat.svg new file mode 100644 index 000000000..1d7efabc5 --- /dev/null +++ b/pos_order_question/static/description/assets/icons/arrows-repeat.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_order_question/static/description/assets/icons/banner-1.png b/pos_order_question/static/description/assets/icons/banner-1.png new file mode 100644 index 000000000..c180db172 Binary files /dev/null and b/pos_order_question/static/description/assets/icons/banner-1.png differ diff --git a/pos_order_question/static/description/assets/icons/banner-2.svg b/pos_order_question/static/description/assets/icons/banner-2.svg new file mode 100644 index 000000000..e606d97d9 --- /dev/null +++ b/pos_order_question/static/description/assets/icons/banner-2.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_order_question/static/description/assets/icons/banner-bg.png b/pos_order_question/static/description/assets/icons/banner-bg.png new file mode 100644 index 000000000..a8238d3c0 Binary files /dev/null and b/pos_order_question/static/description/assets/icons/banner-bg.png differ diff --git a/pos_order_question/static/description/assets/icons/banner-bg.svg b/pos_order_question/static/description/assets/icons/banner-bg.svg new file mode 100644 index 000000000..b1378103e --- /dev/null +++ b/pos_order_question/static/description/assets/icons/banner-bg.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pos_order_question/static/description/assets/icons/banner-call.svg b/pos_order_question/static/description/assets/icons/banner-call.svg new file mode 100644 index 000000000..96c687e81 --- /dev/null +++ b/pos_order_question/static/description/assets/icons/banner-call.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/pos_order_question/static/description/assets/icons/banner-mail.svg b/pos_order_question/static/description/assets/icons/banner-mail.svg new file mode 100644 index 000000000..cbf0d158d --- /dev/null +++ b/pos_order_question/static/description/assets/icons/banner-mail.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/pos_order_question/static/description/assets/icons/banner-pattern.svg b/pos_order_question/static/description/assets/icons/banner-pattern.svg new file mode 100644 index 000000000..9c1c7e101 --- /dev/null +++ b/pos_order_question/static/description/assets/icons/banner-pattern.svg @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_order_question/static/description/assets/icons/banner-promo.svg b/pos_order_question/static/description/assets/icons/banner-promo.svg new file mode 100644 index 000000000..d52791b11 --- /dev/null +++ b/pos_order_question/static/description/assets/icons/banner-promo.svg @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_order_question/static/description/assets/icons/brand-pair.svg b/pos_order_question/static/description/assets/icons/brand-pair.svg new file mode 100644 index 000000000..d8db7fc1e --- /dev/null +++ b/pos_order_question/static/description/assets/icons/brand-pair.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_order_question/static/description/assets/icons/check.png b/pos_order_question/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/pos_order_question/static/description/assets/icons/check.png differ diff --git a/pos_order_question/static/description/assets/icons/chevron.png b/pos_order_question/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/pos_order_question/static/description/assets/icons/chevron.png differ diff --git a/pos_order_question/static/description/assets/icons/close-icon.svg b/pos_order_question/static/description/assets/icons/close-icon.svg new file mode 100644 index 000000000..df8cce37a --- /dev/null +++ b/pos_order_question/static/description/assets/icons/close-icon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/pos_order_question/static/description/assets/icons/cogs.png b/pos_order_question/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/pos_order_question/static/description/assets/icons/cogs.png differ diff --git a/pos_order_question/static/description/assets/icons/collabarate-icon.svg b/pos_order_question/static/description/assets/icons/collabarate-icon.svg new file mode 100644 index 000000000..dd4e10518 --- /dev/null +++ b/pos_order_question/static/description/assets/icons/collabarate-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/pos_order_question/static/description/assets/icons/consultation.png b/pos_order_question/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/pos_order_question/static/description/assets/icons/consultation.png differ diff --git a/pos_order_question/static/description/assets/icons/cybro-logo.png b/pos_order_question/static/description/assets/icons/cybro-logo.png new file mode 100644 index 000000000..ff4b78220 Binary files /dev/null and b/pos_order_question/static/description/assets/icons/cybro-logo.png differ diff --git a/pos_order_question/static/description/assets/icons/down.svg b/pos_order_question/static/description/assets/icons/down.svg new file mode 100644 index 000000000..f21c36271 --- /dev/null +++ b/pos_order_question/static/description/assets/icons/down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pos_order_question/static/description/assets/icons/ecom-black.png b/pos_order_question/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/pos_order_question/static/description/assets/icons/ecom-black.png differ diff --git a/pos_order_question/static/description/assets/icons/education-black.png b/pos_order_question/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/pos_order_question/static/description/assets/icons/education-black.png differ diff --git a/pos_order_question/static/description/assets/icons/faq.png b/pos_order_question/static/description/assets/icons/faq.png new file mode 100644 index 000000000..4250b5b81 Binary files /dev/null and b/pos_order_question/static/description/assets/icons/faq.png differ diff --git a/pos_order_question/static/description/assets/icons/feature-icon.svg b/pos_order_question/static/description/assets/icons/feature-icon.svg new file mode 100644 index 000000000..fa0ea6850 --- /dev/null +++ b/pos_order_question/static/description/assets/icons/feature-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_order_question/static/description/assets/icons/feature.png b/pos_order_question/static/description/assets/icons/feature.png new file mode 100644 index 000000000..ac7a785c0 Binary files /dev/null and b/pos_order_question/static/description/assets/icons/feature.png differ diff --git a/pos_order_question/static/description/assets/icons/gear.svg b/pos_order_question/static/description/assets/icons/gear.svg new file mode 100644 index 000000000..0cc66b6ea --- /dev/null +++ b/pos_order_question/static/description/assets/icons/gear.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_order_question/static/description/assets/icons/hero.gif b/pos_order_question/static/description/assets/icons/hero.gif new file mode 100644 index 000000000..3dfd8816c Binary files /dev/null and b/pos_order_question/static/description/assets/icons/hero.gif differ diff --git a/pos_order_question/static/description/assets/icons/hire-odoo.svg b/pos_order_question/static/description/assets/icons/hire-odoo.svg new file mode 100644 index 000000000..e1ac089b0 --- /dev/null +++ b/pos_order_question/static/description/assets/icons/hire-odoo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/pos_order_question/static/description/assets/icons/hotel-black.png b/pos_order_question/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/pos_order_question/static/description/assets/icons/hotel-black.png differ diff --git a/pos_order_question/static/description/assets/icons/license.png b/pos_order_question/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/pos_order_question/static/description/assets/icons/license.png differ diff --git a/pos_order_question/static/description/assets/icons/life-ring-icon.svg b/pos_order_question/static/description/assets/icons/life-ring-icon.svg new file mode 100644 index 000000000..3ae6e1d89 --- /dev/null +++ b/pos_order_question/static/description/assets/icons/life-ring-icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/pos_order_question/static/description/assets/icons/lifebuoy.png b/pos_order_question/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/pos_order_question/static/description/assets/icons/lifebuoy.png differ diff --git a/pos_order_question/static/description/assets/icons/mail.svg b/pos_order_question/static/description/assets/icons/mail.svg new file mode 100644 index 000000000..1eedde695 --- /dev/null +++ b/pos_order_question/static/description/assets/icons/mail.svg @@ -0,0 +1,3 @@ + + + diff --git a/pos_order_question/static/description/assets/icons/manufacturing-black.png b/pos_order_question/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/pos_order_question/static/description/assets/icons/manufacturing-black.png differ diff --git a/pos_order_question/static/description/assets/icons/notes.png b/pos_order_question/static/description/assets/icons/notes.png new file mode 100644 index 000000000..ee5e95404 Binary files /dev/null and b/pos_order_question/static/description/assets/icons/notes.png differ diff --git a/pos_order_question/static/description/assets/icons/notification icon.svg b/pos_order_question/static/description/assets/icons/notification icon.svg new file mode 100644 index 000000000..053189973 --- /dev/null +++ b/pos_order_question/static/description/assets/icons/notification icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_order_question/static/description/assets/icons/odoo-consultancy.svg b/pos_order_question/static/description/assets/icons/odoo-consultancy.svg new file mode 100644 index 000000000..e05f65bde --- /dev/null +++ b/pos_order_question/static/description/assets/icons/odoo-consultancy.svg @@ -0,0 +1,4 @@ + + + + diff --git a/pos_order_question/static/description/assets/icons/odoo-licencing.svg b/pos_order_question/static/description/assets/icons/odoo-licencing.svg new file mode 100644 index 000000000..2606c88b0 --- /dev/null +++ b/pos_order_question/static/description/assets/icons/odoo-licencing.svg @@ -0,0 +1,3 @@ + + + diff --git a/pos_order_question/static/description/assets/icons/odoo-logo.png b/pos_order_question/static/description/assets/icons/odoo-logo.png new file mode 100644 index 000000000..0e4d0eb5a Binary files /dev/null and b/pos_order_question/static/description/assets/icons/odoo-logo.png differ diff --git a/pos_order_question/static/description/assets/icons/patter.svg b/pos_order_question/static/description/assets/icons/patter.svg new file mode 100644 index 000000000..25c9c0a8f --- /dev/null +++ b/pos_order_question/static/description/assets/icons/patter.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pos_order_question/static/description/assets/icons/pattern1.png b/pos_order_question/static/description/assets/icons/pattern1.png new file mode 100644 index 000000000..09ab0fb2d Binary files /dev/null and b/pos_order_question/static/description/assets/icons/pattern1.png differ diff --git a/pos_order_question/static/description/assets/icons/pos-black.png b/pos_order_question/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/pos_order_question/static/description/assets/icons/pos-black.png differ diff --git a/pos_order_question/static/description/assets/icons/puzzle-piece-icon.svg b/pos_order_question/static/description/assets/icons/puzzle-piece-icon.svg new file mode 100644 index 000000000..3e9ad9373 --- /dev/null +++ b/pos_order_question/static/description/assets/icons/puzzle-piece-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_order_question/static/description/assets/icons/puzzle.png b/pos_order_question/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/pos_order_question/static/description/assets/icons/puzzle.png differ diff --git a/pos_order_question/static/description/assets/icons/replace-icon.svg b/pos_order_question/static/description/assets/icons/replace-icon.svg new file mode 100644 index 000000000..d0e3a7af1 --- /dev/null +++ b/pos_order_question/static/description/assets/icons/replace-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_order_question/static/description/assets/icons/restaurant-black.png b/pos_order_question/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/pos_order_question/static/description/assets/icons/restaurant-black.png differ diff --git a/pos_order_question/static/description/assets/icons/screenshot-main.png b/pos_order_question/static/description/assets/icons/screenshot-main.png new file mode 100644 index 000000000..575f8e676 Binary files /dev/null and b/pos_order_question/static/description/assets/icons/screenshot-main.png differ diff --git a/pos_order_question/static/description/assets/icons/screenshot.png b/pos_order_question/static/description/assets/icons/screenshot.png new file mode 100644 index 000000000..cef272529 Binary files /dev/null and b/pos_order_question/static/description/assets/icons/screenshot.png differ diff --git a/pos_order_question/static/description/assets/icons/service-black.png b/pos_order_question/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/pos_order_question/static/description/assets/icons/service-black.png differ diff --git a/pos_order_question/static/description/assets/icons/skype-fill.svg b/pos_order_question/static/description/assets/icons/skype-fill.svg new file mode 100644 index 000000000..c17423639 --- /dev/null +++ b/pos_order_question/static/description/assets/icons/skype-fill.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_order_question/static/description/assets/icons/skype.png b/pos_order_question/static/description/assets/icons/skype.png new file mode 100644 index 000000000..51b409fb3 Binary files /dev/null and b/pos_order_question/static/description/assets/icons/skype.png differ diff --git a/pos_order_question/static/description/assets/icons/skype.svg b/pos_order_question/static/description/assets/icons/skype.svg new file mode 100644 index 000000000..df3dad39b --- /dev/null +++ b/pos_order_question/static/description/assets/icons/skype.svg @@ -0,0 +1,3 @@ + + + diff --git a/pos_order_question/static/description/assets/icons/star-1.svg b/pos_order_question/static/description/assets/icons/star-1.svg new file mode 100644 index 000000000..7e55ab162 --- /dev/null +++ b/pos_order_question/static/description/assets/icons/star-1.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_order_question/static/description/assets/icons/star-2.svg b/pos_order_question/static/description/assets/icons/star-2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/pos_order_question/static/description/assets/icons/star-2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pos_order_question/static/description/assets/icons/support.png b/pos_order_question/static/description/assets/icons/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/pos_order_question/static/description/assets/icons/support.png differ diff --git a/pos_order_question/static/description/assets/icons/test-1 - Copy.png b/pos_order_question/static/description/assets/icons/test-1 - Copy.png new file mode 100644 index 000000000..f6a902663 Binary files /dev/null and b/pos_order_question/static/description/assets/icons/test-1 - Copy.png differ diff --git a/pos_order_question/static/description/assets/icons/test-1.png b/pos_order_question/static/description/assets/icons/test-1.png new file mode 100644 index 000000000..0908add2b Binary files /dev/null and b/pos_order_question/static/description/assets/icons/test-1.png differ diff --git a/pos_order_question/static/description/assets/icons/test-2.png b/pos_order_question/static/description/assets/icons/test-2.png new file mode 100644 index 000000000..4671fe91e Binary files /dev/null and b/pos_order_question/static/description/assets/icons/test-2.png differ diff --git a/pos_order_question/static/description/assets/icons/trading-black.png b/pos_order_question/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/pos_order_question/static/description/assets/icons/trading-black.png differ diff --git a/pos_order_question/static/description/assets/icons/training.png b/pos_order_question/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/pos_order_question/static/description/assets/icons/training.png differ diff --git a/pos_order_question/static/description/assets/icons/translate.svg b/pos_order_question/static/description/assets/icons/translate.svg new file mode 100644 index 000000000..af9c8a1aa --- /dev/null +++ b/pos_order_question/static/description/assets/icons/translate.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_order_question/static/description/assets/icons/update.png b/pos_order_question/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/pos_order_question/static/description/assets/icons/update.png differ diff --git a/pos_order_question/static/description/assets/icons/user.png b/pos_order_question/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/pos_order_question/static/description/assets/icons/user.png differ diff --git a/pos_order_question/static/description/assets/icons/video.png b/pos_order_question/static/description/assets/icons/video.png new file mode 100644 index 000000000..576705b17 Binary files /dev/null and b/pos_order_question/static/description/assets/icons/video.png differ diff --git a/pos_order_question/static/description/assets/icons/whatsapp.png b/pos_order_question/static/description/assets/icons/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/pos_order_question/static/description/assets/icons/whatsapp.png differ diff --git a/pos_order_question/static/description/assets/icons/wrench-icon.svg b/pos_order_question/static/description/assets/icons/wrench-icon.svg new file mode 100644 index 000000000..174b5a465 --- /dev/null +++ b/pos_order_question/static/description/assets/icons/wrench-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_order_question/static/description/assets/icons/wrench.png b/pos_order_question/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/pos_order_question/static/description/assets/icons/wrench.png differ diff --git a/pos_order_question/static/description/assets/modules/b1.png b/pos_order_question/static/description/assets/modules/b1.png new file mode 100644 index 000000000..73845cfbf Binary files /dev/null and b/pos_order_question/static/description/assets/modules/b1.png differ diff --git a/pos_order_question/static/description/assets/modules/b2.png b/pos_order_question/static/description/assets/modules/b2.png new file mode 100644 index 000000000..0cd7e58c2 Binary files /dev/null and b/pos_order_question/static/description/assets/modules/b2.png differ diff --git a/pos_order_question/static/description/assets/modules/b3.png b/pos_order_question/static/description/assets/modules/b3.png new file mode 100644 index 000000000..12d8c74fb Binary files /dev/null and b/pos_order_question/static/description/assets/modules/b3.png differ diff --git a/pos_order_question/static/description/assets/modules/b4.png b/pos_order_question/static/description/assets/modules/b4.png new file mode 100644 index 000000000..127f51e0b Binary files /dev/null and b/pos_order_question/static/description/assets/modules/b4.png differ diff --git a/pos_order_question/static/description/assets/modules/b5.png b/pos_order_question/static/description/assets/modules/b5.png new file mode 100644 index 000000000..c46f05f78 Binary files /dev/null and b/pos_order_question/static/description/assets/modules/b5.png differ diff --git a/pos_order_question/static/description/assets/modules/b6.png b/pos_order_question/static/description/assets/modules/b6.png new file mode 100644 index 000000000..a48b400df Binary files /dev/null and b/pos_order_question/static/description/assets/modules/b6.png differ diff --git a/pos_order_question/static/description/assets/screenshots/screenshot1.png b/pos_order_question/static/description/assets/screenshots/screenshot1.png new file mode 100644 index 000000000..6746f4411 Binary files /dev/null and b/pos_order_question/static/description/assets/screenshots/screenshot1.png differ diff --git a/pos_order_question/static/description/assets/screenshots/screenshot2.png b/pos_order_question/static/description/assets/screenshots/screenshot2.png new file mode 100644 index 000000000..eca3891f5 Binary files /dev/null and b/pos_order_question/static/description/assets/screenshots/screenshot2.png differ diff --git a/pos_order_question/static/description/assets/screenshots/screenshot3.png b/pos_order_question/static/description/assets/screenshots/screenshot3.png new file mode 100644 index 000000000..5c776a2de Binary files /dev/null and b/pos_order_question/static/description/assets/screenshots/screenshot3.png differ diff --git a/pos_order_question/static/description/assets/screenshots/screenshot4.png b/pos_order_question/static/description/assets/screenshots/screenshot4.png new file mode 100644 index 000000000..e4cc0cd7a Binary files /dev/null and b/pos_order_question/static/description/assets/screenshots/screenshot4.png differ diff --git a/pos_order_question/static/description/assets/screenshots/screenshot5.png b/pos_order_question/static/description/assets/screenshots/screenshot5.png new file mode 100644 index 000000000..52c45b8b6 Binary files /dev/null and b/pos_order_question/static/description/assets/screenshots/screenshot5.png differ diff --git a/pos_order_question/static/description/banner.png b/pos_order_question/static/description/banner.png new file mode 100644 index 000000000..83279a86e Binary files /dev/null and b/pos_order_question/static/description/banner.png differ diff --git a/pos_order_question/static/description/icon.png b/pos_order_question/static/description/icon.png new file mode 100644 index 000000000..2b8ea3ab2 Binary files /dev/null and b/pos_order_question/static/description/icon.png differ diff --git a/pos_order_question/static/description/index.html b/pos_order_question/static/description/index.html new file mode 100644 index 000000000..e26593e72 --- /dev/null +++ b/pos_order_question/static/description/index.html @@ -0,0 +1,930 @@ + + + + + + POS Order Questions + + + + + + + + + + +
+
+ + + +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+
+

+ This module will help you to add Questions related to the Product in the session at time of ordering. +

+

POS Order Questions +

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

Key + Highlights

+
+
+
+
+ +
+
+ Ask Product option Questions to Customers + in the POS Session. +
+

+

+
+
+
+
+
+ +
+
+ Provides User friendly experience. +
+

+

+
+
+
+
+
+ +
+
+ Provides more choices to the + Customers. +
+

+

+
+
+
+
+
+ +
+
+ View Customer choices on Order Line. +
+

+

+
+
+
+
+ +
+
+
+ POS Order Questions +

+ Are you ready to make your business more + organized? +
Improve now! +

+ +
+
+ +
+
+
+ + + +
+
+ +
+
+
+
+ acc_bg +
+ +
+
+
+
+

+ Add Product related + + Questions +

+
+
+

+ There will be an option to add Product related Questions in the backend.

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

+ Click on the '+' + + button +

+
+
+

+ From the Session, you can click on the '+' button that in the Order Line, in order to + choose the options. +

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

+ + + +

+
+
+

+ If there is no Questions added for the Product, will show this pop-up. +

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

+ Selected + + options +

+
+
+

+ The selected options will show in the Order Line. +

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

+ It will also show in the Receipt. + + +

+
+
+

+

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

+ Provides more choices to the Customers.

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

+ This feature allows you + to add custom questions + related to the product during + the ordering process in a POS session. +

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

+ Latest Release 18.0.1.0.0 +

+ + 17th January, 2025 + +
+
+
+
+
+ Add +
+
+
+
    +
  • + Initial Commit +
  • +
+
+
+
+
+
+
+
+
+
+ + + +
+

+ Related Products +

+ +
+ +
+

+ Our Services

+ +
+ +
+
+ .... +
+
+ +
+ + +
+
+ + + + + + diff --git a/pos_order_question/static/src/css/Popups/OrderQuestionPopup.css b/pos_order_question/static/src/css/Popups/OrderQuestionPopup.css new file mode 100644 index 000000000..e6e1047e0 --- /dev/null +++ b/pos_order_question/static/src/css/Popups/OrderQuestionPopup.css @@ -0,0 +1,33 @@ +element.style { + box-shadow: 0px; +} +.pos .popup input, .pos .popup-input { + min-height: 25px; + font-family: "Lato"; + font-size: 20px; + color: #444; + padding: 11px; + border-radius: 3px; + border: none; + box-shadow: 0px 0px 0px 1px gainsboro inset; + box-sizing: border-box; + width: 10%; +} +div#ThirdDiv { + display: flex; +} +#CheckButtonId { + /* border-radius: 0.25em; */ + margin-left: 17px; + margin-bottom: 3px; +} +.addons_items { + margin-left: 23px; + align-content: center; +} +.order-question-popup { + font-weight: bold; +} +.pos-receipt .orderline-add-options { + display: none; +} \ No newline at end of file diff --git a/pos_order_question/static/src/js/Popups/OrderQuestionPopup.js b/pos_order_question/static/src/js/Popups/OrderQuestionPopup.js new file mode 100644 index 000000000..e11829384 --- /dev/null +++ b/pos_order_question/static/src/js/Popups/OrderQuestionPopup.js @@ -0,0 +1,46 @@ +/** @odoo-module */ +import { ConfirmationDialog } from "@web/core/confirmation_dialog/confirmation_dialog"; +import { usePos } from "@point_of_sale/app/store/pos_hook"; +import { Dialog } from "@web/core/dialog/dialog"; +import { useState } from "@odoo/owl"; + +export class OrderQuestionPopup extends ConfirmationDialog { + static template = "pos_order_question.ConfirmationDialog"; + static components = { Dialog }; + + setup() { + super.setup(); + this.pos = usePos(); + this.state = useState({ + QuestionList: [] + }); + } + + changeCheckBox(ev) { + const value = ev.target.dataset.value; + if (ev.target.checked) { + this.state.QuestionList.push(value); + } else { + const index = this.state.QuestionList.indexOf(value); + if (index !== -1) { + this.state.QuestionList.splice(index, 1); // Remove the unchecked value + } + } + } + getPayload() { + if(this.pos.get_order().get_selected_orderline()) { + this.pos.get_order().get_selected_orderline().QuestionList = this.state.QuestionList; + } + } + async confirm() { + if (this.state.QuestionList.length === 0) { + this.env.services.notification.add( + "Please select at least one option before proceeding.", + { type: "warning" } + ); + return; + } + + this.props.close(this.getPayload()); + } +} diff --git a/pos_order_question/static/src/js/PosSession.js b/pos_order_question/static/src/js/PosSession.js new file mode 100644 index 000000000..60f529de6 --- /dev/null +++ b/pos_order_question/static/src/js/PosSession.js @@ -0,0 +1,10 @@ +/** @odoo-module */ +import { PosStore } from "@point_of_sale/app/store/pos_store"; +import { patch } from "@web/core/utils/patch"; + +patch(PosStore.prototype, { + async processServerData() { + super.processServerData(...arguments); + this.order_questions = this.data.models['pos.order.question'].getAll() + } +}); \ No newline at end of file diff --git a/pos_order_question/static/src/js/Screens/ProductScreen/Orderline.js b/pos_order_question/static/src/js/Screens/ProductScreen/Orderline.js new file mode 100644 index 000000000..30c614ed6 --- /dev/null +++ b/pos_order_question/static/src/js/Screens/ProductScreen/Orderline.js @@ -0,0 +1,55 @@ +/** @odoo-module **/ + +import {patch} from "@web/core/utils/patch"; +import {Orderline} from "@point_of_sale/app/generic_components/orderline/orderline"; +import {useService} from "@web/core/utils/hooks"; +import {OrderQuestionPopup} from "../../Popups/OrderQuestionPopup"; +import {_t} from "@web/core/l10n/translation"; +import { ConfirmationDialog } from "@web/core/confirmation_dialog/confirmation_dialog"; +import { usePos } from "@point_of_sale/app/store/pos_hook"; +import { useState } from "@odoo/owl"; + +patch(Orderline.prototype, { + setup() { + super.setup(...arguments); + this.state = useState({ + question_list : [] + }) + this.notification = useService("notification"); + this.popup = useService("dialog"); + this.pos = usePos(); + }, + AddOptions() { + var ProductQuestions = this.props.slots["product-name"].__ctx.line.product_id.product_tmpl_id.order_question_ids + var OrderQuestions = this.env.services.pos.order_questions + let question = []; + for (var i = 0, len = OrderQuestions.length; i < len; i++) { + for (var j = 0, leng = ProductQuestions.length; j < leng; j++) { + if (OrderQuestions[i].id == ProductQuestions[j].id) { + question.push({ + id: OrderQuestions[i].id, + name: OrderQuestions[i].name + }); + } + } + } + if (question.length !== 0) { + const questionText = question.map(q => `${q.name}`).join('\n'); + this.popup.add(OrderQuestionPopup, { + title: _t("Extra..."), + confirmClass: "btn-primary", + body: questionText, + + }); + } else { + this.popup.add(ConfirmationDialog, { + title: _t("Add Options to Select..."), + body: _t("here is no options added for this product."), + confirmLabel: _t("Ok"), + confirm: () => { + this.popup.closeAll(); + } + }); + } + }, +}); diff --git a/pos_order_question/static/src/js/Screens/ProductScreen/pos_orderline.js b/pos_order_question/static/src/js/Screens/ProductScreen/pos_orderline.js new file mode 100644 index 000000000..9305a7637 --- /dev/null +++ b/pos_order_question/static/src/js/Screens/ProductScreen/pos_orderline.js @@ -0,0 +1,50 @@ +/** @odoo-module */ +import { patch } from "@web/core/utils/patch"; +import { PosOrderline } from "@point_of_sale/app/models/pos_order_line"; +import { Orderline } from "@point_of_sale/app/generic_components/orderline/orderline"; +import { PosOrder } from "@point_of_sale/app/models/pos_order"; +import { PaymentScreen } from "@point_of_sale/app/screens/payment_screen/payment_screen"; + +// Patch the PosOrderline to store the QuestionList in the order line state +patch(PosOrderline.prototype, { + setup() { + super.setup(...arguments); + + // Initialize QuestionList in state + this.QuestionList = this.QuestionList || []; + }, + + // Method to update the QuestionList state dynamically + setQuestionList(questions) { + this.QuestionList = questions; + this.trigger("change", { QuestionList: this.QuestionList }); // Ensure UI updates + }, + + serialize(options = {}) { + const json = super.serialize(...arguments); + json.question_list = this.QuestionList.join(','); + this.storedQuestionList = json.question_list; + console.log("json.question_list",json.question_list) + return json; + }, + + + getDisplayData() { + return { + ...super.getDisplayData(), + OrderQuestion: this.QuestionList.join('/'), + }; + }, +}); + +// Update the Orderline component's props to accept the QuestionList +Orderline.props = { + ...Orderline.props, + line: { + ...Orderline.props.line, + shape: { + ...Orderline.props.line.shape, + OrderQuestion: { type: String, optional: true }, + } + } +}; diff --git a/pos_order_question/static/src/js/pos_order.js b/pos_order_question/static/src/js/pos_order.js new file mode 100644 index 000000000..84ee0803e --- /dev/null +++ b/pos_order_question/static/src/js/pos_order.js @@ -0,0 +1,26 @@ +/** @odoo-module */ +import { PosOrder } from "@point_of_sale/app/models/pos_order"; +import { patch } from "@web/core/utils/patch"; +import { useState } from "@odoo/owl"; + +patch(PosOrder.prototype, { + setup() { + super.setup(...arguments); + }, + + // Capture question lists from each order line before sending order data + export_for_printing(baseUrl, headerData) { + const data = super.export_for_printing(...arguments); + data.question_lists = this.getAllQuestionLists(); + return data; + }, + + // Extract all QuestionLists from order lines + getAllQuestionLists() { + return this.lines.map(line => ({ + id: line.id, + name:line.full_product_name, + questions: line.question_list, + })); + }, +}); \ No newline at end of file diff --git a/pos_order_question/static/src/xml/Popups/OrderQuestionPopup.xml b/pos_order_question/static/src/xml/Popups/OrderQuestionPopup.xml new file mode 100644 index 000000000..2047c9c84 --- /dev/null +++ b/pos_order_question/static/src/xml/Popups/OrderQuestionPopup.xml @@ -0,0 +1,34 @@ + + + + +
+ + +
+ +
+
+ + +
+
+ +
+ +
+ +
+
+
+
+ +
+
+
\ No newline at end of file diff --git a/pos_order_question/static/src/xml/Screens/ProductScreen/Orderline.xml b/pos_order_question/static/src/xml/Screens/ProductScreen/Orderline.xml new file mode 100644 index 000000000..a34caccb4 --- /dev/null +++ b/pos_order_question/static/src/xml/Screens/ProductScreen/Orderline.xml @@ -0,0 +1,20 @@ + + + + + +
  • + +
  • + +
    + +
    + +
    +
    +
    +
    +
    +
    +
    diff --git a/pos_order_question/views/pos_orderline_views.xml b/pos_order_question/views/pos_orderline_views.xml new file mode 100644 index 000000000..72b74d7f3 --- /dev/null +++ b/pos_order_question/views/pos_orderline_views.xml @@ -0,0 +1,16 @@ + + + + + pos.order.view.inherit.pos.order.question + + pos.order + + + + + + + + diff --git a/pos_order_question/views/product_template_view.xml b/pos_order_question/views/product_template_view.xml new file mode 100644 index 000000000..51635bd2b --- /dev/null +++ b/pos_order_question/views/product_template_view.xml @@ -0,0 +1,18 @@ + + + + + product.template.view.form.inherit.pos.order.question + product.template + + + + + + + + + + + +