mirror of
https://github.com/bringout/oca-ocb-pos.git
synced 2026-04-23 05:22:06 +02:00
8 lines
278 B
Python
8 lines
278 B
Python
# 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()
|