Skip to Content
Menu
This question has been flagged
3465 Views

I have created a kanban view for Document management system to show folders and files. To do this i have created an action. Each time i click on folder the document path above the save button displays the action name instead folder name. i need to display the folder name please help!! Code:

<record model="ir.actions.act_window" id="action_ams_document_file_directory_form1">
        <field name="type">ir.actions.act_window</field>
        <field name="res_model">document.directory</field>
        <field name="name">Folder</field>
        <field name="view_type">form</field>
        <field name="view_mode">kanban,tree,form</field>
        <field name="view_id"
            ref="3e_apartment_management.view_document_sub_directory_kanban" />
        <field name="domain">[('parent_id','=',active_id)]</field>
        <field name="context">{'parent_id':active_id}</field>
        <field name="help" type="html">
            <p class="oe_view_nocontent_create">
                This folder is empty.
            </p>
            <p>
                Click on 'Create' button to add new folder.
            </p>
        </field>
    </record>


Avatar
Discard
Related Posts Replies Views Activity
3
Feb 24
3313
2
Nov 22
6235
2
Oct 16
2462
2
Oct 16
6147
3
Aug 16
5811