Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
4085 Visualizações

Hi, I want to create/register invoice payment by coding on clicking by custom module button not from the "Register Payment" button on Invoice form view or from list view.How can it done by coding?

Avatar
Cancelar
Melhor resposta

Hello,

    You can achieve this by calling the function for validate in register payment and passing the required arguments in action for your created button.

example for calling function of another model self.env['sale.order'].function_name()

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
6
fev. 24
11888
1
jul. 25
377
2
jul. 25
565
1
jul. 25
1631
3
abr. 25
1688