Is there a method in odoo Online to create an invoice from an action?
Această întrebare a fost marcată
1
Răspunde
6995
Vizualizări
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
Îți place discuția? Nu doar citi, alătură-te!
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
|
1
mar. 23
|
4170 | ||
|
|
1
nov. 22
|
5167 | ||
|
Create invoice via xmlrpc
Rezolvat
|
|
1
nov. 22
|
5292 | |
|
|
1
sept. 20
|
5236 | ||
|
|
1
iul. 20
|
6474 |