Browse Source

[FIX] emcc: name in backend view

pull/115/head
robin.keunen 4 years ago
parent
commit
4a2c3f1fb2
  1. 2
      easy_my_coop_connector/components/emc_backend.py
  2. 1
      easy_my_coop_connector/views/emc_backend.xml

2
easy_my_coop_connector/components/emc_backend.py

@ -19,7 +19,7 @@ class EMCBackend(models.Model):
_description = "EMC Backend"
name = fields.Char(string="Name", required=True)
location = fields.Char(string="Location")
location = fields.Char(string="URL")
api_key = fields.Char(string="API Key")
description = fields.Text(string="Description", required=False)
active = fields.Boolean(string="active", default=True)

1
easy_my_coop_connector/views/emc_backend.xml

@ -18,6 +18,7 @@
</button>
</div>
<group>
<field name="name"/>
<field name="location"/>
<field name="api_key"/>
<field name="description"/>

Loading…
Cancel
Save