Skip to content

Commit 7135aed

Browse files
committed
[IMP] vcp_odoo: remove warnings
1 parent 91a0a1c commit 7135aed

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

vcp_odoo/models/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
from . import vcp_rule
22
from . import vcp_odoo_module
33
from . import vcp_odoo_module_version
4-
from . import vcp_platform

vcp_odoo/models/vcp_odoo_module_version.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,18 @@ class VcpOdooModuleVersion(models.Model):
2525
license = fields.Char(string="License (Manifest)", readonly=True)
2626
summary = fields.Char(string="Summary (Manifest)", readonly=True)
2727
website = fields.Char(string="Website (Manifest)", readonly=True)
28-
image_1920 = fields.Image(max_width=1920, max_height=1920, readonly=True)
28+
image_1920 = fields.Image(
29+
max_width=1920,
30+
max_height=1920,
31+
readonly=True,
32+
string="Image 1920x1920 (Manifest)",
33+
)
2934
image_128 = fields.Image(
30-
related="image_1920", readonly=True, max_width=128, max_height=128
35+
related="image_1920",
36+
readonly=True,
37+
max_width=128,
38+
max_height=128,
39+
string="Image 128x128 (Manifest)",
3140
)
3241
lib_python_ids = fields.Many2many(
3342
"vcp.odoo.lib.python",
@@ -41,6 +50,7 @@ class VcpOdooModuleVersion(models.Model):
4150

4251
class VcpOdooLibPython(models.Model):
4352
_name = "vcp.odoo.lib.python"
53+
_description = "Python Library required by an Odoo Module"
4454

4555
name = fields.Char(required=True)
4656

@@ -54,6 +64,7 @@ def _get_lib_python(self, name):
5464

5565
class VcpOdooBinPackage(models.Model):
5666
_name = "vcp.odoo.bin.package"
67+
_description = "Binary Package required by an Odoo Module"
5768

5869
name = fields.Char(required=True)
5970

vcp_odoo/models/vcp_platform.py

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)