- To remove access to portal user from the invoice email template
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- सीआरएम
- e-Commerce
- लेखांकन
- इन्वेंटरी
- PoS
- Project
- MRP
This question has been flagged
3
Replies
6577
Views
create an inherited views from the "Mail: Pay Now mail notification template" view.
Add the following code on the architecture.
<xpath expr=”//div[@style=’margin: 32px 0px 32px 0px; text-align: center;’]” position=”replace”/>
Warning : copy and paste this sentence won't work, you have to rewrite it.
This will remove the button from the emails sent with that invoice email template.
In odoo V15, remove
<a t-if="has_button_access"
t-att-href="button_access['url']"
style="padding: 8px 12px; font-size: 12px; color: #FFFFFF; text-decoration: none !important; font-weight: 400; background-color: #875A7B; border: 0px solid #875A7B; border-radius:3px">
<t t-esc="button_access['title']"/>
a>
from mail.message_notification_email
Great, My Issue is solved
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
नव॰ 23
|
1551 | ||
|
2
अप्रैल 24
|
5968 | ||
|
2
फ़र॰ 24
|
3028 | ||
|
2
जुल॰ 23
|
5450 | ||
|
0
जन॰ 25
|
7692 |