# Problem with report

**URL:** <https://discuss.tryton.org/t/problem-with-report/1956>\
**Category:** Developer\
**Created:** [November 15, 2019, 5:09am UTC](https://discuss.tryton.org/t/problem-with-report/1956 "2019-11-15T05:09:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![prashasti.sharma](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/p/58f4c7/32.png) [@prashasti.sharma](https://discuss.tryton.org/u/prashasti.sharma)\
**Post date:** [November 15, 2019, 5:09am UTC](https://discuss.tryton.org/t/problem-with-report/1956/1 "2019-11-15T05:09:08Z")

</div>

I have written a report where I am fetching record which are in the form of a zipped list.

This is how my records are fetched

 ![Screenshot%20from%202019-11-15%2010-33-53](https://discuss-cdn.tryton.org/uploads/default/original/1X/0e7604517ff388d64f72dcf051e9d011fc1879d0.png)

This is my report format

 ![Screenshot%20from%202019-11-15%2010-34-08](https://discuss-cdn.tryton.org/uploads/default/original/1X/a3b69cafa56da3616adf84228429bdc8a17b88d6.png)

But when I try to print the report, this shows up

 ![Screenshot%20from%202019-11-15%2010-34-19](https://discuss-cdn.tryton.org/uploads/default/original/1X/f206f92e223ce016c4c8d54bd1d0f75e0f4fb419.png)

Any help regarding this matter is appreciated

---

<div class="post-metadata">

**Author:** ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)\
**Post date:** [November 15, 2019, 8:42am UTC](https://discuss.tryton.org/t/problem-with-report/1956/2 "2019-11-15T08:42:49Z")

</div>

From the error message I ysee you are accessing the salary\_code property of the tuple (Employee, cost). You should probably unpack the tuple first to access the salary\_code of the employee.

Hope it helps!
