I'm trying to list hours from project's tasks in projects kanban view as it was in odoo8 :
in developer mode I open project module and select "edit kanban view":
after first two lines I add bold code:
<?xml version="1.0"?>
<kanban class="oe_background_grey o_kanban_dashboard o_project_kanban" on_create="project.open_create_project"> <field name="effective_hours" modifiers="{'readonly': true}"/>
<field name="planned_hours" modifiers="{'readonly': true}"/>
<field name="use_timesheets"/>
<field name="hours_quantity" modifiers="{'readonly': true}"/>
when I try to save project.project.kanban odoo say "use_timesheets", "hours_quantity" not exist.
Also I add bold code after project's alias:
<div t-if="record.alias_name.value and record.alias_domain.value">
<span><i class="fa fa-envelope"/> <t t-esc="record.alias_id.value"/></span>
</div>
<div t-if="record.use_timesheets.raw_value" data-name="open_timesheets" data-type="object">
<span><i class=" oe_kanban_action oe_kanban_action_a"/> <t name="hours_quantity" t-esc="record.alias_id.value"/></span>
</div>
Now odoo10 say "dict.record.use_timesheets is undefined"