invantive documentation
Invantive Support ForumsLog In / Sign Up

cron: Odoo itgen_odoo_cron

read only per partition

  • Catalog: Odoo
  • Schema: ir
  • Label: itgen_odoo_cron

Scheduled Actions

Can only retrieve data.

Summary

Model describing cron jobs (also called actions or tasks).

Table Columns

The columns of the table cron are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
active boolean Active
activity_date_deadline_range int32 Due Date In
activity_date_deadline_range_type varchar2 Due type
activity_note varchar2 Note
activity_summary varchar2 Summary
activity_type_id varchar2
activity_type_id_label varchar2
activity_user_field_name varchar2 User field name
activity_user_id varchar2
activity_user_id_label varchar2
activity_user_type varchar2 Activity User Type Use 'Specific User' to always assign the same user on the next activity. Use 'Generic User From Record' to specify the field name of the user to choose on the record.
binding_model_id varchar2 Setting a value makes this action available in the sidebar for the given model.
binding_model_id_label varchar2 Setting a value makes this action available in the sidebar for the given model.
binding_type varchar2 Binding Type
binding_view_types varchar2 Binding View Types
child_ids varchar2 Child server actions that will be executed. Note that the last return returned action value will be used as global return value.
code varchar2 Python Code Write Python code that the action will execute. Some variables are available for use; help about python expression is given in the help tab.
create_date datetime Created on
create_uid varchar2
create_uid_label varchar2
cron_name varchar2 Name
crud_model_id varchar2 Model for record creation / update. Set this field only to specify a different model than the base model.
crud_model_id_label varchar2 Model for record creation / update. Set this field only to specify a different model than the base model.
crud_model_name varchar2 Target Model Name
display_name varchar2 Display Name
doall boolean Repeat Missed Specify if missed occurrences should be executed when the server restarts.
fields_lines varchar2
groups_id varchar2
help varchar2 Action Description Optional help text for the users with a description of the target view, such as its usage and purpose.
id int32 ID
interval_number int32 Interval Number Repeat every x.
interval_type varchar2 Interval Unit
ir_actions_server_id varchar2
ir_actions_server_id_label varchar2
lastcall datetime Last Execution Date Previous time the cron ran successfully, provided to the job through the context on the lastcall key
link_field_id varchar2 Provide the field used to link the newly created record on the record used by the server action.
link_field_id_label varchar2 Provide the field used to link the newly created record on the record used by the server action.
mail_post_autofollow boolean Subscribe Recipients
mail_post_method varchar2 Send as Choose method for email sending: EMail: send directly emails Post as Message: post on document and notify followers Post as Note: log a note on document
model_id varchar2 Model on which the server action runs.
model_id_label varchar2 Model on which the server action runs.
model_name varchar2 Model Name
name varchar2 Action Name
nextcall datetime Next Execution Date Next planned execution date for this job.
numbercall int32 Number of Calls How many times the method is called, a negative number indicates no limit.
partner_ids varchar2
priority int32 Priority The priority of the job, as an integer: 0 means higher priority, 10 means lower priority.
sequence int32 Sequence When dealing with multiple actions, the execution order is based on the sequence. Low number means high priority.
sms_method varchar2 Send as (SMS) Choose method for SMS sending: SMS: mass SMS Post as Message: log on document Post as Note: mass SMS with archives
sms_template_id varchar2
sms_template_id_label varchar2
state varchar2 Action To Do Type of server action. The following values are available: - 'Execute Python Code': a block of python code that will be executed - 'Create a new Record': create a new record with new values - 'Update a Record': update the values of a record - 'Execute several actions': define an action that triggers several other server actions - 'Send Email': post a message, a note or send an email (Discuss) - 'Add Followers': add followers to a record (Discuss) - 'Create Next Activity': create an activity (Discuss) - 'Send SMS Text Message': send SMS, log them on documents (SMS)
template_id varchar2
template_id_label varchar2
type varchar2 Action Type
usage varchar2 Usage
user_id varchar2
user_id_label varchar2
website_path varchar2 Website Path
website_published boolean Available on the Website A code server action can be executed from the website, using a dedicated controller. The address is /website/action/<website_path>. Set this field as True to allow users to run this action. If it is set to False the action cannot be run through the website.
website_url varchar2 Website Url The full URL to access the server action through the website.
write_date datetime Last Updated on
write_uid varchar2
write_uid_label varchar2
xml_id varchar2 External ID ID of the action if defined in a XML file

Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver: