Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Diskusi
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

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

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

Odoo V16 - Subcriptions - Create Invoice Draft

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
Subscriptionsodoo16features
9 Replies
8410 Tampilan
Avatar
Gottfried Brandi

Is it possible to automatically create Invoice drafts via subscriptions in Odoo V16?


In V15 you can set within the subscription template what Odoo should do with the invoice. (Create a draft, send invoice automatically, etc.) As far as I see there is no such option in V16. Invoices are always automaticaly created, confirmed and sent. It seems that there is no chance for checking or editing those invoices.

I couldn't find any details in the documentation as it concerns only V15.

Any Advice?

thanks a lot


1
Avatar
Buang
Ken

According to Odoo this function has been removed. Strange...

https://github.com/odoo/odoo/issues/118858

People, please add your comment on Github and here why this absolutely needs to come back! Thanks y'all!

Gottfried Brandi
Penulis

Sehr geehrte/r AbsenderIn,

ich bin ab 19.06.2023 wieder für Sie erreichbar.

Für Anliegen zur Ihrem Projekt wenden Sie sich bitte an meinen Kollegen Robert Förster (robert@suppliot.eu).

In dringenden Fällen wenden Sie sich bitte an unseren Support - +43 1 774 03 92 – 400.

E-Mails werden nicht weitergeleitet.

vielen Dank und beste Grüße

Gottfried Brandi

Ramon Casallachs
Hello, I have exactly the same problem. Any solution?


Ken

No there is no solution yet, they will probably release it in a new version 17+.

According to Odoo this function has been removed.
See: https://github.com/odoo/odoo/issues/118858

People, please add your comment on Github and here why this absolutely needs to come back! Thanks y'all!

Odoo Developers

Check this App: https://apps.odoo.com/apps/modules/16.0/od_subscription_draft_invoice

Avatar
Oscar Fonseca
Jawaban Terbai

To ensure that all related invoices are consistently created in draft form, a recommended approach would be to clone the 'Sale Subscription: generate recurring invoices and payments' scheduled action and then deactivate the original one. Replace Python code with this snippet:


current_date = datetime.datetime.now()
search_domain = model.search([('is_batch', '=', False),
                         ('is_invoice_cron', '=', False),
                         ('is_subscription', '=', True),
                         ('subscription_management', '!=', 'upsell'),
                         ('state', 'in', ['sale', 'done']),
                         ('payment_exception', '=', False),
                         '&', '|', ('next_invoice_date', '<=', current_date), ('end_date', '<=', current_date), ('stage_category', '=', 'progress')])

for subs in search_domain:
  try:
    account_move = subs._create_recurring_invoice()
    #log(str(account_move))
  except Exception as e:
    continue


This way, you can maintain control over the invoice creation process but all will be generated in draft state.




0
Avatar
Buang
Vladimir Vroonen

This code doesn't seem to be complete

Oscar Fonseca

Thanks Vladimir. It's correct now.

Avatar
Solvve
Jawaban Terbai

my case was to have this option for Creation invoices as manual for all subscriptions and solution is modification a scheduler

Sale Subscription: generate recurring invoices and payments

and replace a function with 

model._create_recurring_invoice(automatic=False)


1
Avatar
Buang
Oscar Fonseca

It's important to note that with the proposed modification, if the system encounters any draft invoices linked to a subscription, the scheduled task may cease to process subsequent subscriptions.

Avatar
Odoo Developers
Jawaban Terbai

Hi,
Use this app:  https://apps.odoo.com/apps/modules/16.0/od_subscription_draft_invoice

Thanks

0
Avatar
Buang
Avatar
Antonio Cánovas Pedreño
Jawaban Terbai

A work-around could be disable the scheduled action "Sale subscription: generate recurring ..." and create a new one calling to the button action on form "action_invoice_subsction()" only for active subscription with pending invoices.

This action creates the invoices in draft state.

I have not the code, but it's easy.

0
Avatar
Buang
Avatar
SERVICIOS COMPUTACIONALES RA
Jawaban Terbai

Same problem here. 

Found a small workaround, where i set the invoice items to "Based on Delivered Quantities" (Per Invoice ITEM)

I would like some subscriptions to invoice automatically.. and some manual.. like we had it before.. (Per Customer/Subscription)


0
Avatar
Buang
Avatar
Bruno Ramioulle
Jawaban Terbai

I don't think that there is a real solution for the moment despite  work arounds that might be different depending on use cases. In top of all this it will add in the invoice, at each product line the period even if it does not mean anything in your case. Before it was only mentioned once at the bottom of the invoice. 

0
Avatar
Buang
Ken

Yes I wish I was in the Odoo offices to talk about this problem... No one @Odoo seems to care and thinks they are right.

Bruno Ramioulle

Maybe we should post something on LinkedIn to try to find out who is the product owner and get in touch with him. Wondering if he saw the GitHub comments.

Avatar
Ken
Jawaban Terbai

Unfortunately there is no "invoicing" tab in my database either. No invisible views as far as I can see...
Also when I check v16.2, on runbot.odoo.com there also no invoicing tab there.

This is very annoying as now some previously 'draft invoice' subscriptions are invoiced anyway and sent to the customer...
And some automatic invoices aren't even invoiced.

This is terrible.

0
Avatar
Buang
Avatar
Edwin Brasseur
Jawaban Terbai

Hello,

I had the same issue. After reviewing the Odoo native code, i find out that they done major changes that make the draft invoice process impossible without modification. 

The workaround proposed by Ricardo on this topic doesn't fit because it's considering a lot of products as "non delivered" and so just make the next invoice date increment without creating any invoices. 

As it was mandatory for our activity i created a module that overwrite the new Odoo process and get back the ability to invoice in draft again. 

For those who want to implement the same solution, you can buy the fresh made module here : 

https://apps.odoo.com/apps/modules/16.0/beone_sub_draft_invoice/ 

To make it work you just need to edit the recurrence model (sale.temporal.recurrence) in Subscriptions > Configuration > Recurrence Period. 

Just tick the new checkbox "Draft Invoice" and all the subscriptions for that recurrence will be done in draft. 

So to manage two types (one that post automatically and the other in draft) you'll need to have 2 (for exemple) "Monthly" recurrence. One you name "Monthly Auto" with the checkbox unchecked and the other you name "Monthly Draft" with the checkbox checked. 


0
Avatar
Buang
Avatar
Ingred Tech
Jawaban Terbai

To create a draft invoice, you need to set the "Invoice Policy" to "Create draft invoice" in the subscription template. This will ensure that a draft invoice is generated for each billing cycle of the subscription.

Here are the steps to configure this in Odoo V16:

  1. Go to the "Subscription" menu in the Odoo interface.

  2. Select the subscription template for which you want to set the invoicing settings.

  3. Click on the "Invoicing" tab.

  4. In the "Invoice Policy" field, select "Create draft invoice".

  5. Save the changes to the subscription template.


-9
Avatar
Buang
Gottfried Brandi
Penulis

Thank you for your answer. Unfortunately there is no "invoicing" tab in my database. I also have checked if it is set invisible in Odoo Studio. I have uploaded a Screenshot in my initial post.

Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
DeprecationWarning: The longpolling-port is a deprecated alias to the gevent-port option, please use the latter Diselesaikan
odoo16features
Avatar
Avatar
Avatar
Avatar
Avatar
5
Sep 25
24764
Unable to add to cart Subscription product even the cart is empty
Subscriptions
Avatar
Avatar
Avatar
Avatar
3
Sep 25
880
How to Add wizard under print button inside the form view.
odoo16features
Avatar
Avatar
Avatar
Avatar
3
Agu 25
3777
How to add @api.onchange in _get_view() method odoo 16
odoo16features
Avatar
Avatar
1
Mei 25
3686
get all partners which are internal users or portal users odoo16
odoo16features
Avatar
Avatar
1
Apr 25
4528
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة 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 adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

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