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

I want to modify some data in my invoice based on the fiscal_position_id field, but I don't know how to trigger an event when a new invoice is created from a quote. How can I do it?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Rafael:

Activate developer mode, go to Settings > Technical > Automation > Automated Actions and create an automated action that is triggered on the "On Creation" of an Invoice record. 

Make sure you select the following in the automated action:

Model: Journal Entry

Trigger: On Creation

Apply on: Type = "out_invoice"

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 9 25
2718
0
thg 8 25
318
1
thg 8 25
2340
2
thg 7 25
8145
2
thg 7 25
4579