rule |
Rule
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 rule are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
active |
boolean |
Active |
☐ |
If you uncheck the active field, it will disable the record rule without deleting it (if you delete a native record rule, it may be re-created when you reload the module). |
create_date |
datetime |
Created on |
☐ |
|
create_uid_label |
string |
|
☐ |
|
create_uid |
string |
|
☐ |
|
display_name |
string |
Display Name |
☐ |
|
domain_force |
string |
Domain |
☐ |
|
global |
boolean |
Global |
☐ |
If no group is specified the rule is global and applied to everyone |
groups |
string |
|
☐ |
|
id |
int32 |
ID |
☐ |
|
model_id_label |
string |
|
☐ |
|
model_id |
string |
|
☐ |
|
name |
string |
Name |
☐ |
|
perm_create |
boolean |
Apply for Create |
☐ |
|
perm_read |
boolean |
Apply for Read |
☐ |
|
perm_unlink |
boolean |
Apply for Delete |
☐ |
|
perm_write |
boolean |
Apply for Write |
☐ |
|
write_date |
datetime |
Last Updated on |
☐ |
|
write_uid_label |
string |
|
☐ |
|
write_uid |
string |
|
☐ |
|
01-03-2023 15:29 Version 22.1.135-BETA+3826