Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4070 Переглядів

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?

Аватар
Відмінити
Найкраща відповідь

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()

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
6
лют. 24
11885
1
лип. 25
322
2
лип. 25
511
1
лип. 25
1556
3
квіт. 25
1642