Name: [REF] viin_ai: standardize AI tool server-action return envelope as ir.actions.client

State: Killed

PR State: merged

PR Author: David Tran

PR Author Email:

PR: #57

Committer: David Tran

Committer Email: davidtran.hp@gmail.com

Commit: fc26f710c74e68ca33dc0d57a6db0a4a211d1473

Description:

                                            [REF] viin_ai_search: return web_query result via the standard envelope helper

Rewrite the web_query server-action body to build its result through
`env['ir.actions.server']._tool_result(...)`, returning a valid
ir.actions.client action instead of the non-standard `tool_result` dict.
Update the header comment and the server-action test to assert the new
envelope while preserving the domain/fallback_used assertions.
                                            

Branch: 17.0

Instance ID: 0

Age:

Up-time: Not finished