Hi,

Here are some explanations before the questions:
The Purchase_Request could have as origin a PurchaseRequisition_Line which is 
depending of a PurchaseRequisition. I'm adding some function fields on my 
PurchaseRequest: those fields are employee and number from PurchaseRequisition.
But then, i wish ordering those function fields...

I saw some examples to redefine order but never with 3 models, it's often one 
join between 2 models and also in my case field origin involved in the join 
condition is a tuple... here's my code (not working for ordering, i got 
'TypeError: tuple indices must be integers, not NoneType' and also i don't know 
if the "join" is correct).

https://pastebin.com/TkTcw2ZL

Thanks for help!

-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/e00bea26-38e6-4fd7-b237-ba4256e9439a%40googlegroups.com.

Reply via email to