actions_report |
Report Action
Catalog: Odoo
Schema: ir
Documentation:
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.
The data in this table is partitioned per value of the column.
This is a read-only table. The Odoo API may not support changing the data or the Invantive SQL driver for Odoo does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Odoo API.
Table Columns
The columns of the table actions_report are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
attachment_use |
boolean |
Reload from Attachment |
☐ |
If enabled, then the second time the user prints with same attachment name, it returns the previous report. |
attachment |
string |
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. |
binding_model_id_label |
string |
|
☐ |
Setting a value makes this action available in the sidebar for the given model. |
binding_model_id |
string |
|
☐ |
Setting a value makes this action available in the sidebar for the given model. |
binding_type |
string |
Binding Type |
☑ |
|
binding_view_types |
string |
Binding View Types |
☐ |
|
create_date |
datetime |
Created on |
☐ |
|
create_uid_label |
string |
|
☐ |
|
create_uid |
string |
|
☐ |
|
device_id_label |
string |
|
☐ |
When setting a device here, the report will be printed through this device on the IoT Box |
device_id |
string |
|
☐ |
When setting a device here, the report will be printed through this device on the IoT Box |
display_name |
string |
Display Name |
☐ |
|
groups_id |
string |
|
☐ |
|
help |
string |
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_id_label |
string |
|
☐ |
|
model_id |
string |
|
☐ |
|
model |
string |
Model Name |
☑ |
|
multi |
boolean |
On Multiple Doc. |
☐ |
If set to true, the action will not be displayed on the right toolbar of a form view. |
name |
string |
Action Name |
☑ |
|
paperformat_id_label |
string |
|
☐ |
|
paperformat_id |
string |
|
☐ |
|
print_report_name |
string |
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 |
string |
Report File |
☐ |
The path to the main report file (depending on Report Type) or empty if the content is in another field |
report_name |
string |
Template Name |
☑ |
|
report_type |
string |
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 |
string |
Action Type |
☑ |
|
write_date |
datetime |
Last Updated on |
☐ |
|
write_uid_label |
string |
|
☐ |
|
write_uid |
string |
|
☐ |
|
xml_id |
string |
External ID |
☐ |
|
01-03-2023 15:29 Version 22.1.135-BETA+3826