Fix login redirect — access result.data.token/user

Login/register pages now correctly unwrap API response {data: {token, user}}.
Cleaned up leftover apiFetch code.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Claude CLI Agent
2026-03-29 10:30:05 +00:00
parent 55993b70b2
commit 6c93ae04d0
21 changed files with 824 additions and 22 deletions

View File

@@ -0,0 +1,38 @@
# Task Team Connector — Odoo Module Manifest
{
'name': 'Task Team Connector',
'version': '19.0.1.0.0',
'category': 'Project',
'summary': 'Bidirectional sync between Odoo tasks and Task Team API',
'description': """
Task Team Connector
===================
Provides bidirectional synchronisation between Odoo ``project.task`` records
and the Task Team REST API.
Features
--------
* **Bidirectional sync** create / update Odoo tasks → Task Team and vice-versa
* **Completion webhook** fires when a task moves to a closed stage
* **Shared user identity** Odoo users are mapped to Task Team users by e-mail
* **OAuth2 bridge** Task Team can authenticate users via Odoo credentials
* Compatible with **Odoo Enterprise and Community** (17 / 18 / 19)
""",
'author': 'Task Team',
'website': 'https://hasdo.info',
'license': 'LGPL-3',
'depends': ['project', 'contacts', 'calendar', 'mail'],
'data': [
'security/ir.model.access.csv',
'data/ir_cron_data.xml',
'views/templates.xml',
'views/res_config_settings_views.xml',
'views/project_task_views.xml',
'views/task_team_sync_log_views.xml',
'views/menus.xml',
'wizard/sync_wizard_views.xml',
],
'installable': True,
'auto_install': False,
'application': False,
}