Odooers论坛

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

V16 Planned Date of Tasks are invisible.

形象
odoo
2 注释
形象
丢弃
形象
odoo
-

Thank you both.

It is clear for me now

形象
odoo
-

Hi Malay and cybrosys.

@ Malay

Thank you for your respons

When i create the task on the calender view, it only create a "Due date" but not the "start" and the "end" date.


@ Cybrosys.

Thank you.

Your advice is working but the strange thing is that at the beginning of the deployment these fields where visible.

2 答案
0
形象
odoo
最佳答案

Hi,

The Planned Date field(to set the start and the end date) is invisible in the tasks since those dates are not set. The attribute for the field is set like that. There is no configuration to show/hide it.

You have to edit the form view to show the field. You can do it directly or use a custom module to do it.

To edit the form view from Odoo:

Step 1: Enable debug(developer) mode.
Step 2: Search for Views in the homepage or navigate to Settings/Technical/User Interface/Views menu.
Step 3: Search for the view project.task.view.form.inherit.project.enterprise.
Step 4: Remove the attrs="{'invisible': [('planned_date_begin', '=', False), ('planned_date_end', '=', False)]}" from the label and div in the code and save it.

That's it. You can now reload and check the task. The Planned Date will be visible in the tasks.

If you are using a custom module, you can inherit the task form view and remove the attrs.

Regards

形象
丢弃
0
形象
odoo
最佳答案

Hi Didier Ryckaert,

Actually Planned dates are only visible if you have the value in it. If its False, then it will be invisible. 
So if you create a task from where system will adds the start and end planned dates, then you can visible it. 


For e.g  Like create a task from calendar view, Gantt view. It will give you the default date on which you can create a task. Yes you can remove the invisible attributes as well.

Hope it will help you.


形象
丢弃