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

i have this problem that i just can't solve. I use Odoo v11 community.

I create an automatic action based on form modification on the model project.task on field user_id. The automated action send an email.

The problem is that in the email the value of variable ${object.id} is not the value of the project.task record but always the value of active_id (i presume).

In this example URL in the email body the value of variable ${object.id} is 7 and not 607.

http://localhost:8169/web?debug=1#id=607&view_type=form&model=project.task&action=412&active_id=7

Instead, If i set the action as "On Update" and not as a "based on form modification" in the email I correctly see 607 and not 7.


Obviously all the other fields of the variable $ {object} are also incorrect.


Unfortunatly i must use "based on form modification".. Many thanks



Ảnh đại diện
Huỷ bỏ
Tác giả

can anyone help me? If you are a freelancer I can pay for the consultancy.

Thanks

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 1 20
3029
1
thg 6 19
3322
2
thg 1 25
8044
3
thg 8 22
10899
3
thg 2 19
4995