摘要:
https://cloud.tencent.com/developer/article/1405132 阅读全文
摘要:
1.表格样式 https://blog.csdn.net/ibiao/article/details/78595295 2.整体修改或者部分修改文字的大小和字体类型 https://blog.csdn.net/Leeoo_lyq/article/details/102625425 阅读全文
摘要:
原博客:https://www.cnblogs.com/wuyaxiansheng/p/12622549.html cmd: 1 2 3 set GOARCH=amd64 set GOOS=linux go build xxx.go powershell: 1 2 3 $env:GOOS="linu 阅读全文
摘要:
安装扩展: pip install flask_sqlalchemy pip install flask_mysqldb / pymysql from flask import Flask # 1.导包 from flask_sqlalchemy import SQLAlchemy app = Fl 阅读全文
摘要:
使用流程: 1.安装扩展包 pip install flask-wtf 2.导入包 from flask_wtf import CSRFProtect 3.创建CSRFProtect对象,保护app对象 4.设置SECRET_KEY,便于csrf_token加密 5.需要在表单中设置csrf_tok 阅读全文
摘要:
1.models.py from odoo import models, fields, api class Test(models.Model): _name = 'demo' _description = "测试子流程" name = fields.Char("姓名") age = fields 阅读全文
摘要:
1.视图 <record id="xxx" model="ir.sequence"> <field name="name">name of this sequence</field> <field name="code">zerone.book</field> <field name="prefix 阅读全文
摘要:
1.models.py mood = fields.Many2many('mood', string='主要基调') class mood(models.Model): _name = 'mood' _description = '主要基调' name = fields.Char('基调', req 阅读全文
摘要:
class ZeroneBook(models.Model): _name = "zerone.book" _description = "Zerone Books" business_tag1 = fields.Many2one('bus.type_1', string='业务类型1') busi 阅读全文
摘要:
1.models.py # 上传文件字段,要继承ir.attachment,且多对多,并在视图中加上widget="many2many_binary"。 udate_file = fields.Many2many('ir.attachment', string=u'上传附件') udate_file 阅读全文