| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Contacts (contacts)
• Inventory (stock) • Invoicing (account) • Sales (sale_management) • Discuss (mail) |
| Community Apps Dependencies | Show |
| Lines of code | 7045 |
| Technical Name |
rasard_amazon |
| License | OPL-1 |
| Website | https://rasard.com |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Contacts (contacts)
• Inventory (stock) • Invoicing (account) • Sales (sale_management) • Discuss (mail) |
| Community Apps Dependencies | Show |
| Lines of code | 7045 |
| Technical Name |
rasard_amazon |
| License | OPL-1 |
| Website | https://rasard.com |
| Versions | 18.0 19.0 |
Rasard Amazon Marketplace Integration
Odoo 18 ile Amazon arasında iki yönlü, olgun bir köprü: siparişleri RDT ile içe aktar, ürünlerini Listings PUT ile yayınla, stok ve fiyatı tekil PATCH ya da toplu Feed ile senkron tut, kargoyu confirmShipment ile bildir. Asenkron kuyruk, feed takibi ve ayrı bir Amazon menüsüyle.
Genel Bakış
Modül, Rasard Trendyol/Hepsiburada modüllerinin olgun mimarisini temel alır: ayrı bir
amazon.backend yapılandırma modeli, merkezi bir
AmazonRequest HTTP istemcisi (her istekte timeout=30 + LWA token önbelleği + rate limiter),
queue_job ile asenkron işleyiş ve Satış altında bağımsız bir Amazon menüsü.
Kimlik doğrulama LWA OAuth 2.0’dir — AWS/SigV4 gerekmez (Ekim 2023’te kaldırıldı).
Stok kaynağı satılabilir stok (free_qty), fiyat kaynağı backend’de seçtiğin Amazon Satış Fiyat Listesi’dir.
Yetenekler
Amazon siparişleri sale.order olarak çekilir; her satır bir OrderItemId. Müşteri adı/adresi PII olduğundan RDT ile alınır; SellerSKU → default_code eşlenir, isteğe bağlı otomatik onaylanır.
Odoo ürünleri PUT /listings/2021-08-01/items ile yayınlanır. Her default_code’lu varyant ayrı SKU; item_name, purchasable_offer, fulfillment_availability ve condition_type otomatik kurulur.
Tekil/anlık güncelleme PATCH ile; toplu güncelleme saatlik cron’la JSON_LISTINGS_FEED (PARTIAL_UPDATE) olarak gönderilir. Stok free_qty, fiyat fiyat listesinden.
Amazon’da kategori yoktur. Yayından önce ilgili productType (ör. LUGGAGE) için Şema Çek ile zorunlu attribute’lar öğrenilir. (Marka ayrı katalog değil, bir attribute’tur.)
Her toplu işlem feedId ile amazon.feed kaydına bağlanır; cron getFeed ile durumu sorgular, DONE’da sonuç raporunu indirip hataları işler (Tamamlandı / Kritik Hata).
Sevkiyat onaylandığında confirmShipment çağrılır; carrierCode + trackingNumber Amazon’a gönderilir ve sipariş Shipped’a geçer. Amazon her zaman PUSH modundadır.
Backend’e LWA Client ID/Secret + Refresh Token + Seller ID girilir; modül access_token’ı (1 saat) üretir ve önbelleğe alır. AWS imzası gerekmez.
Ürün şablonu formunda Amazon’da Yayınla butonu ile ilgili amazon.product kaydına doğrudan geçiş; “Amazon’da Yayında” durumu şablonda görünür.
Tüm ağır işler queue_job root.amazon kanalında koşar; Satış altında bağımsız Amazon menüsü ve kullanıcı/yönetici güvenlik grupları.
Nasıl Çalışır?
Seller Central › Develop Apps’ta uygulama oluştur, Orders/Listings/Feeds rollerini ver, Refresh Token üret.
Client ID/Secret, Refresh Token, Seller ID, Marketplace gir; Bağlantıyı Test Et ile doğrula.
Ürün tipi için Şema Çek; bir amazon.product kaydı oluştur, SKU/ürün tipini seç, Yayınla de.
Cron’lar siparişleri çeker, stok/fiyatı senkron tutar, feed’leri sorgular; sevkiyat onayında kargo PUSH ile bildirilir. Durum: Taslak → Gönderildi → Yayında.
Asenkron işler root.amazon queue_job kanalında koşar; runner’ın aktif olduğundan emin ol. Not: Amazon getOrders rate limit’i ~dakikada 1’dir.
Modeller & Menüler
amazon.backend— LWA yetki, yapılandırma, cronamazon.product— yayın bağlamasıamazon.order— sipariş bağlamasıamazon.product.type— productType + JSON şemaamazon.feed— feed gönderim/takip
- Siparişler
- Ürünler (Yayınla)
- Ürün Tipleri
- Feed’ler
- Yapılandırma › Backendler
Rasard · OPL-1 · Odoo 18 · Amazon SP-API Integration — Sorularınız için onur@rasard.com
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module