Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIG] account_invoice_production_lot: Migration to 17.0 #319

Open
wants to merge 34 commits into
base: 17.0
Choose a base branch
from

Conversation

ioans73
Copy link
Member

@ioans73 ioans73 commented May 9, 2024

- Before (with account_invoice_report_grouped_by_picking installed):

image

- After (with account_invoice_report_grouped_by_picking installed):

image

@ioans73 ioans73 changed the title 17.0 mig account invoice production lot [MIG] account_invoice_production_lot: Migration to 17.0 May 9, 2024
@ioans73 ioans73 mentioned this pull request May 9, 2024
8 tasks
@ioans73 ioans73 force-pushed the 17.0-mig_account_invoice_production_lot branch from acef27d to 7bbba0c Compare May 9, 2024 15:01
@ioans73 ioans73 marked this pull request as ready for review May 9, 2024 15:03
@ioans73 ioans73 force-pushed the 17.0-mig_account_invoice_production_lot branch 3 times, most recently from ad4e765 to 33392f3 Compare May 9, 2024 15:58
eLBati and others added 22 commits July 24, 2024 12:19
* create decorator
* porting model to API 8.0
* tests
* report inovoice, adding SN on invoice report
* html formatting in formatted_note
* handled all type of invoicing policy
* description in README
* QWeb report
OCA Transbot updated translations from Transifex
On using the module, it results that an invoice with 2 lines, each
of them having a serial number, prints on the report both numbers
on each line. This technique has been the proper for avoiding the
problem.

OCA Transbot updated translations from Transifex
* Add unit tests to cover the following use case scenario.

  Steps to reproduce:

  * create a new product 'Product Test': stockable, Invoicing Policy as Delivered quantities, and tracking by lots
  * update its quantity to 3 with new lot 'Lot1'
  * update its quantity to 3 with new lot 'Lot2'
  * sale 4 of 'Product Test', confirm the SO
  * on the delivery, split the lots and set To Do quantities as 3 for Lot1 and leave 0 for Lot2
  * validate the delivery and create a backorder

  Current behavior:

  the field 'Production Lots' of the invoice generated is filled with both lots and, consequently,
  the invoice report will also contain info related to the lot not delivered yet.

  Expected behavior:

  the invoice report only contains info related to the lot involved in the delivery, which is Lot1.

* Improve README contents and regenerate it by using oca-gen-addon-readme
* Standard procedure
* Adapt code to new stock data model
* Adapt tests
* Fix README layout
* Remove coding lines in .py
Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-invoice-reporting-12.0/account-invoice-reporting-12.0-account_invoice_production_lot
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-12-0/account-invoice-reporting-12-0-account_invoice_production_lot/

[UPD] Update account_invoice_production_lot.pot
Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-invoice-reporting-13.0/account-invoice-reporting-13.0-account_invoice_production_lot
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-13-0/account-invoice-reporting-13-0-account_invoice_production_lot/

[UPD] Update account_invoice_production_lot.pot
Currently translated at 87.5% (7 of 8 strings)

Translation: account-invoice-reporting-13.0/account-invoice-reporting-13.0-account_invoice_production_lot
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-13-0/account-invoice-reporting-13-0-account_invoice_production_lot/es/
Currently translated at 100.0% (8 of 8 strings)

Translation: account-invoice-reporting-13.0/account-invoice-reporting-13.0-account_invoice_production_lot
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-13-0/account-invoice-reporting-13-0-account_invoice_production_lot/es/
[UPD] Update account_invoice_production_lot.pot

[UPD] README.rst
If a product doesn't track lots, there are stock.move.line, but without
lot, and the report crashed before this commit due to getting a False as
lot name.

TT34868
Currently translated at 100.0% (8 of 8 strings)

Translation: account-invoice-reporting-14.0/account-invoice-reporting-14.0-account_invoice_production_lot
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-14-0/account-invoice-reporting-14-0-account_invoice_production_lot/de/
weblate and others added 12 commits July 24, 2024 12:19
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-invoice-reporting-15.0/account-invoice-reporting-15.0-account_invoice_production_lot
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-15-0/account-invoice-reporting-15-0-account_invoice_production_lot/
Currently translated at 100.0% (7 of 7 strings)

Translation: account-invoice-reporting-15.0/account-invoice-reporting-15.0-account_invoice_production_lot
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-15-0/account-invoice-reporting-15-0-account_invoice_production_lot/ca/
Currently translated at 100.0% (7 of 7 strings)

Translation: account-invoice-reporting-15.0/account-invoice-reporting-15.0-account_invoice_production_lot
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-15-0/account-invoice-reporting-15-0-account_invoice_production_lot/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-invoice-reporting-16.0/account-invoice-reporting-16.0-account_invoice_production_lot
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-16-0/account-invoice-reporting-16-0-account_invoice_production_lot/
Currently translated at 83.3% (5 of 6 strings)

Translation: account-invoice-reporting-16.0/account-invoice-reporting-16.0-account_invoice_production_lot
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-16-0/account-invoice-reporting-16-0-account_invoice_production_lot/hr/
Currently translated at 100.0% (6 of 6 strings)

Translation: account-invoice-reporting-16.0/account-invoice-reporting-16.0-account_invoice_production_lot
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-16-0/account-invoice-reporting-16-0-account_invoice_production_lot/es/
Currently translated at 100.0% (6 of 6 strings)

Translation: account-invoice-reporting-16.0/account-invoice-reporting-16.0-account_invoice_production_lot
Translate-URL: https://translation.odoo-community.org/projects/account-invoice-reporting-16-0/account-invoice-reporting-16-0-account_invoice_production_lot/it/
@ioans73 ioans73 force-pushed the 17.0-mig_account_invoice_production_lot branch from 33392f3 to 60ef254 Compare July 24, 2024 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.