帮助

0

can i create Schedule Activity conditionally?

Avatar
SmithJohn45

in Schedule Activity have hide MARK AS DONE button and button DONE & SCHEDULE NEXT should be available for user. if user press DONE & SCHEDULE NEXT then it should check 2 custom fields x_due_date and x_activity_type_id on this view, if both are filled then it will create Next Schedule Activity otherwise don't. how to restrict it through Odoo frontend Settings -> Technical. please help, i have reached at this point after getting some help.


note: i have created an Automated Action to Create Next Activity when a new Lead created. so the given solution should not be conflicted.


regards

形象
丢弃
1 答案
0
linkedin.com/in/thenikhilnakrani
</span> </div> </address></div> </div> </div> "> Avatar
Nikhil Nakrani
最佳答案

Hi SmithJohn45,

  1. In your Both custom fields xml view add required = True or required = 1
  2. so when anyone done activity first notify this fields is required.

Thank you.

形象
丢弃