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

How to inherit configure directories wizard

By
Ankit Gauri
on 8/31/15, 3:55 AM 401 views

Hello Guys i m trying to inherit configure wizard i have tried following

<record id="view_config_form" model="ir.ui.view"> <field name="name">Auto Configure Directories</field>

<field name="model">res.config</field>

<field name="inherit_id" ref="base.res_config_view_base"/>

<field name="arch" type="xml">

<data>

<form position="attributes">

<attribute name="string">Knowledge Application Configuration</attribute>

</form>

<group string="res_config_contents" position="replace">

<separator string="Configure Directories"/>

<p>My Company Name Document Management System supports mapping virtual folders with documents. The virtual folder of a document can be used to manage the files attached to the document, or to print and download any report. This tool will create directories automatically according to modules installed.</p>

<p>When executing this wizard, it will configure your directories automatically according to modules installed.</p>

</group>

</data>

</field>

</record>

<!--Action-->

<record id="action_auto_directory" model="ir.actions.act_window">

<field name="name">Configure Directories</field>

<field name="type">ir.actions.act_window</field>

<field name="res_model">res.config</field>

<field name="view_id" ref="view_config_form"/>

<field name="view_type">form</field>

<field name="view_mode">form</field>

<field name="target">new</field>

</record>



<record model="ir.actions.todo" id="config_auto_directory">

<field name="action_id" ref="action_auto_directory"/>

<field name="type">automatic</field>

</record>


it change  the wizard content but when i click on apply it give me this  Error :Configuration items need to implement execute

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: 8/31/15, 3:55 AM
Seen: 401 times
Last updated: 8/31/15, 3:55 AM