Skip to content

Instantly share code, notes, and snippets.

@ilyasProgrammer
Last active March 17, 2021 10:28
Show Gist options
  • Save ilyasProgrammer/7a2a8ae24b0285503c3a22d7613786e8 to your computer and use it in GitHub Desktop.
Save ilyasProgrammer/7a2a8ae24b0285503c3a22d7613786e8 to your computer and use it in GitHub Desktop.
Inherit Qweb template defined as t t-name
<templates id="template" xml:space="preserve">
<!-- main_menu is a template in module stock_barcode -->
<t t-extend="main_menu">
<t t-jquery=".message_demo_barcodes" t-operation="append">
And barcode <a href="/mrp_workorder/static/src/pdf/barcodes_actions_Manufacturing.pdf" target="_blank" aria-label="Download" title="Download">commands for Manufacturing</a>.
</t>
</t>
</templates>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment