filter: exclude CAS 3D projects from dashboard
Add exclude_company_ids config in settings.yaml to filter out projects by Odoo company_id. Currently excludes company_id=2 (CAS 3D), keeping only Consultoria AS and unassigned projects. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -74,7 +74,7 @@ class OdooClient:
|
||||
return await self.search_read(
|
||||
model="project.project",
|
||||
domain=[("active", "=", True)],
|
||||
fields=["name", "task_count", "color"],
|
||||
fields=["name", "task_count", "color", "company_id"],
|
||||
)
|
||||
|
||||
async def get_tasks(self, project_id: int | None = None) -> list[dict[str, Any]]:
|
||||
|
||||
Reference in New Issue
Block a user