我只是在我的自定义模块中为Odoo创建一个简单的向导 . 我打电话使用按钮,但我需要他在安装模块时出现任何建议?我是odoo世界的新手
你可以see how this is done here . 基本上,在XML中创建一个小的 ir.actions.todo 对象,指向应该执行的操作:
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>
1 回答
你可以see how this is done here . 基本上,在XML中创建一个小的
ir.actions.todo
对象,指向应该执行的操作: