Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
2835 Weergaven
 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
Annuleer
Auteur Beste antwoord

many thanks it works :)

Avatar
Annuleer
Beste antwoord

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
Annuleer

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>

Gerelateerde posts Antwoorden Weergaven Activiteit
1
aug. 24
2123
1
apr. 25
4091
1
jun. 25
1673
3
jul. 25
3298
1
mei 25
1438