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

Hello Everyone:


What is meant by URL while creating website menu as below:

<record id = "menu_website_sale" model = "website.menu" > 
<field name = "name" > My Leaves </field>
<field name = "url" > / sell </field>
<field name = "parent_id" ref = "website.main_menu" />
<field name = "sequence" type = "int" > 55 </field>
</record>
Avatar
Discard
Best Answer

Hello Muhammad Yaseen,

Url is used for action of the page which means that if you will click on this menu then controller will be triggered which belongs to this route(url). You can also mention any existing page URL there.

Regards


--
 Webkul
Anisha Bahukhandi
Technical Content Writer (ODOO)

Webkul Software Pvt. Ltd. Contact : India (+91)-9870284067 USA (+1)-9143531684  
Address H-28, ARV Park, Sector 63 ,
Noida-201301 (U.P.) 
India (Branch Office)

Facebook - Webkul  Twitter - Webkul  Youtube - Webkul Ticket Support - Webkul
This email and any files transmitted with it are confidential and contain privileged or copyright information. If you are not the intended recipient you must not disseminate, copy, distribute, or use this email or the information contained in it for any purpose other than to notify us. If you have received this message in error, please notify the sender immediately, and delete this email from your system.


Avatar
Discard