Guest User

Untitled

a guest
Oct 15th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. test = fields.Char(related="order_line.product_id.name", string="Name")
  2.  
  3. test = fields.Char(related="order_line[0].product_id.name", string="Name")
  4.  
  5. test2 = fields.Char(related="order_line[1].product_id.name", string="Name2")
Add Comment
Please, Sign In to add comment