mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-27 07:32:00 +02:00
19.0 vanilla
This commit is contained in:
parent
79f83631d5
commit
73afc09215
6267 changed files with 1534193 additions and 1130106 deletions
|
|
@ -1,5 +1,9 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# 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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue