Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1468 Visualizzazioni

Hello all,

I found out strange thing during migration from 17 to 18 it cause error that this Element could not be located at parent view. Week ago update works fine. 

Element '<xpath expr="//div[hasclass(&#39;page&#39;)]/t[@t-set=&#39;layout_document_title&#39;]">' cannot be located in parent view

My approach is the same as https://github.com/odoo/odoo/blob/18.0/addons/l10n_au/views/report_invoice.xml

On localhost or clean Odoo 18 on odoo.sh works fine. 

Any ideas will be very appreciated
- i checked the manifest and dependency 

[
'l10n_cz',
'l10n_cz_journal_subtype_systee',
'account',
'accountant',
'account_invoice_extract',
'base_iban',
'base_vat',
'base_setup',
'base',
]

I add metohd

_get_name_invoice_report 

to account_move.py 

Print out works as I need but update fails. 
Even backup and restore on local host works fine. 


Avatar
Abbandona
Autore Risposta migliore

At the end I figured out that view in the database is still the one from version 17.0. And update modules doesn't work. I reported this as error to Odoo. 

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
nov 24
2603
2
mag 25
741
1
mag 25
1073
2
apr 25
1818
1
mag 25
2181