Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
343 Tampilan

Good afternoon.

Currently, we have a database in SH imported from Odoo SAAS, both version 18. We have the test banner and the message "This is a test database." 

From developer mode, I accessed the technical section. In User Interface, I modified the following records to false:

  • Neutralize Banner
  • Neutralize Ribbon

Also in the System Parameters section, I modified the database.is_neutralized record to false. 

The banner is still there. I already cleared cache and logged out. Any other ideas?

Thanks

Avatar
Buang

How comes you've imported a neutralized database from Odoo Online to odoo.sh in the first place...? You can't undo neutralization without manually reverting each and every neutralization action performed by Odoo. Is this really the way you want to go? You should consider getting the un-neutralized database backup moved to your odoo.sh production environment.

Penulis Jawaban Terbai

Thank you both very much for your response.

The project is currently on the production branch, but the test banner still appears.

The project was migrated from Odoo Online, as the client was using the free version with only the Accounting app.

Now the client wants to have control over the rest of the applications, which is why we moved the project to Odoo.sh.

The client provided us with the backup, and we uploaded it to Odoo.sh.

The database provided from Odoo Online was not neutralized.

Thank you again for your help — we will continue testing.

Have a great day.

/

Avatar
Buang
Jawaban Terbai

Hi,


The banner appears because Odoo.sh automatically flags non-production databases (staging, duplicates, etc.) as test environments.


To fully remove the banner, the only reliable method is to promote the database to production.


Go to your Odoo.sh project dashboard and set the current branch as the Production branch.


Deploy the selected branch to the production slot—this will activate live features and remove the "This is a test database" banner.


Be cautious: once deployed to production, the database becomes live. Ensure everything is tested and ready before doing this.


If you're still in the development or staging phase, the banner is expected and cannot be completely removed.


As a workaround, you can make the banner less intrusive using custom CSS, but this only hides it visually.


Hiding the banner does not change the test environment behavior—emails may still be blocked or redirected, and external calls might be limited.


It’s not recommended to delete or alter the neutralization logic, as it protects against accidental actions in test environments.


In summary, only production databases are banner-free; all others will show the ribbon by design to prevent unintended consequences.


Hope it helps.

Avatar
Buang