---
title: "rule (Odoo)"
description: "itgen_odoo_rule"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/odoo/Odoo.data_cleaning.rule
original: https://documentation.invantive.eu/en/datamodels/odoo/Odoo.data_cleaning.rule
updated: 2023-03-01T15:29:04Z
license: https://documentation.invantive.eu/en/
---

# rule: Odoo itgen_odoo_rule

`read only` `per partition`

- Catalog: `Odoo`
- Schema: `data_cleaning`
- Label: itgen_odoo_rule

Cleaning Rule

Can only retrieve data.

## Table Columns

The columns of the table `rule` 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 |
|---|---|---|:---:|---|---|
| `action` | `varchar2` | Action | [x] |  |  |
| `action_case` | `varchar2` | Case | [ ] |  | How the type case is set by the rule. 'First Letters to Uppercase' sets every letter to lowercase except the first letter of each word, which is set to uppercase. |
| `action_display` | `varchar2` | Action Display | [ ] |  |  |
| `action_technical` | `varchar2` | Action Technical | [ ] |  |  |
| `action_trim` | `varchar2` | Trim | [ ] |  | Which spaces are trimmed by the rule. Leading, trailing, and successive spaces are considered superfluous. |
| `cleaning_model_id` | `varchar2` |  | [ ] |  |  |
| `cleaning_model_id_label` | `varchar2` |  | [ ] |  |  |
| `create_date` | `datetime` | Created on | [ ] |  |  |
| `create_uid` | `varchar2` |  | [ ] |  |  |
| `create_uid_label` | `varchar2` |  | [ ] |  |  |
| `display_name` | `varchar2` | Display Name | [ ] |  |  |
| `field_id` | `varchar2` |  | [ ] |  |  |
| `field_id_label` | `varchar2` |  | [ ] |  |  |
| `id` | `int32` | ID | [ ] |  |  |
| `name` | `varchar2` | Field Name | [ ] |  |  |
| `res_model_id` | `varchar2` |  | [ ] |  |  |
| `res_model_id_label` | `varchar2` |  | [ ] |  |  |
| `res_model_name` | `varchar2` | Model Name | [ ] |  |  |
| `sequence` | `int32` | Sequence | [ ] |  |  |
| `write_date` | `datetime` | Last Updated on | [ ] |  |  |
| `write_uid` | `varchar2` |  | [ ] |  |  |
| `write_uid_label` | `varchar2` |  | [ ] |  |  |



## Release Notes

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

- [Odoo](/en/release-notes/drivers?driver=odoo)

