Having some issues with reports after completing upgrade to 16. We tested with Odoo 16 upgrade on a staging branch and don't recall any of these issues.
We have made all of our report modifications via studio. Some of the issues seem to be coming from JSON references in views.
Example code posted in comments as it code doesn't seem to be allowed in the actual post?
Is there anyway of correcting this without reverting back to defaults?
hi,
it seems the example that you tried to add is missed somehow
Interesting, thank you for pointing that out! Posting code seems to be a challenge, I will continue my attempts.
Odoo 15 used :
<t t-set="payments_vals" t-value="o.sudo()._get_reconciled_info_JSON_values()"/>
Odoo 16 uses:
<t t-set="payments_vals" t-value="o.sudo().invoice_payments_widget and o.sudo().invoice_payments_widget['content'] or []"/>
One of the most common causes behind the JSON error is an issue with your site's . htaccess file or permalinks. To remove the error from your site, you will need to refresh your site's permalinks, which you can accomplish in two ways. The simplest option is to force WordPress to generate a new .
Regards,
Rachel Gomez