Is this possible?
I like the way Activities work - and how they show up in the Clock icon for each user.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Is this possible?
I like the way Activities work - and how they show up in the Clock icon for each user.
First, add a new Activity Type for "Task":
Note: You can setup the Activity Type the way you like, I have just shown here the minimum you need - the NAME and ICON. Take a note of the ID from the URL:
Next, add a new field to the Activities model to store the Project, which will be needed:
Next, add the new field to the Popup Form View, and make it required and visible only when needed (here is where you need the ID of the Task Activity):
Code:
<field name="activity_type_id" position="after">
<field name="x_project"
attrs="{'invisible':['|',('activity_type_id','=',False),('activity_type_id','!=',21)],
'required':[('activity_type_id','=',21)]}"
options="{'no_create': True, 'no_open': True}"/>
</field>
Next, create an Automated Action to listen for the creation of the Activity and create the Task:
This gives you something like this:
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
|
1
jan. 24
|
1667 | ||
|
|
1
out. 25
|
387 | ||
|
|
0
mar. 17
|
3624 | ||
|
|
2
fev. 20
|
3864 | ||
|
|
2
jan. 20
|
3825 |