diff --git a/account_invoice_report_grouped_by_picking/README.rst b/account_invoice_report_grouped_by_picking/README.rst index f3052d028..7a0356cf9 100644 --- a/account_invoice_report_grouped_by_picking/README.rst +++ b/account_invoice_report_grouped_by_picking/README.rst @@ -7,7 +7,7 @@ Account Invoice Grouped by Picking !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:de4c4463a2aa0e1670dca3c708e6ca71ab665dded60239f6e7a61b20792fc61a + !! source digest: sha256:fa621af850264f0ff2d2219fca81d3676f300dde7b1bc668e0d215a217d86107 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png @@ -86,6 +86,10 @@ Contributors * Ioan Galan +* `Sygel `__: + + * Manuel Regidor + Maintainers ~~~~~~~~~~~ diff --git a/account_invoice_report_grouped_by_picking/models/account_move.py b/account_invoice_report_grouped_by_picking/models/account_move.py index 8ed5eec20..4f892a298 100644 --- a/account_invoice_report_grouped_by_picking/models/account_move.py +++ b/account_invoice_report_grouped_by_picking/models/account_move.py @@ -108,6 +108,10 @@ def lines_grouped_by_picking(self): ) picking_dict.setdefault(key, 0) qty = so_line.product_uom_qty + if remaining_qty < so_line.product_uom_qty: + qty = so_line.product_uom_qty - ( + so_line.product_uom_qty - remaining_qty + ) picking_dict[key] += qty remaining_qty -= qty elif not line.move_line_ids and not line.sale_line_ids: diff --git a/account_invoice_report_grouped_by_picking/readme/CONTRIBUTORS.rst b/account_invoice_report_grouped_by_picking/readme/CONTRIBUTORS.rst index 0831340f5..b02ad6f7f 100644 --- a/account_invoice_report_grouped_by_picking/readme/CONTRIBUTORS.rst +++ b/account_invoice_report_grouped_by_picking/readme/CONTRIBUTORS.rst @@ -10,3 +10,7 @@ * `Studio73 `__: * Ioan Galan + +* `Sygel `__: + + * Manuel Regidor diff --git a/account_invoice_report_grouped_by_picking/static/description/index.html b/account_invoice_report_grouped_by_picking/static/description/index.html index 5b7ee9a4a..c69696b04 100644 --- a/account_invoice_report_grouped_by_picking/static/description/index.html +++ b/account_invoice_report_grouped_by_picking/static/description/index.html @@ -367,7 +367,7 @@

Account Invoice Grouped by Picking

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:de4c4463a2aa0e1670dca3c708e6ca71ab665dded60239f6e7a61b20792fc61a +!! source digest: sha256:fa621af850264f0ff2d2219fca81d3676f300dde7b1bc668e0d215a217d86107 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: AGPL-3 OCA/account-invoice-reporting Translate me on Weblate Try me on Runboat

This module allows print invoices with picking info. This module groups @@ -433,6 +433,10 @@

Contributors

  • Ioan Galan <ioan@studio73.es>
  • +
  • Sygel: +