Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
2709 Widoki
 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   

Awatar
Odrzuć
Autor Najlepsza odpowiedź

many thanks it works :)

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć

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>

Powiązane posty Odpowiedzi Widoki Czynność
1
sie 24
2048
1
kwi 25
3943
1
cze 25
1170
3
lip 25
2902
1
maj 25
1083