<a t-att-href="'/web#model=product.product&viewtype=form&id=%d' % data.linkid"…
- User
: computes to NaN in odoo
- Assistant
In Odoo, if you're encountering a "NaN" (Not a Number) error when trying to compute or display data in a template, it's often due to a missing or incorrect value in the context of your computation or display logic. Here's how you can troubleshoot and resolve this issue:
-
Check Data Availability:
- Ensure that and are correctly populated and not . If either of these fields is missing or null, it can lead to unexpected behavior.
-