i tried integrate analytic account in report.picking purchase, i've done sale. sale picking report have done :
<span class="oe_editable" t-field="o.sale_id.project_id"/> i tried same in picking report incoming that:
<t t-if="o.picking_type_id.code !== 'outgoing'"> <td> <span class="oe_editable" t-field="o.sale_id.project_id"/> </td> </t> <t t-if="o.picking_type_id.code !== 'incoming'"> <td> <span class="oe_editable" t-field="o.invoice_line[0].account_analytic_id"/> </td> </t> i have got error like:
qwebexception: "'stock.picking' object has no attribute 'invoice_line'" while evaluating 'o.invoice_line[0]'
but can't find right field integrate.
i think don't have model in o.*
any idea on how find , complete field name ?
Comments
Post a Comment