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.

0

nodestroy=true in xml ?

By
kaisusr
on 10/14/14, 6:46 AM 1,179 views

Hello,

the following view contains a button that open an other window, i want that this viewdont been closed when i open the window thrue this button, so how to add nodestroy = true ?

this is the code

<record id="itk_entrepot_deplacerreception_action" model="ir.actions.act_window">
            <field name="name">Déplacer des articles</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">itk.entrepot.mvtinternes</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
               <field name="domain">[]</field>
            <field name="context">{'article_emplacement':'reception'}</field>
            <field name="view_id" ref="itk_entrepot_mvtinternes_maj"/>
            <field name="target">new</field>
        </record>
    
    <menuitem action="itk_entrepot_deplacerreception_action" id="itk_entrepot_deplacerreception_menu" parent="itk_entrepot_reception_menu" sequence="0"/>
   

i have tryed to add the following xml code but it havent any effect

<field name="nodestroy">True</field>

Any help please

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: 10/14/14, 6:46 AM
Seen: 1179 times
Last updated: 3/16/15, 8:10 AM