| 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 | 6717 |
| Technical Name |
rasard_n11 |
| 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 | 6717 |
| Technical Name |
rasard_n11 |
| License | OPL-1 |
| Website | https://rasard.com |
| Versions | 18.0 19.0 |
Rasard N11 Marketplace Integration
Odoo 18 ile N11 arasında iki yönlü, olgun bir köprü: siparişleri içe aktar, ürünlerini yayınla, stok ve fiyatı otomatik senkron tut, kargoyu N11’e bildir. REST + SOAP hibrit, asenkron task takibi, queue kuyruğu ve ayrı bir N11 menüsüyle.
Genel Bakış
Modül, olgun bir entegrasyon mimarisi sunar: ayrı bir
n11.backend yapılandırma modeli, merkezi bir
N11Request istemcisi (REST için timeout=30 + rate limiter, SOAP için zeep),
queue_job ile asenkron işleyiş ve Satış altında bağımsız bir N11 menüsü.
Kimlik doğrulama appkey + appsecret başlıklarıyla (Bearer/token değil). Stok kaynağı satılabilir stok (free_qty), fiyat kaynağı backend’de seçtiğin N11 Satış Fiyat Listesi’dir. Ürün anahtarı stockCode (= Odoo default_code), varyant grubu productMainId’dur.
Yetenekler
N11 shipmentPackages paketleri sale.order olarak Odoo’ya çekilir; anahtar (backend + orderNumber), her satır bir orderLineId. Müşteri ve (kurumsal) fatura adresleri otomatik eşlenir, isteğe bağlı otomatik onaylanır.
Odoo ürünleri kategori ve zorunlu özellikleriyle tasks/product-create ile yayınlanır, product-update ile güncellenir. Her stockCode’lu varyant ayrı bir N11 SKU’su olur.
price-stock-update task’ına saatlik cron ile stok (free_qty) ve fiyat gönderilir. listPrice > salePrice garanti edilir; ikisi birlikte gönderilir.
Ürün/stok-fiyat task’leri asenkrondır: POST an,ında taskId döner, sonuç task-details/page-query ile sorgulanır. Her task n11.batch kaydına bağlanır (Tamamlandı / Kısmi / Hata).
N11 kategori ağacı /cdn/categories ile tek çağrıda, yaprak kategori özellikleri /cdn/category/{id}/attribute ile önbelleğe alınır (isMandatory / isVariant / isCustomValue). Marka, kategori özelliği olarak yönetilir.
Sevkiyat onaylanınca MakeOrderItemShipment (OrderService) çağrılır; kargo firma id + takip no N11’e gönderilir. REST karşılığı yayınlanmadığından zeep ile SOAP kullanılır.
Satırlar /rest/order/v1/update ile Picking statüsüne geçirilir; manuel aksiyon ya da otomatik onay (Created → Picking) ile.
N11 görselleri public HTTPS URL’den çeker. Ürün şablonunun image_1920’i ve ek medya görselleri için /web/image/... URL’leri otomatik üretilir.
Tüm ağır işler queue_job root.n11 kanalında koşar; Satış altında bağımsız N11 menüsü ve kullanıcı/yönetici güvenlik grupları.
Nasıl Çalışır?
App Key + App Secret (so.n11.com › API Hesapları) ve environment’i gir; Bağlantıyı Test Et. Kargo için pip install zeep.
Kategorileri Güncelle (tek çağrı ağaç); yayınlayacağın yaprak kategoriler için Özellikleri Çek.
Bir n11.product kaydı oluştur, kategori/özellik/kargo şablonu ve görsel kaynağını seç, Yayınla de.
Cron’lar siparişleri çeker, stok/fiyatı senkron tutar ve task sonuçlarını sorgular. Durum: Taslak → Gönderildi → Yayında.
Asenkron işler root.n11 queue_job kanalında koşar; runner’ın aktif olduğundan emin ol.
Modeller & Menüler
n11.backend— yetki, yapılandırma, cronn11.product— yayın bağlamasın11.order— sipariş bağlamasın11.category— kategori + özellik önbelleğin11.batch— task takibi
- Siparişler
- Ürünler (Paylaş)
- Kategoriler
- Task İstekleri
- Yapılandırma › Backendler
Rasard · OPL-1 · Odoo 18 · N11 Integration (REST + SOAP) — 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