Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4091 มุมมอง

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
11889
change between 2 Invoice formats แก้ไขแล้ว
1
ก.ค. 25
395
2
ก.ค. 25
578
1
ก.ค. 25
1646
3
เม.ย. 25
1702