@ -0,0 +1,40 @@ | 
				
			|||||
 | 
					Invoice From Stock Picking | 
				
			||||
 | 
					========================== | 
				
			||||
 | 
					* Enables the option for creating invoice from stock picking | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					Installation | 
				
			||||
 | 
					============ | 
				
			||||
 | 
					- www.odoo.com/documentation/13.0/setup/install.html | 
				
			||||
 | 
					- Install our custom addon | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					License | 
				
			||||
 | 
					------- | 
				
			||||
 | 
					GNU AFFERO GENERAL PUBLIC LICENSE, Version 3 (AGPLv3) | 
				
			||||
 | 
					(http://www.gnu.org/licenses/agpl.html) | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					Company | 
				
			||||
 | 
					------- | 
				
			||||
 | 
					* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					Credits | 
				
			||||
 | 
					------- | 
				
			||||
 | 
					* Developer: | 
				
			||||
 | 
					   Sayooj A O | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					Contacts | 
				
			||||
 | 
					-------- | 
				
			||||
 | 
					* Mail Contact : odoo@cybrosys.com | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					Bug Tracker | 
				
			||||
 | 
					----------- | 
				
			||||
 | 
					Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					Maintainer | 
				
			||||
 | 
					========== | 
				
			||||
 | 
					This module is maintained by Cybrosys Technologies. | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					For support and more information, please visit https://www.cybrosys.com | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					Further information | 
				
			||||
 | 
					=================== | 
				
			||||
 | 
					HTML Description: `<static/description/index.html>`__ | 
				
			||||
@ -0,0 +1,23 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					############################################################################# | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Copyright (C) 2020-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Sayooj A O(<https://www.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 <http://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					############################################################################# | 
				
			||||
 | 
					from . import models | 
				
			||||
 | 
					from . import wizard | 
				
			||||
@ -0,0 +1,46 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					############################################################################# | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Copyright (C) 2020-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Sayooj A O(<https://www.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 <http://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					############################################################################# | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					{ | 
				
			||||
 | 
					    'name': "Invoice From Stock Picking", | 
				
			||||
 | 
					    'version': '13.0.1.0.0', | 
				
			||||
 | 
					    'summary': """In this module creating customer invoice,vendor bill, customer | 
				
			||||
 | 
					    credit note and refund from stock picking""", | 
				
			||||
 | 
					    'description': """In this module creating customer invoice,vendor bill, customer | 
				
			||||
 | 
					    credit note and refund from stock picking""", | 
				
			||||
 | 
					    'category': 'Stock', | 
				
			||||
 | 
					    'author': 'Cybrosys Techno Solutions', | 
				
			||||
 | 
					    'company': 'Cybrosys Techno Solutions', | 
				
			||||
 | 
					    'maintainer': 'Cybrosys Techno Solutions', | 
				
			||||
 | 
					    'website': "https://www.cybrosys.com", | 
				
			||||
 | 
					    'depends': ['stock', 'account'], | 
				
			||||
 | 
					    'data': [ | 
				
			||||
 | 
					        'views/account_move_inherited.xml', | 
				
			||||
 | 
					        'views/stock_picking_inherited.xml', | 
				
			||||
 | 
					        'views/res_config_settings_inherited.xml', | 
				
			||||
 | 
					        'wizard/picking_invoice_wizard.xml', | 
				
			||||
 | 
					    ], | 
				
			||||
 | 
					    'license': "AGPL-3", | 
				
			||||
 | 
					    'images': ['static/description/banner.png'], | 
				
			||||
 | 
					    'installable': True, | 
				
			||||
 | 
					    'application': True, | 
				
			||||
 | 
					} | 
				
			||||
@ -0,0 +1,6 @@ | 
				
			|||||
 | 
					## Module <stock_move_invoice> | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					#### 06.04.2020 | 
				
			||||
 | 
					#### Version 13.0.1.0.0 | 
				
			||||
 | 
					##### ADD | 
				
			||||
 | 
					- Initial commit | 
				
			||||
@ -0,0 +1,24 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					############################################################################# | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Copyright (C) 2020-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Sayooj A O(<https://www.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 <http://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					############################################################################# | 
				
			||||
 | 
					from . import account_move | 
				
			||||
 | 
					from . import res_config_settings | 
				
			||||
 | 
					from . import stock_picking | 
				
			||||
@ -0,0 +1,28 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					############################################################################# | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Copyright (C) 2020-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Sayooj A O(<https://www.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 <http://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					############################################################################# | 
				
			||||
 | 
					from odoo import api, fields, models | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					class AccountMove(models.Model): | 
				
			||||
 | 
					    _inherit = 'account.move' | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    picking_id = fields.Many2one('stock.picking', string='Picking') | 
				
			||||
@ -0,0 +1,30 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					############################################################################# | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Copyright (C) 2020-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Sayooj A O(<https://www.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 <http://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					############################################################################# | 
				
			||||
 | 
					from odoo import fields, models | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					class Settings(models.TransientModel): | 
				
			||||
 | 
					    _inherit = 'res.config.settings' | 
				
			||||
 | 
					    customer_journal_id = fields.Many2one('account.journal', string='Customer Journal', | 
				
			||||
 | 
					                                          config_parameter='stock_move_invoice.customer_journal_id') | 
				
			||||
 | 
					    vendor_journal_id = fields.Many2one('account.journal', string='Vendor Journal', | 
				
			||||
 | 
					                                        config_parameter='stock_move_invoice.vendor_journal_id') | 
				
			||||
@ -0,0 +1,207 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					############################################################################# | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Copyright (C) 2020-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: Sayooj A O(<https://www.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 <http://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					############################################################################# | 
				
			||||
 | 
					from odoo import fields, models, _ | 
				
			||||
 | 
					from odoo.exceptions import UserError | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					class StockPicking(models.Model): | 
				
			||||
 | 
					    _inherit = 'stock.picking' | 
				
			||||
 | 
					    invoice_count = fields.Integer(string='Invoices', compute='_compute_invoice_count') | 
				
			||||
 | 
					    operation_code = fields.Selection(related='picking_type_id.code') | 
				
			||||
 | 
					    is_return = fields.Boolean() | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def _compute_invoice_count(self): | 
				
			||||
 | 
					        """This compute function used to count the number of invoice for the picking""" | 
				
			||||
 | 
					        for picking_id in self: | 
				
			||||
 | 
					            move_ids = picking_id.env['account.move'].search([('invoice_origin', '=', picking_id.name)]) | 
				
			||||
 | 
					            if move_ids: | 
				
			||||
 | 
					                self.invoice_count = len(move_ids) | 
				
			||||
 | 
					            else: | 
				
			||||
 | 
					                self.invoice_count = 0 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def create_invoice(self): | 
				
			||||
 | 
					        """This is the function for creating customer invoice | 
				
			||||
 | 
					        from the picking""" | 
				
			||||
 | 
					        for picking_id in self: | 
				
			||||
 | 
					            current_user = self.env.uid | 
				
			||||
 | 
					            if picking_id.picking_type_id.code == 'outgoing': | 
				
			||||
 | 
					                customer_journal_id = picking_id.env['ir.config_parameter'].sudo().get_param( | 
				
			||||
 | 
					                    'stock_move_invoice.customer_journal_id') or False | 
				
			||||
 | 
					                if not customer_journal_id: | 
				
			||||
 | 
					                    raise UserError(_("Please configure the journal from settings")) | 
				
			||||
 | 
					                invoice_line_list = [] | 
				
			||||
 | 
					                for move_ids_without_package in picking_id.move_ids_without_package: | 
				
			||||
 | 
					                    vals = (0, 0, { | 
				
			||||
 | 
					                        'name': move_ids_without_package.description_picking, | 
				
			||||
 | 
					                        'product_id': move_ids_without_package.product_id.id, | 
				
			||||
 | 
					                        'price_unit': move_ids_without_package.product_id.lst_price, | 
				
			||||
 | 
					                        'account_id': move_ids_without_package.product_id.property_account_income_id.id if move_ids_without_package.product_id.property_account_income_id | 
				
			||||
 | 
					                        else move_ids_without_package.product_id.categ_id.property_account_income_categ_id.id, | 
				
			||||
 | 
					                        'tax_ids': [(6, 0, [picking_id.company_id.account_sale_tax_id.id])], | 
				
			||||
 | 
					                        'quantity': move_ids_without_package.quantity_done, | 
				
			||||
 | 
					                    }) | 
				
			||||
 | 
					                    invoice_line_list.append(vals) | 
				
			||||
 | 
					                    invoice = picking_id.env['account.move'].create({ | 
				
			||||
 | 
					                        'type': 'out_invoice', | 
				
			||||
 | 
					                        'invoice_origin': picking_id.name, | 
				
			||||
 | 
					                        'invoice_user_id': current_user, | 
				
			||||
 | 
					                        'narration': picking_id.name, | 
				
			||||
 | 
					                        'partner_id': picking_id.partner_id.id, | 
				
			||||
 | 
					                        'currency_id': picking_id.env.user.company_id.currency_id.id, | 
				
			||||
 | 
					                        'journal_id': int(customer_journal_id), | 
				
			||||
 | 
					                        'invoice_payment_ref': picking_id.name, | 
				
			||||
 | 
					                        'picking_id': picking_id.id, | 
				
			||||
 | 
					                        'invoice_line_ids': invoice_line_list | 
				
			||||
 | 
					                    }) | 
				
			||||
 | 
					                    return invoice | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def create_bill(self): | 
				
			||||
 | 
					        """This is the function for creating vendor bill | 
				
			||||
 | 
					                from the picking""" | 
				
			||||
 | 
					        for picking_id in self: | 
				
			||||
 | 
					            current_user = self.env.uid | 
				
			||||
 | 
					            if picking_id.picking_type_id.code == 'incoming': | 
				
			||||
 | 
					                vendor_journal_id = picking_id.env['ir.config_parameter'].sudo().get_param( | 
				
			||||
 | 
					                    'stock_move_invoice.vendor_journal_id') or False | 
				
			||||
 | 
					                if not vendor_journal_id: | 
				
			||||
 | 
					                    raise UserError(_("Please configure the journal from the settings.")) | 
				
			||||
 | 
					                invoice_line_list = [] | 
				
			||||
 | 
					                for move_ids_without_package in picking_id.move_ids_without_package: | 
				
			||||
 | 
					                    vals = (0, 0, { | 
				
			||||
 | 
					                        'name': move_ids_without_package.description_picking, | 
				
			||||
 | 
					                        'product_id': move_ids_without_package.product_id.id, | 
				
			||||
 | 
					                        'price_unit': move_ids_without_package.product_id.lst_price, | 
				
			||||
 | 
					                        'account_id': move_ids_without_package.product_id.property_account_income_id.id if move_ids_without_package.product_id.property_account_income_id | 
				
			||||
 | 
					                        else move_ids_without_package.product_id.categ_id.property_account_income_categ_id.id, | 
				
			||||
 | 
					                        'tax_ids': [(6, 0, [picking_id.company_id.account_purchase_tax_id.id])], | 
				
			||||
 | 
					                        'quantity': move_ids_without_package.quantity_done, | 
				
			||||
 | 
					                    }) | 
				
			||||
 | 
					                    invoice_line_list.append(vals) | 
				
			||||
 | 
					                    invoice = picking_id.env['account.move'].create({ | 
				
			||||
 | 
					                        'type': 'in_invoice', | 
				
			||||
 | 
					                        'invoice_origin': picking_id.name, | 
				
			||||
 | 
					                        'invoice_user_id': current_user, | 
				
			||||
 | 
					                        'narration': picking_id.name, | 
				
			||||
 | 
					                        'partner_id': picking_id.partner_id.id, | 
				
			||||
 | 
					                        'currency_id': picking_id.env.user.company_id.currency_id.id, | 
				
			||||
 | 
					                        'journal_id': int(vendor_journal_id), | 
				
			||||
 | 
					                        'invoice_payment_ref': picking_id.name, | 
				
			||||
 | 
					                        'picking_id': picking_id.id, | 
				
			||||
 | 
					                        'invoice_line_ids': invoice_line_list | 
				
			||||
 | 
					                    }) | 
				
			||||
 | 
					                    return invoice | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def create_customer_credit(self): | 
				
			||||
 | 
					        """This is the function for creating customer credit note | 
				
			||||
 | 
					                from the picking""" | 
				
			||||
 | 
					        for picking_id in self: | 
				
			||||
 | 
					            current_user = picking_id.env.uid | 
				
			||||
 | 
					            if picking_id.picking_type_id.code == 'incoming': | 
				
			||||
 | 
					                customer_journal_id = picking_id.env['ir.config_parameter'].sudo().get_param( | 
				
			||||
 | 
					                    'stock_move_invoice.customer_journal_id') or False | 
				
			||||
 | 
					                if not customer_journal_id: | 
				
			||||
 | 
					                    raise UserError(_("Please configure the journal from settings")) | 
				
			||||
 | 
					                invoice_line_list = [] | 
				
			||||
 | 
					                for move_ids_without_package in picking_id.move_ids_without_package: | 
				
			||||
 | 
					                    vals = (0, 0, { | 
				
			||||
 | 
					                        'name': move_ids_without_package.description_picking, | 
				
			||||
 | 
					                        'product_id': move_ids_without_package.product_id.id, | 
				
			||||
 | 
					                        'price_unit': move_ids_without_package.product_id.lst_price, | 
				
			||||
 | 
					                        'account_id': move_ids_without_package.product_id.property_account_income_id.id if move_ids_without_package.product_id.property_account_income_id | 
				
			||||
 | 
					                        else move_ids_without_package.product_id.categ_id.property_account_income_categ_id.id, | 
				
			||||
 | 
					                        'tax_ids': [(6, 0, [picking_id.company_id.account_sale_tax_id.id])], | 
				
			||||
 | 
					                        'quantity': move_ids_without_package.quantity_done, | 
				
			||||
 | 
					                    }) | 
				
			||||
 | 
					                    invoice_line_list.append(vals) | 
				
			||||
 | 
					                    invoice = picking_id.env['account.move'].create({ | 
				
			||||
 | 
					                        'type': 'out_refund', | 
				
			||||
 | 
					                        'invoice_origin': picking_id.name, | 
				
			||||
 | 
					                        'invoice_user_id': current_user, | 
				
			||||
 | 
					                        'narration': picking_id.name, | 
				
			||||
 | 
					                        'partner_id': picking_id.partner_id.id, | 
				
			||||
 | 
					                        'currency_id': picking_id.env.user.company_id.currency_id.id, | 
				
			||||
 | 
					                        'journal_id': int(customer_journal_id), | 
				
			||||
 | 
					                        'invoice_payment_ref': picking_id.name, | 
				
			||||
 | 
					                        'picking_id': picking_id.id, | 
				
			||||
 | 
					                        'invoice_line_ids': invoice_line_list | 
				
			||||
 | 
					                    }) | 
				
			||||
 | 
					                    return invoice | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def create_vendor_credit(self): | 
				
			||||
 | 
					        """This is the function for creating refund | 
				
			||||
 | 
					                from the picking""" | 
				
			||||
 | 
					        for picking_id in self: | 
				
			||||
 | 
					            current_user = self.env.uid | 
				
			||||
 | 
					            if picking_id.picking_type_id.code == 'outgoing': | 
				
			||||
 | 
					                vendor_journal_id = picking_id.env['ir.config_parameter'].sudo().get_param( | 
				
			||||
 | 
					                    'stock_move_invoice.vendor_journal_id') or False | 
				
			||||
 | 
					                if not vendor_journal_id: | 
				
			||||
 | 
					                    raise UserError(_("Please configure the journal from the settings.")) | 
				
			||||
 | 
					                invoice_line_list = [] | 
				
			||||
 | 
					                for move_ids_without_package in picking_id.move_ids_without_package: | 
				
			||||
 | 
					                    vals = (0, 0, { | 
				
			||||
 | 
					                        'name': move_ids_without_package.description_picking, | 
				
			||||
 | 
					                        'product_id': move_ids_without_package.product_id.id, | 
				
			||||
 | 
					                        'price_unit': move_ids_without_package.product_id.lst_price, | 
				
			||||
 | 
					                        'account_id': move_ids_without_package.product_id.property_account_income_id.id if move_ids_without_package.product_id.property_account_income_id | 
				
			||||
 | 
					                        else move_ids_without_package.product_id.categ_id.property_account_income_categ_id.id, | 
				
			||||
 | 
					                        'tax_ids': [(6, 0, [picking_id.company_id.account_purchase_tax_id.id])], | 
				
			||||
 | 
					                        'quantity': move_ids_without_package.quantity_done, | 
				
			||||
 | 
					                    }) | 
				
			||||
 | 
					                    invoice_line_list.append(vals) | 
				
			||||
 | 
					                    invoice = picking_id.env['account.move'].create({ | 
				
			||||
 | 
					                        'type': 'in_refund', | 
				
			||||
 | 
					                        'invoice_origin': picking_id.name, | 
				
			||||
 | 
					                        'invoice_user_id': current_user, | 
				
			||||
 | 
					                        'narration': picking_id.name, | 
				
			||||
 | 
					                        'partner_id': picking_id.partner_id.id, | 
				
			||||
 | 
					                        'currency_id': picking_id.env.user.company_id.currency_id.id, | 
				
			||||
 | 
					                        'journal_id': int(vendor_journal_id), | 
				
			||||
 | 
					                        'invoice_payment_ref': picking_id.name, | 
				
			||||
 | 
					                        'picking_id': picking_id.id, | 
				
			||||
 | 
					                        'invoice_line_ids': invoice_line_list | 
				
			||||
 | 
					                    }) | 
				
			||||
 | 
					                    return invoice | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def action_open_picking_invoice(self): | 
				
			||||
 | 
					        """This is the function of the smart button which redirect to the | 
				
			||||
 | 
					        invoice related to the current picking""" | 
				
			||||
 | 
					        return { | 
				
			||||
 | 
					            'name': 'Invoices', | 
				
			||||
 | 
					            'type': 'ir.actions.act_window', | 
				
			||||
 | 
					            'view_mode': 'tree,form', | 
				
			||||
 | 
					            'res_model': 'account.move', | 
				
			||||
 | 
					            'domain': [('invoice_origin', '=', self.name)], | 
				
			||||
 | 
					            'context': {'create': False}, | 
				
			||||
 | 
					            'target': 'current' | 
				
			||||
 | 
					        } | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					class StockReturnInvoicePicking(models.TransientModel): | 
				
			||||
 | 
					    _inherit = 'stock.return.picking' | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def _create_returns(self): | 
				
			||||
 | 
					        """in this function the picking is marked as return""" | 
				
			||||
 | 
					        new_picking, pick_type_id = super(StockReturnInvoicePicking, self)._create_returns() | 
				
			||||
 | 
					        picking = self.env['stock.picking'].browse(new_picking) | 
				
			||||
 | 
					        picking.write({'is_return': True}) | 
				
			||||
 | 
					        return new_picking, pick_type_id | 
				
			||||
		
		
			
  | 
| 
		 After Width: | Height: | Size: 72 KiB  | 
| 
		 After Width: | Height: | Size: 14 KiB  | 
| 
		 After Width: | Height: | Size: 138 KiB  | 
| 
		 After Width: | Height: | Size: 88 KiB  | 
| 
		 After Width: | Height: | Size: 127 KiB  | 
| 
		 After Width: | Height: | Size: 151 KiB  | 
| 
		 After Width: | Height: | Size: 87 KiB  | 
| 
		 After Width: | Height: | Size: 93 KiB  | 
| 
		 After Width: | Height: | Size: 15 KiB  | 
| 
		 After Width: | Height: | Size: 51 KiB  | 
| 
		 After Width: | Height: | Size: 34 KiB  | 
| 
		 After Width: | Height: | Size: 31 KiB  | 
| 
		 After Width: | Height: | Size: 51 KiB  | 
| 
		 After Width: | Height: | Size: 54 KiB  | 
| 
		 After Width: | Height: | Size: 52 KiB  | 
| 
		 After Width: | Height: | Size: 56 KiB  | 
| 
		 After Width: | Height: | Size: 60 KiB  | 
| 
		 After Width: | Height: | Size: 58 KiB  | 
@ -0,0 +1,549 @@ | 
				
			|||||
 | 
					<div class="row" | 
				
			||||
 | 
					     style="margin: 0;position: relative;color: #000;background-position: center;background: #ffffff;border-bottom: 1px solid #e4e4e4;text-align: center; margin: auto; display: flex;justify-content: center;"> | 
				
			||||
 | 
					    <a href="https://www.cybrosys.com/" target="_blank"><img src="images/cybrosys.png" | 
				
			||||
 | 
					                                                             style=" width: 293px; padding: 1rem 0rem; margin: auto" | 
				
			||||
 | 
					                                                             alt="cybrosys-logo"></a></div> | 
				
			||||
 | 
					<div class="row" | 
				
			||||
 | 
					     style="margin:75px 0;position: relative;color: #000;background-position: center;background: #ffffff;border-bottom: 1px solid #e4e4e4; padding-bottom: 30px;"> | 
				
			||||
 | 
					    <div class="col-md-7 col-sm-12 col-xs-12" style="padding: 0px"> | 
				
			||||
 | 
					        <div style=" margin: 0 0 0px;padding: 20px 0 10;font-size: 23px;line-height: 35px;font-weight: 400;color: #000;border-top: 1px solid rgba(255,255,255,0.1);border-bottom: 1px solid rgba(255,255,255,0.11);text-align: left;"> | 
				
			||||
 | 
					            <h1 style="font-size: 39px;font-weight: 600;margin: 0px !important;">Invoice From Stock Picking</h1> | 
				
			||||
 | 
					            <h3 style="font-size: 21px;margin-top: 8px;position: relative;">Module for creating customer invoice,vendor bill,  | 
				
			||||
 | 
					            credit note and refund from stock picking.</h3> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					        <h2 style="font-weight: 600;font-size: 1.8rem;margin-top: 15px;">Key Highlights</h2> | 
				
			||||
 | 
					        <ul style=" padding: 0 1px; list-style: none; "> | 
				
			||||
 | 
					            <li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><img src="images/checked.png" | 
				
			||||
 | 
					                                                                                               style=" width: 22px; margin-right: 6px; " | 
				
			||||
 | 
					                                                                                               alt="check">Creating invoice,bill,credit note and refund from individual picking. | 
				
			||||
 | 
					            </li> | 
				
			||||
 | 
					            <li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><img src="images/checked.png" | 
				
			||||
 | 
					                                                                                               style=" width: 22px; margin-right: 6px; " | 
				
			||||
 | 
					                                                                                               alt="check">Creating invoice documents by selecting multiple documents. | 
				
			||||
 | 
					            </li> | 
				
			||||
 | 
					            <li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><img src="images/checked.png" | 
				
			||||
 | 
					                                                                                               style=" width: 22px; margin-right: 6px; " | 
				
			||||
 | 
					                                                                                               alt="check">Option for configuring the journals from the settings. | 
				
			||||
 | 
					            </li> | 
				
			||||
 | 
					        </ul> | 
				
			||||
 | 
					    </div> | 
				
			||||
 | 
					    <div class="col-md-5 col-sm-12 col-xs-12"><img src="images/invoice_picking.png" class="img-responsive" | 
				
			||||
 | 
					                                                   alt=""></div> | 
				
			||||
 | 
					</div> | 
				
			||||
 | 
					<div> | 
				
			||||
 | 
					    <section class="oe_container" style="padding: 1rem 0rem 1rem; background-color: #ffffff !important;"> | 
				
			||||
 | 
					        <div class="row py-4 px-3"> | 
				
			||||
 | 
					            <div class="w-100" style="padding-top:30px;padding-bottom:45px;border-radius: 10px;"> | 
				
			||||
 | 
					                <ul role="tablist" class="nav nav-pills justify-content-center" data-tabs="tabs" id="pills-tab" | 
				
			||||
 | 
					                    style="border: none;background: unset;"> | 
				
			||||
 | 
					                    <li class="nav-item mr-1 mb-3" | 
				
			||||
 | 
					                        style="font-size: 1.05rem;font-weight: 400;transition: all .15s ease;color: #d31c22;background-color: #d31c22;box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);border: 0;font-family: 'Open Sans',sans-serif;width: 140px;border-radius: 0.30rem;"> | 
				
			||||
 | 
					                        <a id="pills-home-tab" data-toggle="pill" href="#pills-home" role="tab" | 
				
			||||
 | 
					                           aria-controls="pills-home" aria-selected="true" class="nav-link active show" style="color: #000000;line-height: 33px;border: 0;border-radius: .25rem;font-weight: 400;text-align: center; | 
				
			||||
 | 
					                  color: #fff;">Overview </a></li> | 
				
			||||
 | 
					                    <li class="nav-item mr-1 mb-3" | 
				
			||||
 | 
					                        style="font-size: 1.05rem;font-weight: 400;transition: all .15s ease;color: #d31c22;background-color: #d31c22;box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);border: 0;font-family: 'Open Sans',sans-serif;width: 140px;border-radius: 0.30rem;"> | 
				
			||||
 | 
					                        <a id="pills-home-tab" data-toggle="pill" href="#pills-home1" role="tab" | 
				
			||||
 | 
					                           aria-controls="pills-home" aria-selected="true" class="nav-link " style="color: #000000;line-height: 33px;border: 0;border-radius: .25rem;font-weight: 400; text-align: center; | 
				
			||||
 | 
					                  color: #fff;">Features </a></li> | 
				
			||||
 | 
					                    <li class="nav-item mr-1 mb-3" | 
				
			||||
 | 
					                        style="font-size: 1.05rem;font-weight: 400;transition: all .15s ease;color: #ffffff;background-color: #d31c22;box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);border: 0;font-family: 'Open Sans',sans-serif;width: 140px;border-radius: 0.30rem;"> | 
				
			||||
 | 
					                        <a class="nav-link" id="pills-profile-tab" data-toggle="pill" href="#pills-profile" role="tab" | 
				
			||||
 | 
					                           aria-controls="pills-profile" aria-selected="false" style="color: #000000;line-height: 33px;border: 0;border-radius: .25rem;font-weight: 400; text-align: center; | 
				
			||||
 | 
					                  color: #fff;">Screenshots </a></li> | 
				
			||||
 | 
					                </ul> | 
				
			||||
 | 
					                <div class="tab-content" id="pills-tabContent" | 
				
			||||
 | 
					                     style="padding-top: 30px; padding-bottom: 30px; padding: 30px;"> | 
				
			||||
 | 
					                    <div class="px-3 pt-1 tab-pane fade active show" id="pills-home" role="tabpanel" aria-labelledby=" | 
				
			||||
 | 
					                  pills-home-tab"> | 
				
			||||
 | 
					                        <!-- Overview--> | 
				
			||||
 | 
					                        <h2 style="font-weight: 600;text-align: center;width: 100%;">Overview</h2> | 
				
			||||
 | 
					                        <hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> | 
				
			||||
 | 
					                        <h3 class="oe_slogan" | 
				
			||||
 | 
					                            style="text-align: center;font-size: 19px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;opacity: 1 !important;line-height: 31px;font-weight: 400;letter-spacing: .5px;margin-bottom: 21px;"> | 
				
			||||
 | 
					                            This module helps to create invoice,bill,credit note and refund from individual picking. | 
				
			||||
 | 
					                        </h3> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div class="px-3 pt-1 tab-pane fade " id="pills-home1" role="tabpanel" aria-labelledby=" | 
				
			||||
 | 
					                  pills-home-tab"> | 
				
			||||
 | 
					                        <!-- feature tab--> | 
				
			||||
 | 
					                        <h2 style="font-weight: 600;text-align: center;width: 100%;">Invoice From Stock Picking</h2> | 
				
			||||
 | 
					                        <hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> | 
				
			||||
 | 
					                        <ul> | 
				
			||||
 | 
					                            <li class="mb8" | 
				
			||||
 | 
					                                style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;"> | 
				
			||||
 | 
					                                <img src="images/checked.png" style=" width: 22px; margin-right: 6px; " alt="check"> | 
				
			||||
 | 
					                                Creating invoice documents by selecting multiple documents. | 
				
			||||
 | 
					                            </li> | 
				
			||||
 | 
					                            <li class="mb8" | 
				
			||||
 | 
					                                style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;"> | 
				
			||||
 | 
					                                <img src="images/checked.png" style=" width: 22px; margin-right: 6px; " alt="check">Option for configuring the journals from the settings. | 
				
			||||
 | 
					            </li> | 
				
			||||
 | 
					                            </li> | 
				
			||||
 | 
					                        </ul> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <!-- Screenshot tab--> | 
				
			||||
 | 
					                    <div class="px-3 tab-pane fade" id="pills-profile" role="tabpanel" | 
				
			||||
 | 
					                         aria-labelledby="pills-profile-tab"> | 
				
			||||
 | 
					                        <div class="tab-pane"> | 
				
			||||
 | 
					                            <h2 style="font-weight: 600;text-align: center;width: 100%;">Screenshots</h2> | 
				
			||||
 | 
					                            <hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> | 
				
			||||
 | 
					                            <div> | 
				
			||||
 | 
					                                <section class="oe_container"> | 
				
			||||
 | 
					                                    <div id="demo" class="row carousel slide  mb32" data-ride="carousel"> | 
				
			||||
 | 
					                                        <div class="carousel-inner"> | 
				
			||||
 | 
					                                            <div class="carousel-item active" style="min-height: 0px;"> | 
				
			||||
 | 
					                                                <div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" | 
				
			||||
 | 
					                                                     style="float: left;"> | 
				
			||||
 | 
					                                                    <h3 class="alert" | 
				
			||||
 | 
					                                                        style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> | 
				
			||||
 | 
					                                                        <img src="images/checked.png" | 
				
			||||
 | 
					                                                             style=" width: 22px; margin-right: 6px; " alt="check">We can install the module Invoice from stock picking from apps. | 
				
			||||
 | 
					                                                    </h3> | 
				
			||||
 | 
					                                                    <div style=""><img class="img img-responsive center-block" | 
				
			||||
 | 
					                                                                       style="border-top-left-radius: 10px;border-top-right-radius: 10px;" | 
				
			||||
 | 
					                                                                       src="images/stock_move_invoice-1.png"></div> | 
				
			||||
 | 
					                                                </div> | 
				
			||||
 | 
					                                            </div> | 
				
			||||
 | 
					                                            <div class="carousel-item" style="min-height: 0px;"> | 
				
			||||
 | 
					                                                <div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" | 
				
			||||
 | 
					                                                     style="float: left;"> | 
				
			||||
 | 
					                                                    <h3 class="alert" | 
				
			||||
 | 
					                                                        style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> | 
				
			||||
 | 
					                                                        <img src="images/checked.png" | 
				
			||||
 | 
					                                                             style=" width: 22px; margin-right: 6px; " alt="check">We can configure the customer invoice and vendor bill journals from the settings of invoice. | 
				
			||||
 | 
					                                                    </h3> | 
				
			||||
 | 
					                                                    <div style=""><img class="img img-responsive center-block" | 
				
			||||
 | 
					                                                                       style="border-top-left-radius: 10px;border-top-right-radius: 10px;" | 
				
			||||
 | 
					                                                                       src="images/stock_move_invoice-2.png"></div> | 
				
			||||
 | 
					                                                </div> | 
				
			||||
 | 
					                                            </div> | 
				
			||||
 | 
					                                            <div class="carousel-item" style="min-height: 0px;"> | 
				
			||||
 | 
					                                                <div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" | 
				
			||||
 | 
					                                                     style="float: left;"> | 
				
			||||
 | 
					                                                    <h3 class="alert" | 
				
			||||
 | 
					                                                        style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> | 
				
			||||
 | 
					                                                        <img src="images/checked.png" | 
				
			||||
 | 
					                                                             style=" width: 22px; margin-right: 6px; " alt="check">When a receipt shipment is validated we will have the option for creating a Vednor bill.</h3> | 
				
			||||
 | 
					                                                    <div style=""><img class="img img-responsive center-block" | 
				
			||||
 | 
					                                                                       style="border-top-left-radius: 10px;border-top-right-radius: 10px;" | 
				
			||||
 | 
					                                                                       src="images/stock_move_invoice-3.png"></div> | 
				
			||||
 | 
					                                                </div> | 
				
			||||
 | 
					                                            </div> | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					                                            <div class="carousel-item" style="min-height: 0px;"> | 
				
			||||
 | 
					                                                <div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" | 
				
			||||
 | 
					                                                     style="float: left;"> | 
				
			||||
 | 
					                                                    <h3 class="mb32 alert" | 
				
			||||
 | 
					                                                        style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px; "> | 
				
			||||
 | 
					                                                        <img src="images/checked.png" | 
				
			||||
 | 
					                                                             style=" width: 22px; margin-right: 6px; " alt="check">After the creation of the bill we have the option for viewing the created bill from the picking itself.</h3> | 
				
			||||
 | 
					                                                    <div style=""><img class="img img-responsive center-block" | 
				
			||||
 | 
					                                                                       style="border-top-left-radius: 10px;border-top-right-radius: 10px;" | 
				
			||||
 | 
					                                                                       src="images/stock_move_invoice-4.png"></div> | 
				
			||||
 | 
					                                                </div> | 
				
			||||
 | 
					                                            </div> | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					                                            <div class="carousel-item" style="min-height: 0px;"> | 
				
			||||
 | 
					                                                <div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" | 
				
			||||
 | 
					                                                     style="float: left;"> | 
				
			||||
 | 
					                                                    <h3 class="mb32 alert" | 
				
			||||
 | 
					                                                        style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px; "> | 
				
			||||
 | 
					                                                        <img src="images/checked.png" | 
				
			||||
 | 
					                                                             style=" width: 22px; margin-right: 6px; " alt="check">When the picking is of delivery type then we have the option to create the customer invoice. | 
				
			||||
 | 
					                                                    </h3> | 
				
			||||
 | 
					                                                    <div style=""><img class="img img-responsive center-block" | 
				
			||||
 | 
					                                                                       style="border-top-left-radius: 10px;border-top-right-radius: 10px;" | 
				
			||||
 | 
					                                                                       src="images/stock_move_invoice-5.png"></div> | 
				
			||||
 | 
					                                                </div> | 
				
			||||
 | 
					                                            </div> | 
				
			||||
 | 
					                                               <div class="carousel-item" style="min-height: 0px;"> | 
				
			||||
 | 
					                                                <div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" | 
				
			||||
 | 
					                                                     style="float: left;"> | 
				
			||||
 | 
					                                                    <h3 class="mb32 alert" | 
				
			||||
 | 
					                                                        style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px; "> | 
				
			||||
 | 
					                                                        <img src="images/checked.png" | 
				
			||||
 | 
					                                                             style=" width: 22px; margin-right: 6px; " alt="check">In the case of return of an incoming shipment we have the option to create the vendor credit note. | 
				
			||||
 | 
					                                                    </h3> | 
				
			||||
 | 
					                                                    <div style=""><img class="img img-responsive center-block" | 
				
			||||
 | 
					                                                                       style="border-top-left-radius: 10px;border-top-right-radius: 10px;" | 
				
			||||
 | 
					                                                                       src="images/stock_move_invoice-6.png"></div> | 
				
			||||
 | 
					                                                </div> | 
				
			||||
 | 
					                                            </div> | 
				
			||||
 | 
					                                            <div class="carousel-item" style="min-height: 0px;"> | 
				
			||||
 | 
					                                                <div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" | 
				
			||||
 | 
					                                                     style="float: left;"> | 
				
			||||
 | 
					                                                    <h3 class="mb32 alert" | 
				
			||||
 | 
					                                                        style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px; "> | 
				
			||||
 | 
					                                                        <img src="images/checked.png" | 
				
			||||
 | 
					                                                             style=" width: 22px; margin-right: 6px; " alt="check">In the case of return of an outgoing shipment we have the option to create the Customer credit note. | 
				
			||||
 | 
					                                                    </h3> | 
				
			||||
 | 
					                                                    <div style=""><img class="img img-responsive center-block" | 
				
			||||
 | 
					                                                                       style="border-top-left-radius: 10px;border-top-right-radius: 10px;" | 
				
			||||
 | 
					                                                                       src="images/stock_move_invoice-7.png"></div> | 
				
			||||
 | 
					                                                </div> | 
				
			||||
 | 
					                                            </div> | 
				
			||||
 | 
					                                        </div> | 
				
			||||
 | 
					                                        <a class="carousel-control-prev" href="#demo" data-slide="prev" | 
				
			||||
 | 
					                                           style="left:-25px;width: 35px;color: #000;"> <span | 
				
			||||
 | 
					                                                class="carousel-control-prev-icon"><i class="fa fa-chevron-left" | 
				
			||||
 | 
					                                                                                      style="font-size:24px"></i></span> | 
				
			||||
 | 
					                                        </a> <a class="carousel-control-next" href="#demo" data-slide="next" | 
				
			||||
 | 
					                                                style="right:-25px;width: 35px;color: #000;"> <span | 
				
			||||
 | 
					                                            class="carousel-control-next-icon"><i class="fa fa-chevron-right" | 
				
			||||
 | 
					                                                                                  style="font-size:24px"></i></span> | 
				
			||||
 | 
					                                    </a> | 
				
			||||
 | 
					                                    </div> | 
				
			||||
 | 
					                                </section> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div class="px-2 px-lg-4 pt-3 tab-pane fade" id="pills-contact" role="tabpanel" | 
				
			||||
 | 
					                         aria-labelledby="pills-contact-tab"> | 
				
			||||
 | 
					                        <ul class="list-unstyled"> | 
				
			||||
 | 
					                        </ul> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					    </section> | 
				
			||||
 | 
					    <section class="oe_container" style="padding: 2rem 3rem 1rem;"> | 
				
			||||
 | 
					        <h2 style="font-weight: 600;text-align: center;margin-bottom: 25px;width: 100%;">Suggested Products</h2> | 
				
			||||
 | 
					        <hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> | 
				
			||||
 | 
					        <div id="demo1" class="row carousel slide" data-ride="carousel"> | 
				
			||||
 | 
					            <!-- The slideshow --> | 
				
			||||
 | 
					            <div class="carousel-inner"> | 
				
			||||
 | 
					                <div class="carousel-item active" style="min-height: 0px;"> | 
				
			||||
 | 
					                    <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left;"> | 
				
			||||
 | 
					                        <a href="https://apps.odoo.com/apps/modules/13.0/product_brand_sale/" target="_blank"> | 
				
			||||
 | 
					                            <div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> | 
				
			||||
 | 
					                                <img class="img img-responsive center-block" | 
				
			||||
 | 
					                                     style="border-top-left-radius: 10px;border-top-right-radius: 10px;" | 
				
			||||
 | 
					                                     src="images/banner_product_branding.png"></div> | 
				
			||||
 | 
					                        </a> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left;"> | 
				
			||||
 | 
					                        <a href="https://apps.odoo.com/apps/modules/13.0/product_expiry_warning/" target="_blank"> | 
				
			||||
 | 
					                            <div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> | 
				
			||||
 | 
					                                <img class="img img-responsive center-block" | 
				
			||||
 | 
					                                     style="border-top-left-radius: 10px;border-top-right-radius: 10px;" | 
				
			||||
 | 
					                                     src="images/banner_product_expiry.jpeg"></div> | 
				
			||||
 | 
					                        </a> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left;"> | 
				
			||||
 | 
					                        <a href="https://apps.odoo.com/apps/modules/12.0/sale_purchase_previous_product_cost/" | 
				
			||||
 | 
					                           target="_blank"> | 
				
			||||
 | 
					                            <div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> | 
				
			||||
 | 
					                                <img class="img img-responsive center-block" | 
				
			||||
 | 
					                                     style="border-top-left-radius: 10px;border-top-right-radius: 10px;" | 
				
			||||
 | 
					                                     src="images/banner_previous_rates.jpeg"></div> | 
				
			||||
 | 
					                        </a> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="carousel-item" style="min-height: 0px;"> | 
				
			||||
 | 
					                    <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left;"> | 
				
			||||
 | 
					                        <a href="https://apps.odoo.com/apps/modules/13.0/customer_sequence/" target="_blank"> | 
				
			||||
 | 
					                            <div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> | 
				
			||||
 | 
					                                <img class="img img-responsive center-block" | 
				
			||||
 | 
					                                     style="border-top-left-radius: 10px;border-top-right-radius: 10px;" | 
				
			||||
 | 
					                                     src="images/banner_customer_sequence.jpeg"></div> | 
				
			||||
 | 
					                        </a> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left;"> | 
				
			||||
 | 
					                        <a href="https://apps.odoo.com/apps/modules/12.0/barcode_scanning_sale_purchase/" | 
				
			||||
 | 
					                           target="_blank"> | 
				
			||||
 | 
					                            <div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> | 
				
			||||
 | 
					                                <img class="img img-responsive center-block" | 
				
			||||
 | 
					                                     style="border-top-left-radius: 10px;border-top-right-radius: 10px;" | 
				
			||||
 | 
					                                     src="images/banner_barcode_scanning.jpeg"></div> | 
				
			||||
 | 
					                        </a> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left;"> | 
				
			||||
 | 
					                        <a href="https://apps.odoo.com/apps/modules/12.0/amount_currency_sale/" target="_blank"> | 
				
			||||
 | 
					                            <div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> | 
				
			||||
 | 
					                                <img class="img img-responsive center-block" | 
				
			||||
 | 
					                                     style="border-top-left-radius: 10px;border-top-right-radius: 10px;" | 
				
			||||
 | 
					                                     src="images/banner_currency_total.png"></div> | 
				
			||||
 | 
					                        </a> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					            <!-- Left and right controls --> | 
				
			||||
 | 
					            <a class="carousel-control-prev" href="#demo1" data-slide="prev" | 
				
			||||
 | 
					               style="left:-25px;width: 35px;color: #000;"> <span class="carousel-control-prev-icon"><i | 
				
			||||
 | 
					                    class="fa fa-chevron-left" style="font-size:24px"></i></span> </a> <a class="carousel-control-next" | 
				
			||||
 | 
					                                                                                          href="#demo1" | 
				
			||||
 | 
					                                                                                          data-slide="next" | 
				
			||||
 | 
					                                                                                          style="right:-25px;width: 35px;color: #000;"> | 
				
			||||
 | 
					            <span class="carousel-control-next-icon"><i class="fa fa-chevron-right" style="font-size:24px"></i></span> | 
				
			||||
 | 
					        </a> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					    </section> | 
				
			||||
 | 
					    <section class="row" style="padding: 2rem 3rem 1rem;margin:0px"> | 
				
			||||
 | 
					        <h2 style="font-weight: 600;margin-bottom: 20px;text-align: center;width: 100%;">Our Service</h2> | 
				
			||||
 | 
					        <hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> | 
				
			||||
 | 
					        <div class="row" style=" display: flex; justify-content: center; flex-wrap: wrap;width: 100%; "> | 
				
			||||
 | 
					            <!-- <div style="display:flex;padding-top: 20px;justify-content: space-between;"> --> | 
				
			||||
 | 
					            <div class="col-md-2 col-sm-6 col-xs-12"> | 
				
			||||
 | 
					                <div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"><a | 
				
			||||
 | 
					                        href="https://www.cybrosys.com/odoo-customization-and-installation/" target="_blank"> <img | 
				
			||||
 | 
					                        src="https://www.cybrosys.com/images/odoo-customization.png" | 
				
			||||
 | 
					                        style="width: 100%;border-radius: 100%;"/> </a></div> | 
				
			||||
 | 
					                <h3 class="oe_slogan" | 
				
			||||
 | 
					                    style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> | 
				
			||||
 | 
					                    <a href="https://www.cybrosys.com/odoo-customization-and-installation/" target="_blank" | 
				
			||||
 | 
					                       style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> | 
				
			||||
 | 
					                        Odoo Customization </a></h3> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					            <div class="col-md-2 col-sm-6 col-xs-12"> | 
				
			||||
 | 
					                <div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"><a | 
				
			||||
 | 
					                        href="https://www.cybrosys.com/odoo-erp-implementation/" target="_blank"> <img | 
				
			||||
 | 
					                        src="https://www.cybrosys.com/images/odoo-erp-implementation.png" | 
				
			||||
 | 
					                        style="width: 100%;border-radius: 100%;"/> </a></div> | 
				
			||||
 | 
					                <h3 class="oe_slogan" | 
				
			||||
 | 
					                    style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> | 
				
			||||
 | 
					                    <a href="https://www.cybrosys.com/odoo-erp-implementation/" target="_blank" | 
				
			||||
 | 
					                       style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> | 
				
			||||
 | 
					                        Odoo Implementation </a></h3> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					            <div class="col-md-2 col-sm-6 col-xs-12"> | 
				
			||||
 | 
					                <div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"><a | 
				
			||||
 | 
					                        href="https://www.cybrosys.com/odoo-erp-integration/" target="_blank"> <img | 
				
			||||
 | 
					                        src="https://www.cybrosys.com/images/odoo-erp-integration.png" | 
				
			||||
 | 
					                        style="width: 100%;border-radius: 100%;"/> </a></div> | 
				
			||||
 | 
					                <h3 class="oe_slogan" | 
				
			||||
 | 
					                    style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> | 
				
			||||
 | 
					                    <a href="https://www.cybrosys.com/odoo-erp-integration/" target="_blank" | 
				
			||||
 | 
					                       style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> | 
				
			||||
 | 
					                        Odoo Integration </a></h3> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					            <div class="col-md-2 col-sm-6 col-xs-12"> | 
				
			||||
 | 
					                <div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"><a | 
				
			||||
 | 
					                        href="https://www.cybrosys.com/odoo-erp-support/" target="_blank"> <img | 
				
			||||
 | 
					                        src="https://www.cybrosys.com/images/odoo-erp-support.png" | 
				
			||||
 | 
					                        style="width: 100%;border-radius: 100%;"/> </a></div> | 
				
			||||
 | 
					                <h3 class="oe_slogan" | 
				
			||||
 | 
					                    style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> | 
				
			||||
 | 
					                    <a href="https://www.cybrosys.com/odoo-erp-support/" target="_blank" | 
				
			||||
 | 
					                       style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> | 
				
			||||
 | 
					                        Odoo Support</a></h3> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					            <div class="col-md-2 col-sm-6 col-xs-12"> | 
				
			||||
 | 
					                <div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"><a | 
				
			||||
 | 
					                        href="https://www.cybrosys.com/hire-odoo-developer/" target="_blank"> <img | 
				
			||||
 | 
					                        src="https://www.cybrosys.com/images/hire-odoo-developer.png" | 
				
			||||
 | 
					                        style="width: 100%;border-radius: 100%;"/> </a></div> | 
				
			||||
 | 
					                <h3 class="oe_slogan" | 
				
			||||
 | 
					                    style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> | 
				
			||||
 | 
					                    <a href="https://www.cybrosys.com/hire-odoo-developer/" target="_blank" | 
				
			||||
 | 
					                       style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> | 
				
			||||
 | 
					                        Hire Odoo Developers</a></h3> | 
				
			||||
 | 
					                </a> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					            <!-- </div> --> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					    </section> | 
				
			||||
 | 
					    <section class="row" style="padding: 2rem 3rem 1rem;margin:0px"> | 
				
			||||
 | 
					        <div class="row" style="margin: 0"> | 
				
			||||
 | 
					            <h2 style="font-weight: 600;margin-bottom: 20px;text-align: center;width: 100%;">Our Industries</h2> | 
				
			||||
 | 
					            <hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> | 
				
			||||
 | 
					            <!-- <div style="display:flex;justify-content: space-between;flex-wrap:wrap;"> --> | 
				
			||||
 | 
					            <div class="row" style="width: 100%"> | 
				
			||||
 | 
					                <div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> | 
				
			||||
 | 
					                    <div> | 
				
			||||
 | 
					                        <div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> | 
				
			||||
 | 
					                            <a href="https://www.cybrosys.com/odoo/industries/best-trading-erp/" target="_blank"> <img | 
				
			||||
 | 
					                                    src="https://www.cybrosys.com/images/odoo-index-industry-1.png" alt="Odoo Industry" | 
				
			||||
 | 
					                                    style="    border-radius: 100%;width:100%;"/> </a></div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div style="width:70%;float:left;"> | 
				
			||||
 | 
					                        <h3 class="oe_slogan" | 
				
			||||
 | 
					                            style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> | 
				
			||||
 | 
					                            <a href="https://www.cybrosys.com/odoo/industries/best-trading-erp/" target="_blank" | 
				
			||||
 | 
					                               style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> | 
				
			||||
 | 
					                                Trading </a></h3> | 
				
			||||
 | 
					                        <h3 class="oe_slogan" | 
				
			||||
 | 
					                            style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> | 
				
			||||
 | 
					                            Easily procure and sell your products. </h3> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> | 
				
			||||
 | 
					                    <div> | 
				
			||||
 | 
					                        <div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> | 
				
			||||
 | 
					                            <a href="https://www.cybrosys.com/odoo/industries/manufacturing-erp-software/" | 
				
			||||
 | 
					                               target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-2.png" | 
				
			||||
 | 
					                                                     alt="Odoo Industry" style="    border-radius: 100%;width:100%;"/> | 
				
			||||
 | 
					                            </a></div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div style="width:70%;float:left;" style=" margin-bottom: 10px; "> | 
				
			||||
 | 
					                        <h3 class="oe_slogan" | 
				
			||||
 | 
					                            style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> | 
				
			||||
 | 
					                            <a href="https://www.cybrosys.com/odoo/industries/manufacturing-erp-software/" | 
				
			||||
 | 
					                               target="_blank" | 
				
			||||
 | 
					                               style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> | 
				
			||||
 | 
					                                Manufacturing</a></h3> | 
				
			||||
 | 
					                        <h3 class="oe_slogan" | 
				
			||||
 | 
					                            style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;font-family: 'Montserrat',sans-serif;"> | 
				
			||||
 | 
					                            Plan, track and schedule your operations. </h3> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> | 
				
			||||
 | 
					                    <div> | 
				
			||||
 | 
					                        <div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> | 
				
			||||
 | 
					                            <a href="https://www.cybrosys.com/odoo/industries/restaurant-management/" target="_blank"> | 
				
			||||
 | 
					                                <img src="https://www.cybrosys.com/images/odoo-index-industry-3.png" alt="Odoo Industry" | 
				
			||||
 | 
					                                     style="    border-radius: 100%;width:100%;"/> </a></div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div style="width:70%;float:left;"> | 
				
			||||
 | 
					                        <h3 class="oe_slogan" | 
				
			||||
 | 
					                            style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> | 
				
			||||
 | 
					                            <a href="https://www.cybrosys.com/odoo/industries/restaurant-management/" target="_blank" | 
				
			||||
 | 
					                               style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> | 
				
			||||
 | 
					                                Restaurant</a></h3> | 
				
			||||
 | 
					                        <h3 class="oe_slogan" | 
				
			||||
 | 
					                            style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;font-family: 'Montserrat',sans-serif;"> | 
				
			||||
 | 
					                            Run your bar or restaurant methodical. </h3> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> | 
				
			||||
 | 
					                    <div> | 
				
			||||
 | 
					                        <div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> | 
				
			||||
 | 
					                            <a href="https://www.cybrosys.com/odoo/industries/pos/" target="_blank"> <img | 
				
			||||
 | 
					                                    src="https://www.cybrosys.com/images/odoo-index-industry-4.png" alt="Odoo Industry" | 
				
			||||
 | 
					                                    style="    border-radius: 100%;width:100%;"/> </a></div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div style="width:70%;float:left;"> | 
				
			||||
 | 
					                        <h3 class="oe_slogan" | 
				
			||||
 | 
					                            style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> | 
				
			||||
 | 
					                            <a href="https://www.cybrosys.com/odoo/industries/pos/" target="_blank" | 
				
			||||
 | 
					                               style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> | 
				
			||||
 | 
					                                POS</a></h3> | 
				
			||||
 | 
					                        <h3 class="oe_slogan" | 
				
			||||
 | 
					                            style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;font-family: 'Montserrat',sans-serif;"> | 
				
			||||
 | 
					                            Easy configuring and convivial selling. </h3> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> | 
				
			||||
 | 
					                    <div> | 
				
			||||
 | 
					                        <div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> | 
				
			||||
 | 
					                            <a href="https://www.cybrosys.com/odoo/industries/ecommerce-website/" target="_blank"> <img | 
				
			||||
 | 
					                                    src="https://www.cybrosys.com/images/odoo-index-industry-5.png" alt="Odoo Industry" | 
				
			||||
 | 
					                                    style="    border-radius: 100%;width:100%;"/> </a></div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div style="width:70%;float:left;"> | 
				
			||||
 | 
					                        <h3 class="oe_slogan" | 
				
			||||
 | 
					                            style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 0px;margin-left: 16px;"> | 
				
			||||
 | 
					                            <a href="https://www.cybrosys.com/odoo/industries/ecommerce-website/" target="_blank" | 
				
			||||
 | 
					                               style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> | 
				
			||||
 | 
					                                E-commerce & Website</a></h3> | 
				
			||||
 | 
					                        <h3 class="oe_slogan" | 
				
			||||
 | 
					                            style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> | 
				
			||||
 | 
					                            Mobile friendly, awe-inspiring product pages. </h3> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> | 
				
			||||
 | 
					                    <div> | 
				
			||||
 | 
					                        <div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> | 
				
			||||
 | 
					                            <a href="https://www.cybrosys.com/odoo/industries/hotel-management-erp/" target="_blank"> | 
				
			||||
 | 
					                                <img src="https://www.cybrosys.com/images/odoo-index-industry-6.png" alt="Odoo Industry" | 
				
			||||
 | 
					                                     style="    border-radius: 100%;width:100%;"/> </a></div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div style="width:70%;float:left;"> | 
				
			||||
 | 
					                        <h3 class="oe_slogan" | 
				
			||||
 | 
					                            style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> | 
				
			||||
 | 
					                            <a href="https://www.cybrosys.com/odoo/industries/hotel-management-erp/" target="_blank" | 
				
			||||
 | 
					                               style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> | 
				
			||||
 | 
					                                Hotel Management</a></h3> | 
				
			||||
 | 
					                        <h3 class="oe_slogan" | 
				
			||||
 | 
					                            style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> | 
				
			||||
 | 
					                            An all-inclusive hotel management application. </h3> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> | 
				
			||||
 | 
					                    <div> | 
				
			||||
 | 
					                        <div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> | 
				
			||||
 | 
					                            <a href="https://www.cybrosys.com/odoo/industries/education-erp-software/" target="_blank"> | 
				
			||||
 | 
					                                <img src="https://www.cybrosys.com/images/odoo-index-industry-7.png" alt="Odoo Industry" | 
				
			||||
 | 
					                                     style="    border-radius: 100%;width:100%;"/> </a></div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div style="width:70%;float:left;"> | 
				
			||||
 | 
					                        <h3 class="oe_slogan" | 
				
			||||
 | 
					                            style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> | 
				
			||||
 | 
					                            <a href="https://www.cybrosys.com/odoo/industries/education-erp-software/" target="_blank" | 
				
			||||
 | 
					                               style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> | 
				
			||||
 | 
					                                Education</a></h3> | 
				
			||||
 | 
					                        <h3 class="oe_slogan" | 
				
			||||
 | 
					                            style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> | 
				
			||||
 | 
					                            A Collaborative platform for educational management. </h3> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					                <div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> | 
				
			||||
 | 
					                    <div> | 
				
			||||
 | 
					                        <div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> | 
				
			||||
 | 
					                            <a href="https://www.cybrosys.com/odoo/industries/service-management/" target="_blank"> <img | 
				
			||||
 | 
					                                    src="https://www.cybrosys.com/images/odoo-index-industry-8.png" alt="Odoo Industry" | 
				
			||||
 | 
					                                    style="    border-radius: 100%;width:100%;"/> </a></div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                    <div style="width:70%;float:left;"> | 
				
			||||
 | 
					                        <h3 class="oe_slogan" | 
				
			||||
 | 
					                            style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> | 
				
			||||
 | 
					                            <a href="https://www.cybrosys.com/odoo/industries/service-management/" target="_blank" | 
				
			||||
 | 
					                               style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> | 
				
			||||
 | 
					                                Service Management</a></h3> | 
				
			||||
 | 
					                        <h3 class="oe_slogan" | 
				
			||||
 | 
					                            style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> | 
				
			||||
 | 
					                            Keep track of services and invoice accordingly. </h3> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					</div> | 
				
			||||
 | 
					</section> | 
				
			||||
 | 
					<section class="oe_container" style="padding: 0% 0% 6% 0%;"> | 
				
			||||
 | 
					    <center> | 
				
			||||
 | 
					        <div class="col-md-12" style="margin: auto !important; | 
				
			||||
 | 
					         width: 70%; | 
				
			||||
 | 
					         padding: 30px;"> | 
				
			||||
 | 
					            <h2 style="font-weight: 600;text-align: center;width: 100%;">Need Any Help?</h2> | 
				
			||||
 | 
					            <hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> | 
				
			||||
 | 
					            <h4 style="font-size:16px;"> If you have anything to share with us based on your use of this module, please | 
				
			||||
 | 
					                let us know. We are ready to offer our support. </h4> | 
				
			||||
 | 
					            <div class="col-md-6" style="float:left; padding:20px;"> | 
				
			||||
 | 
					                <h4><i class="fa fa-envelope"></i>Email us </h4> | 
				
			||||
 | 
					                <p>odoo@cybrosys.com / info@cybrosys.com</p> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					            <div class="col-md-6" style="float:left; padding:20px;"> | 
				
			||||
 | 
					                <h4><i class="fa fa-phone"></i> Contact Us </h4> | 
				
			||||
 | 
					                <a href="https://www.cybrosys.com/contact/" target="_blank"> www.cybrosys.com</a> | 
				
			||||
 | 
					            </div> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					    </center> | 
				
			||||
 | 
					</section> | 
				
			||||
 | 
					<section class="oe_container" style="padding: 0% 0% 6% 0%;"> | 
				
			||||
 | 
					    <div class="oe_slogan" style="margin-bottom: 0px;"> | 
				
			||||
 | 
					        <div style=" display: flex; justify-content: center; flex-wrap: wrap; "> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					        <br> | 
				
			||||
 | 
					        <img src="https://www.cybrosys.com/images/logo.png" style="width: 190px; margin-bottom: 25px;margin-top: 30px;" | 
				
			||||
 | 
					             class="center-block"> | 
				
			||||
 | 
					        <div style=" display: flex; justify-content: center; flex-wrap: wrap; "><a href="https://twitter.com/cybrosys" | 
				
			||||
 | 
					                                                                                   target="_blank"><i | 
				
			||||
 | 
					                class="fa fa-2x fa-twitter" | 
				
			||||
 | 
					                style="color:white;background: #00a0d1;width:35px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a> | 
				
			||||
 | 
					            </td> | 
				
			||||
 | 
					            <a href="https://www.linkedin.com/company/cybrosys-technologies-pvt-ltd" target="_blank"><i | 
				
			||||
 | 
					                    class="fa fa-2x fa-linkedin" | 
				
			||||
 | 
					                    style="color:white;background: #31a3d6;width:35px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a> | 
				
			||||
 | 
					            </td> | 
				
			||||
 | 
					            <a href="https://www.facebook.com/cybrosystechnologies" target="_blank"><i class="fa fa-2x fa-facebook" | 
				
			||||
 | 
					                                                                                       style="color:white;background: #3b5998;width:35px;  height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a> | 
				
			||||
 | 
					            </td> | 
				
			||||
 | 
					            <a href="https://in.pinterest.com/cybrosys" target="_blank"><i class="fa fa-2x fa-pinterest" | 
				
			||||
 | 
					                                                                           style="color:white;background: #ac0f18;width:35px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a> | 
				
			||||
 | 
					            </td> | 
				
			||||
 | 
					        </div> | 
				
			||||
 | 
					    </div> | 
				
			||||
 | 
					</section> | 
				
			||||
 | 
					</div> | 
				
			||||
@ -0,0 +1,15 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="UTF-8" ?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <data> | 
				
			||||
 | 
					        <record id="account_move_form_view_inherited" model="ir.ui.view"> | 
				
			||||
 | 
					            <field name="name">account.move.form.view.inherited</field> | 
				
			||||
 | 
					            <field name="model">account.move</field> | 
				
			||||
 | 
					            <field name="inherit_id" ref="account.view_move_form"/> | 
				
			||||
 | 
					            <field name="arch" type="xml"> | 
				
			||||
 | 
					                <xpath expr="//field[@name='ref']" position="after"> | 
				
			||||
 | 
					                    <field name="picking_id"/> | 
				
			||||
 | 
					                </xpath> | 
				
			||||
 | 
					            </field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					    </data> | 
				
			||||
 | 
					</odoo> | 
				
			||||
@ -0,0 +1,42 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8"?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <record id="res_config_settings_invoice_modification" model="ir.ui.view"> | 
				
			||||
 | 
					        <field name="name">res.config.settings.invoice.modification</field> | 
				
			||||
 | 
					        <field name="model">res.config.settings</field> | 
				
			||||
 | 
					        <field name="priority" eval="10"/> | 
				
			||||
 | 
					        <field name="inherit_id" ref="account.res_config_settings_view_form"/> | 
				
			||||
 | 
					        <field name="arch" type="xml"> | 
				
			||||
 | 
					            <xpath expr="//div[@data-key='account']" position="inside"> | 
				
			||||
 | 
					                <h2>Invoice From Stock Picking</h2> | 
				
			||||
 | 
					                <div class="row mt16 o_settings_container"> | 
				
			||||
 | 
					                    <div class="col-12 col-lg-6 o_setting_box" title="These taxes are set in any new product created."> | 
				
			||||
 | 
					                        <div class="o_setting_left_pane"/> | 
				
			||||
 | 
					                        <div class="o_setting_right_pane"> | 
				
			||||
 | 
					                            <span class="o_form_label">Journals</span> | 
				
			||||
 | 
					                            <span class="fa fa-lg fa-building-o" title="Values set here are company-specific." | 
				
			||||
 | 
					                                  aria-label="Values set here are company-specific." | 
				
			||||
 | 
					                                  role="img"/> | 
				
			||||
 | 
					                            <div class="text-muted"> | 
				
			||||
 | 
					                                Journals which should apply for the invoice creation from stock picking | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                            <div class="content-group"> | 
				
			||||
 | 
					                                <div class="row mt16"> | 
				
			||||
 | 
					                                    <label string="Sales Journal" for="customer_journal_id" | 
				
			||||
 | 
					                                           class="col-lg-3 o_light_label"/> | 
				
			||||
 | 
					                                    <field name="customer_journal_id" | 
				
			||||
 | 
					                                           domain="[('type', '=', 'sale')]"/> | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                                <div class="row"> | 
				
			||||
 | 
					                                    <label string="Purchase Journal" for="vendor_journal_id" | 
				
			||||
 | 
					                                           class="col-lg-3 o_light_label"/> | 
				
			||||
 | 
					                                    <field name="vendor_journal_id" | 
				
			||||
 | 
					                                           domain="[('type', '=', 'purchase')]"/> | 
				
			||||
 | 
					                                </div> | 
				
			||||
 | 
					                            </div> | 
				
			||||
 | 
					                        </div> | 
				
			||||
 | 
					                    </div> | 
				
			||||
 | 
					                </div> | 
				
			||||
 | 
					            </xpath> | 
				
			||||
 | 
					        </field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					</odoo> | 
				
			||||
@ -0,0 +1,37 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="UTF-8" ?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <data> | 
				
			||||
 | 
					        <record id="stock_picking_form_view_inherited" model="ir.ui.view"> | 
				
			||||
 | 
					            <field name="name">stock.picking.form.view.inherited</field> | 
				
			||||
 | 
					            <field name="model">stock.picking</field> | 
				
			||||
 | 
					            <field name="inherit_id" ref="stock.view_picking_form"/> | 
				
			||||
 | 
					            <field name="arch" type="xml"> | 
				
			||||
 | 
					                <xpath expr="//field[@name='picking_type_id']" position="after"> | 
				
			||||
 | 
					                    <field name="operation_code" invisible="1"/> | 
				
			||||
 | 
					                    <field name="is_return" invisible="1"/> | 
				
			||||
 | 
					                </xpath> | 
				
			||||
 | 
					                <xpath expr="//div[@name='button_box']" position="inside"> | 
				
			||||
 | 
					                    <button name="action_open_picking_invoice" type="object" | 
				
			||||
 | 
					                            class="oe_stat_button" icon="fa-file-text" | 
				
			||||
 | 
					                            attrs="{'invisible': [('invoice_count','=', 0)]}"> | 
				
			||||
 | 
					                        <field name="invoice_count" widget="statinfo"/> | 
				
			||||
 | 
					                    </button> | 
				
			||||
 | 
					                </xpath> | 
				
			||||
 | 
					                <xpath expr="//button[@name='action_toggle_is_locked']" position="after"> | 
				
			||||
 | 
					                    <button name="create_invoice" class="oe_highlight" | 
				
			||||
 | 
					                            string="Create Invoice" type="object" | 
				
			||||
 | 
					                            attrs="{'invisible': ['|','|','|',('invoice_count','!=', 0),('state','!=','done'),('operation_code','=','incoming'),('is_return','=',True)]}"/> | 
				
			||||
 | 
					                    <button name="create_bill" class="oe_highlight" | 
				
			||||
 | 
					                            string="Create Bill" type="object" | 
				
			||||
 | 
					                            attrs="{'invisible': ['|','|','|',('invoice_count','!=', 0),('state','!=','done'),('operation_code','=','outgoing'),('is_return','=',True)]}"/> | 
				
			||||
 | 
					                    <button name="create_customer_credit" class="oe_highlight" | 
				
			||||
 | 
					                            string="Create Credit Note" type="object" | 
				
			||||
 | 
					                            attrs="{'invisible': ['|','|','|',('invoice_count','!=', 0),('state','!=','done'),('operation_code','=','outgoing'),('is_return','=',False)]}"/> | 
				
			||||
 | 
					                    <button name="create_vendor_credit" class="oe_highlight" | 
				
			||||
 | 
					                            string="Create Vendor Credit" type="object" | 
				
			||||
 | 
					                            attrs="{'invisible': ['|','|','|',('invoice_count','!=', 0),('state','!=','done'),('operation_code','=','incoming'),('is_return','=',False)]}"/> | 
				
			||||
 | 
					                </xpath> | 
				
			||||
 | 
					            </field> | 
				
			||||
 | 
					        </record> | 
				
			||||
 | 
					    </data> | 
				
			||||
 | 
					</odoo> | 
				
			||||
@ -0,0 +1,26 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					################################################################################### | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Copyright (C) 2019-TODAY Cybrosys Technologies (<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: SAYOOJ A O (<https://www.cybrosys.com>) | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    This program is free software: you can modify | 
				
			||||
 | 
					#    it under the terms of the GNU Affero General Public License (AGPL) as | 
				
			||||
 | 
					#    published by the Free Software Foundation, either version 3 of the | 
				
			||||
 | 
					#    License, or (at your option) any later version. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    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 for more details. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    You should have received a copy of the GNU Affero General Public License | 
				
			||||
 | 
					#    along with this program.  If not, see <https://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					################################################################################### | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					from . import picking_invoice_wizard | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
@ -0,0 +1,43 @@ | 
				
			|||||
 | 
					# -*- coding: utf-8 -*- | 
				
			||||
 | 
					################################################################################### | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Cybrosys Technologies Pvt. Ltd. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    Copyright (C) 2020-TODAY Cybrosys Technologies (<https://www.cybrosys.com>). | 
				
			||||
 | 
					#    Author: SAYOOJ A O (<https://www.cybrosys.com>) | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    This program is free software: you can modify | 
				
			||||
 | 
					#    it under the terms of the GNU Affero General Public License (AGPL) as | 
				
			||||
 | 
					#    published by the Free Software Foundation, either version 3 of the | 
				
			||||
 | 
					#    License, or (at your option) any later version. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    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 for more details. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					#    You should have received a copy of the GNU Affero General Public License | 
				
			||||
 | 
					#    along with this program.  If not, see <https://www.gnu.org/licenses/>. | 
				
			||||
 | 
					# | 
				
			||||
 | 
					################################################################################### | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					from odoo import models | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					class PickingInvoiceWizard(models.TransientModel): | 
				
			||||
 | 
					    _name = 'picking.invoice.wizard' | 
				
			||||
 | 
					    _description = "Create Invoice from picking" | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    def picking_multi_invoice(self): | 
				
			||||
 | 
					        active_ids = self._context.get('active_ids') | 
				
			||||
 | 
					        picking_ids = self.env['stock.picking'].browse(active_ids) | 
				
			||||
 | 
					        picking_id = picking_ids.filtered(lambda x: x.state == 'done' and x.invoice_count == 0) | 
				
			||||
 | 
					        for picking in picking_id: | 
				
			||||
 | 
					            if picking.picking_type_id.code == 'incoming' and not picking.is_return: | 
				
			||||
 | 
					                picking.create_bill() | 
				
			||||
 | 
					            if picking.picking_type_id.code == 'outgoing' and not picking.is_return: | 
				
			||||
 | 
					                picking.create_invoice() | 
				
			||||
 | 
					            if picking.picking_type_id.code == 'incoming' and picking.is_return: | 
				
			||||
 | 
					                picking.create_vendor_credit() | 
				
			||||
 | 
					            if picking.picking_type_id.code == 'outgoing' and picking.is_return: | 
				
			||||
 | 
					                picking.create_customer_credit() | 
				
			||||
@ -0,0 +1,31 @@ | 
				
			|||||
 | 
					<?xml version="1.0" encoding="utf-8"?> | 
				
			||||
 | 
					<odoo> | 
				
			||||
 | 
					    <record id="view_picking_invoice_wizard" model="ir.ui.view"> | 
				
			||||
 | 
					        <field name="name">view.picking.invoice.wizard</field> | 
				
			||||
 | 
					        <field name="model">picking.invoice.wizard</field> | 
				
			||||
 | 
					        <field name="arch" type="xml"> | 
				
			||||
 | 
					            <form string="Generate Invoice For Multiple Picking"> | 
				
			||||
 | 
					                <group col="4"> | 
				
			||||
 | 
					                    <span>Invoice will generate for selected picking</span> | 
				
			||||
 | 
					                </group> | 
				
			||||
 | 
					                <footer> | 
				
			||||
 | 
					                    <button name="picking_multi_invoice" string="Create Invoice" type="object" class="oe_highlight"/> | 
				
			||||
 | 
					                    <button string="Cancel" class="btn btn-default" special="cancel"/> | 
				
			||||
 | 
					                </footer> | 
				
			||||
 | 
					            </form> | 
				
			||||
 | 
					        </field> | 
				
			||||
 | 
					    </record> | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    <act_window | 
				
			||||
 | 
					            id="action_picking_multi_invoice" | 
				
			||||
 | 
					            name="Create Invoices" | 
				
			||||
 | 
					            res_model="picking.invoice.wizard" | 
				
			||||
 | 
					            binding_model="stock.picking" | 
				
			||||
 | 
					            binding_views="list" | 
				
			||||
 | 
					            view_mode="form" | 
				
			||||
 | 
					            target="new" | 
				
			||||
 | 
					    /> | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					</odoo> | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					
 | 
				
			||||