Open lmignon opened 1 year ago
shopinvader_sale_channel_search_engine depends on
Missing on current PR's
New addons:
Open question:
Hello,
My understanding is the following :
Product: -1) a product is "available" or not is decided on the sale_channel ( directly or through a catalog (≃ assortment)) -1) a product is published if it's available on the sale_channel -1) a product can be added (or not) to a cart by the customer is the same as 1) and can be extended by other modules / business rules (like qty in stock...) -1) a product can be added by the backend (directly in so): always possible
Product template / product product
Informationnal fields:
External representation for search engine (like elastic):
External representation for API call response (add_to_cart, checkout...) :
Behavior:
Open question: Auto bind category if not binded on products + sale_channel_product_catalog
In sale_channel_product_catalog , a parent (root_category_id) is set on a sale_channel, then its children are binded. The common use case will be to dedicate a tree of categories for e-commerce.
Hi, I just pushed to https://github.com/shopinvader/odoo-shopinvader/pull/1390. I think we have now a first version ready for a first round of review @lmignon @sebastienbeau.
@hparfr This PR solves some of the points you mentioned. And you can also find a PR for the url here https://github.com/shopinvader/odoo-shopinvader/pull/1399.
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.
Now use the new addons from connector_search_engine
shopinvader_schema_product
: Addon defining a Extendable pydantic model uses to serialize a products into json. These infomrations are to be put into a search engine indexshopinvader_schema_category
: Addon defining a Extendable pydantic model uses to serialize a products into json. These infomrations are to be put into a search engine indexThe pydantic models should define the attributes exported today through the ir.export xml records.
shopinvader_search_engine
. create specialized serializers for pydantic models defined for product and category . Register these serializers into the list of available serializer on the index definition. Add xml recors to created the backend and indexes...