콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1531 화면

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