Files
odoo_source/odoo/addons/base/data/ir_actions_data.xml
T
Victor Feyens 24ccf7d9b0 [CLN] *: useless type info for actions
The type fields of actions already defaults to
the model name in the base model definition.

Therefore, specifying `ir.actions.server`, `ir.actions.act_window`
& so on as type is useless (and adds noise since it's the same as
the action model).

closes odoo/odoo#114539

Related: odoo/enterprise#37855
Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
2023-03-08 17:33:37 +01:00

13 lines
499 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<data>
<record id="action_server_module_immediate_install" model="ir.actions.server">
<field name="name">Activate Modules</field>
<field name="model_id" ref="model_ir_module_module" />
<field name="binding_model_id" ref="model_ir_module_module" />
<field name="state">code</field>
<field name="code">records.button_immediate_install()</field>
</record>
</data>
</odoo>