Skip to content

Commit

Permalink
[MIG] web_leaflet_lib. From 16.0 to 17.0
Browse files Browse the repository at this point in the history
- Bump version.
- Remove obsolete hook. (that was usefull during the refactoring done here #380)
  • Loading branch information
legalsylvain committed Oct 29, 2024
1 parent 548f7fb commit 737b05e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 18 deletions.
1 change: 0 additions & 1 deletion web_leaflet_lib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
from . import models
from .hooks import pre_init_hook
3 changes: 1 addition & 2 deletions web_leaflet_lib/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"name": "Leaflet Javascript Library",
"summary": "Bring leaflet.js librairy in odoo.",
"version": "16.0.1.0.0",
"version": "17.0.1.0.0",
"author": "GRAP, Odoo Community Association (OCA)",
"maintainers": ["legalsylvain"],
"website": "https://github.com/OCA/geospatial",
Expand All @@ -21,5 +21,4 @@
],
},
"installable": True,
"pre_init_hook": "pre_init_hook",
}
14 changes: 0 additions & 14 deletions web_leaflet_lib/hooks.py

This file was deleted.

2 changes: 1 addition & 1 deletion web_leaflet_lib/models/ir_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Http(models.AbstractModel):
_inherit = "ir.http"

def session_info(self):
result = super(Http, self).session_info()
result = super().session_info()
config = self.env["ir.config_parameter"].sudo()
result.update(

Check warning on line 14 in web_leaflet_lib/models/ir_http.py

View check run for this annotation

Codecov / codecov/patch

web_leaflet_lib/models/ir_http.py#L12-L14

Added lines #L12 - L14 were not covered by tests
{
Expand Down

0 comments on commit 737b05e

Please sign in to comment.