mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-26 04:12:02 +02:00
9 lines
296 B
Python
9 lines
296 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import models
|
|
from . import wizard
|
|
|
|
|
|
def uninstall_hook(env):
|
|
"""Delete loyalty history record accessing order on uninstall."""
|
|
env['loyalty.history'].search([('order_model', '=', 'sale.order')]).unlink()
|