shopinvader / odoo-shopinvader

Odoo Modules. Sorry Magento, Shopinvader is coming
GNU Affero General Public License v3.0
121 stars 104 forks source link

[16.0] shopinvader_search_engine: Migration from 14.0 + Refactoring #1386

Open lmignon opened 1 year ago

lmignon commented 1 year ago

Now use the new addons from connector_search_engine

The pydantic models should define the attributes exported today through the ir.export xml records.

lmignon commented 1 year ago

shopinvader_sale_channel_search_engine depends on

Missing on current PR's

New addons:

Open question:

hparfr commented 1 year ago

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.

qgroulard commented 1 year ago

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.

github-actions[bot] commented 1 week ago

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.