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

# rewrite: Odoo itgen_odoo_rewrite

`read only` `per partition`

- Catalog: `Odoo`
- Schema: `website`
- Label: itgen_odoo_rewrite

Website rewrite

Can only retrieve data.

## Table Columns

The columns of the table `rewrite` 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 |
|---|---|---|:---:|---|---|
| `active` | `boolean` | Active | [ ] |  |  |
| `create_date` | `datetime` | Created on | [ ] |  |  |
| `create_uid` | `varchar2` |  | [ ] |  |  |
| `create_uid_label` | `varchar2` |  | [ ] |  |  |
| `display_name` | `varchar2` | Display Name | [ ] |  |  |
| `id` | `int32` | ID | [ ] |  |  |
| `name` | `varchar2` | Name | [x] |  |  |
| `redirect_type` | `varchar2` | Action | [ ] |  | Type of redirect/Rewrite:          301 Moved permanently: The browser will keep in cache the new url.         302 Moved temporarily: The browser will not keep in cache the new url and ask again the next time the new url.         404 Not Found: If you want remove a specific page/controller (e.g. Ecommerce is installed, but you don't want /shop on a specific website)         308 Redirect / Rewrite: If you want rename a controller with a new url. (Eg: /shop -> /garden - Both url will be accessible but /shop will automatically be redirected to /garden)      |
| `route_id` | `varchar2` |  | [ ] |  |  |
| `route_id_label` | `varchar2` |  | [ ] |  |  |
| `sequence` | `int32` | Sequence | [ ] |  |  |
| `url_from` | `varchar2` | URL from | [ ] |  |  |
| `url_to` | `varchar2` | URL to | [ ] |  |  |
| `website_id` | `varchar2` |  | [ ] |  |  |
| `website_id_label` | `varchar2` |  | [ ] |  |  |
| `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)

