[18.0][MIG] connector_magento: Migration to 18.0#340
Open
AnmollGarg wants to merge 73 commits into
Open
Conversation
* Use vcr.py to record the exchanges instead of a self-made recorder * Use new base Components test case classes * Separate export tests in 2 phases: trigger of the export which check that the jobs are delayed, and test the job itself in a second test
I removed it earlier, but it is required when we import products
… on the wrong one
* Rename it because it was shadowing another test * Compute in the location's context
The wizard is available on the backend.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: connector-magento-12.0/connector-magento-12.0-connector_magento Translate-URL: https://translation.odoo-community.org/projects/connector-magento-12-0/connector-magento-12-0-connector_magento/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: connector-magento-12.0/connector-magento-12.0-connector_magento Translate-URL: https://translation.odoo-community.org/projects/connector-magento-12-0/connector-magento-12-0-connector_magento/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: connector-magento-12.0/connector-magento-12.0-connector_magento Translate-URL: https://translation.odoo-community.org/projects/connector-magento-12-0/connector-magento-12-0-connector_magento/
```
ERROR: test_import_images_403 (odoo.addons.connector_magento.tests.test_import_product_image.TestImportProductImage)
` Import a product when an image respond a 403 error, should fail
Traceback (most recent call last):
` File "/home/odoo/connector-magento/connector_magento/tests/test_import_product_image.py", line 91, in setUp
` self._build_components(StubProductAdapter,
` File "/home/odoo/connector/component/tests/common.py", line 204, in _build_components
` cls._build_component(self.comp_registry)
` File "/home/odoo/connector/component/core.py", line 828, in _build_component
` raise TypeError('Component %r (in class %r) already exists. '
` TypeError: Component 'stub.product.adapter' (in class <class 'odoo.addons.connector_magento.tests.test_import_product_image.TestImportProductImage.setUp.<locals>.StubProductAdapter'>) already exists. Consider using _inherit instead of _name or using a different _name.
```
Currently translated at 21.1% (173 of 818 strings) Translation: connector-magento-12.0/connector-magento-12.0-connector_magento Translate-URL: https://translation.odoo-community.org/projects/connector-magento-12-0/connector-magento-12-0-connector_magento/it/
Currently translated at 21.1% (173 of 818 strings) Translation: connector-magento-12.0/connector-magento-12.0-connector_magento Translate-URL: https://translation.odoo-community.org/projects/connector-magento-12-0/connector-magento-12-0-connector_magento/it/
Currently translated at 21.1% (173 of 818 strings) Translation: connector-magento-12.0/connector-magento-12.0-connector_magento Translate-URL: https://translation.odoo-community.org/projects/connector-magento-12-0/connector-magento-12-0-connector_magento/it/
Currently translated at 21.1% (173 of 818 strings) Translation: connector-magento-12.0/connector-magento-12.0-connector_magento Translate-URL: https://translation.odoo-community.org/projects/connector-magento-12-0/connector-magento-12-0-connector_magento/it/
Currently translated at 21.1% (173 of 818 strings) Translation: connector-magento-12.0/connector-magento-12.0-connector_magento Translate-URL: https://translation.odoo-community.org/projects/connector-magento-12-0/connector-magento-12-0-connector_magento/it/
Currently translated at 21.1% (173 of 818 strings) Translation: connector-magento-12.0/connector-magento-12.0-connector_magento Translate-URL: https://translation.odoo-community.org/projects/connector-magento-12-0/connector-magento-12-0-connector_magento/it/
Currently translated at 21.1% (173 of 818 strings) Translation: connector-magento-12.0/connector-magento-12.0-connector_magento Translate-URL: https://translation.odoo-community.org/projects/connector-magento-12-0/connector-magento-12-0-connector_magento/it/
Currently translated at 21.1% (173 of 818 strings) Translation: connector-magento-12.0/connector-magento-12.0-connector_magento Translate-URL: https://translation.odoo-community.org/projects/connector-magento-12-0/connector-magento-12-0-connector_magento/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: connector-magento-12.0/connector-magento-12.0-connector_magento Translate-URL: https://translation.odoo-community.org/projects/connector-magento-12-0/connector-magento-12-0-connector_magento/
Currently translated at 21.1% (173 of 818 strings) Translation: connector-magento-12.0/connector-magento-12.0-connector_magento Translate-URL: https://translation.odoo-community.org/projects/connector-magento-12-0/connector-magento-12-0-connector_magento/it/
Currently translated at 21.1% (173 of 818 strings) Translation: connector-magento-12.0/connector-magento-12.0-connector_magento Translate-URL: https://translation.odoo-community.org/projects/connector-magento-12-0/connector-magento-12-0-connector_magento/it/
Currently translated at 21.2% (174 of 818 strings) Translation: connector-magento-12.0/connector-magento-12.0-connector_magento Translate-URL: https://translation.odoo-community.org/projects/connector-magento-12-0/connector-magento-12-0-connector_magento/it/
Currently translated at 21.5% (176 of 818 strings) Translation: connector-magento-12.0/connector-magento-12.0-connector_magento Translate-URL: https://translation.odoo-community.org/projects/connector-magento-12-0/connector-magento-12-0-connector_magento/it/
Currently translated at 21.5% (176 of 818 strings) Translation: connector-magento-12.0/connector-magento-12.0-connector_magento Translate-URL: https://translation.odoo-community.org/projects/connector-magento-12-0/connector-magento-12-0-connector_magento/it/
Currently translated at 22.0% (180 of 818 strings) Translation: connector-magento-12.0/connector-magento-12.0-connector_magento Translate-URL: https://translation.odoo-community.org/projects/connector-magento-12-0/connector-magento-12-0-connector_magento/it/
Currently translated at 22.0% (180 of 818 strings) Translation: connector-magento-12.0/connector-magento-12.0-connector_magento Translate-URL: https://translation.odoo-community.org/projects/connector-magento-12-0/connector-magento-12-0-connector_magento/it/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
connector_magento: Migrated to Odoo 18.0 from 12.0
Depends on OCA/connector-ecommerce#85