Skip to content

Commit

Permalink
[MIG] account_invoice_report_grouped_by_picking_sale_mrp: Migration t…
Browse files Browse the repository at this point in the history
…o 14.0
  • Loading branch information
extrememicro authored and pedrobaeza committed Aug 10, 2023
1 parent afc02cd commit c113853
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 16 deletions.
10 changes: 5 additions & 5 deletions account_invoice_report_grouped_by_picking_sale_mrp/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Account Invoice Grouped by Picking - Sale MRP
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--invoice--reporting-lightgray.png?logo=github
:target: https://github.com/OCA/account-invoice-reporting/tree/13.0/account_invoice_report_grouped_by_picking_sale_mrp
:target: https://github.com/OCA/account-invoice-reporting/tree/14.0/account_invoice_report_grouped_by_picking_sale_mrp
:alt: OCA/account-invoice-reporting
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-invoice-reporting-13-0/account-invoice-reporting-13-0-account_invoice_report_grouped_by_picking_sale_mrp
:target: https://translation.odoo-community.org/projects/account-invoice-reporting-14-0/account-invoice-reporting-14-0-account_invoice_report_grouped_by_picking_sale_mrp
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/94/13.0
:target: https://runbot.odoo-community.org/runbot/94/14.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|
Expand Down Expand Up @@ -58,7 +58,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-invoice-reporting/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/account-invoice-reporting/issues/new?body=module:%20account_invoice_report_grouped_by_picking_sale_mrp%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/account-invoice-reporting/issues/new?body=module:%20account_invoice_report_grouped_by_picking_sale_mrp%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Expand Down Expand Up @@ -91,6 +91,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/account-invoice-reporting <https://github.com/OCA/account-invoice-reporting/tree/13.0/account_invoice_report_grouped_by_picking_sale_mrp>`_ project on GitHub.
This module is part of the `OCA/account-invoice-reporting <https://github.com/OCA/account-invoice-reporting/tree/14.0/account_invoice_report_grouped_by_picking_sale_mrp>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "Account Invoice Grouped by Picking - Sale MRP",
"summary": "Take into account BoM kits in invoice report " "grouped by picking",
"version": "13.0.1.0.0",
"version": "14.0.1.0.0",
"category": "Accounting & Finance",
"website": "https://github.com/OCA/account-invoice-reporting",
"author": "Tecnativa, Odoo Community Association (OCA)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
Expand All @@ -13,7 +13,22 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: account_invoice_report_grouped_by_picking_sale_mrp
#: model:ir.model.fields,field_description:account_invoice_report_grouped_by_picking_sale_mrp.field_account_move__display_name
msgid "Display Name"
msgstr ""

#. module: account_invoice_report_grouped_by_picking_sale_mrp
#: model:ir.model.fields,field_description:account_invoice_report_grouped_by_picking_sale_mrp.field_account_move__id
msgid "ID"
msgstr ""

#. module: account_invoice_report_grouped_by_picking_sale_mrp
#: model:ir.model,name:account_invoice_report_grouped_by_picking_sale_mrp.model_account_move
msgid "Journal Entries"
msgid "Journal Entry"
msgstr ""

#. module: account_invoice_report_grouped_by_picking_sale_mrp
#: model:ir.model.fields,field_description:account_invoice_report_grouped_by_picking_sale_mrp.field_account_move____last_update
msgid "Last Modified on"
msgstr ""
24 changes: 21 additions & 3 deletions account_invoice_report_grouped_by_picking_sale_mrp/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,24 @@ msgstr ""
"X-Generator: Poedit 2.0.6\n"

#. module: account_invoice_report_grouped_by_picking_sale_mrp
#: model:ir.model,name:account_invoice_report_grouped_by_picking_sale_mrp.model_account_invoice
msgid "Invoice"
msgstr "Factura"
#: model:ir.model.fields,field_description:account_invoice_report_grouped_by_picking_sale_mrp.field_account_move__display_name
msgid "Display Name"
msgstr ""

#. module: account_invoice_report_grouped_by_picking_sale_mrp
#: model:ir.model.fields,field_description:account_invoice_report_grouped_by_picking_sale_mrp.field_account_move__id
msgid "ID"
msgstr ""

#. module: account_invoice_report_grouped_by_picking_sale_mrp
#: model:ir.model,name:account_invoice_report_grouped_by_picking_sale_mrp.model_account_move
msgid "Journal Entry"
msgstr ""

#. module: account_invoice_report_grouped_by_picking_sale_mrp
#: model:ir.model.fields,field_description:account_invoice_report_grouped_by_picking_sale_mrp.field_account_move____last_update
msgid "Last Modified on"
msgstr ""

#~ msgid "Invoice"
#~ msgstr "Factura"
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ <h1 class="title">Account Invoice Grouped by Picking - Sale MRP</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/account-invoice-reporting/tree/13.0/account_invoice_report_grouped_by_picking_sale_mrp"><img alt="OCA/account-invoice-reporting" src="https://img.shields.io/badge/github-OCA%2Faccount--invoice--reporting-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/account-invoice-reporting-13-0/account-invoice-reporting-13-0-account_invoice_report_grouped_by_picking_sale_mrp"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/94/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/account-invoice-reporting/tree/14.0/account_invoice_report_grouped_by_picking_sale_mrp"><img alt="OCA/account-invoice-reporting" src="https://img.shields.io/badge/github-OCA%2Faccount--invoice--reporting-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/account-invoice-reporting-14-0/account-invoice-reporting-14-0-account_invoice_report_grouped_by_picking_sale_mrp"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/94/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This module extends the functionality of ‘Account Invoice Grouped by Picking’
module to allow you to to print correctly invoices with picking info
when there are mrp kits in them.</p>
Expand Down Expand Up @@ -408,7 +408,7 @@ <h1><a class="toc-backref" href="#id2">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-invoice-reporting/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/account-invoice-reporting/issues/new?body=module:%20account_invoice_report_grouped_by_picking_sale_mrp%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/account-invoice-reporting/issues/new?body=module:%20account_invoice_report_grouped_by_picking_sale_mrp%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
Expand Down Expand Up @@ -436,7 +436,7 @@ <h2><a class="toc-backref" href="#id6">Maintainers</a></h2>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-invoice-reporting/tree/13.0/account_invoice_report_grouped_by_picking_sale_mrp">OCA/account-invoice-reporting</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-invoice-reporting/tree/14.0/account_invoice_report_grouped_by_picking_sale_mrp">OCA/account-invoice-reporting</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def test_account_invoice_group_picking(self):
# deliver the sold kit_2 components
picking_1.action_confirm()
picking_1.mapped("move_lines").write({"quantity_done": 2})
picking_1.action_done()
picking_1._action_done()
# Change the existing order line qty from 2 to 3 and deliver
# the new kit_2
with Form(self.sale_order) as sale_form:
Expand All @@ -86,7 +86,7 @@ def test_account_invoice_group_picking(self):
)
picking_2.action_confirm()
picking_2.mapped("move_lines").write({"quantity_done": 1})
picking_2.action_done()
picking_2._action_done()
# Test directly grouping method
move = self.sale_order._create_invoices()
groups = move.lines_grouped_by_picking()
Expand Down

0 comments on commit c113853

Please sign in to comment.