İçereği Atla
Odoo Menü
  • Portal
  • Ücretsiz deneyin
  • Uygulamalar
    Finans
    • Muhasebe
    • Faturalama
    • Masraf Yönetimi
    • Elektronik Çizelge (BI)
    • Belgeler
    • İmza
    Satış
    • Müşteri İlişkileri Yönetimi (CRM)
    • Satış
    • Satış Noktası Mağaza
    • Satış Noktası Restoran
    • Abonelikler
    • Kiralama
    Web Sitesi
    • Web Sitesi Oluşturucu
    • eTicaret
    • Blog
    • Forum
    • Canlı Sohbet
    • eÖğrenme
    Tedarik Zinciri
    • Envanter
    • Üretim
    • Ürün Yaşam Döngüsü Yönetimi
    • Satın Alma
    • Bakım
    • Kalite
    İnsan Kaynakları
    • Çalışanlar
    • İşe Alım
    • İzin
    • Değerlendirme
    • Referans
    • Filo Yönetimi
    Pazarlama
    • Sosyal Medyada Pazarlama
    • E-posta ile Pazarlama
    • SMS ile Pazarlama
    • Etkinlikler
    • Pazarlama Otomasyonu
    • Anket
    Hizmetler
    • Proje Yönetimi
    • Çalışma Çizelgeleri
    • Saha Hizmeti
    • Yardım Masası
    • Planlama
    • Randevular
    Verimlilik
    • Sohbet
    • Onay
    • Nesnelerin İnterneti
    • VoIP
    • Bilgi Bankası
    • WhatsApp
    Üçüncü taraf uygulamalar Odoo Stüdyo Odoo Bulut Platformu
  • Sektörler
    Perakende satış
    • Kitapçı
    • Giyim Mağazası
    • Mobilya Mağazası
    • Gıda Marketi
    • Hırdavat Dükkanı
    • Oyuncak Dükkanı
    Gıda ve Konaklama
    • Bar ve Pub
    • Restoran
    • Fast Food Restoranı
    • Konuk Evi
    • İçecek Distribütörü
    • Otel
    Gayrimenkul
    • Emlak Acentesi
    • Mimarlık Firması
    • İnşaat
    • Emlak Yönetimi
    • Bahçe Tasarımı
    • Mülk Sahipleri Derneği
    Uzmanlık
    • Muhasebe Firması
    • Odoo Partner
    • Pazarlama Ajansı
    • Hukuk Firması
    • Yetenek Kazanımı
    • Denetim ve Belgelendirme
    Üretim
    • Tekstil
    • Metal
    • Mobilyalar
    • Gıda
    • Bira fabrikası
    • Kurumsal Hediye
    Sağlık ve Spor
    • Spor Kulübü
    • Optik Mağazası
    • Fitness Merkezi
    • Sağlıklı Yaşam Merkezi
    • Eczane
    • Kuaför Salonu
    Ticaret
    • Tamirci
    • BT Donanım & Destek
    • Güneş Enerjisi Sistemleri
    • Ayakkabı İmalatçısı
    • Temizlik Hizmetleri
    • HVAC Hizmetleri
    Diğerleri
    • Kar Amacı Gütmeyen Kuruluş
    • Çevre Ajansı
    • Reklam Panosu Kiralama
    • Fotoğrafçılık
    • Bisiklet Kiralama
    • Yazılım Bayisi
    Tüm Sektörlere Göz Atın
  • Topluluk
    Öğrenim
    • Eğitim Araçları
    • Dokümantasyon
    • Sertifikasyonlar
    • Eğitim Etkinlikleri
    • Blog
    • Podcast
    Eğitim ve Gelişim
    • Eğitim Programı
    • Scale Up! İşletme Oyunu
    • Odoo'yu Ziyaret Edin
    Yazılım
    • İndirin
    • Sürümleri Kıyaslayın
    • Sürümler
    İş Birliği
    • Github
    • Forum
    • Etkinlikler
    • Çeviriler
    • Partner Olun
    • Partnerler için Hizmetler
    • Muhasebe Firmanızı Kaydettirin
    Hizmetler
    • Partner Bulun
    • Muhasebeci Bulun
    • Bir danışmanla görüşün
    • Kurulum Hizmetleri
    • Müşteri Referansları
    • Destek
    • Sürüm Yükseltme
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Demo randevusu alın
  • Fiyatlandırma
  • Yardım

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • Müşteri İlişkileri Yönetimi
  • e-Commerce
  • Muhasebe
  • Envanter
  • PoS
  • Proje Yönetimi
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
Yardım

✅ eLearning subscription feature request: Gradual access to course conditioned by number of subcription renewals

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
subscriptioneLearningfeature request
1610 Görünümler
Avatar
Nicolas LAURENT

I have a serie of online courses that I want to sell by subcription, but I don't want them to be avaible immediatly, I want to unlock only one course access by month of subscription. Any idea on how to do it?

Here's Deepseek idea.

________________

Here’s how to implement gradual course access in Odoo 18, where subscribers unlock one new course per month of active subscription:

Method 1: Using Prerequisites + Subscription Duration Tracking

Step 1: Create Custom Fields

  1. Add a custom field to track subscription duration:
    • Field Name: subscription_months_paid (in res.partner or sale.subscription model).
    • Purpose: Counts how many months the client has paid.

Step 2: Automate Monthly Updates

  • Use a scheduled action to increment subscription_months_paid monthly for active subscriptions:
    python
    Copy
    # Scheduled Action Code Example
    for subscription in env['sale.subscription'].search([('state', '=', 'active')]):
        subscription.partner_id.subscription_months_paid += 1

Step 3: Set Course Prerequisites

  1. Course 1: No prerequisites (accessible immediately).
  2. Course 2: Add prerequisite:
    • Custom field subscription_months_paid >= 1.
  3. Course 3: Add prerequisite:
    • Custom field subscription_months_paid >= 2.

Step 4: Restrict Access

  • Use record rules to enforce access:
    xml
    Copy
    <record id="course_2_access_rule" model="ir.rule">
        <field name="domain_force">
            [('partner_id.subscription_months_paid', '>=', 1)]
        </field>
    </record>
    Run HTML

Method 2: Time-Based Unlocking (No Coding)

Step 1: Leverage Course Publication Dates

  1. Course 1: Publish immediately.
  2. Course 2: Set publication date to 30 days after subscription start.
    • Use a computed field or manual date entry.
  3. Course 3: Set publication date to 60 days after start.

Step 2: Automate with Expiration Dates

  • Use automated actions to publish courses based on subscription start date:
    python
    Copy
    # Example: Publish Course 2 after 30 days
    if (date.today() - subscription.start_date).days >= 30:
        course_2.is_published = True

Method 3: Membership Tiers (Alternative)

  1. Create 3 membership levels (e.g., Bronze/Silver/Gold).
  2. Assign courses to each tier:
    • Bronze (Month 1): Course 1.
    • Silver (Month 2): Course 1 + 2.
    • Gold (Month 3+): All courses.
  3. Use automated actions to upgrade memberships monthly.

Key Tools Needed

  • Odoo Studio (Custom Edition): To add custom fields/rules without coding.
  • Automated Actions: For time-based unlocks (base_automation module).
  • Developer Help: For complex logic (e.g., prorated access).

Testing & Validation

  1. Test Subscription Flow:
    • Simulate a subscription and verify courses unlock monthly.
  2. Monitor Access:
    • Check subscription_months_paid updates correctly.

Why This Works

  • Scalable: Add more courses by extending the month counter.
  • Flexible: Combine with payment failures (e.g., revoke access if unpaid).
  • Low-Code: Uses native Odoo features where possible.

For a no-code solution, Method 2 (Publication Dates) is simplest. For precision, Method 1 (Custom Fields) is ideal.

0
Avatar
Vazgeç
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Üye Ol
İlgili Gönderiler Cevaplar Görünümler Aktivite
✅ eLearning feature request : Revoke course access when subscription is closed or canceled
subscription upgrade request eLearning feature request
Avatar
0
Mar 25
1497
Charge for Elearning courses through a subscription method
subscription courses eLearning
Avatar
Avatar
1
Tem 25
2790
Event Coupon Subscription feature request: How to set up a subscription product to issue a fixed number of time-limited coupons that expire with the subscription and cannot be rolled over?
subscription events coupons feature request
Avatar
Avatar
1
Mar 25
1502
How do I transfer my subscription from the old database to the new one? Çözüldü
subscription
Avatar
Avatar
1
Haz 25
1753
✅ Subscription & Calendar feature request: Extend subscription end dates to account for holidays
calendar holidays subscription Subscribe feature request
Avatar
0
Mar 25
1325
Topluluk
  • Eğitim Araçları
  • Dokümantasyon
  • Forum
Açık Kaynak
  • İndirin
  • Github
  • Runbot
  • Çeviriler
Hizmetler
  • Odoo.sh Hosting
  • Destek
  • Sürüm Yükseltme
  • Özel Geliştirmeler
  • Eğitim
  • Muhasebeci Bulun
  • Partner Bulun
  • Partner Olun
Hakkında
  • Şirketimiz
  • Pazarlama Gereçleri
  • İletişim
  • Kariyer
  • Etkinlikler
  • Podcast
  • Blog
  • Müşteriler
  • Hukuki • Gizlilik
  • Güvenlik
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo, müşteri ilişkileri yönetimi, eTicaret, muhasebe, envanter, satış noktası, proje yönetimi gibi şirketinizin tüm ihtiyaçlarını karşılayan bir açık kaynak işletme uygulamaları paketidir.

Odoo’nun eşsiz değer önermesi, aynı anda hem kullanımının çok kolay olup hem de tamamen entegre olmasıdır.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now