Users without fax/RC groups could not open Sale Orders, Invoices, or Contacts because the One2many computed fields triggered AccessError on fusion.fax. Now base.group_user gets read-only access so computed fields work silently, while all UI elements (smart buttons, header buttons, menus, partner fields, settings) are restricted to the proper security groups. Both modules now use Odoo 19 privilege pattern for the user settings dropdown. Co-authored-by: Cursor <cursoragent@cursor.com>
30 lines
1.4 KiB
XML
30 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<record id="res_config_settings_view_form_rc" model="ir.ui.view">
|
|
<field name="name">res.config.settings.view.form.inherit.fusion.rc</field>
|
|
<field name="model">res.config.settings</field>
|
|
<field name="inherit_id" ref="base.res_config_settings_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//form" position="inside">
|
|
<app data-string="Fusion RingCentral" string="Fusion RingCentral" name="fusion_ringcentral"
|
|
groups="fusion_ringcentral.group_rc_manager">
|
|
<h2>AI Transcription</h2>
|
|
<div class="row mt-4 o_settings_container">
|
|
<div class="col-12 col-lg-6 o_setting_box">
|
|
<div class="o_setting_right_pane">
|
|
<span class="o_form_label">OpenAI API Key</span>
|
|
<div class="text-muted">Used for automatic voicemail transcription via Whisper.</div>
|
|
<div class="mt-2">
|
|
<field name="rc_openai_api_key" password="True"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</app>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|