Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
1204 Zobrazení

Dear Odoo Community,

I use Odoo 17.0, where CharGPT is integrated into field HTML. For example, you can replay on my message here and use '/' to see additional functionality for this textarea, because this field type is HTML and see ChatGPT on the bottom of list.

I just want to turn off availabity to use ChatGPT for my HTML field in my odoo addons and I am looking for way to do it.


Thank you for your assistance.

Best regards!

Avatar
Zrušit
Autor

Thank you for your response, but I think this way is not for Odoo.

Thanks in advance!

Best regards!


Check my new answer. I believe it's what you are looking for.

Nejlepší odpověď

After some research I found the solution to this.

The commands in the widget html_editor, are sent into a component called "Powerbox", which list all the possible elements you can add on the field. 


There is no "remove" function, but you can Filter the list of commands listed in it. Take a look at this link.

 

Avatar
Zrušit
Nejlepší odpověď

After half a day studying the issue I found out that:

  • Nulling ChatGPT command: easy and neat with 1 single javascript override
  • Removing ChatGPT totally: messy unless you modified Odoo source code which is a single rem

Edit 1: Removing ChatGPT is possible and neat as well. So overall, this is possible with Odoo

Avatar
Zrušit
Nejlepší odpověď

Hey Olena and André,

did you manage to remove it?

There seems to be a command "isDisable" which might be used to deactivate the option. However, I cannot figure out whether it can be applied to existing commands.

For us the removal auf chatGPT has a high priority. Otherwise, we are considering the implementation of a local LLAMA instance and to substitute the chatGPT.


Avatar
Zrušit