Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.MD
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Parqcast is strictly layered. Agents must NEVER introduce imports that violate t
- **`packages/parqcast-collectors/`**: Executes fast raw SQL queries using `psycopg2` to build arrow arrays. **Constraint:** Must NEVER import `odoo` ORM models.
- **`packages/parqcast-ingesters/`**: Pulls data via Odoo ORM to push planning decisions back. This is the ONLY python package (outside the addon itself) permitted to use dynamic Odoo typing.
- **`packages/parqcast-transport-http/`**: Handles HTTP uploads of generated chunks.
- **`packages/parqcast/`**: The Odoo addon. It bridges the environment with the workspace packages. **Constraint:** Must pass Odoo Community Association (OCA) linting via `bash scripts/oca_lint.sh`.
- **`packages/parqcast/`**: The Odoo addon. It bridges the environment with the workspace packages. **Constraint:** Must pass Odoo Community Association (OCA) linting via `bash scripts/oca_lint.sh`. Must **NEVER** contain inline raw SQL queries (`cr.execute`); all tracking SQL is delegated to `packages/parqcast-core`. Transports must be decoupled and registered via `parqcast/utils/transport_registry.py`.

## 3. Odoo Versioning (PEP 695 Generics)
Parqcast certifies per Odoo major.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ def get_sql(self):
rc.id, rc.name, rc.currency_id,
rc.parent_id,
COALESCE(rc.security_lead, 0),
rc.active
rc.active,
rc.country_id
FROM res_company rc
""",
None,
Expand Down
1 change: 1 addition & 0 deletions packages/parqcast-core/src/parqcast/schemas/outbound.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@
("_odoo_parent_id", OdooId),
("security_lead", OdooFloat),
("active", OdooBoolean),
("_odoo_country_id", OdooId),
]
)

Expand Down
Loading