Is there a method in odoo Online to create an invoice from an action?
Se marcó esta pregunta
1
Responder
7001
Vistas
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
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
|
1
mar 23
|
4178 | ||
|
|
1
nov 22
|
5176 | ||
|
Create invoice via xmlrpc
Resuelto
|
|
1
nov 22
|
5299 | |
|
|
1
sept 20
|
5238 | ||
|
|
1
jul 20
|
6479 |