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>