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

Hi im currently making a custom module and im trying to run a a code using write method based on a certain condition. Im trying to figure out how to write a before and after domain for the code to run. 


as you can see there is before update domain and apply on domain. How am i able to achieve this with write method?

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

Hi Mohamad Huzaifah Bin Mohamad Tarmizi, 

It will be more easy if you specify the condition or requirement that you want to triggered while updating the records.
Else you can refer the following link to know more about the automated action. In that you can also check the usage of before and after domain.

Automated Actions: https://odootricks.tips/about/automated-actions/

I hope this will be helpful.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 20
4260
0
thg 9 24
1225
0
thg 5 24
26
1
thg 5 24
2531
1
thg 4 24
4595