Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

saas releases support #46

Open
yelizariev opened this issue May 2, 2022 · 2 comments
Open

saas releases support #46

yelizariev opened this issue May 2, 2022 · 2 comments
Labels
wontfix This will not be worked on

Comments

@yelizariev
Copy link

Hello!

I'm using doodba and got the following error on running in saas release:

Traceback (most recent call last):
  File "/usr/local/bin/click-odoo-initdb", line 5, in <module>
    from click_odoo_contrib.initdb import main
  File "/usr/local/lib/python3.8/site-packages/click_odoo_contrib/initdb.py", line 14, in <module>
    import click_odoo
  File "/usr/local/lib/python3.8/site-packages/click_odoo/__init__.py", line 4, in <module>
    from .compat import odoo  # noqa
  File "/usr/local/lib/python3.8/site-packages/click_odoo/compat.py", line 33, in <module>
    if odoo_version_info < (10, 0):
TypeError: '<' not supported between instances of 'str' and 'int'

https://github.com/odoo/odoo/blob/saas-15.2/odoo/release.py#L15

version_info = ('saas~15', 2, 0, FINAL, 0, '')

Related code:

if odoo_version_info < (10, 0):
odoo_bin = "openerp-server"
else:
odoo_bin = "odoo"
if odoo_version_info < (15, 0):
environment_manage = Environment.manage
else:

@sbidoul
Copy link
Member

sbidoul commented May 6, 2022

Yeah, but... I'm not too inclined to add complexity in this project to support an exotic version naming that is only used internally at Odoo SA. I'd rather see Odoo simplify the scheme, unless this is done by design so the sass version are not used accidentally outside Odoo SA.

@sbidoul
Copy link
Member

sbidoul commented May 6, 2022

Tentatively marking as wont fix, but I'm always open to debate, of course :)

@sbidoul sbidoul added the wontfix This will not be worked on label May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants