Hello,
i have upgrade V19 which is error all relate cross report so how can i fix it ? if can, share video to me
error view :
Expected: cross_report(<report_id>|<xml_id>)Example: cross_report(my_module.my_report) or cross_report(123)
Best regards, KH
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Бухгалтерия
- Склад
- PoS
- Project
- MRP
Этот вопрос был отмечен
Hi,
In Odoo 19, cross reports must be called using the cross_report() function with a valid XML ID or numeric ID. The error occurs when old syntax or invalid references are used. To fix it, update your XML report definitions to use the module XML ID in the report_name field, and replace any Python calls with cross_report('my_module.my_report') or cross_report(123). After updating, restart Odoo and upgrade the module to ensure reports generate correctly without errors.
Please provide more details about the error.
Hope it helps
I dont know too but i have checking ODOO document which is view " cross_report(xml_id | report_id) Used to match an expression from another report targeted by the xml_id or the report ID itself"
But i dont know how can it do now ?
Best regards, KH
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Регистрация
"i have upgrade V19" - like, how..? Since there is no official upgrade script around yet, what did you do exactly?