自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 PSQL数据库定时任务备份

备份 db_data 卷。Disable 未自动。back.sh 文件。# 查看是否自动启动。Enabled 自动。

2023-09-20 14:40:53 126

原创 虚拟机静态IP网络配置

虚拟机静态IP地址分配

2023-02-15 09:37:19 192

原创 OdooExcel表格导入

文件结构模块名:test_model模型文件:models __init__.py# -*- coding: utf-8 -*-from . import import_excel_testimport_excel_test.py# -*- coding: utf-8 -*-import bas...

2022-05-06 14:56:33 1072

原创 Odoo之树形列表批量更改

# -*- coding: utf-8 -*-# Part of Odoo. See LICENSE file for full copyright and licensing details.from odoo import models, tools, _, apiimport xmltodictimport jsonclass BaseModel(models.AbstractModel): _inherit = 'base' @api.model def .

2022-04-26 15:31:27 424

原创 Odoo 文件上传保存URL

class lastfile(models.Model): _name = "lastfile" _description = "最新文件" _inherit = ['mail.thread'] name = fields.Char("文件标题") udate_file = fields.Many2many('ir.attachment', string=u'上传附件') udate_file_dir = fields.Char(string="附件路径".

2022-04-14 16:53:34 630

原创 Odoo搜索视图

<record id="talent_map_res_company_search" model="ir.ui.view"> <field name="name">talent.res.company.search</field> <field name="model">res.company</field> <field name="arch" type="xml"> <search s.

2022-04-14 13:42:44 422

原创 身份证内容信息校验

import datetimefrom datetime import datedef check_id_data(IDCard): """ 校验身份证是否正确 """ if len(str(IDCard)) != 18: return 0 var = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2] var_id = ['1', '0', 'x', '9', '8', '7',

2022-03-30 14:22:29 113

原创 乌班图安装Docker

编辑/etc/apt/sources.list文件, 在文件最前面添加(操作前请做好相应备份):deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricte...

2020-03-10 09:45:42 433

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除