Fix bug in namespace creation
This commit is contained in:
parent
10fd7d2356
commit
a3011444ec
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ class ControlPlane(ServalaModelMixin, models.Model):
|
||||||
|
|
||||||
for field in ("company_id", "invoice_id"):
|
for field in ("company_id", "invoice_id"):
|
||||||
if value := getattr(organization.billing_entity, f"odoo_{field}"):
|
if value := getattr(organization.billing_entity, f"odoo_{field}"):
|
||||||
labels[f"servala.com/erp_{field}"] = value
|
labels[f"servala.com/erp_{field}"] = str(value)
|
||||||
|
|
||||||
if organization.odoo_sale_order_id:
|
if organization.odoo_sale_order_id:
|
||||||
annotations["servala.com/sales_order"] = str(
|
annotations["servala.com/sales_order"] = str(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue