# isOdooControllerSource

**Kind:** Function

**Source:** [`atloria-monorepo/libs/parser-core/src/parsers/backend/odoo.parser.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/parser-core/src/parsers/backend/odoo.parser.ts#L422)

Whether a Python file declares Odoo routes.

Both halves are load-bearing. A `@route(` alone appears in Flask and in plenty of home-grown
decorators; an Odoo import alone is on every model file in an addon. Only together do they mean
"this file registers URLs with Odoo", which is exactly the set of files this parser should claim.

## Signature

```ts
function isOdooControllerSource(source: string): boolean
```

## Parameters

| Name | Type |
|---|---|
| `source` | `string` |

**Returns:** `boolean`
