[FIX] point_of_sale: sale details from frontend.
[FIX] point_of_sale: sale details from frontend.

Before when we tried to print the sale report ticket from the front end, there was a traceback.
Now use the correct values to prevent the traceback.

closes odoo/odoo#44043

X-original-commit: c5da82b7e4ec2310f13594508e22328139466147
Signed-off-by: pimodoo <16075eed7f0f1db85d54c35d23e6589f4efb5038@users.noreply.github.com>

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo