Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

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

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

Odoo V16 - Subcriptions - Create Invoice Draft

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
Subscriptionsodoo16features
9 Odpowiedzi
8420 Widoki
Awatar
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
Awatar
Odrzuć
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
Autor

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

Awatar
Oscar Fonseca
Najlepsza odpowiedź

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
Awatar
Odrzuć
Vladimir Vroonen

This code doesn't seem to be complete

Oscar Fonseca

Thanks Vladimir. It's correct now.

Awatar
Solvve
Najlepsza odpowiedź

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
Awatar
Odrzuć
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.

Awatar
Odoo Developers
Najlepsza odpowiedź

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

Thanks

0
Awatar
Odrzuć
Awatar
Antonio Cánovas Pedreño
Najlepsza odpowiedź

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
Awatar
Odrzuć
Awatar
SERVICIOS COMPUTACIONALES RA
Najlepsza odpowiedź

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
Awatar
Odrzuć
Awatar
Bruno Ramioulle
Najlepsza odpowiedź

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
Awatar
Odrzuć
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.

Awatar
Ken
Najlepsza odpowiedź

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
Awatar
Odrzuć
Awatar
Edwin Brasseur
Najlepsza odpowiedź

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
Awatar
Odrzuć
Awatar
Ingred Tech
Najlepsza odpowiedź

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
Awatar
Odrzuć
Gottfried Brandi
Autor

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.

Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
DeprecationWarning: The longpolling-port is a deprecated alias to the gevent-port option, please use the latter Rozwiązane
odoo16features
Awatar
Awatar
Awatar
Awatar
Awatar
5
wrz 25
24781
Unable to add to cart Subscription product even the cart is empty
Subscriptions
Awatar
Awatar
Awatar
Awatar
3
wrz 25
881
How to Add wizard under print button inside the form view.
odoo16features
Awatar
Awatar
Awatar
Awatar
3
sie 25
3777
How to add @api.onchange in _get_view() method odoo 16
odoo16features
Awatar
Awatar
1
maj 25
3693
get all partners which are internal users or portal users odoo16
odoo16features
Awatar
Awatar
1
kwi 25
4532
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة 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 to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

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