Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
1693 Vizualizări

I got this error

RPC_ERROR


Odoo Server Error


Occured on localhost:8069 on model ir.module.module and id 71 on 2025-02-21 05:25:23 GMT


Traceback (most recent call last):

  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_estate1/security/res_groups.xml:4, somewhere inside

<record id="x_estate_manager" model="res.groups">

            <field name="name">Estate Manager</field>

            <field name="category_id" ref="base.module_category_real_estate"/>

        </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)

Imagine profil
Abandonează
Autor Cel mai bun răspuns

This is my res_group.xml file 

<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<data noupdate="1">
<record id="x_estate_manager" model="res.groups">
<field name="name">Estate Manager</field>
<field name="category_id" ref="base.module_category_real_estate"/>
</record>
</data>
</odoo>
Should i add the xml file which one you are send to me?


Imagine profil
Abandonează
Cel mai bun răspuns

Manually Define the Category If the category does not exist, add this record to your res_groups.xml file before defining the x_estate_manager group:


<record id="module_category_real_estate" model="ir.module.category"> <field name="name">Real Estate</field> <field name="sequence" eval="10"/> </record>

Then, update your group definition like this:

<record id="x_estate_manager" model="res.groups">

    <field name="name">Estate Manager</field>

    <field name="category_id" ref="module_category_real_estate"/>

</record>


try this

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
3
iul. 25
648
3
iun. 25
3892
5
mai 25
4577
2
mai 25
1538
1
aug. 24
2125