İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
5097 Görünümler

Is there a method in odoo Online to create an invoice from an action?

Avatar
Vazgeç
En İyi Yanıt

Hello,

I don't really know the purpose but if you want to create an empty customer invoice.

In python you can do a method like:

def create_empty_invoice(self):
     self.env['account.move'].create({'move_type': 'out_invoice'})

Then you can add a button in form view for example calling the method


Hope it will help you


Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Mar 23
2274
1
Kas 22
3410
1
Kas 22
3275
1
Eyl 20
3569
1
Tem 20
4874