invantive documentation
Invantive Support ForumsLog In / Sign Up

actions_server: Odoo itgen_odoo_actions_server

read only per partition

  • Catalog: Odoo
  • Schema: ir
  • Label: itgen_odoo_actions_server

Server Action

Can only retrieve data.

Summary

Add website option in server actions.

Table Columns

The columns of the table actions_server 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
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
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
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
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
partner_ids varchar2
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
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: