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] barcodes_generator_abstract: Migration to 17.0 #593

Closed
wants to merge 66 commits into from

Conversation

jvandri
Copy link

@jvandri jvandri commented Mar 20, 2024

No description provided.

legalsylvain and others added 30 commits March 20, 2024 10:16
* Rename manifest
* Change openerp references to odoo
* Bump version
* Alphabetize imports
* pyBarcode is no longer maintained, switch to viivakoodi fork (https://bitbucket.org/whitie/python-barcode/issues/16/pypi-08-release-request#comment-33978213)
)

Add an option to allow for automatic generation of barcode when a record of mixin model is created
* [FIX] barcodes_generator_abstract: Caching issue
* Make cache method return ids & move the recordset method out of cache to fix OCA#93
Currently translated at 29.6% (8 of 27 strings)

Translation: stock-logistics-barcode-12.0/stock-logistics-barcode-12.0-barcodes_generator_abstract
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-barcode-12-0/stock-logistics-barcode-12-0-barcodes_generator_abstract/de/
Currently translated at 14.8% (4 of 27 strings)

Translation: stock-logistics-barcode-12.0/stock-logistics-barcode-12.0-barcodes_generator_abstract
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-barcode-12-0/stock-logistics-barcode-12-0-barcodes_generator_abstract/sl/
Currently translated at 46.4% (13 of 28 strings)

Translation: stock-logistics-barcode-12.0/stock-logistics-barcode-12.0-barcodes_generator_abstract
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-barcode-12-0/stock-logistics-barcode-12-0-barcodes_generator_abstract/it/
Improve form view of barcode rules
Improve README
Auto-add admin to the group
Currently translated at 100.0% (28 of 28 strings)

Translation: stock-logistics-barcode-14.0/stock-logistics-barcode-14.0-barcodes_generator_abstract
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-barcode-14-0/stock-logistics-barcode-14-0-barcodes_generator_abstract/it/
updated images path on configuration readme file
oca-ci and others added 17 commits March 20, 2024 10:16
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-barcode-16.0/stock-logistics-barcode-16.0-barcodes_generator_abstract
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-barcode-16-0/stock-logistics-barcode-16-0-barcodes_generator_abstract/
Currently translated at 100.0% (22 of 22 strings)

Translation: stock-logistics-barcode-16.0/stock-logistics-barcode-16.0-barcodes_generator_abstract
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-barcode-16-0/stock-logistics-barcode-16-0-barcodes_generator_abstract/es/
Currently translated at 77.2% (17 of 22 strings)

Translation: stock-logistics-barcode-16.0/stock-logistics-barcode-16.0-barcodes_generator_abstract
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-barcode-16-0/stock-logistics-barcode-16-0-barcodes_generator_abstract/it/
…coding types

if you use for example the gs1-128 coding, this coding cannot be saved in odoo directly.
>>> import barcode
>>> EAN = barcode.get_barcode_class('gs1_128')
>>> str(EAN('0000'))
'ñ0000'
We have to call the function get_fullcode which is a code that we can save in Odoo.
>>> import barcode
>>> EAN = barcode.get_barcode_class('gs1_128')
>>> str(EAN('0000').get_fullcode())
'0000'
Currently translated at 100.0% (22 of 22 strings)

Translation: stock-logistics-barcode-16.0/stock-logistics-barcode-16.0-barcodes_generator_abstract
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-barcode-16-0/stock-logistics-barcode-16-0-barcodes_generator_abstract/it/
Currently translated at 100.0% (22 of 22 strings)

Translation: stock-logistics-barcode-16.0/stock-logistics-barcode-16.0-barcodes_generator_abstract
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-barcode-16-0/stock-logistics-barcode-16-0-barcodes_generator_abstract/it/
Currently translated at 100.0% (22 of 22 strings)

Translation: stock-logistics-barcode-16.0/stock-logistics-barcode-16.0-barcodes_generator_abstract
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-barcode-16-0/stock-logistics-barcode-16-0-barcodes_generator_abstract/it/
@jvandri jvandri changed the title [17.0][MIG] barcodes_generator_bastract: Migration to 17.0 [17.0][MIG] barcodes_generator_abstract: Migration to 17.0 Mar 20, 2024
Copy link
Contributor

@legalsylvain legalsylvain left a comment

Choose a reason for hiding this comment

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

Diff review

@rousseldenis
Copy link
Sponsor Contributor

/ocabot migration barcodes_generator_abstract

@rousseldenis
Copy link
Sponsor Contributor

@jvandri Thanks for this. Could you add odoo-test-helper to test-requirements.txt ?

@desdelinux
Copy link

Test is red @jvandri

@pedrobaeza
Copy link
Member

Superseded by #615 as lack of answer here.

@pedrobaeza pedrobaeza closed this May 25, 2024
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.

None yet