Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4149 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
6
thg 2 24
12003
1
thg 7 25
708
2
thg 7 25
812
1
thg 7 25
1887
3
thg 4 25
1900