diff --git a/sale_order_line_to_purchase_order_line/README.rst b/sale_order_line_to_purchase_order_line/README.rst new file mode 100755 index 000000000..f05aa4668 --- /dev/null +++ b/sale_order_line_to_purchase_order_line/README.rst @@ -0,0 +1,47 @@ +.. 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 + +Convert Sale Order Line To Purchase Order Line +============================================== +This module will help you convert the sale order line to the purchase order line. + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (AGPL v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +Developer: (V15) Sreerag PM, + (V16) Syamili K +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_order_line_to_purchase_order_line/__init__.py b/sale_order_line_to_purchase_order_line/__init__.py new file mode 100644 index 000000000..a4cf60c4f --- /dev/null +++ b/sale_order_line_to_purchase_order_line/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Sreerag PM (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_order_line_to_purchase_order_line/__manifest__.py b/sale_order_line_to_purchase_order_line/__manifest__.py new file mode 100644 index 000000000..9e95cf8b7 --- /dev/null +++ b/sale_order_line_to_purchase_order_line/__manifest__.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Sreerag PM (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': "Convert Sale Order Line To Purchase Order Line", + 'version': '15.0.1.0.0', + 'category': 'Extra Tools', + 'summary': """Module to convert selected sale order lines to purchase + order lines easily.""", + 'description': """"This module will help to create new purchase order from + sale order by selecting sale order lines. And also we can add the selected + lines to existing purchase order.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['sale_management', 'purchase'], + 'data': [ + 'views/sale_order_views.xml', + ], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/sale_order_line_to_purchase_order_line/doc/RELEASE_NOTES.md b/sale_order_line_to_purchase_order_line/doc/RELEASE_NOTES.md new file mode 100755 index 000000000..0bf43895b --- /dev/null +++ b/sale_order_line_to_purchase_order_line/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 22.12.2023 +#### Version 15.0.1.0.0 +##### ADD + +- Initial commit for Convert Sale Order Line To Purchase Order Line diff --git a/sale_order_line_to_purchase_order_line/models/__init__.py b/sale_order_line_to_purchase_order_line/models/__init__.py new file mode 100644 index 000000000..be706373d --- /dev/null +++ b/sale_order_line_to_purchase_order_line/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Sreerag PM (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 +from . import sale_order_line diff --git a/sale_order_line_to_purchase_order_line/models/sale_order.py b/sale_order_line_to_purchase_order_line/models/sale_order.py new file mode 100644 index 000000000..bc47e204e --- /dev/null +++ b/sale_order_line_to_purchase_order_line/models/sale_order.py @@ -0,0 +1,100 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Sreerag PM (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################### +from odoo import fields, models, _ +from odoo.exceptions import ValidationError + + +class SaleOrder(models.Model): + """Inherited the model to add new fields for select vendor and + purchase order.""" + _inherit = "sale.order" + + vendor_id = fields.Many2one('res.partner', string="Vendor", + help="Choose vendor for create new purchase " + "order") + purchase_id = fields.Many2one('purchase.order', + string="Purchase Order", + domain=[('state', '=', 'draft')], + help="Choose a purchase order from the list " + "to add the chosen orders to an " + "existing PO.") + + def action_convert_po(self): + """Button action for check fields and convert sale order line to + purchase order line into the new or existing purchase order""" + if self.env['sale.order.line'].search_count( + [('order_id', '=', self.id), ('is_check', '=', True)]) >= 1: + if self.purchase_id: + purchase = self.purchase_id + elif self.vendor_id: + purchase = self.env['purchase.order'].create( + {'partner_id': self.vendor_id.id}) + else: + raise ValidationError(_("Select Vendor or Purchase Order")) + else: + raise ValidationError(_("Select Order Line")) + for rec in self.env['sale.order.line'].search( + [('order_id', '=', self.id)]): + if rec.is_check: + self.env['purchase.order.line'].create({ + 'product_id': rec.product_id.id, + 'name': rec.name, + 'product_qty': rec.product_uom_qty, + 'price_unit': rec.product_id.standard_price, + 'order_id': purchase.id, + 'taxes_id': rec.tax_id, + }) + action = self.env.ref('purchase.action_rfq_form') + if self.purchase_id: + return { + 'type': 'ir.actions.client', + 'tag': 'display_notification', + 'params': { + 'title': 'Success', + 'message': _('Selected Order Lines added to existing ' + 'Purchase Order. %s', ), + 'links': [{ + 'label': purchase.name, + 'url': f'#action={action.id}&id={purchase.id}' + f'&model=purchase.order' + }], + 'next': { + 'type': 'ir.actions.act_window_close' + }, + } + } + return { + 'type': 'ir.actions.client', + 'tag': 'display_notification', + 'params': { + 'title': 'Success', + 'message': _('New Purchase Order has been placed. %s', ), + 'links': [{ + 'label': purchase.name, + 'url': f'#action={action.id}&id={purchase.id}' + f'&model=purchase.order' + }], + 'next': { + 'type': 'ir.actions.act_window_close' + }, + } + } diff --git a/sale_order_line_to_purchase_order_line/models/sale_order_line.py b/sale_order_line_to_purchase_order_line/models/sale_order_line.py new file mode 100644 index 000000000..e086deb3b --- /dev/null +++ b/sale_order_line_to_purchase_order_line/models/sale_order_line.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Sreerag PM (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################### +from odoo import fields, models + + +class SaleOrderLine(models.Model): + """Inherited to add new boolean field in order line.""" + _inherit = "sale.order.line" + + is_check = fields.Boolean(string="Select", + help="Check box added for select " + "sale order lines.") diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/icons/cogs.png b/sale_order_line_to_purchase_order_line/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/icons/cogs.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/icons/consultation.png b/sale_order_line_to_purchase_order_line/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/icons/consultation.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/icons/ecom-black.png b/sale_order_line_to_purchase_order_line/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/icons/ecom-black.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/icons/education-black.png b/sale_order_line_to_purchase_order_line/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/icons/education-black.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/icons/hotel-black.png b/sale_order_line_to_purchase_order_line/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/icons/hotel-black.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/icons/license.png b/sale_order_line_to_purchase_order_line/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/icons/license.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/icons/lifebuoy.png b/sale_order_line_to_purchase_order_line/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/icons/lifebuoy.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/icons/manufacturing-black.png b/sale_order_line_to_purchase_order_line/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/icons/manufacturing-black.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/icons/pos-black.png b/sale_order_line_to_purchase_order_line/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/icons/pos-black.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/icons/puzzle.png b/sale_order_line_to_purchase_order_line/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/icons/puzzle.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/icons/restaurant-black.png b/sale_order_line_to_purchase_order_line/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/icons/restaurant-black.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/icons/service-black.png b/sale_order_line_to_purchase_order_line/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/icons/service-black.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/icons/trading-black.png b/sale_order_line_to_purchase_order_line/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/icons/trading-black.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/icons/training.png b/sale_order_line_to_purchase_order_line/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/icons/training.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/icons/update.png b/sale_order_line_to_purchase_order_line/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/icons/update.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/icons/user.png b/sale_order_line_to_purchase_order_line/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/icons/user.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/icons/wrench.png b/sale_order_line_to_purchase_order_line/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/icons/wrench.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/misc/categories.png b/sale_order_line_to_purchase_order_line/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/misc/categories.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/misc/check-box.png b/sale_order_line_to_purchase_order_line/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/misc/check-box.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/misc/compass.png b/sale_order_line_to_purchase_order_line/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/misc/compass.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/misc/corporate.png b/sale_order_line_to_purchase_order_line/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/misc/corporate.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/misc/customer-support.png b/sale_order_line_to_purchase_order_line/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/misc/customer-support.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/misc/cybrosys-logo.png b/sale_order_line_to_purchase_order_line/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/misc/cybrosys-logo.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/misc/features.png b/sale_order_line_to_purchase_order_line/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/misc/features.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/misc/logo.png b/sale_order_line_to_purchase_order_line/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/misc/logo.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/misc/pictures.png b/sale_order_line_to_purchase_order_line/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/misc/pictures.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/misc/pie-chart.png b/sale_order_line_to_purchase_order_line/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/misc/pie-chart.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/misc/right-arrow.png b/sale_order_line_to_purchase_order_line/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/misc/right-arrow.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/misc/star.png b/sale_order_line_to_purchase_order_line/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/misc/star.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/misc/support.png b/sale_order_line_to_purchase_order_line/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/misc/support.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/misc/whatsapp.png b/sale_order_line_to_purchase_order_line/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/misc/whatsapp.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/modules/img1.png b/sale_order_line_to_purchase_order_line/static/description/assets/modules/img1.png new file mode 100644 index 000000000..004c61a9e Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/modules/img1.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/modules/img2.png b/sale_order_line_to_purchase_order_line/static/description/assets/modules/img2.png new file mode 100644 index 000000000..09e2d45b2 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/modules/img2.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/modules/img3.png b/sale_order_line_to_purchase_order_line/static/description/assets/modules/img3.png new file mode 100644 index 000000000..c4b3a2088 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/modules/img3.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/modules/img4.png b/sale_order_line_to_purchase_order_line/static/description/assets/modules/img4.png new file mode 100644 index 000000000..7299c0f35 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/modules/img4.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/modules/img5.png b/sale_order_line_to_purchase_order_line/static/description/assets/modules/img5.png new file mode 100644 index 000000000..a1cd28cf0 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/modules/img5.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/modules/img6.png b/sale_order_line_to_purchase_order_line/static/description/assets/modules/img6.png new file mode 100644 index 000000000..3712519fd Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/modules/img6.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/hero_gif.gif b/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/hero_gif.gif new file mode 100644 index 000000000..51bb5a9d6 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/hero_gif.gif differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/image1.png b/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/image1.png new file mode 100644 index 000000000..1001f280b Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/image1.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/image2.png b/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/image2.png new file mode 100644 index 000000000..e2d9d7246 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/image2.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/image3.png b/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/image3.png new file mode 100644 index 000000000..6abde89f0 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/image3.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/image4.png b/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/image4.png new file mode 100644 index 000000000..97f4bbb2d Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/image4.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/image5.png b/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/image5.png new file mode 100644 index 000000000..0f09dd373 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/image5.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/image6.png b/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/image6.png new file mode 100644 index 000000000..754e2a3e3 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/image6.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/image7.png b/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/image7.png new file mode 100644 index 000000000..93c7b58f2 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/assets/screenshots/image7.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/banner.png b/sale_order_line_to_purchase_order_line/static/description/banner.png new file mode 100644 index 000000000..6dc7e2bfe Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/banner.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/icon.png b/sale_order_line_to_purchase_order_line/static/description/icon.png new file mode 100644 index 000000000..d481647d1 Binary files /dev/null and b/sale_order_line_to_purchase_order_line/static/description/icon.png differ diff --git a/sale_order_line_to_purchase_order_line/static/description/index.html b/sale_order_line_to_purchase_order_line/static/description/index.html new file mode 100644 index 000000000..3e29db239 --- /dev/null +++ b/sale_order_line_to_purchase_order_line/static/description/index.html @@ -0,0 +1,662 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ + + +
+
+
+

+ Convert Sale Order Line To Purchase Order Line

+

+ This Application Can Convert The Sale Order Line To The + Purchase Order Line.

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

+ Explore This + Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
+ The selected sale order line can be converted to a new or existing + purchase order using this module. +
+
+ + + +
+
+ +
+

+ Features +

+
+
+
+
+ +
+

+ Support in Community, Enterprise & Odoo.sh. +

+
+
+
+ +
+

+ Easy To Create New Purchase Order From Sale Order +

+
+
+
+ +
+

+ To An Existing Purchase Order, Add New Order Lines From A + Sales Order +

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

+ Screenshots +

+
+
+
+
+

A new button + "CONVERT TO PO", two option fields for choosing Vendor or + Purchase Order, and a checkbox in each sale order line were + added to the Sales module to allow users to choose which line + they want to convert.

+ +
+
+
+
+

After selecting + any order lines from a sales order and vendor click the "Convert + to PO" button. A new purchase order will be created and a + success message will be displayed showing the new purchase order + number in the corner. Click on the sequence number of the + purchase order to access the new order.

+ +
+
+
+
+

Newly created + Purchase Order

+ +
+
+
+
+

If we select + Purchase order the Vendor selection area will be hidden and vice + versa. The selected Order Lines are added to the specified + Purchase Order when the "CONVERT TO PO" button is clicked. Also, + a success message pops up in the corner, click on the sequence + number to go to the current order.

+ +
+
+
+
+

The image below + shows the result, the selected line is added to the selected + Purchase Order.

+ +
+
+
+
+

If you select + Vendor or Purchase Order without selecting any Order Lines, a + validation error appears.

+ +
+
+
+
+

If you select any + Order Lines without selecting a Vendor or Purchase Order, a + validation error will appear.

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

+ 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_order_line_to_purchase_order_line/views/sale_order_views.xml b/sale_order_line_to_purchase_order_line/views/sale_order_views.xml new file mode 100644 index 000000000..7c82b2d65 --- /dev/null +++ b/sale_order_line_to_purchase_order_line/views/sale_order_views.xml @@ -0,0 +1,39 @@ + + + + + + sale.order.view.form.inherit.sale.order.line.to.purchase.order.line + + sale.order + + + + + + +