mirror of
https://github.com/odoo/runbot.git
synced 2025-03-25 04:15:53 +07:00

- clean thread username - allow to write on params for debug (was mainly usefull to forbid it at the beginning) - imrpove some guidelines about method and actions naming/ ordering - move some code for a cleaner organisation. - remove some useless request.env.user (not useful anymore)
33 lines
1.4 KiB
XML
33 lines
1.4 KiB
XML
<odoo>
|
|
<record model="ir.actions.server" id="action_link_build_errors">
|
|
<field name="name">Link build errors</field>
|
|
<field name="model_id" ref="runbot.model_runbot_build_error" />
|
|
<field name="binding_model_id" ref="runbot.model_runbot_build_error" />
|
|
<field name="type">ir.actions.server</field>
|
|
<field name="state">code</field>
|
|
<field name="code">
|
|
records.action_link_errors()
|
|
</field>
|
|
</record>
|
|
<record model="ir.actions.server" id="action_clean_build_errors">
|
|
<field name="name">Re-clean build errors</field>
|
|
<field name="model_id" ref="runbot.model_runbot_build_error" />
|
|
<field name="binding_model_id" ref="runbot.model_runbot_build_error" />
|
|
<field name="type">ir.actions.server</field>
|
|
<field name="state">code</field>
|
|
<field name="code">
|
|
records.action_clean_content()
|
|
</field>
|
|
</record>
|
|
<record model="ir.actions.server" id="action_reassign_build_errors">
|
|
<field name="name">Re-assign build errors</field>
|
|
<field name="model_id" ref="runbot.model_runbot_build_error" />
|
|
<field name="binding_model_id" ref="runbot.model_runbot_build_error" />
|
|
<field name="type">ir.actions.server</field>
|
|
<field name="state">code</field>
|
|
<field name="code">
|
|
records.action_assign()
|
|
</field>
|
|
</record>
|
|
</odoo>
|