-
Notifications
You must be signed in to change notification settings - Fork 137
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
Record mappings #393
Comments
Hi @themreza, |
@yelizariev Yes, but that's not so intuitive. I've come up with an extension on the existing mapping-demo.mp4What do you think?
That's why I'm using Or the alternative is to define the field name mappings in the code section and continue using |
For external model you can use different |
Sure. Although, now that I've thought about it, it makes more sense to not restrict links on a per-project basis. @yelizariev Am I correct in assuming that demo integrations like Sync Shopify only support a single Shopify instance out of the box? Also, it seems a bit redundant that all Odoo links refer to system 1 as |
This is the modified prototype that is compatible with the current extref.mp4OC_CATEGORY_REL = 'opencart_butopea_category'
def handle_button():
odoo_website_category = env['product.public.category'].browse(1)
opencart_category = odoo_website_category.search_links(OC_CATEGORY_REL)
|
@themreza it makes sense to add
I'd avoid creating a new model. Maybe we could use system1 field as external model value? Anyway, that kind of changes is hard to apply since it may break existing solutions |
First of all, thank you for creating such a useful module.
I have experience with creating various bi-directional integrations such as product import and export. Sometimes it is necessary to manually create mappings between two records. For example, the product category on Odoo versus on another ecommerce system (given that the names don't match).
What would be the best place for such mappings in Sync Studio?
Links can be used to store the relationship, but the interface for manually creating links is not intuitive.
Does it make sense if I create a Record Mapping tab in the project that looks like this? I'll try to make it create link records under the hood. The interface will have an automatic dropdown for choosing models and records (rather than finding the ID and typing it in).
The reason why I'm asking is to keep it as abstract as possible.
The text was updated successfully, but these errors were encountered: