Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4071 Представления

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