brand icon indicating copy to clipboard operation
brand copied to clipboard

[17.0] brand: field brand_use_level does not exist in the model "res.config.settings"

Open HLFH opened this issue 1 year ago • 1 comments

Module

Brand addon

Describe the bug

I am trying to import the addon using the Odoo Apps import module UI.

 while parsing /tmp/tmp3rsh2yse/brand/views/res_config_settings.xml:5
Erreur lors de la validation de la vue :

                    <field name="is_root_company" invisible="1"/>
                    <app data-string="General Settings" string="General Settings" name="general_settings" logo="/base/static/description/settings.png">

                        <div id="invite_users">
                            <block title="Users" name="users_setting_container">

Le champ "brand_use_level" n'existe pas dans le modèle "res.config.settings"

View error context:
{'file': '/tmp/tmp3rsh2yse/brand/views/res_config_settings.xml',
 'line': 4,
 'name': 'res.config.settings form',
 'view': ir.ui.view(2114,),
 'view.model': 'res.config.settings',
 'view.parent': ir.ui.view(223,),
 'xmlid': 'res_config_settings_view_form'}

To Reproduce

Affected versions: 17.0

Steps to reproduce the behavior:

  1. Go to import module UI of Odoo Apps module
  2. Import Brand addon
  3. Get the error

Expected behavior

  1. Go to import module UI of Odoo Apps module
  2. Import Brand addon
  3. The brand addon is installed

Additional context OS: Arch Linux Package: odoo-17 Python: 3.11.9

HLFH avatar May 03 '24 11:05 HLFH

I still have the same issue with Python 3.10.

HLFH avatar May 03 '24 12:05 HLFH