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

[17.0][MIG] product_supplierinfo_for_customer_sale: Migration to 17.0 #3149

Conversation

xmglord
Copy link
Contributor

@xmglord xmglord commented May 24, 2024

No description provided.

@xmglord xmglord force-pushed the 17.0-mig_product_supplierinfo_for_customer_sale-xmglord branch from f382994 to 142e823 Compare May 24, 2024 01:33
@xmglord
Copy link
Contributor Author

xmglord commented May 24, 2024

This is waiting for this to be merged.

cc: @luisg123v @desdelinux

@xmglord xmglord force-pushed the 17.0-mig_product_supplierinfo_for_customer_sale-xmglord branch from 142e823 to d87324e Compare June 4, 2024 00:30
AaronHForgeFlow and others added 27 commits June 5, 2024 21:35
[REF] product_supplierinfo_for_customer_sale: Changes in test.

[REF] product_supplierinfo_for_customer_sale: Complete README.rst
…rch, products found by default code and customer code

[REF] product_supplierinfo_for_customer_sale: Add test to find more than one product in name_search

[REF] product_supplierinfo_for_customer_sale: In test find one product from customer code and other one from product default code.

[REF] product_supplierinfo_for_customer_sale: Changes in name_search to work exactly with number of limit defined.

[REF] product_supplierinfo_for_customer_sale: Changes in name_search
 - New field name from type to supplierinfo_type
 - Remove copyright for __init__.py
 - Re-using variables from tests
 - Manifest bump version and using module url
 - Get commit history from
 https://github.com/OCA/product-attribute/tree/8.0/product_supplierinfo_for_customer_sale
    - Run 2to3 script
    - view fixing
… instead of manual assign.

 - Removing duplicated test for name_search
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
There's no price computation on the module, so there shouldn't be any test regarding
this topic, or it can fail in integration tests.
Currently translated at 11.1% (1 of 9 strings)

Translation: sale-workflow-11.0/sale-workflow-11.0-product_supplierinfo_for_customer_sale
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-11-0/sale-workflow-11-0-product_supplierinfo_for_customer_sale/de/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: sale-workflow-12.0/sale-workflow-12.0-product_supplierinfo_for_customer_sale
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-product_supplierinfo_for_customer_sale/
Currently translated at 100.0% (6 of 6 strings)

Translation: sale-workflow-12.0/sale-workflow-12.0-product_supplierinfo_for_customer_sale
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-product_supplierinfo_for_customer_sale/pt/
@xmglord xmglord force-pushed the 17.0-mig_product_supplierinfo_for_customer_sale-xmglord branch 5 times, most recently from ab111a6 to 37cd08b Compare June 5, 2024 22:38
@xmglord
Copy link
Contributor Author

xmglord commented Jun 5, 2024

@pedrobaeza this is ready for merge.

@pedrobaeza
Copy link
Member

/ocabot migration product_supplierinfo_for_customer_sale

Reviews are missing

@xmglord
Copy link
Contributor Author

xmglord commented Jun 6, 2024

/ocabot migration product_supplierinfo_for_customer_sale

Reviews are missing

MB you're right. @luisg123v please review.

@OCA-git-bot OCA-git-bot added this to the 17.0 milestone Jun 6, 2024
@OCA-git-bot OCA-git-bot mentioned this pull request Jun 6, 2024
83 tasks
@@ -17,25 +17,26 @@ Product Supplierinfo for Customer Sale
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/sale-workflow/tree/16.0/product_supplierinfo_for_customer_sale
:target: https://github.com/OCA/sale-workflow/tree/17.0/product_supplierinfo_for_customer_sale

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit title:

execution → autofixes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@@ -11,7 +11,7 @@ class TestProductNameSearch(TransactionCase):
"""

def setUp(self):
super(TestProductNameSearch, self).setUp()
super().setUp()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this part of the precommit changes? Did you perform this change manually?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nop I had to apply it by myself, it is indeed a lint but the autofix didn't change it.



class TestProductSupplierinfoForCustomerSale(TransactionCase):
def setUp(self):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

setUpClass

Same in the other test file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@xmglord xmglord force-pushed the 17.0-mig_product_supplierinfo_for_customer_sale-xmglord branch from 37cd08b to 80f8294 Compare June 7, 2024 01:35
@xmglord xmglord requested a review from luisg123v June 7, 2024 01:35
@xmglord xmglord force-pushed the 17.0-mig_product_supplierinfo_for_customer_sale-xmglord branch from 80f8294 to c759f20 Compare June 7, 2024 01:42
@xmglord xmglord force-pushed the 17.0-mig_product_supplierinfo_for_customer_sale-xmglord branch from c759f20 to a8f72de Compare June 7, 2024 01:55
Copy link

@luisg123v luisg123v left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Hi @moylop260 or @pedrobaeza,

Could you review/merge, please?

CC @desdelinux

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@luisg123v
Copy link

@moylop260 or @pedrobaeza,

Friendly reminder, this is approved and waiting for merge.

@moylop260
Copy link
Contributor

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 17.0-ocabot-merge-pr-3149-by-moylop260-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 48519fe into OCA:17.0 Jun 14, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 88d878a. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.