Code review comment for lp:~laetitia-gangloff/hr-timesheet/migrationV7

Revision history for this message
Nicolas Bessi - Camptocamp (nbessi-c2c-deactivatedaccount) wrote :

Hello,

This mean we have to override view_task_form2 because it define tree view internally:

                            <field name="work_ids" groups="project.group_tasks_work_on_tasks">
                                <tree string="Task Work" editable="top">
                                    <field name="name"/>
                                    <field name="hours" widget="float_time" sum="Spent Hours"/>
                                    <field name="date"/>
                                    <field name="user_id"/>
                                </tree>
                            </field>

The best solution is probably to remove the tree definition of view in order to use the raw timesheet line view.

Regards

Nicolas

« Back to merge proposal