diff --git a/product_sales_by_location/README.rst b/product_sales_by_location/README.rst new file mode 100644 index 000000000..f35b1b7db --- /dev/null +++ b/product_sales_by_location/README.rst @@ -0,0 +1,47 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg + :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: lGPL-3 + +Product Sales By Location +========================= +This app allows our user to set a location on sale order line. +Whatever location is selected on sale order lines, the product will be delivered from the selected location. +Delivery orders will be created based on selected location on sale order lines. + +Configuration +============= +* No additional configuration needed. + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Credits +------- +* Developer: (V16): Dhanya Babu, Contact:odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/product_sales_by_location/__init__.py b/product_sales_by_location/__init__.py new file mode 100644 index 000000000..f056c9fa7 --- /dev/null +++ b/product_sales_by_location/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Dhanya Babu () +# +# 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 diff --git a/product_sales_by_location/__manifest__.py b/product_sales_by_location/__manifest__.py new file mode 100644 index 000000000..2dfcdd346 --- /dev/null +++ b/product_sales_by_location/__manifest__.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Dhanya Babu () +# +# 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': 'Product Sales By Location', + 'version': '16.0.1.0.0', + 'category': 'Sales', + 'summary': " We can set the location of products for delivery. ", + 'description': " This app allows our user to set a location on sale order" + " line. Whatever location is selected on sale order lines, " + "the product will be delivered from the selected location." + "Delivery orders will be created based on selected location" + "in odoo16", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['sale_management', 'stock', 'portal'], + 'data': + ['views/sale_order_views.xml', + 'views/sale_portal_templates.xml', + 'report/sale_order_templates.xml' + ], + 'images': ['static/description/banner.png'], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/product_sales_by_location/doc/RELEASE_NOTES.md b/product_sales_by_location/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..12ee46d0c --- /dev/null +++ b/product_sales_by_location/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 16.02.2024 +#### Version 16.0.1.0.0 +#### ADD +-Initial Commit for Product Sales By Location diff --git a/product_sales_by_location/models/__init__.py b/product_sales_by_location/models/__init__.py new file mode 100644 index 000000000..53a8b2e10 --- /dev/null +++ b/product_sales_by_location/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Dhanya Babu () +# +# 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 sale_order +from . import sale_order_line +from . import stock_rule diff --git a/product_sales_by_location/models/sale_order.py b/product_sales_by_location/models/sale_order.py new file mode 100644 index 000000000..aca959302 --- /dev/null +++ b/product_sales_by_location/models/sale_order.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Dhanya Babu () +# +# 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, models, _ +from odoo.exceptions import ValidationError + + +class SaleOrder(models.Model): + """Inheriting sale order model to check the order line count when + confirm the sale order.""" + _inherit = 'sale.order' + + @api.constrains('order_line') + def _check_order_line(self): + """This function ensures that the same product cannot be added with + the same location more than once in the order.""" + for order in self: + for line in order.order_line.filtered( + lambda l: l.line_location_id): + lines_count = line.search_count([('order_id', '=', order.id), ( + 'product_id', '=', line.product_id.id), + ('line_location_id', '=', + line.line_location_id.id)]) + if lines_count > 1: + raise ValidationError( + _(f"You cannot add the same product" + f" {line.product_id.display_name} with the same " + f"location '{line.line_location_id.name}'.")) diff --git a/product_sales_by_location/models/sale_order_line.py b/product_sales_by_location/models/sale_order_line.py new file mode 100644 index 000000000..9c2360ee5 --- /dev/null +++ b/product_sales_by_location/models/sale_order_line.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Dhanya Babu () +# +# 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 + + +class SaleOrderLine(models.Model): + """Inheriting this model to add new field.""" + _inherit = 'sale.order.line' + + line_location_id = fields.Many2one('stock.location', + string='Location', + domain="[('usage','=','internal')]", + help=' Choose the location from' + ' where the product taken from') diff --git a/product_sales_by_location/models/stock_rule.py b/product_sales_by_location/models/stock_rule.py new file mode 100644 index 000000000..9a2ce62ce --- /dev/null +++ b/product_sales_by_location/models/stock_rule.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Dhanya Babu () +# +# 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 + + +class StockRule(models.Model): + """By inheriting this model generating corresponding product's stock + moves.""" + _inherit = 'stock.rule' + + def _get_stock_move_values(self, product_id, product_qty, product_uom, + location_id, name, origin, company_id, values): + """Retrieve stock move values for a given product.""" + if values.get('sale_line_id', False): + sale_line_id = self.env['sale.order.line'].sudo().browse( + values['sale_line_id']) + self.location_src_id = sale_line_id.line_location_id.id if sale_line_id.line_location_id else self.picking_type_id.default_location_src_id + return super(StockRule, self)._get_stock_move_values(product_id, + product_qty, + product_uom, + location_id, + name, origin, + company_id, + values) diff --git a/product_sales_by_location/report/sale_order_templates.xml b/product_sales_by_location/report/sale_order_templates.xml new file mode 100644 index 000000000..07a9ac524 --- /dev/null +++ b/product_sales_by_location/report/sale_order_templates.xml @@ -0,0 +1,17 @@ + + + + + diff --git a/product_sales_by_location/static/description/assets/Screenshots/hero.gif b/product_sales_by_location/static/description/assets/Screenshots/hero.gif new file mode 100755 index 000000000..b6d74b734 Binary files /dev/null and b/product_sales_by_location/static/description/assets/Screenshots/hero.gif differ diff --git a/product_sales_by_location/static/description/assets/Screenshots/loc1.png b/product_sales_by_location/static/description/assets/Screenshots/loc1.png new file mode 100755 index 000000000..89c9e3836 Binary files /dev/null and b/product_sales_by_location/static/description/assets/Screenshots/loc1.png differ diff --git a/product_sales_by_location/static/description/assets/Screenshots/loc2_deliver.png b/product_sales_by_location/static/description/assets/Screenshots/loc2_deliver.png new file mode 100755 index 000000000..2ac041d8e Binary files /dev/null and b/product_sales_by_location/static/description/assets/Screenshots/loc2_deliver.png differ diff --git a/product_sales_by_location/static/description/assets/Screenshots/loc3.png b/product_sales_by_location/static/description/assets/Screenshots/loc3.png new file mode 100755 index 000000000..1fb8d9559 Binary files /dev/null and b/product_sales_by_location/static/description/assets/Screenshots/loc3.png differ diff --git a/product_sales_by_location/static/description/assets/Screenshots/loc4.png b/product_sales_by_location/static/description/assets/Screenshots/loc4.png new file mode 100755 index 000000000..94b3b9036 Binary files /dev/null and b/product_sales_by_location/static/description/assets/Screenshots/loc4.png differ diff --git a/product_sales_by_location/static/description/assets/Screenshots/loc_Validated.png b/product_sales_by_location/static/description/assets/Screenshots/loc_Validated.png new file mode 100755 index 000000000..61f85b468 Binary files /dev/null and b/product_sales_by_location/static/description/assets/Screenshots/loc_Validated.png differ diff --git a/product_sales_by_location/static/description/assets/Screenshots/loc_portal.png b/product_sales_by_location/static/description/assets/Screenshots/loc_portal.png new file mode 100755 index 000000000..cedfc480f Binary files /dev/null and b/product_sales_by_location/static/description/assets/Screenshots/loc_portal.png differ diff --git a/product_sales_by_location/static/description/assets/Screenshots/locprint.png b/product_sales_by_location/static/description/assets/Screenshots/locprint.png new file mode 100755 index 000000000..481b36607 Binary files /dev/null and b/product_sales_by_location/static/description/assets/Screenshots/locprint.png differ diff --git a/product_sales_by_location/static/description/assets/Screenshots/locreport1.png b/product_sales_by_location/static/description/assets/Screenshots/locreport1.png new file mode 100755 index 000000000..3bebf9eff Binary files /dev/null and b/product_sales_by_location/static/description/assets/Screenshots/locreport1.png differ diff --git a/product_sales_by_location/static/description/assets/icons/check.png b/product_sales_by_location/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/product_sales_by_location/static/description/assets/icons/check.png differ diff --git a/product_sales_by_location/static/description/assets/icons/chevron.png b/product_sales_by_location/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/product_sales_by_location/static/description/assets/icons/chevron.png differ diff --git a/product_sales_by_location/static/description/assets/icons/cogs.png b/product_sales_by_location/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/product_sales_by_location/static/description/assets/icons/cogs.png differ diff --git a/product_sales_by_location/static/description/assets/icons/consultation.png b/product_sales_by_location/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/product_sales_by_location/static/description/assets/icons/consultation.png differ diff --git a/product_sales_by_location/static/description/assets/icons/ecom-black.png b/product_sales_by_location/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/product_sales_by_location/static/description/assets/icons/ecom-black.png differ diff --git a/product_sales_by_location/static/description/assets/icons/education-black.png b/product_sales_by_location/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/product_sales_by_location/static/description/assets/icons/education-black.png differ diff --git a/product_sales_by_location/static/description/assets/icons/hotel-black.png b/product_sales_by_location/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/product_sales_by_location/static/description/assets/icons/hotel-black.png differ diff --git a/product_sales_by_location/static/description/assets/icons/license.png b/product_sales_by_location/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/product_sales_by_location/static/description/assets/icons/license.png differ diff --git a/product_sales_by_location/static/description/assets/icons/lifebuoy.png b/product_sales_by_location/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/product_sales_by_location/static/description/assets/icons/lifebuoy.png differ diff --git a/product_sales_by_location/static/description/assets/icons/manufacturing-black.png b/product_sales_by_location/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/product_sales_by_location/static/description/assets/icons/manufacturing-black.png differ diff --git a/product_sales_by_location/static/description/assets/icons/pos-black.png b/product_sales_by_location/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/product_sales_by_location/static/description/assets/icons/pos-black.png differ diff --git a/product_sales_by_location/static/description/assets/icons/puzzle.png b/product_sales_by_location/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/product_sales_by_location/static/description/assets/icons/puzzle.png differ diff --git a/product_sales_by_location/static/description/assets/icons/restaurant-black.png b/product_sales_by_location/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/product_sales_by_location/static/description/assets/icons/restaurant-black.png differ diff --git a/product_sales_by_location/static/description/assets/icons/service-black.png b/product_sales_by_location/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/product_sales_by_location/static/description/assets/icons/service-black.png differ diff --git a/product_sales_by_location/static/description/assets/icons/trading-black.png b/product_sales_by_location/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/product_sales_by_location/static/description/assets/icons/trading-black.png differ diff --git a/product_sales_by_location/static/description/assets/icons/training.png b/product_sales_by_location/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/product_sales_by_location/static/description/assets/icons/training.png differ diff --git a/product_sales_by_location/static/description/assets/icons/update.png b/product_sales_by_location/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/product_sales_by_location/static/description/assets/icons/update.png differ diff --git a/product_sales_by_location/static/description/assets/icons/user.png b/product_sales_by_location/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/product_sales_by_location/static/description/assets/icons/user.png differ diff --git a/product_sales_by_location/static/description/assets/icons/wrench.png b/product_sales_by_location/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/product_sales_by_location/static/description/assets/icons/wrench.png differ diff --git a/product_sales_by_location/static/description/assets/misc/categories.png b/product_sales_by_location/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/product_sales_by_location/static/description/assets/misc/categories.png differ diff --git a/product_sales_by_location/static/description/assets/misc/check-box.png b/product_sales_by_location/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/product_sales_by_location/static/description/assets/misc/check-box.png differ diff --git a/product_sales_by_location/static/description/assets/misc/compass.png b/product_sales_by_location/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/product_sales_by_location/static/description/assets/misc/compass.png differ diff --git a/product_sales_by_location/static/description/assets/misc/corporate.png b/product_sales_by_location/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/product_sales_by_location/static/description/assets/misc/corporate.png differ diff --git a/product_sales_by_location/static/description/assets/misc/customer-support.png b/product_sales_by_location/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/product_sales_by_location/static/description/assets/misc/customer-support.png differ diff --git a/product_sales_by_location/static/description/assets/misc/cybrosys-logo.png b/product_sales_by_location/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/product_sales_by_location/static/description/assets/misc/cybrosys-logo.png differ diff --git a/product_sales_by_location/static/description/assets/misc/features.png b/product_sales_by_location/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/product_sales_by_location/static/description/assets/misc/features.png differ diff --git a/product_sales_by_location/static/description/assets/misc/logo.png b/product_sales_by_location/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/product_sales_by_location/static/description/assets/misc/logo.png differ diff --git a/product_sales_by_location/static/description/assets/misc/pictures.png b/product_sales_by_location/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/product_sales_by_location/static/description/assets/misc/pictures.png differ diff --git a/product_sales_by_location/static/description/assets/misc/pie-chart.png b/product_sales_by_location/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/product_sales_by_location/static/description/assets/misc/pie-chart.png differ diff --git a/product_sales_by_location/static/description/assets/misc/right-arrow.png b/product_sales_by_location/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/product_sales_by_location/static/description/assets/misc/right-arrow.png differ diff --git a/product_sales_by_location/static/description/assets/misc/star.png b/product_sales_by_location/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/product_sales_by_location/static/description/assets/misc/star.png differ diff --git a/product_sales_by_location/static/description/assets/misc/support.png b/product_sales_by_location/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/product_sales_by_location/static/description/assets/misc/support.png differ diff --git a/product_sales_by_location/static/description/assets/misc/whatsapp.png b/product_sales_by_location/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/product_sales_by_location/static/description/assets/misc/whatsapp.png differ diff --git a/product_sales_by_location/static/description/assets/modules/1.png b/product_sales_by_location/static/description/assets/modules/1.png new file mode 100755 index 000000000..359d3e4d6 Binary files /dev/null and b/product_sales_by_location/static/description/assets/modules/1.png differ diff --git a/product_sales_by_location/static/description/assets/modules/2.png b/product_sales_by_location/static/description/assets/modules/2.png new file mode 100755 index 000000000..5c56f0bcd Binary files /dev/null and b/product_sales_by_location/static/description/assets/modules/2.png differ diff --git a/product_sales_by_location/static/description/assets/modules/3.png b/product_sales_by_location/static/description/assets/modules/3.png new file mode 100755 index 000000000..c1f30354a Binary files /dev/null and b/product_sales_by_location/static/description/assets/modules/3.png differ diff --git a/product_sales_by_location/static/description/assets/modules/4.png b/product_sales_by_location/static/description/assets/modules/4.png new file mode 100755 index 000000000..33372bdc1 Binary files /dev/null and b/product_sales_by_location/static/description/assets/modules/4.png differ diff --git a/product_sales_by_location/static/description/assets/modules/5.gif b/product_sales_by_location/static/description/assets/modules/5.gif new file mode 100755 index 000000000..d0f36b007 Binary files /dev/null and b/product_sales_by_location/static/description/assets/modules/5.gif differ diff --git a/product_sales_by_location/static/description/assets/modules/6.png b/product_sales_by_location/static/description/assets/modules/6.png new file mode 100755 index 000000000..29d072e4b Binary files /dev/null and b/product_sales_by_location/static/description/assets/modules/6.png differ diff --git a/product_sales_by_location/static/description/banner.png b/product_sales_by_location/static/description/banner.png new file mode 100755 index 000000000..f9280b645 Binary files /dev/null and b/product_sales_by_location/static/description/banner.png differ diff --git a/product_sales_by_location/static/description/icon.png b/product_sales_by_location/static/description/icon.png new file mode 100755 index 000000000..574eae482 Binary files /dev/null and b/product_sales_by_location/static/description/icon.png differ diff --git a/product_sales_by_location/static/description/index.html b/product_sales_by_location/static/description/index.html new file mode 100644 index 000000000..7e32ad794 --- /dev/null +++ b/product_sales_by_location/static/description/index.html @@ -0,0 +1,654 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

+ Product Sales By Location

+

+ This App Enables Users To Select A Location On A Sales + Order Line, Impacting Product Delivery, Sale Order + Creation, And Visibility In Sales Reports And The Customer + Portal. +

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

+ Explore This + Module

+
+ + + +
+
+ +
+

+ Overview +

+
+
+
+

This app is designed to enhance the user experience by providing the + ability to set specific delivery locations for each sale order line. + With this functionality, users can easily choose the desired + location from which the product will be dispatched. By selecting a + location on the sale order lines, the system will generate + corresponding delivery orders, streamlining the order fulfillment + process.

+
+
+ + +
+
+ +
+

+ Features +

+
+
+
+
+ + Community & Enterprise + Support. +
+
+ + Allows users to set a Location on sale order line in Odoo. +
+
+ + Whatever Location is selected on sale order lines, the product will be delivered from the selected location. +
+
+ + Delivery Orders will be created based on selected location on sale order lines. +
+
+
+
+ + We Can See the Location in Report also. +
+
+ + We Can See the Location in Portal User Account. + +
+
+
+ + +
+
+ +
+

+ Screenshots +

+
+
+
+
+

+ Set The Location In Sale Order Line in Odoo. +

+

+ + +

+
+

+ Corresponding Delivery Will Created. +

+ +
+

+ We Can See The Deliveries In The Delivery Smart Button. +

+
+ +
+

+ Form View Of Delivery. +

+ +
+

+ Validating Each Delivery.

+ +
+
+
+

+ We Can See The Locations In Report.

+ + +
+
+

+ We Can See The Locations In Portal View.

+ +
+
+ + +
+
+ +
+

+ Related + Products +

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

+ Our Services +

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

+ Our + Industries +

+
+
+
+
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

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

+ Mobile + friendly, + awe-inspiring product pages

+
+
+
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

+
+
+
+
+ + +
+
+ +
+

+ Support +

+
+
+
+
+
+
+ +
+
+

Need Help?

+

Got questions or need help? + Get in touch.

+ +

+ odoo@cybrosys.com

+
+
+
+
+
+
+
+ +
+
+

WhatsApp

+

Say hi to us on WhatsApp!

+ +

+ +91 86068 + 27707

+
+
+
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/product_sales_by_location/views/sale_order_views.xml b/product_sales_by_location/views/sale_order_views.xml new file mode 100644 index 000000000..cc80164c8 --- /dev/null +++ b/product_sales_by_location/views/sale_order_views.xml @@ -0,0 +1,17 @@ + + + + + + sale.order.view.form.inherit.product.sales.by.location + + sale.order + + + + + + + + diff --git a/product_sales_by_location/views/sale_portal_templates.xml b/product_sales_by_location/views/sale_portal_templates.xml new file mode 100644 index 000000000..87c935841 --- /dev/null +++ b/product_sales_by_location/views/sale_portal_templates.xml @@ -0,0 +1,20 @@ + + + + +