forked from Mapan/odoo17e
10 lines
310 B
Python
10 lines
310 B
Python
def migrate(cr, version):
|
|
cr.execute(
|
|
"""
|
|
INSERT INTO ir_model_data (res_id, name, module, model, noupdate)
|
|
SELECT l10n.id, l10n.code, 'l10n_at_saft', 'l10n_at_saft.account', True
|
|
FROM l10n_at_saft_account l10n
|
|
ON CONFLICT DO NOTHING
|
|
"""
|
|
)
|