diff --git a/return_invoice_bill/README.rst b/return_invoice_bill/README.rst new file mode 100644 index 000000000..f907dfdb4 --- /dev/null +++ b/return_invoice_bill/README.rst @@ -0,0 +1,52 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Automated Credit/Debit Note Generation from Return Picking +========================================================== +This module allow to return the invoice or bill while picking the product in Odoo17. + +Company +------- +* `Cybrosys Techno Solutions `__ + +Configuration +============= +- Additional configuration not required + +Installation +============ +- www.odoo.com/documentation/18.0/setup/install.html +- Install our custom addon + +License +------- +GNU AFFERO GENERAL PUBLIC LICENSE v3.0 (AGPL-3) +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +* Developer: (V17) Kailas Krishna, + (V16) Dhanya Babu, + (V18) Busthana + Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com +This module is maintained by Cybrosys Technologies. +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/return_invoice_bill/__init__.py b/return_invoice_bill/__init__.py new file mode 100644 index 000000000..69ffa0686 --- /dev/null +++ b/return_invoice_bill/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################## +from . import models +from . import wizard diff --git a/return_invoice_bill/__manifest__.py b/return_invoice_bill/__manifest__.py new file mode 100644 index 000000000..d93931bf1 --- /dev/null +++ b/return_invoice_bill/__manifest__.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################## +{ + "name": "Automated Credit/Debit Note Generation from Return Picking", + "version": "18.0.1.0.0", + "category": "Sales", + "summary": "For creating credit note and debit note while picking.", + "description": "We can create credit note or debit note while return the" + " picking by using this module in Odoo 17. ", + "author": "Cybrosys Techno Solutions", + "company": "Cybrosys Techno Solutions", + "maintainer": "Cybrosys Techno Solutions", + "website": "https://www.cybrosys.com", + "depends": ["sale_management", "stock", "purchase"], + "data": [ + "security/ir.model.access.csv", + "views/stock_picking_views.xml", + "views/stock_return_picking_views.xml", + "wizard/return_move_views.xml", + ], + "images": ["static/description/banner.png"], + "license": "AGPL-3", + "installable": True, + "auto_install": False, + "application": False, +} diff --git a/return_invoice_bill/doc/RELEASE_NOTES.md b/return_invoice_bill/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..73a9a985a --- /dev/null +++ b/return_invoice_bill/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 29.01.2025 +#### Version 18.0.1.0.0 +#### ADD +- Initial commit for Automated Credit/Debit Note Generation from Return Picking diff --git a/return_invoice_bill/models/__init__.py b/return_invoice_bill/models/__init__.py new file mode 100644 index 000000000..07bd7f5e8 --- /dev/null +++ b/return_invoice_bill/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################## +from . import stock_picking +from . import stock_return_picking diff --git a/return_invoice_bill/models/stock_picking.py b/return_invoice_bill/models/stock_picking.py new file mode 100644 index 000000000..d757ad3c1 --- /dev/null +++ b/return_invoice_bill/models/stock_picking.py @@ -0,0 +1,84 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################## +from odoo import api, fields, models, _ + + +class StockPicking(models.Model): + """This class extends the 'stock.picking' model to add a method for + retrieving credit notes and debit notes related + to the picking, and generating actions for viewing them.""" + _inherit = 'stock.picking' + + picking_type_name = fields.Char(string='Picking Type Name', + help='Name of picking type') + return_invoice_count = fields.Char(string="Counts", + compute='_compute_return_invoice_count', + help="counts of return invoices") + is_paid = fields.Boolean(string='Is Paid', + help='Value will be True when order has paid ' + 'otherwise False.') + + @api.model_create_multi + def create(self, vals): + """This method overrides the default create method to set the + 'picking_type_name' field based on the 'picking_type_id' field + before creating the record.""" + + self.picking_type_name = self.picking_type_id.name + return super(StockPicking, self).create(vals) + + def action_get_credit_note(self): + """Generates an action to view reversal credit notes + based on the context.""" + self.ensure_one() + credit_notes = self.sale_id.invoice_ids.filtered( + lambda x: x.move_type == 'out_refund') + return { + 'type': 'ir.actions.act_window', + 'name': _( + 'Reversal of Credit Note: %s') % self.sale_id.invoice_ids.filtered( + lambda x: x.move_type == 'out_invoice').name, + 'res_model': 'account.move', + 'view_mode': 'list,form', + 'domain': [('id', 'in', credit_notes.ids)], + } + + def action_get_debit_note(self): + """Generates an action to view reversal debit notes + based on the context.""" + debit_notes = self.purchase_id.invoice_ids.filtered( + lambda x: x.move_type == 'in_refund') + self.ensure_one() + return { + 'type': 'ir.actions.act_window', + 'name': _( + 'Reversal of Debit Note: %s') % self.purchase_id.invoice_ids.filtered( + lambda x: x.move_type == 'in_invoice').name, + 'res_model': 'account.move', + 'view_mode': 'list,form', + 'domain': [('id', 'in', debit_notes.ids)] + } + + @api.depends('return_invoice_count') + def _compute_return_invoice_count(self): + for record in self: + record.return_invoice_count = record.return_count diff --git a/return_invoice_bill/models/stock_return_picking.py b/return_invoice_bill/models/stock_return_picking.py new file mode 100644 index 000000000..c70f625d4 --- /dev/null +++ b/return_invoice_bill/models/stock_return_picking.py @@ -0,0 +1,88 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################## +from odoo import api, fields, models + + +class StockReturnPicking(models.TransientModel): + """Inherited this class to display the view, to add the cancel reason.""" + _inherit = 'stock.return.picking' + + picking_type_name = fields.Char(string='Picking Type Name', + help='Name of the picking type') + + @api.model + def default_get(self, fields): + """Override of default_get method to set default values for fields + in the wizard.""" + result = super(StockReturnPicking, self).default_get(fields) + active_model = self.env.context['active_model'] + active_id = self.env.context['active_id'] + if active_model == 'stock.picking' and active_id: + stock_picking = self.env[active_model].browse(active_id) + picking_type = stock_picking.picking_type_id + result['picking_type_name'] = self.env['ir.model.data'].search([ + ('model', '=', 'stock.picking.type'), + ('res_id', '=', picking_type.id) + ]).complete_name + return result + + def _update_stock_picking(self): + """Update the 'is_paid' field of the active stock picking to indicate + payment. This function is typically called when processing returns with + credit or debit notes.""" + active_model = self.env.context.get('active_model') + active_id = self.env.context.get('active_id') + + if active_model == 'stock.picking' and active_id: + stock_picking = self.env[active_model].browse(active_id) + stock_picking.is_paid = True + + def _get_return_action(self): + """ + Retrieve the action for returning a move, specifically for credit notes. + Returns: + ir.actions.actions: Action object for returning moves with credit + notes. + """ + return self.env["ir.actions.actions"]._for_xml_id("return_invoice_bill.return_move_action") + + def action_returns_with_credit_note(self): + """ + Perform the action of returning moves with credit notes and update the + stock picking accordingly. + Returns: + ir.actions.actions: Action object for returning moves with credit + notes. + """ + self._update_stock_picking() + return self._get_return_action() + + def action_returns_with_debit_note(self): + """ + Perform the action of returning moves with debit notes and update the + stock picking accordingly. + Returns: + ir.actions.actions: Action object for returning moves with debit + notes. + """ + self._update_stock_picking() + return self._get_return_action() diff --git a/return_invoice_bill/security/ir.model.access.csv b/return_invoice_bill/security/ir.model.access.csv new file mode 100644 index 000000000..0c79137c7 --- /dev/null +++ b/return_invoice_bill/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_return_move_user,access.return.move.user,model_return_move,base.group_user,1,1,1,1 diff --git a/return_invoice_bill/static/description/assets/icons/arrows-repeat.svg b/return_invoice_bill/static/description/assets/icons/arrows-repeat.svg new file mode 100755 index 000000000..1d7efabc5 --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/arrows-repeat.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/return_invoice_bill/static/description/assets/icons/banner-1.png b/return_invoice_bill/static/description/assets/icons/banner-1.png new file mode 100755 index 000000000..c180db172 Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/banner-1.png differ diff --git a/return_invoice_bill/static/description/assets/icons/banner-2.svg b/return_invoice_bill/static/description/assets/icons/banner-2.svg new file mode 100755 index 000000000..e606d97d9 --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/banner-2.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/return_invoice_bill/static/description/assets/icons/banner-bg.png b/return_invoice_bill/static/description/assets/icons/banner-bg.png new file mode 100755 index 000000000..a8238d3c0 Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/banner-bg.png differ diff --git a/return_invoice_bill/static/description/assets/icons/banner-bg.svg b/return_invoice_bill/static/description/assets/icons/banner-bg.svg new file mode 100755 index 000000000..b1378103e --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/banner-bg.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/return_invoice_bill/static/description/assets/icons/banner-call.svg b/return_invoice_bill/static/description/assets/icons/banner-call.svg new file mode 100755 index 000000000..96c687e81 --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/banner-call.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/return_invoice_bill/static/description/assets/icons/banner-mail.svg b/return_invoice_bill/static/description/assets/icons/banner-mail.svg new file mode 100755 index 000000000..cbf0d158d --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/banner-mail.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/return_invoice_bill/static/description/assets/icons/banner-pattern.svg b/return_invoice_bill/static/description/assets/icons/banner-pattern.svg new file mode 100755 index 000000000..9c1c7e101 --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/banner-pattern.svg @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/return_invoice_bill/static/description/assets/icons/banner-promo.svg b/return_invoice_bill/static/description/assets/icons/banner-promo.svg new file mode 100755 index 000000000..d52791b11 --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/banner-promo.svg @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/return_invoice_bill/static/description/assets/icons/brand-pair.svg b/return_invoice_bill/static/description/assets/icons/brand-pair.svg new file mode 100755 index 000000000..d8db7fc1e --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/brand-pair.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/return_invoice_bill/static/description/assets/icons/check.png b/return_invoice_bill/static/description/assets/icons/check.png new file mode 100755 index 000000000..c8e85f51d Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/check.png differ diff --git a/return_invoice_bill/static/description/assets/icons/chevron.png b/return_invoice_bill/static/description/assets/icons/chevron.png new file mode 100755 index 000000000..2089293d6 Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/chevron.png differ diff --git a/return_invoice_bill/static/description/assets/icons/close-icon.svg b/return_invoice_bill/static/description/assets/icons/close-icon.svg new file mode 100755 index 000000000..df8cce37a --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/close-icon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/return_invoice_bill/static/description/assets/icons/cogs.png b/return_invoice_bill/static/description/assets/icons/cogs.png new file mode 100755 index 000000000..95d0bad62 Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/cogs.png differ diff --git a/return_invoice_bill/static/description/assets/icons/collabarate-icon.svg b/return_invoice_bill/static/description/assets/icons/collabarate-icon.svg new file mode 100755 index 000000000..dd4e10518 --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/collabarate-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/return_invoice_bill/static/description/assets/icons/consultation.png b/return_invoice_bill/static/description/assets/icons/consultation.png new file mode 100755 index 000000000..8319d4baa Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/consultation.png differ diff --git a/return_invoice_bill/static/description/assets/icons/cybro-logo.png b/return_invoice_bill/static/description/assets/icons/cybro-logo.png new file mode 100755 index 000000000..ff4b78220 Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/cybro-logo.png differ diff --git a/return_invoice_bill/static/description/assets/icons/down.svg b/return_invoice_bill/static/description/assets/icons/down.svg new file mode 100755 index 000000000..f21c36271 --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/return_invoice_bill/static/description/assets/icons/ecom-black.png b/return_invoice_bill/static/description/assets/icons/ecom-black.png new file mode 100755 index 000000000..a9385ff13 Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/ecom-black.png differ diff --git a/return_invoice_bill/static/description/assets/icons/education-black.png b/return_invoice_bill/static/description/assets/icons/education-black.png new file mode 100755 index 000000000..3eb09b27b Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/education-black.png differ diff --git a/return_invoice_bill/static/description/assets/icons/faq.png b/return_invoice_bill/static/description/assets/icons/faq.png new file mode 100755 index 000000000..4250b5b81 Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/faq.png differ diff --git a/return_invoice_bill/static/description/assets/icons/feature-icon.svg b/return_invoice_bill/static/description/assets/icons/feature-icon.svg new file mode 100755 index 000000000..fa0ea6850 --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/feature-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/return_invoice_bill/static/description/assets/icons/feature.png b/return_invoice_bill/static/description/assets/icons/feature.png new file mode 100755 index 000000000..ac7a785c0 Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/feature.png differ diff --git a/return_invoice_bill/static/description/assets/icons/gear.svg b/return_invoice_bill/static/description/assets/icons/gear.svg new file mode 100755 index 000000000..0cc66b6ea --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/gear.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/return_invoice_bill/static/description/assets/icons/hire-odoo.svg b/return_invoice_bill/static/description/assets/icons/hire-odoo.svg new file mode 100755 index 000000000..e1ac089b0 --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/hire-odoo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/return_invoice_bill/static/description/assets/icons/hotel-black.png b/return_invoice_bill/static/description/assets/icons/hotel-black.png new file mode 100755 index 000000000..130f613be Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/hotel-black.png differ diff --git a/return_invoice_bill/static/description/assets/icons/license.png b/return_invoice_bill/static/description/assets/icons/license.png new file mode 100755 index 000000000..a5869797e Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/license.png differ diff --git a/return_invoice_bill/static/description/assets/icons/life-ring-icon.svg b/return_invoice_bill/static/description/assets/icons/life-ring-icon.svg new file mode 100755 index 000000000..3ae6e1d89 --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/life-ring-icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/return_invoice_bill/static/description/assets/icons/lifebuoy.png b/return_invoice_bill/static/description/assets/icons/lifebuoy.png new file mode 100755 index 000000000..658d56ccc Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/lifebuoy.png differ diff --git a/return_invoice_bill/static/description/assets/icons/mail.svg b/return_invoice_bill/static/description/assets/icons/mail.svg new file mode 100755 index 000000000..1eedde695 --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/mail.svg @@ -0,0 +1,3 @@ + + + diff --git a/return_invoice_bill/static/description/assets/icons/manufacturing-black.png b/return_invoice_bill/static/description/assets/icons/manufacturing-black.png new file mode 100755 index 000000000..697eb0e9f Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/manufacturing-black.png differ diff --git a/return_invoice_bill/static/description/assets/icons/notes.png b/return_invoice_bill/static/description/assets/icons/notes.png new file mode 100755 index 000000000..ee5e95404 Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/notes.png differ diff --git a/return_invoice_bill/static/description/assets/icons/notification icon.svg b/return_invoice_bill/static/description/assets/icons/notification icon.svg new file mode 100755 index 000000000..053189973 --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/notification icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/return_invoice_bill/static/description/assets/icons/odoo-consultancy.svg b/return_invoice_bill/static/description/assets/icons/odoo-consultancy.svg new file mode 100755 index 000000000..e05f65bde --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/odoo-consultancy.svg @@ -0,0 +1,4 @@ + + + + diff --git a/return_invoice_bill/static/description/assets/icons/odoo-licencing.svg b/return_invoice_bill/static/description/assets/icons/odoo-licencing.svg new file mode 100755 index 000000000..2606c88b0 --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/odoo-licencing.svg @@ -0,0 +1,3 @@ + + + diff --git a/return_invoice_bill/static/description/assets/icons/odoo-logo.png b/return_invoice_bill/static/description/assets/icons/odoo-logo.png new file mode 100755 index 000000000..0e4d0eb5a Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/odoo-logo.png differ diff --git a/return_invoice_bill/static/description/assets/icons/patter.svg b/return_invoice_bill/static/description/assets/icons/patter.svg new file mode 100755 index 000000000..25c9c0a8f --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/patter.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/return_invoice_bill/static/description/assets/icons/pattern1.png b/return_invoice_bill/static/description/assets/icons/pattern1.png new file mode 100755 index 000000000..09ab0fb2d Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/pattern1.png differ diff --git a/return_invoice_bill/static/description/assets/icons/pos-black.png b/return_invoice_bill/static/description/assets/icons/pos-black.png new file mode 100755 index 000000000..97c0f90c1 Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/pos-black.png differ diff --git a/return_invoice_bill/static/description/assets/icons/puzzle-piece-icon.svg b/return_invoice_bill/static/description/assets/icons/puzzle-piece-icon.svg new file mode 100755 index 000000000..3e9ad9373 --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/puzzle-piece-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/return_invoice_bill/static/description/assets/icons/puzzle.png b/return_invoice_bill/static/description/assets/icons/puzzle.png new file mode 100755 index 000000000..65cf854e7 Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/puzzle.png differ diff --git a/return_invoice_bill/static/description/assets/icons/replace-icon.svg b/return_invoice_bill/static/description/assets/icons/replace-icon.svg new file mode 100755 index 000000000..d0e3a7af1 --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/replace-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/return_invoice_bill/static/description/assets/icons/restaurant-black.png b/return_invoice_bill/static/description/assets/icons/restaurant-black.png new file mode 100755 index 000000000..4a35eb939 Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/restaurant-black.png differ diff --git a/return_invoice_bill/static/description/assets/icons/screenshot-main.png b/return_invoice_bill/static/description/assets/icons/screenshot-main.png new file mode 100755 index 000000000..575f8e676 Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/screenshot-main.png differ diff --git a/return_invoice_bill/static/description/assets/icons/screenshot.png b/return_invoice_bill/static/description/assets/icons/screenshot.png new file mode 100755 index 000000000..cef272529 Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/screenshot.png differ diff --git a/return_invoice_bill/static/description/assets/icons/service-black.png b/return_invoice_bill/static/description/assets/icons/service-black.png new file mode 100755 index 000000000..301ab51cb Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/service-black.png differ diff --git a/return_invoice_bill/static/description/assets/icons/skype-fill.svg b/return_invoice_bill/static/description/assets/icons/skype-fill.svg new file mode 100755 index 000000000..c17423639 --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/skype-fill.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/return_invoice_bill/static/description/assets/icons/skype.png b/return_invoice_bill/static/description/assets/icons/skype.png new file mode 100755 index 000000000..51b409fb3 Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/skype.png differ diff --git a/return_invoice_bill/static/description/assets/icons/skype.svg b/return_invoice_bill/static/description/assets/icons/skype.svg new file mode 100755 index 000000000..df3dad39b --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/skype.svg @@ -0,0 +1,3 @@ + + + diff --git a/return_invoice_bill/static/description/assets/icons/star-1.svg b/return_invoice_bill/static/description/assets/icons/star-1.svg new file mode 100755 index 000000000..7e55ab162 --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/star-1.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/return_invoice_bill/static/description/assets/icons/star-2.svg b/return_invoice_bill/static/description/assets/icons/star-2.svg new file mode 100755 index 000000000..5ae9f507a --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/star-2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/return_invoice_bill/static/description/assets/icons/support.png b/return_invoice_bill/static/description/assets/icons/support.png new file mode 100755 index 000000000..4f18b8b82 Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/support.png differ diff --git a/return_invoice_bill/static/description/assets/icons/test-1 - Copy.png b/return_invoice_bill/static/description/assets/icons/test-1 - Copy.png new file mode 100755 index 000000000..f6a902663 Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/test-1 - Copy.png differ diff --git a/return_invoice_bill/static/description/assets/icons/test-1.png b/return_invoice_bill/static/description/assets/icons/test-1.png new file mode 100755 index 000000000..0908add2b Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/test-1.png differ diff --git a/return_invoice_bill/static/description/assets/icons/test-2.png b/return_invoice_bill/static/description/assets/icons/test-2.png new file mode 100755 index 000000000..4671fe91e Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/test-2.png differ diff --git a/return_invoice_bill/static/description/assets/icons/trading-black.png b/return_invoice_bill/static/description/assets/icons/trading-black.png new file mode 100755 index 000000000..9398ba2f1 Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/trading-black.png differ diff --git a/return_invoice_bill/static/description/assets/icons/training.png b/return_invoice_bill/static/description/assets/icons/training.png new file mode 100755 index 000000000..884ca024d Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/training.png differ diff --git a/return_invoice_bill/static/description/assets/icons/translate.svg b/return_invoice_bill/static/description/assets/icons/translate.svg new file mode 100755 index 000000000..af9c8a1aa --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/translate.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/return_invoice_bill/static/description/assets/icons/update.png b/return_invoice_bill/static/description/assets/icons/update.png new file mode 100755 index 000000000..ecbc5a01a Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/update.png differ diff --git a/return_invoice_bill/static/description/assets/icons/user.png b/return_invoice_bill/static/description/assets/icons/user.png new file mode 100755 index 000000000..6ffb23d9f Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/user.png differ diff --git a/return_invoice_bill/static/description/assets/icons/video.png b/return_invoice_bill/static/description/assets/icons/video.png new file mode 100755 index 000000000..576705b17 Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/video.png differ diff --git a/return_invoice_bill/static/description/assets/icons/whatsapp.png b/return_invoice_bill/static/description/assets/icons/whatsapp.png new file mode 100755 index 000000000..d513a5356 Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/whatsapp.png differ diff --git a/return_invoice_bill/static/description/assets/icons/wrench-icon.svg b/return_invoice_bill/static/description/assets/icons/wrench-icon.svg new file mode 100755 index 000000000..174b5a465 --- /dev/null +++ b/return_invoice_bill/static/description/assets/icons/wrench-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/return_invoice_bill/static/description/assets/icons/wrench.png b/return_invoice_bill/static/description/assets/icons/wrench.png new file mode 100755 index 000000000..6c04dea0f Binary files /dev/null and b/return_invoice_bill/static/description/assets/icons/wrench.png differ diff --git a/return_invoice_bill/static/description/assets/modules/1.gif b/return_invoice_bill/static/description/assets/modules/1.gif new file mode 100755 index 000000000..ae3a880a2 Binary files /dev/null and b/return_invoice_bill/static/description/assets/modules/1.gif differ diff --git a/return_invoice_bill/static/description/assets/modules/2.gif b/return_invoice_bill/static/description/assets/modules/2.gif new file mode 100755 index 000000000..d19e2b352 Binary files /dev/null and b/return_invoice_bill/static/description/assets/modules/2.gif differ diff --git a/return_invoice_bill/static/description/assets/modules/3.png b/return_invoice_bill/static/description/assets/modules/3.png new file mode 100755 index 000000000..8513873ea Binary files /dev/null and b/return_invoice_bill/static/description/assets/modules/3.png differ diff --git a/return_invoice_bill/static/description/assets/modules/4.png b/return_invoice_bill/static/description/assets/modules/4.png new file mode 100755 index 000000000..3bedf7981 Binary files /dev/null and b/return_invoice_bill/static/description/assets/modules/4.png differ diff --git a/return_invoice_bill/static/description/assets/modules/5.png b/return_invoice_bill/static/description/assets/modules/5.png new file mode 100755 index 000000000..0e311ca87 Binary files /dev/null and b/return_invoice_bill/static/description/assets/modules/5.png differ diff --git a/return_invoice_bill/static/description/assets/modules/6.jpg b/return_invoice_bill/static/description/assets/modules/6.jpg new file mode 100755 index 000000000..67c7f7062 Binary files /dev/null and b/return_invoice_bill/static/description/assets/modules/6.jpg differ diff --git a/return_invoice_bill/static/description/assets/screenshots/hero.gif b/return_invoice_bill/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..b07c08232 Binary files /dev/null and b/return_invoice_bill/static/description/assets/screenshots/hero.gif differ diff --git a/return_invoice_bill/static/description/assets/screenshots/return1.png b/return_invoice_bill/static/description/assets/screenshots/return1.png new file mode 100644 index 000000000..8a0fc83b9 Binary files /dev/null and b/return_invoice_bill/static/description/assets/screenshots/return1.png differ diff --git a/return_invoice_bill/static/description/assets/screenshots/return10.png b/return_invoice_bill/static/description/assets/screenshots/return10.png new file mode 100644 index 000000000..f1e343380 Binary files /dev/null and b/return_invoice_bill/static/description/assets/screenshots/return10.png differ diff --git a/return_invoice_bill/static/description/assets/screenshots/return11.png b/return_invoice_bill/static/description/assets/screenshots/return11.png new file mode 100644 index 000000000..0c0c68a95 Binary files /dev/null and b/return_invoice_bill/static/description/assets/screenshots/return11.png differ diff --git a/return_invoice_bill/static/description/assets/screenshots/return12.png b/return_invoice_bill/static/description/assets/screenshots/return12.png new file mode 100644 index 000000000..0fec1f62f Binary files /dev/null and b/return_invoice_bill/static/description/assets/screenshots/return12.png differ diff --git a/return_invoice_bill/static/description/assets/screenshots/return13.png b/return_invoice_bill/static/description/assets/screenshots/return13.png new file mode 100644 index 000000000..907fd71d2 Binary files /dev/null and b/return_invoice_bill/static/description/assets/screenshots/return13.png differ diff --git a/return_invoice_bill/static/description/assets/screenshots/return14.png b/return_invoice_bill/static/description/assets/screenshots/return14.png new file mode 100644 index 000000000..05953248b Binary files /dev/null and b/return_invoice_bill/static/description/assets/screenshots/return14.png differ diff --git a/return_invoice_bill/static/description/assets/screenshots/return15.png b/return_invoice_bill/static/description/assets/screenshots/return15.png new file mode 100644 index 000000000..cbecf8fdd Binary files /dev/null and b/return_invoice_bill/static/description/assets/screenshots/return15.png differ diff --git a/return_invoice_bill/static/description/assets/screenshots/return16.png b/return_invoice_bill/static/description/assets/screenshots/return16.png new file mode 100644 index 000000000..f0c0cfc6b Binary files /dev/null and b/return_invoice_bill/static/description/assets/screenshots/return16.png differ diff --git a/return_invoice_bill/static/description/assets/screenshots/return2.png b/return_invoice_bill/static/description/assets/screenshots/return2.png new file mode 100644 index 000000000..3694b1999 Binary files /dev/null and b/return_invoice_bill/static/description/assets/screenshots/return2.png differ diff --git a/return_invoice_bill/static/description/assets/screenshots/return3.png b/return_invoice_bill/static/description/assets/screenshots/return3.png new file mode 100644 index 000000000..fd6776978 Binary files /dev/null and b/return_invoice_bill/static/description/assets/screenshots/return3.png differ diff --git a/return_invoice_bill/static/description/assets/screenshots/return4.png b/return_invoice_bill/static/description/assets/screenshots/return4.png new file mode 100644 index 000000000..f53edc34c Binary files /dev/null and b/return_invoice_bill/static/description/assets/screenshots/return4.png differ diff --git a/return_invoice_bill/static/description/assets/screenshots/return5.png b/return_invoice_bill/static/description/assets/screenshots/return5.png new file mode 100644 index 000000000..3445483c3 Binary files /dev/null and b/return_invoice_bill/static/description/assets/screenshots/return5.png differ diff --git a/return_invoice_bill/static/description/assets/screenshots/return6.png b/return_invoice_bill/static/description/assets/screenshots/return6.png new file mode 100644 index 000000000..bcfd30355 Binary files /dev/null and b/return_invoice_bill/static/description/assets/screenshots/return6.png differ diff --git a/return_invoice_bill/static/description/assets/screenshots/return7.png b/return_invoice_bill/static/description/assets/screenshots/return7.png new file mode 100644 index 000000000..ccd91db1b Binary files /dev/null and b/return_invoice_bill/static/description/assets/screenshots/return7.png differ diff --git a/return_invoice_bill/static/description/assets/screenshots/return8.png b/return_invoice_bill/static/description/assets/screenshots/return8.png new file mode 100644 index 000000000..57ef5a14f Binary files /dev/null and b/return_invoice_bill/static/description/assets/screenshots/return8.png differ diff --git a/return_invoice_bill/static/description/assets/screenshots/return9.png b/return_invoice_bill/static/description/assets/screenshots/return9.png new file mode 100644 index 000000000..27b481944 Binary files /dev/null and b/return_invoice_bill/static/description/assets/screenshots/return9.png differ diff --git a/return_invoice_bill/static/description/banner.png b/return_invoice_bill/static/description/banner.png new file mode 100644 index 000000000..6e8b54874 Binary files /dev/null and b/return_invoice_bill/static/description/banner.png differ diff --git a/return_invoice_bill/static/description/icon.png b/return_invoice_bill/static/description/icon.png new file mode 100644 index 000000000..56ea32741 Binary files /dev/null and b/return_invoice_bill/static/description/icon.png differ diff --git a/return_invoice_bill/static/description/index.html b/return_invoice_bill/static/description/index.html new file mode 100644 index 000000000..83bbb869b --- /dev/null +++ b/return_invoice_bill/static/description/index.html @@ -0,0 +1,1185 @@ + + + + + + Automated Credit/Debit Note Generation from Return Picking + + + + + + + + + + +
+
+ + + +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+
+

+ Allows Us To Return The Credit Note And Debit Note From The Corresponding Return Form. +

+

Automated Credit/Debit Note Generation from Return Picking +

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

Key + Highlights

+
+
+
+
+ +
+

+ Create the credit note while returning the product.

+
+
+
+
+
+ +
+

+ Create the debit note while receiving the product. +

+
+
+
+
+
+ +
+

+ We can see the Credit note in Return Picking. +

+
+
+
+
+
+ +
+

+ We can see the Debit note in Return Picking.

+
+
+
+
+ +
+
+
+ Automated Credit/Debit Note Generation from Return Picking +

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

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

+ Create a Sale Order + +

+
+
+

+ Create a Sale Order and Confirm the sale order. +

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

+ Validate the Delivery + +

+
+
+

+ Validate the delivery of products. +

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

+ Confirm the Invoice + +

+
+
+

+ Confirm the invoice after the delivery validation. +

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

+ Invoice in Posted state + +

+
+
+

+ Form view of Invoice. Invoice should be posted. +

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

+ Return the Product with Credit Note + +

+
+
+

+ By clicking the RETURN Button we will get a wizard. +

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

+ We can return the product and invoice by clicking the RETURN WITH CREDIT NOTE Button + +

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

+ Specify the Return Reason +

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

+ Redirect to the Reverse Invoice of the Return. +

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

+ We can see the Credit Note Smart Button. + + +

+
+
+

+ All the Return Invoices can be view inside it. +

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

+ Create a Purchase Order + +

+
+
+

+ Create a Purchase Order and Confirm the purchase order. +

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

+ Validate the Receipt + + +

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

+ Create Bill + + +

+
+
+

+ Validate the Receipt.

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

+ Return the Product and click the RETURN WITH DEBIT NOTE Button +

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

+ Specify the Reason + + +

+
+
+

+ Specify the Reason for returning. +

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

+ Redirect to the Reverse Invoice of the Return +

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

+ We can see the Debit Note Smart Button. + + +

+
+
+

+ All the Return Invoices can be view inside it. +

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

+ We can see the Debit note in Return Picking.

+
+ +
+
+
+
+
+
+ +
+

+ We can see the Credit note in Return Picking.

+
+
+
+
+
+
+
+ +
+

+ Create the credit note while returning the product.

+
+ +
+
+
+
+
+
+ +
+

+ Create the debit note while receiving the product.

+
+ +
+
+
+
+
+ +
+
+

+ Latest Release 18.0.1.0.0 +

+ + 28th October, 2024 + +
+
+
+
+
+ Add +
+
+
+
    +
  • + Initial Commit +
  • + +
+
+
+
+
+
+
+
+
+
+ + + +
+

+ Related Products +

+ +
+ + +
+

+ Our Services

+ +
+ +
+
+ .... +
+
+ +
+ + +
+
+ + + + + + diff --git a/return_invoice_bill/views/stock_picking_views.xml b/return_invoice_bill/views/stock_picking_views.xml new file mode 100644 index 000000000..7075f7bac --- /dev/null +++ b/return_invoice_bill/views/stock_picking_views.xml @@ -0,0 +1,25 @@ + + + + + stock.picking.view.form.inherit.return.invoice.bill + stock.picking + + + + + + + + + + + diff --git a/return_invoice_bill/views/stock_return_picking_views.xml b/return_invoice_bill/views/stock_return_picking_views.xml new file mode 100644 index 000000000..7222ba375 --- /dev/null +++ b/return_invoice_bill/views/stock_return_picking_views.xml @@ -0,0 +1,21 @@ + + + + + stock.return.picking.view.form.inherit.return.invoice.bill + stock.return.picking + + + + +