Please help on this issue, thanks in advance!
A) What I am looking for:
div 'o_attachment_preview' should change the preview if invoice property is changed or the format is changed.
B) the issue with 'o_attachment_preview'
1) in Odoo 13
2) I am using div 'o_attachment_preview' to show up the Invoice preview on the right side of Invoice page and it shows up correctly, like below:
3) the problem is that when I update the Invoice format or update the Invoice property, like changing as another customer, the preview only shows previous content, rather than new invoice.