Skip to Content
Menu
This question has been flagged
1 Reply
687 Views

I have strange error that appears In Quotations, when I modify Invoice XML and add it to __manifest__.py file.

When I preview Invoice it works as intended.


Bu when I'm in Quotation and click Send By Email. I receive exception. It complains about o variable. Need help figuring this out? Why this is happening?


xml below:

Avatar
Discard
Author Best Answer

fixed by adding:

            <t t-if="docs[0]._name == 'account.move'">
                <t t-if="o.move_type == 'out_refund'">




Avatar
Discard
Related Posts Replies Views Activity
2
Dec 23
1332
1
Oct 23
5572
1
Feb 23
3023
0
Apr 23
1046
1
Mar 23
2025