cloud_platform: support client name w/ number

This commit is contained in:
Tonow-c2c
2019-09-08 15:48:23 +02:00
parent 84e00f5f14
commit 6b87b1c604
+1 -1
View File
@@ -94,7 +94,7 @@ class CloudPlatform(models.AbstractModel):
"SWIFT_WRITE_CONTAINER must not be empty for prod "
"and integration"
)
prod_container = bool(re.match(r'[a-z-]+-odoo-prod',
prod_container = bool(re.match(r'[a-z0-9-]+-odoo-prod',
container_name))
if environment_name == 'prod':
assert prod_container, (