Is there a method in odoo Online to create an invoice from an action?
Bu soru işaretlendi
1
Cevapla
7003
Görünümler
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
Tartışma hoşunuza mı gidiyor? Sadece okumakla kalmayın, katılın!
Özel özelliklerden yararlanmak ve harika topluluğumuzla etkileşime geçmek için bugün bir hesap oluşturun!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
|
1
Mar 23
|
4183 | ||
|
|
1
Kas 22
|
5177 | ||
|
Create invoice via xmlrpc
Çözüldü
|
|
1
Kas 22
|
5303 | |
|
|
1
Eyl 20
|
5238 | ||
|
|
1
Tem 20
|
6482 |