Skip to content

[18.0][MIG] fts_base#6

Merged
NL66278 merged 53 commits into
18.0from
18.0-mig-fts_base
Jun 25, 2026
Merged

[18.0][MIG] fts_base#6
NL66278 merged 53 commits into
18.0from
18.0-mig-fts_base

Conversation

@ntsirintanis

Copy link
Copy Markdown
Contributor

No description provided.

hbrunn and others added 30 commits June 17, 2026 12:25
[IMP] open results in a form
[ADD] read fulltextsearch config from database wide parameter 
(ir.config_parameter)
[IMP] description
[IMP] use _register_hook to instantiate search plugins, this gets rid of
a lot of problems
[FIX] config pages shows all available search plugins instead of
installed ones
@ntsirintanis ntsirintanis changed the title 18.0 mig fts base [18.0][MIG] fts_base Jun 18, 2026

@NL66278 NL66278 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

@NL66278

NL66278 commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

@ntsirintanis Do we already have an instance where we can run actual tests?

Comment thread fts_base/models/fts_proxy.py Outdated
return {
"type": "ir.actions.act_window",
"res_model": self.res_model,
"view_type": "form",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this line (should already have been done in 16.0). There is no more view_type field / key for a window action (or any other action). The log shows this (might be of another action but anyway):

2026-06-25 09:44:06,256 1033174 WARNING odovrsdem18 odoo.addons.web.controllers.utils: Action {'type': 'ir.actions.act_window', 'res_model': 'ir.attachment', 'view_type': 'form', 'view_mode': 'form,list', 'res_id': 216, 'views': [(239, 'form')]} contains custom properties 'view_type'. Passing them via the `params` or `context` properties is recommended instead 

Comment thread fts_base/wizards/fts_config.xml Outdated
<data>
<record id="action_fts_config" model="ir.actions.act_window">
<field name="name">Fulltextsearch configuration</field>
<field name="view_type">form</field>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove view_type here also.

@NL66278

NL66278 commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

@ntsirintanis Two small changes and we are good to go. Tested this and works well.

@NL66278

NL66278 commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

@ntsirintanis Might be usefull to compare this: OCA/server-tools#3652

@NL66278

NL66278 commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

@ntsirintanis as you where on holiday did the changes myself.

@NL66278 NL66278 merged commit e9515b1 into 18.0 Jun 25, 2026
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.

3 participants