Hi,
When company name and address changes
aren't reflected in Odoo reports, it's often because reports are pulling
data from the company_detail field, which stores a snapshot of the
initial company information and isn't automatically updated. To fix
this, identify the specific reports affected and access their QWeb views
in technical settings. Modify the report's code to pull company name
and address from the current company record (e.g., company.name) instead of the company_detail field.
While
manually updating the company_detail field is possible, it's generally
discouraged due to potential data inconsistencies. A more robust
solution involves creating an automated process to update the
company_detail field whenever company information changes. After making
changes, clear the Odoo cache and thoroughly test the reports. Remember
to enable developer mode, back up your database, and check for any
custom modules affecting company information.
Hope it helps
Which report? What do you see in the Settings --> Users --> Companies Menu for your Company?
Wherever the web.external_layout is used the previous informations are showing. And the Settings --> Users --> Companies Menu shows the updated information. But in the company_details html field contains the previous informations.
Hello,
The company_details field in Document Layout is a related field that points to the company’s company_details field. So, when you update the company’s address information, the company_details field remains unchanged.
Hope this is helpful!