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

Does anyone know how to remove the purple button for online viewing? I check that I need to modify the code but I don't know which code to modify.

Avatar
Discard
Author

I tried to modify the Mail: Pay Now mail notification template by adding the !-- and -- on the content section of the code, but it gives me this error.

Error while validating view:

Element '<xpath expr="//a[@t-att-href='access_url']">' cannot be located in parent view

View name: Purchase: Confirmation mail notification template
Error context:
view: ir.ui.view(1061,)
xmlid: purchase.mail_notification_confirm
view.parent: ir.ui.view(368,)

Anyone has idea? I don't have any code experience.

Best Answer

Believe it is the views " Mail: Pay Now mail notification template" and extended view "Quotation: Sign and Pay mail notification template" that you would require to modify.

Settings > Technical > Views

Avatar
Discard

Hi, I can't find that views in Settings > Technical > Views
Is it the name, the model or the ID ?

this search:
["|", "&", ("model", "ilike", "mail"), ("model", "ilike", "pay"), "&", ("name", "ilike", "mail"), ("name", "ilike", "pay")]

doesn't return any result