invantive documentation
Invantive Support ForumsLog In / Sign Up

actions_report: Odoo itgen_odoo_actions_report

read only per partition

  • Catalog: Odoo
  • Schema: ir
  • Label: itgen_odoo_actions_report

Report Action

Can only retrieve data.

Summary

Mixin that overrides the create and write methods to properly generate ir.model.data entries flagged with Studio for the corresponding resources. Doesn't create an ir.model.data if the record is part of a module being currently installed as the ir.model.data will be created automatically afterwards.

Table Columns

The columns of the table actions_report 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
attachment varchar2 Save as Attachment Prefix This is the filename of the attachment used to store the printing result. Keep empty to not save the printed reports. You can use a python expression with the object and time variables.
attachment_use boolean Reload from Attachment If enabled, then the second time the user prints with same attachment name, it returns the previous report.
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
create_date datetime Created on
create_uid varchar2
create_uid_label varchar2
device_id varchar2 When setting a device here, the report will be printed through this device on the IoT Box
device_id_label varchar2 When setting a device here, the report will be printed through this device on the IoT Box
display_name varchar2 Display Name
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
model varchar2 Model Name
model_id varchar2
model_id_label varchar2
multi boolean On Multiple Doc. If set to true, the action will not be displayed on the right toolbar of a form view.
name varchar2 Action Name
paperformat_id varchar2
paperformat_id_label varchar2
print_report_name varchar2 Printed Report Name This is the filename of the report going to download. Keep empty to not change the report filename. You can use a python expression with the 'object' and 'time' variables.
report_file varchar2 Report File The path to the main report file (depending on Report Type) or empty if the content is in another field
report_name varchar2 Template Name
report_type varchar2 Report Type The type of the report that will be rendered, each one having its own rendering method. HTML means the report will be opened directly in your browser PDF means the report will be rendered using Wkhtmltopdf and downloaded by the user.
type varchar2 Action Type
write_date datetime Last Updated on
write_uid varchar2
write_uid_label varchar2
xml_id varchar2 External ID

Release Notes

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