Skip to content

Conversation

@hailangvn
Copy link

  • Domain handling migrated to odoo.fields.Domain (AND helpers, safe empty defaults) and user group access checks updated to new group_ids API.
  • Async response URLs now built with odoo.tools.urls.urljoin and chatter tracking disabled in tests via a new mixin to avoid noisy metadata.
  • JS/web tests now create bridge records dynamically (no hardcoded mock data) and fake test model registration updated for Odoo 19 registry APIs; inactive bridge uses action_archive.
  • Message/action tests now share computed domains for clarity and resilience under the new Domain API.
  • Change _ to self.env._, more info at [IMP] core: Environment._ for translations and LazyTranslate odoo/odoo#174844
  • Work around charget AttributeError
  • Import ValidationError from odoo.exceptions instead of models
  • Rename webRecord to record
  • Use new way of popover
  • Test for response content

etobella and others added 30 commits December 25, 2025 14:34
Currently translated at 33.3% (31 of 93 strings)

Translation: ai-16.0/ai-16.0-ai_oca_bridge
Translate-URL: https://translation.odoo-community.org/projects/ai-16-0/ai-16-0-ai_oca_bridge/it/
Currently translated at 100.0% (93 of 93 strings)

Translation: ai-16.0/ai-16.0-ai_oca_bridge
Translate-URL: https://translation.odoo-community.org/projects/ai-16-0/ai-16-0-ai_oca_bridge/it/
Add payload_type
Add result type
Add result kind (immediate or async)
Add controller for controlling asynchronous executions (with timeout)
Add function for processing result (allows extension)
Add a user that will execute the processing result function
Add tests
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ai-16.0/ai-16.0-ai_oca_bridge
Translate-URL: https://translation.odoo-community.org/projects/ai-16-0/ai-16-0-ai_oca_bridge/
Currently translated at 100.0% (116 of 116 strings)

Translation: ai-16.0/ai-16.0-ai_oca_bridge
Translate-URL: https://translation.odoo-community.org/projects/ai-16-0/ai-16-0-ai_oca_bridge/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ai-16.0/ai-16.0-ai_oca_bridge
Translate-URL: https://translation.odoo-community.org/projects/ai-16-0/ai-16-0-ai_oca_bridge/
Currently translated at 100.0% (126 of 126 strings)

Translation: ai-16.0/ai-16.0-ai_oca_bridge
Translate-URL: https://translation.odoo-community.org/projects/ai-16-0/ai-16-0-ai_oca_bridge/it/
Currently translated at 100.0% (126 of 126 strings)

Translation: ai-16.0/ai-16.0-ai_oca_bridge
Translate-URL: https://translation.odoo-community.org/projects/ai-16-0/ai-16-0-ai_oca_bridge/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ai-16.0/ai-16.0-ai_oca_bridge
Translate-URL: https://translation.odoo-community.org/projects/ai-16-0/ai-16-0-ai_oca_bridge/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ai-16.0/ai-16.0-ai_oca_bridge
Translate-URL: https://translation.odoo-community.org/projects/ai-16-0/ai-16-0-ai_oca_bridge/
Currently translated at 100.0% (128 of 128 strings)

Translation: ai-16.0/ai-16.0-ai_oca_bridge
Translate-URL: https://translation.odoo-community.org/projects/ai-16-0/ai-16-0-ai_oca_bridge/it/
Currently translated at 100.0% (128 of 128 strings)

Translation: ai-16.0/ai-16.0-ai_oca_bridge
Translate-URL: https://translation.odoo-community.org/projects/ai-16-0/ai-16-0-ai_oca_bridge/es/
Currently translated at 100.0% (128 of 128 strings)

Translation: ai-16.0/ai-16.0-ai_oca_bridge
Translate-URL: https://translation.odoo-community.org/projects/ai-16-0/ai-16-0-ai_oca_bridge/es_VE/
OCA-git-bot and others added 20 commits December 25, 2025 14:34
Co-authored-by: Enric Tobella <enric.tobella@dixmit.com>
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ai-18.0/ai-18.0-ai_oca_bridge
Translate-URL: https://translation.odoo-community.org/projects/ai-18-0/ai-18-0-ai_oca_bridge/
Currently translated at 100.0% (123 of 123 strings)

Translation: ai-18.0/ai-18.0-ai_oca_bridge
Translate-URL: https://translation.odoo-community.org/projects/ai-18-0/ai-18-0-ai_oca_bridge/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ai-18.0/ai-18.0-ai_oca_bridge
Translate-URL: https://translation.odoo-community.org/projects/ai-18-0/ai-18-0-ai_oca_bridge/
Currently translated at 100.0% (121 of 121 strings)

Translation: ai-18.0/ai-18.0-ai_oca_bridge
Translate-URL: https://translation.odoo-community.org/projects/ai-18-0/ai-18-0-ai_oca_bridge/it/
@hailangvn hailangvn mentioned this pull request Jan 19, 2026
4 tasks
@hailangvn hailangvn marked this pull request as draft January 19, 2026 07:38
- Domain handling migrated to `odoo.fields.Domain` (AND helpers, safe empty defaults) and user group access checks updated to new `group_ids` API.
- Async response URLs now built with `odoo.tools.urls.urljoin` and chatter tracking disabled in tests via a new mixin to avoid noisy metadata.
- JS/web tests now create bridge records dynamically (no hardcoded mock data) and fake test model registration updated for Odoo 19 registry APIs; inactive bridge uses `action_archive`.
- Message/action tests now share computed domains for clarity and resilience under the new Domain API.
* Change _ to self.env._, more info at odoo/odoo#174844
* Work around charget AttributeError
* Import ValidationError from odoo.exceptions instead of models
* Rename webRecord to record
* Use new way of popover
* Test for response content
@hailangvn hailangvn force-pushed the 19.0-mig-ai_oca_bridge branch from d1319da to a622199 Compare January 20, 2026 04:31
@hailangvn hailangvn marked this pull request as ready for review January 20, 2026 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.