Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
2838 Prikazi
 raise exception.with_traceback(None) from new_cause
odoo.tools.convert.ParseError: while parsing /home/salma/odoo15/custom15/ms_farm/data/data_views.xml:4, somewhere inside

            124100
            Fertilize Stock
            
            
        
model="account.account" id="farm_account_124100">
name="code">124100
name="name">Fertilize Stock
name="reconcile" eval="False"/>
name="user_type_id" ref="data_account_type_current_assets"/>

 

i had this error. any feedback   

Avatar
Opusti
Avtor Best Answer

many thanks it works :)

Avatar
Opusti
Best Answer

Hi

The data.xml file is not loaded because the used module 'account.account' does not have (code, reconcile, user_type_id) fields.

If you can change the model name 'account.account' to 'account.account.template' in 'data.xml' according to v15 changes.

Please find code in comment. 

I Hope this will help you. 

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Avatar
Opusti

Please update the below changes in the 'data.xml' file.

<record model="account.account.template" id="farm_account_124100">
<field name="code">124100</field>
<field name="name">Fertilize Stock</field>
<field name="reconcile" eval="False"/>
<field name="user_type_id" ref="account.data_account_type_current_assets"/>
</record>

Related Posts Odgovori Prikazi Aktivnost
1
avg. 24
2129
1
apr. 25
4091
1
jun. 25
1674
3
jul. 25
3303
1
maj 25
1441