Repository navigation
[ADD] om_connector_base, om_shopify: Shopify connector - #370
Merged
Merged
Conversation
Owner
Author
|
/mergebot r+ skipci |
Contributor
|
Merging now, CI skipped by @odoomates. Then version bump (patch). |
7 tasks done
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.
Backport of #369 to 19.0.
What and why
Shopify Connector: Shopify stores connected to Odoo 19 through the Shopify Admin GraphQL API, on top of a new common engine for shop and marketplace connectors.
om_connector_base (Connector Base): the engine, reusable by the next connectors.
om_connector_keyoption, else the database secret); HMAC webhook signatures; HTTP calls retried on rate limits and server errors.om_shopify (Shopify Connector):
Written from scratch against the public Shopify Admin API documentation: it contains no code of any other Shopify connector or third-party module.
Released as beta: the store pages of both modules say so and ask for feedback, suggestions and issues. Store pages, icons and animated banners are in the store style (Bootstrap classes, no
<style>block).How to test
om_shopifyon a fresh database (installsom_connector_base), and run--test-tags /om_connector_base,/om_shopify(the tests use recorded Shopify answers, no network).Versions
19.0 (this pull request) and 20.0 (#369). Changes from 20.0: access rights in
ir.model.access.csvwith multi-company record rules, binary fields read and written as base64, the digest KPI and the returns of Odoo 19, and a percentage price list rule instead of a discount rule in the tests.Checklist
20.0,19.0or18.0).[TAG] module: summary(50 characters at most).versionin__manifest__.py(new modules).