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

Hello everyone.

I will explain what I want to do, and finally my question.

I have just created a contextual action.

This is what it looks like:

Its operation is not important, but I want it to invoke an action at the end:

This is the action:

belonging to the model 'ir.actions.act_window', it is a window action.

After looking for it by its ID I found it here:




This is my code:


for record in records:
  for line in record.order_line:
    line['tax_id'] = False
    

  record['fiscal_position_id'] = False



And now my question:

How can I invoke the function 'Create Invoices' from my context action, I want to point out that I don't know how to call it from my context action.

is there a way to call that action? in a way:

this_is_an_example_call()



อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ต.ค. 24
1105
1
พ.ค. 22
3267
Automated action : return another action แก้ไขแล้ว
3
ก.ค. 20
9603
Python expression in Automated Actions แก้ไขแล้ว
1
เม.ย. 20
13914
1
ก.ค. 18
5476