How exocoms-teams/e-commerce works
This repository combines three Odoo product areas: a sneaker storefront, a product-trend intelligence service, and Revolut payment and business-account integrations. The trend workflow collects marketplace or ad data, exposes dashboard/product views, and maintains scored trend records; the excerpts show parts of this flow but not every ingestion-to-record dispatch. Storefront capabilities are represented by their routes, models and browser modules, but their internal wiring was not sampled. Revolut webhook and authorization calls are directly visible; unsampled reconciliation behavior is shown without guessed links.
Main entry points: controllers/main.py Payment return and webhook · controllers/main.py Authorization callback · trend_product.py Trend products · dashboard_api.py Dashboard API
Components 34
Sneaker storefront
- Storefront routes
sneakers/controllers/main.py - Browse and search
sneakers/static/src/js/shop.js - Product view
sneakers/static/src/js/product.js - Cart and checkout
sneakers/static/src/js/checkout.js - Cart interactions
sneakers/static/src/js/cart.js - Wishlist
sneakers/static/src/js/wishlist.js - Order confirmation
sneakers/static/src/js/confirmation.js - Shipping methods
sneakers/models/delivery_carrier.py - Newsletter signup
sneakers/models/newsletter.py - Brand and product models
sneakers/models/product_template.py
Trend intelligence
- eBay collection
produits_tendance/collecte_scrapers/ebay_ingestor.py - Meta ad collection
produits_tendance/collecte_scrapers/meta_ingestor.py - Trend routes
produits_tendance/controllers/main.py - Dashboard API
produits_tendance/controllers/dashboard_api.py - Trend products
produits_tendance/models/trend_product.py - Trend ads
produits_tendance/models/trend_ad.py - Score calculation
produits_tendance/services/scoring_engine.py - Score history
produits_tendance/models/trend_score.py - Score alerts
produits_tendance/models/trend_score_alert.py - Alert webhook queue
produits_tendance/models/trend_webhook_queue.py - Dashboard interactions
produits_tendance/static/src/js/winners_dashboard.js
Revolut payments
- Payment return and webhook
exocoms_payment_revolut/controllers/main.py - Payment provider
exocoms_payment_revolut/models/payment_provider.py - Payment transaction
exocoms_payment_revolut/models/payment_transaction.py
Reconciliation
- Authorization callback
exocoms_revolut_reconciliation/controllers/main.py - Business connection
exocoms_revolut_reconciliation/models/revolut_business_connection.py - Bank journal
exocoms_revolut_reconciliation/models/account_journal.py - Statement lines
exocoms_revolut_reconciliation/models/account_bank_statement_line.py
Other components
- Shopper
- Trend operator
- Payment customer
- Revolut
- Business account user
- Revolut Business
Connections 11
- Trend routes → Dashboard API: calls detail API
produits_tendance/controllers/main.py - Dashboard API → Trend ads: loads ad data
produits_tendance/controllers/dashboard_api.py - Trend products → Trend ads: selects latest ads
produits_tendance/models/trend_product.py - Trend products → Score calculation: calculates score
produits_tendance/models/trend_product.py - Payment return and webhook → Payment provider: verifies signature
exocoms_payment_revolut/controllers/main.py - Payment return and webhook → Payment transaction: processes payment
exocoms_payment_revolut/controllers/main.py - Payment return and webhook → Revolut: fetches order
exocoms_payment_revolut/controllers/main.py - Payment customer → Payment return and webhook: returns or notifies
- Business account user → Authorization callback: completes authorization
- Authorization callback → Business connection: exchanges code
exocoms_revolut_reconciliation/controllers/main.py - Revolut Business → Authorization callback: returns code