2016-09-14 5 views
0

Ich möchte Bericht erstellen von Projekt> Aufgabe.Odoo 9 Bericht Aufgabe Fehler

Wenn try Lastdaten aus der Tabelle account_analytic_line

enter image description here

erhalten diesen Fehler

" 'project.task' Objekt kein Attribut 'timesheets_ids' hat", während die Bewertung ‚doc.timesheets_ids '

<tbody> 
         <t t-foreach="doc.timesheets_ids" t-as="l"> 
          <tr> 
           <td> 
            <span t-field="l.name"/> 
           </td> 
           <td class="text-right"> 
            <span t-field="l.name"/> 
           </td> 
           <td> 
            <span t-field="l.name"/> 
           </td> 
           <td class="text-right"> 
            <span t-field="l.name"/> 
           </td> 
          </tr> 
         </t> 
        </tbody> 

<template id="report_task"> 
    <t t-call="report.html_container"> 
     <t t-foreach="docs" t-as="doc"> 
      <t t-call="project.report_task_document"/> 
     </t> 
    </t> 
</template> 

Irgendeine Lösung?

+1

Überprüfen Sie Ihren Zauber es timesheet_ids .., denke ich so –

+0

@VigneshwaranThenraj Tnx eine Menge .... Antwort hinzufügen Ich werde markieren ... –

Antwort

0

Seine timesheet_ids nicht timesheets_ids. Nur ein Zauberfehler.