Skip to content

[20.0][MIG] barcodes_generator_abstract: Migration to 20.0 - #778

Open
dcatarino wants to merge 85 commits into
OCA:20.0from
dcatarino:20.0-mig-barcodes_generator_abstract
Open

dcatarino wants to merge 85 commits into
OCA:20.0from
dcatarino:20.0-mig-barcodes_generator_abstract

Conversation

@dcatarino

Copy link
Copy Markdown

Standard migration, with the 19.0 history.

  • The fake test model now only uses the mixin. It inherited res.users, whose many2many fields depend on the installed modules (role_ids comes from mail), so loading it failed without mail.
  • Tests run as superuser (_test_user_groups = None), as before.
  • README: Sequences & Identifiers is now under Technical / User Interface.

legalsylvain and others added 30 commits October 26, 2026 11:00
* 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
pedrobaeza and others added 27 commits October 26, 2026 11:00
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/
…ependencies

Since using the PyPI package has been the recommended way since v12.0
(see odoo/odoo#25549), this commit sets
'python-barcode' as an external dependency and removes the
'odoo_addon' key from setup.py
- Migrate to 17.0
- Add the package 'odoo_test_helper' to test-requirements.txt
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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

Translation: stock-logistics-barcode-19.0/stock-logistics-barcode-19.0-barcodes_generator_abstract
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-barcode-19-0/stock-logistics-barcode-19-0-barcodes_generator_abstract/it/
Currently translated at 7.6% (2 of 26 strings)

Translation: stock-logistics-barcode-19.0/stock-logistics-barcode-19.0-barcodes_generator_abstract
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-barcode-19-0/stock-logistics-barcode-19-0-barcodes_generator_abstract/sl/
Currently translated at 100.0% (26 of 26 strings)

Translation: stock-logistics-barcode-19.0/stock-logistics-barcode-19.0-barcodes_generator_abstract
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-barcode-19-0/stock-logistics-barcode-19-0-barcodes_generator_abstract/sl/
- The fake test model only uses the mixin instead of inheriting
  `res.users`: its many2many fields depend on the installed modules
  (`role_ids` comes from `mail`), which broke the test registry.
- Tests run as superuser (`_test_user_groups = None`), as before.
- Sequences & Identifiers is now under Technical / User Interface.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:barcodes_generator_abstract Module barcodes_generator_abstract series:20.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.