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

Hi, can I get some code (a function) to delete a current record by a button? Thanks...

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Yes, make the button call the unlink method.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

can u post an example pls? I have this wizard image description

and I want to add some actions to the buttons and they have to act exclusively on their rows

อวตาร
ละทิ้ง

The 'trashcan' icon on each line is already the DELETE button.

I know but it only delete on the list not on the database

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
เม.ย. 24
1297
How to modify ''paiment'' button ? แก้ไขแล้ว
2
เม.ย. 24
1354
2
มี.ค. 15
5980
Delete button in kanban view ODOO 11 แก้ไขแล้ว
1
ก.พ. 18
7799
Delete Blank Lines แก้ไขแล้ว
1
ส.ค. 24
2147