Created
May 1, 2017 19:52
-
-
Save josemoralesp/e7f9bcad676b328ad77e059e9ccb49ff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id | help | state | name | model_id/id | code | fields_lines/id | type | usage | |
---|---|---|---|---|---|---|---|---|---|
__export__.ir_act_server_774 | Execute Python Code | Set Name in Tasks | hr_timesheet.model_project_task | # Available variables: # - time, datetime, dateutil, timezone: Python libraries # - env: Odoo Environement # - model: Odoo Model of the record on which the action is triggered; is a void recordset # - record: record set of the current record on which the action is triggered; may be be void # - records: record set of all records on which the action is triggered; may be void # - log : log(message), function to log debug information in logging table # - Warning: Warning Exception to use with raise # To return an action, assign: action = {...} env['project.task'].search([])._compute_display_name() | ir.actions.server | Server Action |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment