Is there a method in odoo Online to create an invoice from an action?
Denna fråga har flaggats
1
Besvara
6985
Vyer
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
Njuter du av diskussionen? Läs inte bara, delta också!
Skapa ett konto idag för att ta del av exklusiva funktioner och engagera dig i vår fantastiska community!
Registrera dig| Relaterade inlägg | Svar | Vyer | Verksamhet | |
|---|---|---|---|---|
|
|
1
mars 23
|
4166 | ||
|
|
1
nov. 22
|
5162 | ||
|
|
1
nov. 22
|
5288 | ||
|
|
1
sep. 20
|
5236 | ||
|
|
1
juli 20
|
6474 |