Hi
When we want to send our customers an invoice, we get a error after file was send.
All seems fine with other customers - only this one client doesn't recieve his peppol file.
thx for the help.
David
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi
When we want to send our customers an invoice, we get a error after file was send.
All seems fine with other customers - only this one client doesn't recieve his peppol file.
thx for the help.
David
Hello David,
Hope you are doing well.
Please use this code in your local module.
It appears that the record or field (Many2one) you're trying to access might be None or might not have the text field. To handle this situation safely in Odoo QWeb templates and avoid rendering None values, you can use a conditional check to ensure you only attempt to render the attribute when the record is present. Here's how you can modify the code:
//Code in Comment
Hope this helps!
Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
Code:
<t t-if="record">
<t t-esc="record.text" />
</t>
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
5
Apr 25
|
471 | ||
|
1
Mar 25
|
440 | ||
|
0
Nov 24
|
575 | ||
|
0
Oct 24
|
743 | ||
|
1
Oct 24
|
1229 |