Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Unable to create views in my custom module or an application

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
development
2 Réponses
6828 Vues
Avatar
Mallikarjun

UncaughtPromiseError


Uncaught Promise > View types not defined tree found in act_window action 645


Occured on localhost:8069 on 2025-02-19 11:49:02 GMT


Error: View types not defined tree found in act_window action 645

    at _executeActWindowAction (http://localhost:8069/web/assets/debug/web.assets_web.js:98273:19) (/web/static/src/webclient/actions/action_service.js:1162)

    at Object.doAction (http://localhost:8069/web/assets/debug/web.assets_web.js:98514:24) (/web/static/src/webclient/actions/action_service.js:1403)

    at async Object.selectMenu (http://localhost:8069/web/assets/debug/web.assets_web.js:100500:13) (/web/static/src/webclient/menus/menu_service.js:63)

0
Avatar
Ignorer
Accurate | www.accurates.com.sa

Hi,

The error "View types not defined tree found in act_window action 645" indicates a missing or improperly defined tree view referenced by an action window. Here's  an example of tree view and action:

<odoo>

    <!-- Define tree view first -->

    <record id="view_my_model_tree" model="ir.ui.view">

        <field name="name">my.model.tree</field>

        <field name="model">my.model</field>

        <field name="arch" type="xml">

            <tree>

                <field name="name"/>

                <!-- Add other fields -->

            </tree>

        </field>

    </record>


    <!-- Then define action window -->

    <record id="action_my_model" model="ir.actions.act_window">

        <field name="name">My Model</field>

        <field name="res_model">my.model</field>

        <field name="view_mode">tree</field>

    </record>

</odoo>

Key points:

  • Always define views before their corresponding actions
  • Verify the model name matches in both records
  • Ensure the view file is properly listed in __manifest__.py

Regards,

Jishna

Accurates

Accurate | www.accurates.com.sa

The error occurs because the type field is incorrectly specified in your view definitions. In Odoo, you don't need to explicitly define the type field - it's automatically determined from the root element in the arch field.

<record id="estate_property_tree_view" model="ir.ui.view"> <field name="name">estate.property.view.tree</field> <field name="model">x_estate.property</field> <field name="arch" type="xml"> <tree> <field name="name"/> <field name="price"/> <field name="location"/> </tree> </field> </record> <!-- Form View --> <record id="estate_property_form_view" model="ir.ui.view"> <field name="name">estate.property.view.form</field> <field name="model">x_estate.property</field> <field name="arch" type="xml"> <form> <sheet> <group> <field name="name"/> <field name="price"/> <field name="location"/> <field name="date_available"/> <field name="description"/> </group> </sheet> </form> </field> </record>

Key changes made:

  1. Removed type field from view definitions

After making these changes, try upgrading your module again.

Regards,

Jishna

Accurates

Avatar
Nikhil Nakrani
Meilleure réponse

Hi Mallikarjun,

One of the most prominent changes in Odoo 18 is the renaming of the tree tag to list. This change is straightforward but affects all views that previously utilized the tree tag.

Before:

<tree>
<field name="name"/>
</tree>

After:

<list>
<field name="name"/>
</list>

This change enhances consistency and clarity in XML syntax.

open source project available for odoo v17 or V18. ​

https://github.com/pierrelocus/odoo-attrs-replace

Thanks.

4
Avatar
Ignorer
Mallikarjun
Auteur

Only for fields or total where we have tree at that place we have to enter or type list in file

Nikhil Nakrani

<record id="estate_property_list_view" model="ir.ui.view">
<field name="name">estate.property.view.list</field>
<field name="model">x_estate.property</field>
<field name="arch" type="xml">
<list>
<field name="name"/>
<field name="price"/>
<field name="location"/>
</list>
</field>
</record>

Nikhil Nakrani

<record id="estate_property_form_view" model="ir.ui.view">
<field name="name">estate.property.view.form</field>
<field name="model">x_estate.property</field>
<field name="arch" type="xml">
<form>
<sheet>
<group>
<field name="name"/>
<field name="price"/>
<field name="location"/>
<field name="date_available"/>
<field name="description"/>
</group>
</sheet>
</form>
</field>
</record>

Nikhil Nakrani

<record id="action_estate_property" model="ir.actions.act_window">
<field name="name">Estate Properties</field>
<field name="res_model">x_estate.property</field>
<field name="view_mode">list,form</field>
<field name="view_id" ref="estate_property_tree_view"/>
<field name="view_ids" eval="[
(0, 0, {'view_mode': 'list', 'view_id': ref('estate_property_tree_view')}),
(0, 0, {'view_mode': 'form', 'view_id': ref('estate_property_form_view')})
]"/>
</record>

Avatar
Mallikarjun
Auteur Meilleure réponse

This my view code but it's not possible 

<odoo>
<!-- Define the tree (list) view -->
<record id="estate_property_tree_view" model="ir.ui.view">
<field name="name">estate.property.view.tree</field>
<field name="model">x_estate.property</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree>
<field name="name"/>
<field name="price"/>
<field name="location"/>
</tree>
</field>
</record>

<!-- Define the form view -->
<record id="estate_property_form_view" model="ir.ui.view">
<field name="name">estate.property.view.form</field>
<field name="model">x_estate.property</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form>
<sheet>
<group>
<field name="name"/>
<field name="price"/>
<field name="location"/>
<field name="date_available"/>
<field name="description"/>
</group>
</sheet>
</form>
</field>
</record>

<!-- Create an action to open the views -->
<record id="action_estate_property" model="ir.actions.act_window">
<field name="name">Estate Properties</field>
<field name="res_model">x_estate.property</field>
<field name="view_mode">tree,form</field>
<field name="view_id" ref="estate_property_tree_view"/>
<field name="view_ids" eval="[
(0, 0, {'view_mode': 'tree', 'view_id': ref('estate_property_tree_view')}),
(0, 0, {'view_mode': 'form', 'view_id': ref('estate_property_form_view')})
]"/>
</record>

<!-- Add a menu item to access the action -->
<menuitem id="menu_estate_property" name="Estate Properties" parent="base.menu_root" action="action_estate_property"/>
</odoo>
And also iam unable to upgrade my module or application iam getting this error
RPC_ERROR

Odoo Server Error

Occured on localhost:8069 on model ir.module.module and id 69 on 2025-02-20 05:38:16 GMT

Traceback (most recent call last):
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\tools\convert.py", line 537, in _tag_root
    f(rec)
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\tools\convert.py", line 437, in _tag_record
    record = model._load_records([data], self.mode == 'update')
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\models.py", line 5467, in _load_records
    records = self._load_records_create([data['values'] for data in to_create])
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\models.py", line 5371, in _load_records_create
    records = self.create(vals_list)
              ^^^^^^^^^^^^^^^^^^^^^^
  File "<decorator-gen-9>", line 2, in create
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\api.py", line 480, in _model_create_multi
    return create(self, arg)
           ^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\addons\base\models\ir_ui_view.py", line 518, in create
    result = super(View, self.with_context(ir_ui_view_partial_validation=True)).create(vals_list)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<decorator-gen-0>", line 2, in create
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\api.py", line 480, in _model_create_multi
    return create(self, arg)
           ^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\models.py", line 4975, in create
    records = self._create(data_list)
              ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\models.py", line 5142, in _create
    row.append(field.convert_to_column_insert(stored[fname], self, stored))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\fields.py", line 986, in convert_to_column_insert
    value = self.convert_to_column(value, record, values, validate)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\fields.py", line 2970, in convert_to_column
    value = self.convert_to_cache(value, record)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\fields.py", line 2980, in convert_to_cache
    raise ValueError("Wrong value for %s: %r" % (self, value))
ValueError: Wrong value for ir.ui.view.type: 'tree'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\http.py", line 1957, in _transactioning
    return service_model.retrying(func, env=self.env)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\service\model.py", line 137, in retrying
    result = func()
             ^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\http.py", line 1924, in _serve_ir_http
    response = self.dispatcher.dispatch(rule.endpoint, args)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\http.py", line 2172, in dispatch
    result = self.request.registry['ir.http']._dispatch(endpoint)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\addons\base\models\ir_http.py", line 329, in _dispatch
    result = endpoint(**request.params)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\http.py", line 727, in route_wrapper
    result = endpoint(self, *args, **params_ok)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\addons\web\controllers\dataset.py", line 40, in call_button
    action = call_kw(request.env[model], method, args, kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\api.py", line 517, in call_kw
    result = getattr(recs, name)(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\python\Lib\site-packages\decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\addons\base\models\ir_module.py", line 75, in check_and_log
    return method(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\addons\base\models\ir_module.py", line 671, in button_immediate_upgrade
    return self._button_immediate_function(self.env.registry[self._name].button_upgrade)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\addons\base\models\ir_module.py", line 604, in _button_immediate_function
    registry = modules.registry.Registry.new(self._cr.dbname, update_module=True)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\python\Lib\site-packages\decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\tools\func.py", line 97, in locked
    return func(inst, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\modules\registry.py", line 127, in new
    odoo.modules.load_modules(registry, force_demo, status, update_module)
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\modules\loading.py", line 476, in load_modules
    processed_modules += load_marked_modules(env, graph,
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\modules\loading.py", line 364, in load_marked_modules
    loaded, processed = load_module_graph(
                        ^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\modules\loading.py", line 227, in load_module_graph
    load_data(env, idref, mode, kind='data', package=package)
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\modules\loading.py", line 71, in load_data
    tools.convert_file(env, package.name, filename, idref, mode, noupdate, kind)
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\tools\convert.py", line 608, in convert_file
    convert_xml_import(env, module, fp, idref, mode, noupdate)
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\tools\convert.py", line 679, in convert_xml_import
    obj.parse(doc.getroot())
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\tools\convert.py", line 594, in parse
    self._tag_root(de)
  File "C:\Program Files\Odoo 18.0.20250212\server\odoo\tools\convert.py", line 550, in _tag_root
    raise ParseError('while parsing %s:%s, somewhere inside\n%s' % (
odoo.tools.convert.ParseError: while parsing file:/c:/program%20files/odoo%2018.0.20250212/server/odoo/addons/real_estate/views/estate_property_views.xml:3, somewhere inside
<record id="estate_property_tree_view" model="ir.ui.view">
        <field name="name">estate.property.view.tree</field>
        <field name="model">x_estate.property</field>
        <field name="type">tree</field>
        <field name="arch" type="xml">
            <tree>
                <field name="name"/>
                <field name="price"/>
                <field name="location"/>
            </tree>
        </field>
    </record>

The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
    RPC_ERROR
        at makeErrorFromResponse (http://localhost:8069/web/assets/debug/web.assets_web.js:29699:19) (/web/static/src/core/network/rpc.js:34)
        at XMLHttpRequest.<anonymous> (http://localhost:8069/web/assets/debug/web.assets_web.js:29753:27) (/web/static/src/core/network/rpc.js:88)
0
Avatar
Ignorer
Mallikarjun
Auteur

again iam not getting
RPC_ERROR

Odoo Server Error

Occured on localhost:8069 on model ir.module.module and id 20 on 2025-02-20 06:35:35 GMT

Traceback (most recent call last):
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\tools\cache.py", line 103, in lookup
r = d[key]
~^^^^^
File "C:\Program Files\Odoo 18.0.20250212\python\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\tools\func.py", line 97, in locked
return func(inst, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\tools\lru.py", line 33, in __getitem__
a = self.d[obj]
~~~~~~^^^^^
KeyError: ('ir.model.data', <function IrModelData._xmlid_lookup at 0x000001CABE1396C0>, 'real_estate.action_estate_property')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\tools\convert.py", line 537, in _tag_root
f(rec)
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\tools\convert.py", line 293, in _tag_menuitem
act = self.env.ref(a_action).sudo()
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\api.py", line 642, in ref
res_model, res_id = self['ir.model.data']._xmlid_to_res_model_res_id(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\addons\base\models\ir_model.py", line 2245, in _xmlid_to_res_model_res_id
return self._xmlid_lookup(xmlid)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\python\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\tools\cache.py", line 110, in lookup
value = d[key] = self.method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\addons\base\models\ir_model.py", line 2238, in _xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: real_estate.action_estate_property

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\http.py", line 1957, in _transactioning
return service_model.retrying(func, env=self.env)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\service\model.py", line 137, in retrying
result = func()
^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\http.py", line 1924, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\http.py", line 2172, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\addons\base\models\ir_http.py", line 329, in _dispatch
result = endpoint(**request.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\http.py", line 727, in route_wrapper
result = endpoint(self, *args, **params_ok)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\addons\web\controllers\dataset.py", line 40, in call_button
action = call_kw(request.env[model], method, args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\api.py", line 517, in call_kw
result = getattr(recs, name)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\python\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\addons\base\models\ir_module.py", line 75, in check_and_log
return method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\addons\base\models\ir_module.py", line 671, in button_immediate_upgrade
return self._button_immediate_function(self.env.registry[self._name].button_upgrade)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\addons\base\models\ir_module.py", line 604, in _button_immediate_function
registry = modules.registry.Registry.new(self._cr.dbname, update_module=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\python\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\tools\func.py", line 97, in locked
return func(inst, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\modules\registry.py", line 127, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\modules\loading.py", line 476, in load_modules
processed_modules += load_marked_modules(env, graph,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\modules\loading.py", line 364, in load_marked_modules
loaded, processed = load_module_graph(
^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\modules\loading.py", line 227, in load_module_graph
load_data(env, idref, mode, kind='data', package=package)
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\modules\loading.py", line 71, in load_data
tools.convert_file(env, package.name, filename, idref, mode, noupdate, kind)
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\tools\convert.py", line 608, in convert_file
convert_xml_import(env, module, fp, idref, mode, noupdate)
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\tools\convert.py", line 679, in convert_xml_import
obj.parse(doc.getroot())
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\tools\convert.py", line 594, in parse
self._tag_root(de)
File "C:\Program Files\Odoo 18.0.20250212\server\odoo\tools\convert.py", line 550, in _tag_root
raise ParseError('while parsing %s:%s, somewhere inside\n%s' % (
odoo.tools.convert.ParseError: while parsing file:/c:/program%20files/odoo%2018.0.20250212/server/odoo/addons/real_estate/views/estate_menus.xml:17, somewhere inside
<menuitem id="re_property_menu" name="Properties" parent="re_advertise_menu" action="action_estate_property" sequence="20"/>

The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
RPC_ERROR
at makeErrorFromResponse (http://localhost:8069/web/assets/debug/web.assets_web.js:29699:19) (/web/static/src/core/network/rpc.js:34)
at XMLHttpRequest.<anonymous> (http://localhost:8069/web/assets/debug/web.assets_web.js:29753:27) (/web/static/src/core/network/rpc.js:88)
Iam getting tihs error while updating a module

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
How to make all branches for user active automatically after login his account?
development
Avatar
Avatar
Avatar
3
nov. 25
332
MrpBom _skip_bom_line skips line of product that has two multi-choice attribute values when both are selected in Apply to variant
development
Avatar
Avatar
1
nov. 25
282
How to create a new field have 2 related field by developer mode
development
Avatar
Avatar
2
oct. 25
621
i face one error while edit my website
development
Avatar
0
oct. 25
674
How to add market price of the product to the Odoo 18 Community POS receipt?
development
Avatar
0
oct. 25
601
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now