OCA / brand

Manage brands for products and companies
GNU Affero General Public License v3.0
47 stars 151 forks source link

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

Open HLFH opened 2 months ago

HLFH commented 2 months ago

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 commented 2 months ago

I still have the same issue with Python 3.10.