Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4243 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
6
feb 24
12156
1
jul 25
1038
2
jul 25
1190
1
jul 25
2276
3
abr 25
2179