Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
5031 Ansichten

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

Avatar
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
März 23
2189
1
Nov. 22
3360
1
Nov. 22
3155
1
Sept. 20
3512
1
Juli 20
4792