Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- test = fields.Char(related="order_line.product_id.name", string="Name")
- test = fields.Char(related="order_line[0].product_id.name", string="Name")
- test2 = fields.Char(related="order_line[1].product_id.name", string="Name2")
Add Comment
Please, Sign In to add comment