0

In purchase order order.swx I need to show a new field(ean13) in line items rows, which comes from product.product object. How can I do it using base_report_designer and openoffice writer?

I have seen fields taken from taxes field like

[[ ', '.join(map(lambda x: x.name, line.taxes_id)) ]]

however if I try with product_id as relation to product object in the following way:

[[ ', '.join(map(lambda x: x.ean13, line.product_id)) ]]

it doesnt work. I am a newbie. Help me here!! Thanks in advance!!

Kannan_SJD
  • 1,022
  • 2
  • 13
  • 32

1 Answers1

0

Try this.

[[ line.product_id.ean13 ]]
Gopichandar
  • 2,742
  • 2
  • 24
  • 54