mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-18 16:12:08 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
def pre_init_hook(cr):
|
||||
# move configuration from web_view_leaflet_map
|
||||
# into web_leaflet_lib, if exists.
|
||||
cr.execute(
|
||||
"""
|
||||
UPDATE ir_model_data
|
||||
SET module='web_leaflet_lib'
|
||||
WHERE module = 'web_view_leaflet_map'
|
||||
AND name in (
|
||||
'config_parameter_leaflet_copyright',
|
||||
'config_parameter_leaflet_tile_url'
|
||||
)
|
||||
"""
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue