diff --git a/return_invoice_bill/README.rst b/return_invoice_bill/README.rst index 9c4d29a66..7d4ae978f 100644 --- a/return_invoice_bill/README.rst +++ b/return_invoice_bill/README.rst @@ -2,9 +2,9 @@ :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 -Return Invoices And Bills -========================= -This module allow to return the invoice or bill while picking the product in Odoo15. +Automated Credit/Debit Note Generation from Return Picking +========================================================== +This module allow to return the invoice or bill while picking the product in Odoo16. Company ------- diff --git a/return_invoice_bill/__manifest__.py b/return_invoice_bill/__manifest__.py index b3d3f1fcb..a0d5c880f 100644 --- a/return_invoice_bill/__manifest__.py +++ b/return_invoice_bill/__manifest__.py @@ -20,8 +20,8 @@ # ############################################################################## { - "name": "Returning Invoices And Bills", - "version": "16.0.1.0.0", + "name": "Automated Credit/Debit Note Generation from Return Picking", + "version": "16.0.1.1.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" diff --git a/return_invoice_bill/doc/RELEASE_NOTES.md b/return_invoice_bill/doc/RELEASE_NOTES.md index dc9f0b6b9..9259df502 100644 --- a/return_invoice_bill/doc/RELEASE_NOTES.md +++ b/return_invoice_bill/doc/RELEASE_NOTES.md @@ -3,4 +3,11 @@ #### 27.02.2024 #### Version 16.0.1.0.0 #### ADD -- Initial commit for Return Invoices And Bills +- Initial commit for Automated Credit/Debit Note Generation from Return Picking + +#### 05.08.2024 +#### Version 16.0.1.1.0 +#### UPDT + +- Updated the return invoice line based on the return quantity. +- Fixed the issues while changing the language. \ No newline at end of file diff --git a/return_invoice_bill/models/stock_return_picking.py b/return_invoice_bill/models/stock_return_picking.py index 97fe864de..f922a10ee 100644 --- a/return_invoice_bill/models/stock_return_picking.py +++ b/return_invoice_bill/models/stock_return_picking.py @@ -38,7 +38,11 @@ class StockReturnPicking(models.TransientModel): active_id = self.env.context['active_id'] if active_model == 'stock.picking' and active_id: stock_picking = self.env[active_model].browse(active_id) - result['picking_type_name'] = stock_picking.picking_type_id.name + 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): diff --git a/return_invoice_bill/static/description/banner.png b/return_invoice_bill/static/description/banner.png index 8e542af34..0df3d7507 100644 Binary files a/return_invoice_bill/static/description/banner.png and b/return_invoice_bill/static/description/banner.png differ diff --git a/return_invoice_bill/static/description/index.html b/return_invoice_bill/static/description/index.html index d0712d3e4..cc2124250 100644 --- a/return_invoice_bill/static/description/index.html +++ b/return_invoice_bill/static/description/index.html @@ -28,7 +28,7 @@
Allows Us To Return The Credit Note And Debit Note From The Corresponding Return Form .
diff --git a/return_invoice_bill/views/stock_return_picking_views.xml b/return_invoice_bill/views/stock_return_picking_views.xml index 6eb045463..29688c1a2 100644 --- a/return_invoice_bill/views/stock_return_picking_views.xml +++ b/return_invoice_bill/views/stock_return_picking_views.xml @@ -12,11 +12,11 @@