Is there a method in odoo Online to create an invoice from an action?
Esta pergunta foi sinalizada
1
Responder
7081
Visualizações
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
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscrever-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
|
1
mar. 23
|
4245 | ||
|
|
1
nov. 22
|
5227 | ||
|
Create invoice via xmlrpc
Resolvido
|
|
1
nov. 22
|
5379 | |
|
|
1
set. 20
|
5320 | ||
|
|
1
jul. 20
|
6538 |