Replies: 2 comments
-
That's because the "responsible" field is actually an "owner" (which may point to either a user or a group). |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
Some compliments first: Amazing program, really love the intuitiveness of it.
The actual problem: I am trying to make a purchase order report. The creator of the PO might be different than the responsible person for it. I would like the name of the responsible person to appear on the PO.
order.created_by.first_name --> Works fine, gives me the first name of the one creating the PO
order.responsible --> Works fine, gives me the user name of the person responsible
order.responsible.first name --> Does not work.
I tried to look here: https://docs.inventree.org/en/latest/report/context_variables
What seems to be missing is the general context variables for the "order" instance itself.
Maybe I am missing something else? Any help is appreciated, thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions