update to 15 sample

This commit is contained in:
Ivan Office
2023-10-09 01:39:01 +08:00
parent 4e4e55e0c0
commit 502ad843f0
90 changed files with 1498 additions and 76 deletions

29
app_sample/hooks.py Normal file
View File

@@ -0,0 +1,29 @@
# -*- coding: utf-8 -*-
# Created on 2023-10-06
# author: 欧度智能https://www.odooai.cn
# email: 300883@qq.com
# Copyright (C) 2009~2023 odooAi.cn
# Odoo16在线用户手册长期更新
# https://www.odooai.cn/documentation/16.0/zh_CN/index.html
# Odoo16在线开发者手册长期更新
# https://www.odooai.cn/documentation/16.0/zh_CN/developer.html
from odoo import api, SUPERUSER_ID, _
def pre_init_hook(cr):
pass
# cr.execute("")
def post_init_hook(cr, registry):
pass
# cr.execute("")
def uninstall_hook(cr, registry):
pass
# cr.execute("")