Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
2824 Tampilan
 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
Buang
Penulis Jawaban Terbai

many thanks it works :)

Avatar
Buang
Jawaban Terbai

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
Buang

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>

Post Terkait Replies Tampilan Aktivitas
1
Agu 24
2119
1
Apr 25
4085
1
Jun 25
1622
3
Jul 25
3268
1
Mei 25
1413