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

I created a button on pos.order linked to a server.action to update a custom field. Works fine but I would like to close the form automatically after the update.

I've seen there is the possibility to call a windows action to close it (ir.actions.act_window_close?) but I don't know how to add to my button attributes. 

Here's my (simple) code on form view to call the server action:

<button class="oe_highlight" name="616" string="kot" type="action" states="paid,done,invoiced"/>

How can I modify it without edit the py and xml files? I don't want to affect others databases.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Non-dict expression แก้ไขแล้ว
2
ก.ค. 22
3015
2
ส.ค. 15
5078
0
มี.ค. 24
1210
POS | No Close Session Button แก้ไขแล้ว
2
ก.ย. 24
4626
3
ม.ค. 24
14601