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

[13.0][MIG] product_gtin: Migration to 13.0 #351

Merged
merged 37 commits into from
Oct 18, 2021

Conversation

victoralmau
Copy link
Member

Migration to 13.0

Please @joao-p-marques and @pedrobaeza can you review it?

@Tecnativa TT30724

mga-odoo and others added 30 commits July 6, 2021 11:52
          make account_indian up to date with the trunk-extra-addons
(/home/gbaconnier/code/openerp/extra-addons/lp6.1-main rev 3288.4.56)
      [IMP] modify some existing files and solve some errors on modules
(/home/gbaconnier/code/openerp/extra-addons/lp6.1-main rev 4060.1.5)
(/home/gbaconnier/code/openerp/extra-addons/lp6.1-main rev 4196.1.3)
…anslation team (Anders Erikkson <ae@mobilasystem.se>)

(/home/gbaconnier/code/openerp/extra-addons/lp6.1-main rev 5092.1.49)
(/home/gbaconnier/code/openerp/extra-addons/lp6.1-main rev 5145)
(/home/gbaconnier/code/openerp/extra-addons/lp6.1-main rev 5383.1.5)
Fix logical bug in constraint function (only the last ID was really checked !)
Re-generate POT file.
Update link from wikipedia DE to wikipedia EN.
Rename badly-named variable: ean13_len -> ean_len
Small code simplification
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
It seems checks does not fully test the code. At this point, we need
to figures out what wrong with the code, the checks or the tests.
product_gtin/models/abstract_barcodenumber.py Outdated Show resolved Hide resolved
product_gtin/models/abstract_barcodenumber.py Outdated Show resolved Hide resolved
product_gtin/models/product_product.py Outdated Show resolved Hide resolved
product_gtin/models/product_product.py Outdated Show resolved Hide resolved
product_gtin/views/product_view.xml Outdated Show resolved Hide resolved
@victoralmau victoralmau force-pushed the 13.0-mig-product_gtin branch 2 times, most recently from 029bcdd to cde93c9 Compare July 6, 2021 14:57
@victoralmau
Copy link
Member Author

Thanks @pedrobaeza changes done.
Any idea to prevent incompatibility with other addons like stock_barcodes_gs1?. Maybe we need to add custom context skip_barcode_gtin_check=True in stock_barcodes_gs1 tests.

@pedrobaeza
Copy link
Member

I think no error should be arisen if the length is different from the GTIN expected ones.

Copy link
Member

@joao-p-marques joao-p-marques left a comment

Choose a reason for hiding this comment

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

Code review. Looks good, apart from this small comments 👍

product_gtin/models/product_product.py Outdated Show resolved Hide resolved
product_gtin/tests/test_product_gtin_functions.py Outdated Show resolved Hide resolved
product_gtin/tests/test_product_gtin_functions.py Outdated Show resolved Hide resolved
Copy link
Member

@joao-p-marques joao-p-marques left a comment

Choose a reason for hiding this comment

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

Code and functional review 👍

@pedrobaeza
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 13.0-ocabot-merge-pr-351-by-pedrobaeza-bump-nobump, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Oct 14, 2021
Signed-off-by pedrobaeza
@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). 🤖

@victoralmau
Copy link
Member Author

It seems that the bot has locked, can you launch it again?

@pedrobaeza
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 13.0-ocabot-merge-pr-351-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 7c4ba25 into OCA:13.0 Oct 18, 2021
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at cd98738. 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.