Tuesday, July 30, 2019

add item to top right menu in odoo

 

ODOO

menus

top right menu 

 

 

we can add item to user drop down menu in odoo by following the steps bellow
  • create web page as we explain before 
  • then we can add the item to the list as bellow 
<?xml version="1.0" encoding="utf-8"?>
 <templates id='template' xmlspace='preserve'>

  <!--Extends UserMenu -->
   <t t-extend="UserMenu" t-name="UserMenu">

     <t t-jquery="li.divider" t-operation="after">
        <li><a href="/new_item" >New Item</a></li>
     </t>
   </t>

</templates>

// here we have to create the web page by "/new_item" link

No comments:

Post a Comment

Odoo Invoice Qr code issues

There are two main issues must of us facing with the QR code in Odoo invoice & these issues are 1/ QR code displayed as broken image w...