上一页 1 2 3 4 5 6 7 8 9 ··· 25 下一页
摘要: 1.用户操作 # 创建用户并设置密码 create user test with password '123456'; # 创建超级用户并设置密码 CREATE ROLE test superuser PASSWORD '123456' login; # 修改用户密码 alter user test 阅读全文
posted @ 2022-02-20 23:53 手可摘星辰。 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 1.代码 server { listen 8088; server_name localhost; location / { root /opt/test/73; index index.html; } location /api/ { #后台接口 proxy_pass http://localho 阅读全文
posted @ 2022-02-10 16:31 手可摘星辰。 阅读(210) 评论(0) 推荐(0) 编辑
摘要: import re from odoo import http import jinja2 import json from datetime import date, timedelta, datetime import requests loader = jinja2.PackageLoader 阅读全文
posted @ 2022-01-20 10:38 手可摘星辰。 阅读(126) 评论(0) 推荐(0) 编辑
摘要: Python3+SQLAlchemy+Sqlite3实现ORM教程 - jiangxiaobo - 博客园 (cnblogs.com) 阅读全文
posted @ 2021-12-03 10:10 手可摘星辰。 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 1.python 字符串和时间格式(datetime)相互转换- - 彼岸大师 - 博客园 (cnblogs.com) 2.(13条消息) python3 日期模块datetime 用法详解_zhouzhiwengang的专栏-CSDN博客 3.Python中date与datetime转换 - 飞机 阅读全文
posted @ 2021-11-03 16:26 手可摘星辰。 阅读(42) 评论(0) 推荐(0) 编辑
摘要: odoo.define('/hr_pay/static/src/js/sync_punch_card_record.js', function (require) { "use strict"; var Dialog = require('web.Dialog'); //引入odoo的dialog弹 阅读全文
posted @ 2021-10-15 15:19 手可摘星辰。 阅读(912) 评论(0) 推荐(0) 编辑
摘要: 1.效果图 2.代码示例 <field name="state" decoration-info="state == 'draft'" decoration-success="state in ['reported', 'approved', 'done']" decoration-danger=" 阅读全文
posted @ 2021-09-18 12:31 手可摘星辰。 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 1.代码 <odoo> <data> <record id="fsn_hr_search" model="ir.ui.view"> <field name="name">搜索视图</field> <field name="model">hr.employee</field> <field name= 阅读全文
posted @ 2021-09-13 17:01 手可摘星辰。 阅读(1065) 评论(0) 推荐(0) 编辑
摘要: from odoo import api, fields, models, _ from ast import literal_eval class SpsScheduleType(models.Model): _name = "sps.schedule.type" _description = " 阅读全文
posted @ 2021-08-17 11:30 手可摘星辰。 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 1.视图页面 <form delete="0" duplicate="0" edit="0" create="0" js_class="local_sync_oss"> <header> <button class="local_sync_oss" string="NAS同步照片到OSS"></bu 阅读全文
posted @ 2021-08-17 11:25 手可摘星辰。 阅读(635) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 25 下一页