Is there a method in odoo Online to create an invoice from an action?
Dette spørgsmål er blevet anmeldt
1
Svar
6998
Visninger
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
Kan du lide at diskutere? Læs ikke bare med, deltag aktivt i debatten!
Opret en konto i dag for at få glæde af eksklusive funktioner, og bliv en del af vores skønne fællesskab!
Tilmeld dig| Relaterede indlæg | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|
|
1
mar. 23
|
4174 | ||
|
|
1
nov. 22
|
5172 | ||
|
|
1
nov. 22
|
5295 | ||
|
|
1
sep. 20
|
5237 | ||
|
|
1
jul. 20
|
6478 |