How To Override Existed Component In Owl Odoo 14 / Trigger Click Function Everytime Go To View In Odoo 14
When we open mail.chatter view, we have a 'paperclip' icon, when we click on it then will be visible, we can see all attachment file, this is normal flow. But I want to change tha
Solution 1:
You can add a script inside the form view to click the Chatter
top bar button when the document is ready.
<form ...>
<script>
$( document).ready(function() {
$("button.o_ChatterTopbar_buttonAttachments").click();
});
</script>
Post a Comment for "How To Override Existed Component In Owl Odoo 14 / Trigger Click Function Everytime Go To View In Odoo 14"