İç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

✅ Subscription & Calendar feature request: Extend subscription end dates to account for holidays

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
calendarholidayssubscriptionSubscribefeature request
1325 Görünümler
Avatar
Nicolas LAURENT

I work primarly with subscription services. Currently, Odoo doesn't natively support the extension of the subscription end dates to account for holidays (public holidays or business closure).

I think a lot of users relying on subscription services would also need this feature.

I've looked up in the app store but not sure if there are apps that can do that.

Any advice on that question?

For reference, here's what Deepseek say:

________________________

To extend subscription end dates in Odoo to account for holidays (e.g., business closures), you’ll need to customize the subscription logic. Here are the best approaches:

1. Native Odoo Solution (Limited)

Odoo’s Subscription module doesn’t natively support holiday-based extensions, but you can manually adjust dates:

  1. Go to Sales > Subscriptions.
  2. Open the subscription and edit the End Date field.
  3. Add the number of holiday days to the original end date (e.g., extend by 7 days for a week-long closure).

Limitation: Manual and time-consuming for large customer bases.

2. Automated Solution (Custom Development)

Step 1: Create a Holiday Calendar

  1. Go to Settings > Technical > Calendar > Calendars and create a "Business Holidays" calendar.
  2. Add holidays as events (e.g., "Annual Closure: Dec 25–Jan 1").

Step 2: Override Subscription Renewal Logic

Use a custom Python method to skip holidays when calculating end dates:

python

Copy

from datetime import timedelta
from odoo import fields, models

class Subscription(models.Model):
    _inherit = 'sale.subscription'

    def _compute_end_date(self):
        for sub in self:
            end_date = sub.start_date + timedelta(days=sub.template_id.duration)
            # Skip holidays
            holidays = self.env['calendar.event'].search([
                ('start_date', '<=', end_date),
                ('stop_date', '>=', end_date),
                ('holiday_calendar_id', '=', sub.company_id.holiday_calendar_id.id)
            ])
            if holidays:
                end_date += timedelta(days=len(holidays))  # Extend by holiday duration
            sub.end_date = end_date

Step 3: Link Holidays to Subscriptions

  • Add a field to link subscriptions to your holiday calendar:
    python
    Copy
    holiday_calendar_id = fields.Many2one('calendar.calendar', string="Holiday Calendar")

3. Alternative: Use "Pause Subscription" Functionality

  1. Manually pause subscriptions during holidays:
    • Go to Subscriptions, select records, and click "Pause".
    • Resubscriptions will auto-extend by the paused duration.
  2. Automate pausing with a scheduled action triggered by holidays.

4. Third-Party Apps

  • Explore Odoo apps like "Subscription Extensions" or "Advanced Subscriptions" (check the Odoo App Store).
  • Look for features like:
    • "Skip holidays in billing cycles".
    • "Auto-adjust end dates".

Key Considerations

  • Prorated Billing: If extending subscriptions, decide whether to charge customers for the extra days.
  • Notifications: Send emails to inform customers of adjusted dates.
  • Testing: Dry-run with a test subscription before deploying.

Why This Works

  • Holiday Awareness: Subscriptions now account for business closures.
  • Scalability: Automated for large customer bases.

For a no-code fix, use manual date edits or pause subscriptions. For automation, custom development is required (cost: ~€200–€500 via freelancer).

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
How to block specific dates/times in Odoo calendar?
calendar holidays
Avatar
0
Oca 21
6363
subscribtion automatic invoices
subscription Subscribe
Avatar
Avatar
1
Tem 20
3415
where is calendar to manage holidays?
calendar holidays
Avatar
0
Mar 15
4820
✅ eLearning subscription feature request: Gradual access to course conditioned by number of subcription renewals
subscription eLearning feature request
Avatar
0
Mar 25
1611
Public Holidays Not shown in Calendar Çözüldü
calendar holidays odoo
Avatar
Avatar
Avatar
5
Şub 24
9328
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