Tecnativa / doodba

Base image for making the creation of customized Odoo environments a piece of cake
Apache License 2.0
432 stars 304 forks source link

feat: update db expiration date when preparing db #497

Closed yajo closed 2 years ago

yajo commented 2 years ago

This script is called when using invoke preparedb in develop mode.

If developing enterprise code, this avoids an unnecessary warning.

Tardo commented 2 years ago

rebase please

Tardo commented 2 years ago

Would it be possible to check that this https://github.com/odoo/enterprise/blob/bbc68dd2e73615711fe325c57dfaaaa4fbf0cca7/web_enterprise/version.py#L9 is being applied before writing this value? This way we only write in enterprise environments.

yajo commented 2 years ago

I don't think it's necessary because this shouldn't harm other environments and the invoke tasks only get executed on development.