19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:29:53 +01:00
parent 6e54c1af6c
commit 3ca647e428
1087 changed files with 132065 additions and 108499 deletions

View file

@ -1,4 +1,8 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import models
def uninstall_hook(env):
"""Delete loyalty history record accessing pos order on uninstall."""
env['loyalty.history'].search([('order_model', '=', 'pos.order')]).unlink()