shopinvader / odoo-shopinvader

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

[16.0][MIG] shopinvader_api_delivery_carrier: FastAPI services #1479

Closed marielejeune closed 6 months ago

marielejeune commented 1 year ago

Migration of shopinvader_delivery_carrier to FastAPI services.

  1. shopinvader_delivery_carrier contains the Shopinvader logic related to delivery.
  2. shopinvader_api_delivery_carrier contains all FastAPI schemas and services:
    • A new delivery_carrier router, with a route to search on delivery.carrier, filtering by country and/or zipcode.
    • A new delivery router, with a route to search on all pickings related to the user.
    • A new set_carrier route under the cart router, to set the carrier on the cart.
    • An override of sync route under the cart router that removes the carrier on the cart everytime a new transaction is synchronized.

Features & changes This is a migration to version 16 of shopinvader_delivery_carrier but combined with a rewriting to FastAPI, which means that some features are not integrated (yet?). Here is a summary of the differences:

shopinvader-git-bot commented 6 months ago

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

lmignon commented 6 months ago

Modules moved to odoo-shopinvader-carrier https://github.com/shopinvader/odoo-shopinvader-carrier/pull/8