diff --git a/sale_delivery_address/README.rst b/sale_delivery_address/README.rst new file mode 100644 index 000000000..0d968cd2c --- /dev/null +++ b/sale_delivery_address/README.rst @@ -0,0 +1,48 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Multiple Delivery Addresses for Sale Order +========================================== +This module helps to add multiple delivery addresses to the same sale order. + +Configuration +============= +* No additional configurations needed + +License +------- +Affero General Public License, Version 3 (AGPL v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developers: (V16) Raveena V, + (V15) Aysha Shalin + 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/sale_delivery_address/__init__.py b/sale_delivery_address/__init__.py new file mode 100644 index 000000000..c7383941b --- /dev/null +++ b/sale_delivery_address/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Aysha Shalin (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################## +from . import models diff --git a/sale_delivery_address/__manifest__.py b/sale_delivery_address/__manifest__.py new file mode 100644 index 000000000..461d39c86 --- /dev/null +++ b/sale_delivery_address/__manifest__.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Aysha Shalin (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################## +{ + 'name': 'Multiple Delivery Addresses for Sale Order', + 'version': '15.0.1.0.0', + 'category': 'Sales', + 'summary': "Add multiple delivery addresses for the same sale order.", + 'description': """If the customer have multiple addresses, the user can + choose delivery addresses for each order lines. Then separate pickings and + delivery will be created for each of the addresses.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['sale_management', 'stock'], + 'data': [ + 'views/sale_order_views.xml', + 'views/sale_order_templates.xml', + ], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/sale_delivery_address/doc/RELEASE_NOTES.md b/sale_delivery_address/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..07907a9c9 --- /dev/null +++ b/sale_delivery_address/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 13.06.2024 +#### Version 15.0.1.0.0 +##### ADD +- Initial Commit for Multiple Delivery Addresses for Sale Order diff --git a/sale_delivery_address/models/__init__.py b/sale_delivery_address/models/__init__.py new file mode 100644 index 000000000..82c9de2fd --- /dev/null +++ b/sale_delivery_address/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Aysha Shalin (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import sale_order_line +from . import stock_move +from . import stock_rule diff --git a/sale_delivery_address/models/sale_order_line.py b/sale_delivery_address/models/sale_order_line.py new file mode 100644 index 000000000..814dcf734 --- /dev/null +++ b/sale_delivery_address/models/sale_order_line.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Aysha Shalin (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import api, fields, models + + +class SaleOrderLine(models.Model): + """ Inherits sale.order.line to add the new fields for delivery address """ + _inherit = 'sale.order.line' + + delivery_addr_id = fields.Many2one( + 'res.partner', string="Delivery Address", + domain="[('parent_id', '=', order_partner_id)]", + help="You can select from the delivery addresses of the same customer") + is_address_readonly = fields.Boolean( + default=False, compute="_compute_is_address_readonly") + + @api.depends('product_id') + def _compute_is_address_readonly(self): + """ This function will compute the is_address_readonly field. + The field is used to make delivery address field in sale order line + a readonly field if the product is a service. """ + for rec in self: + rec.is_address_readonly = False + if rec.product_id.type == 'service': + rec.is_address_readonly = True diff --git a/sale_delivery_address/models/stock_move.py b/sale_delivery_address/models/stock_move.py new file mode 100644 index 000000000..7ef86bfbc --- /dev/null +++ b/sale_delivery_address/models/stock_move.py @@ -0,0 +1,127 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Aysha Shalin (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import models +from odoo.tools.float_utils import float_compare +from odoo.tools.misc import groupby + + +class StockMove(models.Model): + """ Inherits stock_move to manage pickings with respect to the + delivery address. """ + _inherit = "stock.move" + + def _get_new_picking_values(self): + """ Extending _get_new_picking_values to create values for new + pickings with different delivery addresses. """ + origins = self.filtered(lambda m: m.origin).mapped('origin') + origins = list(dict.fromkeys(origins)) + if len(origins) == 0: + origin = False + else: + origin = ','.join(origins[:5]) + if len(origins) > 5: + origin += "..." + orders = self.env['sale.order'].search([('name', 'in', origins)]) + for rec in orders: + address = [rec.partner_id.id] + for line in rec.order_line: + if line.delivery_addr_id: + if line.delivery_addr_id.id not in address: + address.append(line.delivery_addr_id.id) + elif rec.partner_id.id not in address: + address.append(rec.partner_id.id) + # if no delivery address is selected for order lines, + # only one transfer will be created + if len(address) <= 1: + res = super(StockMove, self)._get_new_picking_values() + return res + return { + 'origin': origin, + 'company_id': self.mapped('company_id').id, + 'user_id': False, + 'move_type': self.mapped('group_id').move_type or 'direct', + 'partner_id': self.sale_line_id.delivery_addr_id.id or + self.sale_line_id.order_id.partner_id.id, + 'picking_type_id': self.mapped('picking_type_id').id, + 'location_id': self.mapped('location_id').id, + 'location_dest_id': self.mapped('location_dest_id').id, + } + + def _assign_picking(self): + """ Extending _assign_picking function to create new pickings for + order lines having different delivery addresses. """ + picking_obj = self.env['stock.picking'] + grouped_moves = groupby(self, key=lambda m: m._key_assign_picking()) + for group, moves in grouped_moves: + moves = self.env['stock.move'].concat(*moves) + picking = moves[0]._search_picking_for_assignation() + if picking: + vals = {} + if any(picking.partner_id.id != move.partner_id.id for move in moves): + vals['partner_id'] = False + if any(picking.origin != move.origin for move in moves): + vals['origin'] = False + if vals: + picking.write(vals) + else: + moves = moves.filtered( + lambda m: float_compare( + m.product_uom_qty, 0.0, + precision_rounding=m.product_uom.rounding) >= 0) + if not moves: + continue + new_picking = True + origins = moves[0].origin + orders = self.env['sale.order'].search( + [('name', '=', origins)]) + for rec in orders: + addr = [rec.partner_id.id] + for line in rec.order_line: + if line.delivery_addr_id and line.delivery_addr_id.id \ + not in addr: + addr.append(line.delivery_addr_id.id) + elif line.delivery_addr_id and rec.partner_id.id not \ + in addr: + addr.append(rec.partner_id.id) + if len(addr) <= 1: + return super(StockMove, self)._assign_picking() + else: + for mov in moves: + mov.write({ + 'partner_id': + mov.sale_line_id.delivery_addr_id.id + or mov.sale_line_id.order_id.partner_id.id + }) + move_ids = [] + for index, value in enumerate(addr): + for mov in moves: + if mov.partner_id.id == value: + move_ids.append(mov.id) + mvs = self.env['stock.move'].search( + [('id', 'in', move_ids)]) + move_ids = [] + if mvs: + picking = picking_obj.create( + mvs._get_new_picking_values()) + mvs.write({'picking_id': picking.id}) + mvs._assign_picking_post_process(new=new_picking) + return True diff --git a/sale_delivery_address/models/stock_rule.py b/sale_delivery_address/models/stock_rule.py new file mode 100644 index 000000000..4c7d9db06 --- /dev/null +++ b/sale_delivery_address/models/stock_rule.py @@ -0,0 +1,54 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Aysha Shalin (odoo@cybrosys.com) + +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################## +from odoo import models + + +class StockRule(models.Model): + """ Inherits the stock.rule to update each move with the partner from + corresponding sale order line. """ + _inherit = 'stock.rule' + + def _get_stock_move_values(self, product_id, product_qty, product_uom, + location_id, name, origin, company_id, values): + """ + Extending the _get_stock_move_values function for updating the + partner as the partner from the selected delivery address if it exists + or the partner from the order. Returns a dictionary of values that will + be used to create a stock move from a procurement. + :param procurement: browse record + :rtype: dictionary + """ + res = super()._get_stock_move_values( + product_id, product_qty, product_uom, location_id, name, origin, + company_id, values) + if res.get('warehouse_id'): + warehouse = self.env['stock.warehouse'].browse(res.get( + 'warehouse_id')) + if res.get('order_id') and warehouse.delivery_steps in [ + 'pick_ship', 'ship_only']: + for data in res.get('order_id'): + for move in self.env['stock.move'].browse(data[-1]): + partner_id = move.sale_line_id.delivery_addr.id or \ + move.sale_line_id.order_id.partner_id.id + res.update({ + 'partner_id': partner_id + }) + return res diff --git a/sale_delivery_address/static/description/assets/icons/check.png b/sale_delivery_address/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/sale_delivery_address/static/description/assets/icons/check.png differ diff --git a/sale_delivery_address/static/description/assets/icons/chevron.png b/sale_delivery_address/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/sale_delivery_address/static/description/assets/icons/chevron.png differ diff --git a/sale_delivery_address/static/description/assets/icons/cogs.png b/sale_delivery_address/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/sale_delivery_address/static/description/assets/icons/cogs.png differ diff --git a/sale_delivery_address/static/description/assets/icons/consultation.png b/sale_delivery_address/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/sale_delivery_address/static/description/assets/icons/consultation.png differ diff --git a/sale_delivery_address/static/description/assets/icons/ecom-black.png b/sale_delivery_address/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/sale_delivery_address/static/description/assets/icons/ecom-black.png differ diff --git a/sale_delivery_address/static/description/assets/icons/education-black.png b/sale_delivery_address/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/sale_delivery_address/static/description/assets/icons/education-black.png differ diff --git a/sale_delivery_address/static/description/assets/icons/hotel-black.png b/sale_delivery_address/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/sale_delivery_address/static/description/assets/icons/hotel-black.png differ diff --git a/sale_delivery_address/static/description/assets/icons/license.png b/sale_delivery_address/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/sale_delivery_address/static/description/assets/icons/license.png differ diff --git a/sale_delivery_address/static/description/assets/icons/lifebuoy.png b/sale_delivery_address/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/sale_delivery_address/static/description/assets/icons/lifebuoy.png differ diff --git a/sale_delivery_address/static/description/assets/icons/logo.png b/sale_delivery_address/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/sale_delivery_address/static/description/assets/icons/logo.png differ diff --git a/sale_delivery_address/static/description/assets/icons/manufacturing-black.png b/sale_delivery_address/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/sale_delivery_address/static/description/assets/icons/manufacturing-black.png differ diff --git a/sale_delivery_address/static/description/assets/icons/pos-black.png b/sale_delivery_address/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/sale_delivery_address/static/description/assets/icons/pos-black.png differ diff --git a/sale_delivery_address/static/description/assets/icons/puzzle.png b/sale_delivery_address/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/sale_delivery_address/static/description/assets/icons/puzzle.png differ diff --git a/sale_delivery_address/static/description/assets/icons/restaurant-black.png b/sale_delivery_address/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/sale_delivery_address/static/description/assets/icons/restaurant-black.png differ diff --git a/sale_delivery_address/static/description/assets/icons/service-black.png b/sale_delivery_address/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/sale_delivery_address/static/description/assets/icons/service-black.png differ diff --git a/sale_delivery_address/static/description/assets/icons/trading-black.png b/sale_delivery_address/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/sale_delivery_address/static/description/assets/icons/trading-black.png differ diff --git a/sale_delivery_address/static/description/assets/icons/training.png b/sale_delivery_address/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/sale_delivery_address/static/description/assets/icons/training.png differ diff --git a/sale_delivery_address/static/description/assets/icons/update.png b/sale_delivery_address/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/sale_delivery_address/static/description/assets/icons/update.png differ diff --git a/sale_delivery_address/static/description/assets/icons/user.png b/sale_delivery_address/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/sale_delivery_address/static/description/assets/icons/user.png differ diff --git a/sale_delivery_address/static/description/assets/icons/wrench.png b/sale_delivery_address/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/sale_delivery_address/static/description/assets/icons/wrench.png differ diff --git a/sale_delivery_address/static/description/assets/misc/categories.png b/sale_delivery_address/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/sale_delivery_address/static/description/assets/misc/categories.png differ diff --git a/sale_delivery_address/static/description/assets/misc/check-box.png b/sale_delivery_address/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/sale_delivery_address/static/description/assets/misc/check-box.png differ diff --git a/sale_delivery_address/static/description/assets/misc/compass.png b/sale_delivery_address/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/sale_delivery_address/static/description/assets/misc/compass.png differ diff --git a/sale_delivery_address/static/description/assets/misc/corporate.png b/sale_delivery_address/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/sale_delivery_address/static/description/assets/misc/corporate.png differ diff --git a/sale_delivery_address/static/description/assets/misc/customer-support.png b/sale_delivery_address/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/sale_delivery_address/static/description/assets/misc/customer-support.png differ diff --git a/sale_delivery_address/static/description/assets/misc/cybrosys-logo.png b/sale_delivery_address/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/sale_delivery_address/static/description/assets/misc/cybrosys-logo.png differ diff --git a/sale_delivery_address/static/description/assets/misc/features.png b/sale_delivery_address/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/sale_delivery_address/static/description/assets/misc/features.png differ diff --git a/sale_delivery_address/static/description/assets/misc/logo.png b/sale_delivery_address/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/sale_delivery_address/static/description/assets/misc/logo.png differ diff --git a/sale_delivery_address/static/description/assets/misc/pictures.png b/sale_delivery_address/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/sale_delivery_address/static/description/assets/misc/pictures.png differ diff --git a/sale_delivery_address/static/description/assets/misc/pie-chart.png b/sale_delivery_address/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/sale_delivery_address/static/description/assets/misc/pie-chart.png differ diff --git a/sale_delivery_address/static/description/assets/misc/right-arrow.png b/sale_delivery_address/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/sale_delivery_address/static/description/assets/misc/right-arrow.png differ diff --git a/sale_delivery_address/static/description/assets/misc/star.png b/sale_delivery_address/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/sale_delivery_address/static/description/assets/misc/star.png differ diff --git a/sale_delivery_address/static/description/assets/misc/support.png b/sale_delivery_address/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/sale_delivery_address/static/description/assets/misc/support.png differ diff --git a/sale_delivery_address/static/description/assets/misc/whatsapp.png b/sale_delivery_address/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/sale_delivery_address/static/description/assets/misc/whatsapp.png differ diff --git a/sale_delivery_address/static/description/assets/modules/dynamic_product_fields.png b/sale_delivery_address/static/description/assets/modules/dynamic_product_fields.png new file mode 100644 index 000000000..59981ef02 Binary files /dev/null and b/sale_delivery_address/static/description/assets/modules/dynamic_product_fields.png differ diff --git a/sale_delivery_address/static/description/assets/modules/fedex_odoo_connector.png b/sale_delivery_address/static/description/assets/modules/fedex_odoo_connector.png new file mode 100644 index 000000000..1281854ef Binary files /dev/null and b/sale_delivery_address/static/description/assets/modules/fedex_odoo_connector.png differ diff --git a/sale_delivery_address/static/description/assets/modules/product_import.png b/sale_delivery_address/static/description/assets/modules/product_import.png new file mode 100644 index 000000000..af65d8dcb Binary files /dev/null and b/sale_delivery_address/static/description/assets/modules/product_import.png differ diff --git a/sale_delivery_address/static/description/assets/modules/sale_discount_total.png b/sale_delivery_address/static/description/assets/modules/sale_discount_total.png new file mode 100644 index 000000000..752801ef2 Binary files /dev/null and b/sale_delivery_address/static/description/assets/modules/sale_discount_total.png differ diff --git a/sale_delivery_address/static/description/assets/modules/sale_product_image.png b/sale_delivery_address/static/description/assets/modules/sale_product_image.png new file mode 100644 index 000000000..aa0484238 Binary files /dev/null and b/sale_delivery_address/static/description/assets/modules/sale_product_image.png differ diff --git a/sale_delivery_address/static/description/assets/modules/subscription_package.png b/sale_delivery_address/static/description/assets/modules/subscription_package.png new file mode 100644 index 000000000..d8d9ddb86 Binary files /dev/null and b/sale_delivery_address/static/description/assets/modules/subscription_package.png differ diff --git a/sale_delivery_address/static/description/assets/screenshots/1.png b/sale_delivery_address/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..42e72cd07 Binary files /dev/null and b/sale_delivery_address/static/description/assets/screenshots/1.png differ diff --git a/sale_delivery_address/static/description/assets/screenshots/2.png b/sale_delivery_address/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..324733390 Binary files /dev/null and b/sale_delivery_address/static/description/assets/screenshots/2.png differ diff --git a/sale_delivery_address/static/description/assets/screenshots/3.png b/sale_delivery_address/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..b4ccee23a Binary files /dev/null and b/sale_delivery_address/static/description/assets/screenshots/3.png differ diff --git a/sale_delivery_address/static/description/assets/screenshots/4.png b/sale_delivery_address/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..93df83b7a Binary files /dev/null and b/sale_delivery_address/static/description/assets/screenshots/4.png differ diff --git a/sale_delivery_address/static/description/assets/screenshots/5.png b/sale_delivery_address/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..ed13dce5d Binary files /dev/null and b/sale_delivery_address/static/description/assets/screenshots/5.png differ diff --git a/sale_delivery_address/static/description/assets/screenshots/6.png b/sale_delivery_address/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..9032551d9 Binary files /dev/null and b/sale_delivery_address/static/description/assets/screenshots/6.png differ diff --git a/sale_delivery_address/static/description/assets/screenshots/7.png b/sale_delivery_address/static/description/assets/screenshots/7.png new file mode 100644 index 000000000..7026c932b Binary files /dev/null and b/sale_delivery_address/static/description/assets/screenshots/7.png differ diff --git a/sale_delivery_address/static/description/assets/screenshots/8.png b/sale_delivery_address/static/description/assets/screenshots/8.png new file mode 100644 index 000000000..8fa8f57cb Binary files /dev/null and b/sale_delivery_address/static/description/assets/screenshots/8.png differ diff --git a/sale_delivery_address/static/description/assets/screenshots/hero.gif b/sale_delivery_address/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..a40de0744 Binary files /dev/null and b/sale_delivery_address/static/description/assets/screenshots/hero.gif differ diff --git a/sale_delivery_address/static/description/banner.png b/sale_delivery_address/static/description/banner.png new file mode 100644 index 000000000..53030059b Binary files /dev/null and b/sale_delivery_address/static/description/banner.png differ diff --git a/sale_delivery_address/static/description/icon.png b/sale_delivery_address/static/description/icon.png new file mode 100644 index 000000000..c966c2f2c Binary files /dev/null and b/sale_delivery_address/static/description/icon.png differ diff --git a/sale_delivery_address/static/description/index.html b/sale_delivery_address/static/description/index.html new file mode 100644 index 000000000..74aac615e --- /dev/null +++ b/sale_delivery_address/static/description/index.html @@ -0,0 +1,616 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ + + +
+

+ Multiple Delivery Addresses for Sale Order

+

+ Multiple Delivery Addresses can be applied for the same sale order.

+ +
+ +
+ + +
+
+ +
+

+ Explore This Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
+

+ If the customer have multiple addresses, the user can choose delivery + addresses for each order lines. Then separate pickings and delivery will + be created for each of the addresses. +

+
+ + + +
+
+ +
+

+ Features +

+
+
+
+
+ + Each line can have Different Delivery Addresses +
+
+ + Separate Transfers for each Delivery Address +
+
+ + Delivery Addresses on Sale Order Report +
+
+ + The Delivery Addresses on Customer Portal View +
+
+
+ + + +
+
+ +
+

+ Screenshots +

+
+
+
+
+

+ Select Delivery Addresses for Order Lines

+

+ You can select the different delivery addresses of the customer for each order line.

+ +
+
+

+ Separate Transfers are created for each Delivery Address.

+

+ You can view the separate transfers that are created for each delivery address on the smart button. +

+ +
+
+

+ Transfers

+

+ You can view the transfers with each delivery address.

+ +
+
+

+ After Post Journal Entries

+ +
+
+

+ Order Lines with Same Delivery Address

+

+ One transfer is created for the order lines having same delivery address.

+ +
+
+

+ Transfers

+

+ One transfer is created with the selected delivery address(for 2 order lines) and one is with the sale order's customer address(for the lines having no delivery address selected). +

+ +
+
+

+ Order Lines with no Delivery Address

+

+ Only one transfer is created if there is no delivery address selected. +

+ +
+
+

+ Delivery address on Quotation/ Order Report

+

+ You can view the delivery addresses on the quotation or order report. +

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

+ 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

+
+
+
+
+
+
+
+ +
+
+
+ diff --git a/sale_delivery_address/views/sale_order_templates.xml b/sale_delivery_address/views/sale_order_templates.xml new file mode 100644 index 000000000..2d691523d --- /dev/null +++ b/sale_delivery_address/views/sale_order_templates.xml @@ -0,0 +1,36 @@ + + + + + + + \ No newline at end of file diff --git a/sale_delivery_address/views/sale_order_views.xml b/sale_delivery_address/views/sale_order_views.xml new file mode 100644 index 000000000..dd820e737 --- /dev/null +++ b/sale_delivery_address/views/sale_order_views.xml @@ -0,0 +1,19 @@ + + + + + sale.order.view.form.inherit.sale.delivery.address + sale.order + + + + + + + + + + \ No newline at end of file