diff --git a/g2p_enumerator/__manifest__.py b/g2p_enumerator/__manifest__.py
index 780b393d..cdafd712 100644
--- a/g2p_enumerator/__manifest__.py
+++ b/g2p_enumerator/__manifest__.py
@@ -7,11 +7,7 @@
"website": "https://openg2p.org",
"license": "Other OSI approved licence",
"depends": ["g2p_registry_group"],
- "data": [
- "security/ir.model.access.csv",
- "views/g2p_enumerator_view.xml",
- "views/group_view.xml"
- ],
+ "data": ["security/ir.model.access.csv", "views/g2p_enumerator_view.xml", "views/group_view.xml"],
"assets": {
"web.assets_frontend": [],
"web.assets_common": [],
diff --git a/g2p_enumerator/models/__init__.py b/g2p_enumerator/models/__init__.py
index b99920b4..92b31ad3 100644
--- a/g2p_enumerator/models/__init__.py
+++ b/g2p_enumerator/models/__init__.py
@@ -1,3 +1,2 @@
from . import g2p_enumerator
from . import res_partner
-
diff --git a/g2p_enumerator/models/g2p_enumerator.py b/g2p_enumerator/models/g2p_enumerator.py
index 992805b1..66562d2c 100644
--- a/g2p_enumerator/models/g2p_enumerator.py
+++ b/g2p_enumerator/models/g2p_enumerator.py
@@ -4,16 +4,15 @@
class G2PEnumerator(models.Model):
_name = "g2p.enumerator"
- #Enum Details
+ # Enum Details
enumerator_name = fields.Char()
enumerator_id = fields.Char()
data_collection_date = fields.Date()
- #Location
+ # Location
enum_latitude = fields.Float(string="Latitude", digits=(10, 7))
enum_longitude = fields.Float(string="Longitude", digits=(10, 7))
enum_altitude = fields.Float(string="Altitude")
enum_accuracy = fields.Float(string="Accuracy")
partner_id = fields.Many2one("res.partner")
-
diff --git a/g2p_enumerator/models/res_partner.py b/g2p_enumerator/models/res_partner.py
index e090216c..ff47b1b4 100644
--- a/g2p_enumerator/models/res_partner.py
+++ b/g2p_enumerator/models/res_partner.py
@@ -1,8 +1,8 @@
# Part of OpenG2P Registry. See LICENSE file for full copyright and licensing details.
-from odoo import _, api, fields, models
+from odoo import fields, models
class G2PRegistrant(models.Model):
_inherit = "res.partner"
- enumerator_ids = fields.One2many("g2p.enumerator","partner_id")
+ enumerator_ids = fields.One2many("g2p.enumerator", "partner_id")
diff --git a/g2p_enumerator/views/g2p_enumerator_view.xml b/g2p_enumerator/views/g2p_enumerator_view.xml
index fd77e6c3..8496f38a 100644
--- a/g2p_enumerator/views/g2p_enumerator_view.xml
+++ b/g2p_enumerator/views/g2p_enumerator_view.xml
@@ -9,11 +9,11 @@
-
-
+
+
-
-
+
+
@@ -24,7 +24,7 @@
ir.actions.act_window
g2p.enumerator
tree
-
+
{}
[]
diff --git a/g2p_enumerator/views/group_view.xml b/g2p_enumerator/views/group_view.xml
index 11a942b8..eb3f4a25 100644
--- a/g2p_enumerator/views/group_view.xml
+++ b/g2p_enumerator/views/group_view.xml
@@ -1,4 +1,4 @@
-
+
@@ -13,13 +13,13 @@
-
+
-
\ No newline at end of file
+