Skip to content

Commit

Permalink
Merge pull request #91 from acsone/odoo-16
Browse files Browse the repository at this point in the history
[ADD] Support Odoo 16
  • Loading branch information
sbidoul authored Sep 28, 2022
2 parents 8e9913f + 5489683 commit ca39a4b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion acsoo/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,17 @@ def series(self):
r = self.__cfg.get(SECTION, "series")
if not r:
raise click.ClickException("Missing series in {}.".format(self.__cfgfile))
if r not in ("8.0", "9.0", "10.0", "11.0", "12.0", "13.0", "14.0", "15.0"):
if r not in (
"8.0",
"9.0",
"10.0",
"11.0",
"12.0",
"13.0",
"14.0",
"15.0",
"16.0",
):
raise click.ClickException(
"Unsupported series {} in {}.".format(r, self.__cfgfile)
)
Expand Down
2 changes: 1 addition & 1 deletion acsoo/templates/project/.mrbob.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ project.name.required = True
project.trigram.question = Project trigram (3 lowercase letters)
project.trigram.required = True

odoo.series.question = Odoo series (8.0, 9.0, 10.0, 11.0, 13.0, 14.0, 15.0)
odoo.series.question = Odoo series (8.0, 9.0, 10.0, 11.0, 13.0, 14.0, 15.0, 16.0)
odoo.series.default = 14.0
odoo.series.required = True

Expand Down

0 comments on commit ca39a4b

Please sign in to comment.