首页 文章

自定义模块Odoo的安装向导

提问于
浏览
1

我只是在我的自定义模块中为Odoo创建一个简单的向导 . 我打电话使用按钮,但我需要他在安装模块时出现任何建议?我是odoo世界的新手

1 回答

  • 3

    你可以see how this is done here . 基本上,在XML中创建一个小的 ir.actions.todo 对象,指向应该执行的操作:

    <record id="example_configuration_installer" model="ir.actions.todo">
        <field name="action_id" ref="your_action_to_be_executed"/>
        <field name="type">automatic</field>
    </record>
    

相关问题