Skip to Content
Menú
This question has been flagged
2 Respostes
1673 Vistes

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)

Avatar
Descartar
Autor Best Answer

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?


Avatar
Descartar
Best Answer

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

Avatar
Descartar
Related Posts Respostes Vistes Activitat
3
de jul. 25
626
3
de juny 25
3859
5
de maig 25
4549
2
de maig 25
1528
1
d’ag. 24
2114