Hi Fojja,
You can retrieve the sales price (list_price) of a product in the pos.order.line by using the related field on the pos.order.line model to access the product.template model. The related field on the pos.order.line model is "product_id", and the related field on the product.template model is "list_price". To access the sales price, you would use the following code:
pythonCopy codeorder_line = self.env['pos.order.line'].browse(id)
sales_price = order_line.product_id.product_tmpl_id.list_price
Note that the value of id should be replaced with the actual ID of the pos.order.line you want to retrieve the sales price for.
Regards,
Team Ksolves!