Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

How to get the full developer menu ? Edit menus not showing up.

By
Earwelen
on 7/30/14, 5:56 AM 1,274 views

While all the tutorials shows a menu list with a dozen of lines, I can't see the "Edit FromView", "Edit Action", .. actually all the edit modes.

I only have stuff like :

  • Debug View#517
  • View Log (perm_read)
  • Toggle Form Layout Online
  • Set Defaults
  • JS Tests
  • View Fields
  • Fields View Get
  • Manage Filters

But no "Edit..." menus...

I activated the developer's mode, I have the technical accessrights. 

Thank you !

3

Atchuthan - Technical Consultant, Sodexis Inc

--Atchuthan - Technical Consultant, Sodexis Inc--
3918
| 5 3 8
Puducherry, India
--Atchuthan - Technical Consultant, Sodexis Inc--
Passionate coder in Python/Odoo(formerly known as OpenERP).

Contact me via GMail: atchuthantu@gmail.com via Skype: atchuthan_skype
via Linkedin: http://in.linkedin.com/in/atchuthantu
Atchuthan - Technical Consultant, Sodexis Inc
On 7/30/14, 6:51 AM

These EDIT views are available only for Super User account i.e. ADMIN user.

If you need to show these views for other users also, then remove the if condition in template definition @ web/addons/web/static/src/xml/base.xml (Line no. 554)

<t t-if="view_manager.session.uid === 1">
to 
<t>

<t t-name="ViewManagerDebug">
    <option value="">Debug View#<t t-esc="view.fields_view.view_id"/></option>
    <t t-if="view_manager.active_view === 'form'">
        <option value="perm_read">View Log (perm_read)</option>
        <option value="toggle_layout_outline">Toggle Form Layout Outline</option>
        <option value="set_defaults">Set Defaults</option>
    </t>
    <option value="tests">JS Tests</option>
    <option value="fields">View Fields</option>
    <option value="fvg">Fields View Get</option>
    <option value="manage_filters">Manage Filters</option>
    <t t-if="view_manager.session.uid === 1">
        <option value="translate">Technical translation</option>
        <option value="manage_views">Manage Views</option>
        <option value="edit" data-model="ir.ui.view" t-att-data-id="view.fields_view.view_id">Edit <t t-esc="_.str.capitalize(view.fields_view.type)"/>View</option>
        <option t-if="view_manager.searchview" value="edit" data-model="ir.ui.view" t-att-data-id="view_manager.searchview.view_id">Edit SearchView</option>
        <option t-if="view_manager.action" value="edit" t-att-data-model="view_manager.action.type" t-att-data-id="view_manager.action.id">Edit Action</option>
        <option value="edit_workflow">Edit Workflow</option>
        <option value="print_workflow">Print Workflow</option>
    </t>
</t>

 

0
Earwelen
On 7/30/14, 7:22 AM

Thank you for your fast answer, but can we create more super users, for development purpose ? Otherwise only one account is able to develop directement on the website, right ?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 7/30/14, 5:56 AM
Seen: 1274 times
Last updated: 12/8/15, 5:32 AM